x/text/secure/precis: add ability to construct restricted profile from existing profile

The RFCs mention that PRECIS profiles may further restrict valid characters beyond what is specified in the underlying string class (RFC 8264 §6.2):

An application protocol that uses a profile MAY specify particular
code points that are not allowed in relevant slots within that
application protocol, above and beyond those excluded by the string
class or profile.

Currently this has to be done outside of the precis package, eg. by scanning the string for invalid characters after applying the profile, or by creating a new profile which matches one of the internally defined ones and adding a Disallow rule.
To make this easier and less fragile, I would like to add a new profile constructor which either specifically sets the disallow option, or a more generic constructor that lets you build a profile by overriding options on an existing profile. I'm leaning towards the first one to avoid profile proliferation (we probably don't want to encourage authors to make up their own profiles if possible, the existing ones are generally preferable):
// NewRestrictedProfile creates a new PRECIS profile based on an existing
// profile but with an additional set of runes disallowed.
// If the existing profile already had the Disallow option set, the new rule
// overrides the parents rule.
func NewRestrictedProfile(parent *Profile, disallowed runes.Set) *Profile { /* … */ }

// NewProfile creates a new PRECIS profile based on an existing profile.
// Any options provided override options from the parent profile.
func NewProfile(parent *Profile, opts ...Option) *Profile { /* … */ }

For example:
MyURLParamProfile = precis.NewRestrictedProfile(precis.UsernameCaseMapped, runes.Predicate(func(r rune) bool {
    return strings.ContainsRune(`%&;`, r)
})

// or:

MyURLParamProfile = precis.NewProfile(precis.UsernameCaseMapped, precis.Disallow(runes.Predicate(func(r rune) bool {
    return strings.ContainsRune(`%&;`, r)
}))

/cc @mpvl, @nigeltao

NewRestrictedProfile(parent *Profile, disallowed runes.Set) seems OK to me.
I'll let @mpvl have the final say. I haven't really had much time for Go x/text stuff lately. Sorry.

I'll go ahead and make a CL then and ping you both on it. If it turns out that this isn't something MPVL wants then I can do the other one or abandon the CL.


[backup] fix counter name

Motivation
Obviously some copy-pasty was done too fast...
Have you read the Contributing Guidelines on pull requests?
Y
Test Plan
on dashboard
Related PRs
#6432

:boom: Tests timed-out

/land


Add common dev tools automatically upon install of WSL distro

Instead of having to manually download packages commonly used by developers every time you install/reinstall a distro for WSL (and thus being forced to create your own scripts), we should add this to the dev-box-setup experience. For instance for the web development we could use wsl.exe apt install build-essentials npm wsl.exe npm install node, etc. Noting of course wsl.exe will launch the default distro, which is the first one installed. Using wslconfig.exe should probably be included as a commented out portion to change the default distro if more than one is installed.

I agree - we're discussing how best to do this as the user creation step in the distro is currently in the way.  Changing behavior to creating a default user with blank password may be the best path forward.

Changing behavior to creating a default user with blank password may be the best path forward.

https://github.com/Microsoft/WSL-distrolauncher has what you need in that regard, but how that would work for distros installed from the Store is a different story since that's controlled by the distro maintainer. Perhaps we could automate the user creation process with a password of something like password, make the changes, and removing the account, thus causing a prompt for username to appear.

We're talking to the distro maintainers about enabling installation with a default user w/blank password.  That seems like the best outcome for scripted install.

Would such a script then be portable enough to work for non-partner distros? For example, the script may work great for Ubuntu but would users be able to follow the same script for Arch Linux with the only very noticeable change being the name of the installation from saying "Ubuntu" to "Arch Linux" (via UI prompt)?

I believe so because we'd show how to do it in the distro launcher project.  it would be up to the distro to support it.

That should be enough in theory. Just trying co-relate the other issue I made for automating installation of side-loaded distros. The user creation script sounds directly tied to that effort. The script will eventually need to be tied in for automation but with the current install mechnism, documentating it would be sufficient.

we'll make sure to document it.
@tara-raj FYI

Check out #68
It's coming :)

Done!


Feature request: Version filter for Last Updated sort

Im making 1.12 modpack. Sometimes i need to search for new or maintained mods.
Sorted by update date, and it show me 1.19 version updates.

Please add feature: if i search for 1.12, Last Updated sort only on actually 1.12 version updates, not any version.
In example above, Ore Excavation was updated for only 1.12 several years ago.

Unfortunately, I don't think this is feasible, as the curseforge API provides no way to sort by last updated by MC version, and sorting manually would require fetching the entire 1.12 mod list.


Add mongodb adapter stubs.

This allows us to synthetically "create" mongodb tenant dbs, unblocking the index migrations.
In practice this is a no-op for create. Drop needs to plug into Mongo.Ecto functionality
relying on the more recent database switching functionality (ecto-2.1 branch)

I like it! how do you feel about rescuing exceptions in the error tuple format from the mongo adapter for good measure?


Failed Send an email to the support team through the app.

Description
Send an email to the support team through the app , and get response for the question.
Test steps
1.Open the application.
2.Click on menu icon.
3.Click on "Support" in menu items button.
4.Click on "ThreeFold Network" then click "Continue on Email".
5.Enter a subject and message in the email and send it.
6.Verify that the support team receives the email .
Expected results
1.The user should be able to send an email to the support team through the app.
2.The support team should receive the email and provide a response.
current status:

when click the email icon it redirect to "web page not available".
Also i had to force close the app and restart it again so I can show the support page after the email fail.

Note:
its also better if we are directly able to send email without get into the chat itself.
as currently so I can see the email icon i had send first message first.
Test Environment:
TFconnect version: 3.9.0-176
Android version: 12
kernel version: 4.14.113-25741823

I followed the steps and was redirected to a compose mail page as seen below.

then the chat was updated with the mail subject & body.

Verified on Android 14,
Threefold-Connect: 4.0.0-184
APK:12-12-2024
Sending Email to the support team works as expected.

https://github.com/user-attachments/assets/6f338c58-d5d8-4dc7-9679-1a57d091a4f4
Related Link:

https://app.testlodge.com/a/26076/projects/40893/suites/206114?expand_section=407475#case_4045914


Remove lib dom

In draft since it goes on top of https://github.com/chiselstrike/chiselstrike/pull/1463 and https://github.com/chiselstrike/chiselstrike/pull/1462


[Pfor] Improve the fallback cause

This will try to improve the feedback to the user when we need fallback in a while_loop.
Fixes https://github.com/tensorflow/tensorflow/issues/55425

/cc @wangpengmit

Build infra is broken

@wangpengmit if we can expose the argument to silence warnings in pmap this would be great for KerasCV:
https://github.com/keras-team/keras-cv/issues/264

@LukeWood too late, It was already merged.  If @wangpengmit is ok with this additional API change I could eventually open a new one.

I can review the change here in GitHub. It'll be reviewed again internally by TF API Owners.

@wangpengmit Do you have any specific requirement/suggestion to propagate the warn boolean in the public API?

I can review the change here in GitHub. It'll be reviewed again internally by TF API Owners.

If it is easier to do this from the internal side can you send me an email?  Happy to do so.  Couldn’t find your internal username.


Add/Edit/Repost Jobs

Describe the feature to implement.
Customers want to be able to Add, Edit, and Repost Jobs. The first task is to get a view of the thumbnails corresponding to all the current and past jobs a customer has #48 . We also need a edit job form that uses the exact same form as the add job, but pre-populates it with the current information of the job #50 . We also need a repost job form that will be the same functionality as the edit job, except there is not button to delete the job #51. Finally, we need to fix adding images from the customer's library through the add a job form #33  .
Figma Screenshot if applicable

Additional context if applicable
Add any other context or screenshots about the feature request here.

Closed with PR #77 . Still have to fix adding and requiring images, issue #78


latest flow-router 1.16+ breaks flow integration

Cannot read property 'form' of undefined

at useraccounts_core.js:1149 when i click on a pw reset link.
No error with flow-router 1.15.0
thank you for looking into it.

I am experiencing the same issue.

Same here, had to roll back to 1.15.0

use with<EMAIL_ADDRESS>should now be fixed via #490.


using option object's 'initMode'

		var colorwheel = new ColorWheel({
			initMode: 'Analogous'
		});
		colorwheel.bindData(5);

error:
Uncaught ReferenceError: modes is not defined
colorwheel.js:465

Hey @alibinjalal, sorry about that, the master branch isn't in a stable state.  I would recommend switching over to the gh-pages branch and follow that example.  I will update master as soon as I can!  Let me know if you need any extra help setting it up.

thanks


NO-ISSUE: GHSA-6wvf-f2vw-3425: Bump containers/image/v5 to v5.31.0

A flaw was found in the github.com/containers/image library. This flaw allows attackers to trigger unexpected authenticated registry accesses on behalf of a victim user, causing resource exhaustion, local path traversal, and other attacks.

/test

/test x

/approve

/hold

/test e2e-gcp-multi-operator-olm

/unhold

/test e2e-gcp-multi-operator-olm

/lgtm

from Konflux:
step-build
09bf7180c76e769ee31ba077fa50f61c2326b38c2cf7df1575ebdae54d3c82fe
Adding quay.io/redhat-user-workloads/multiarch-tuning-ope-tenant/multiarch-tuning-operator/multiarch-tuning-operator@sha256:d31572f8164c93eb6c068b6f1d68bb150125bb2ca755a48428dde1333f8a97eb
time="2024-05-22T14:04:51Z" level=error msg="Error while trying to find image on local storage: unsupported transport \"docker\" for looking up local images"
Error: setting up to read manifest and configuration from "docker://quay.io/redhat-user-workloads/multiarch-tuning-ope-tenant/multiarch-tuning-operator/multiarch-tuning-operator@sha256:d31572f8164c93eb6c068b6f1d68bb150125bb2ca755a48428dde1333f8a97eb": reading manifest sha256:d31572f8164c93eb6c068b6f1d68bb150125bb2ca755a48428dde1333f8a97eb in quay.io/redhat-user-workloads/multiarch-tuning-ope-tenant/multiarch-tuning-operator/multiarch-tuning-operator: manifest unknown

/retest


Add generated docs page

🚀 Deployed on https://659c6f0ea051c22e5b5d1e76--cozy-fox-0defec.netlify.app


Delete tf.reduce_mean on scalar

Remove tf.reduce_mean() from tf.reduce_mean(tf.nn.l2_loss()) in tensorflow/tools/docker/notebooks/2_getting_started.ipynb
According to reference, tf.nn.l2_loss() always returns a scalar, thus no
need to average it.
At last code block where loss function is re-implemented by hand,there is
no mean() operation.
Excuse me if something is wrong, have little to no exp. in python and tensorflow.

Can one of the admins verify this patch?

Looks good.  Please rebase and squash to avoid all the merge commits.  We don't like them in PRs.  Once you do that, I can test and merge.

@tensorflow-jenkins: test this please
(all the extra commits are merges).

@girving: it was says in another commit that

merge commits don't show up in our history

Do i still need to rebase and squash? If i do, am I right that i can rebase in my local git, update this branch on github, and commits will be squashed in this pull requests automatically? Or I need to make a new branch and pull request with squashed commits?

No need to rebase / squash :)
@tensorflow-jenkins: test this please

thx :)


Arabic translation

When I choose the Arabic translation to display the website with, I found that the translation is not Arabic but it's Persian or Urdu (or other language written with Arabic letters).

Hey @atefBB 👋
The translations are crowdsourced and there might be mistakes in there. The language code for this translations is fa_AF, which is indeed Farsi (Persian). See here.
You are always welcome to help us translate this correctly https://blog.ghost.org/translate-ghost-org/. I will update the language selector to show "فارسی", which should be correct now. Thanks for pointing this out!
If you have further questions, please swing by in our forum, as we keep GitHub issues only for bug tracking.

Thank you.


Build warning - dereferencing type-punned pointer will break strict-aliasing rules

The warning is emitted by GCC with -Wall or -Wstrict-aliasing:
gcc -fPIC -g -O2 -Wstrict-aliasing -c json.c
json.c: In function ‘new_value’:
json.c:162:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
             value->_reserved.object_mem = (*(char **) &value->u.object.values) + values_size;
             ^~~~~
json.c: In function ‘json_parse_ex’:
json.c:425:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                         (*(json_char **) &top->u.object.values) += string_length + 1;
                         ^

Just to double check, there's currently no PR to address this yet, right? I got a bit confused when checking through things.

I'm afraid there is no PR indeed. I'm not certain yet how to handle this, actually I am not event certain what the warning means as my C is rusty. I am open to suggestions :-)
Just thought I'd open an issue not to forget about it.

Thanks for clarifying :)
Having seen these particular lines of code now, I guess the intent is to have perfect tight packing with no wasted bytes, which means having to cast pointers around in ways that break strict aliasing. I wonder if this could actually be a performance concern on RISC platforms like ARM where memory alignment is more important, either way I'll have to dig deeper to figure out if the current code actually poses a problem or not with compiler optimizations.


fixed footer responsive issue

@arghadipmanna101 please review this pr to fix the responsive issue of Index.html
https://github.com/arghadipmanna101/Flipkart_Clone/assets/139672976/bb6b9fc6-fff4-40be-9e8d-684bacf6c665

@arghadipmanna101 please review this pr. Still the footer is not responsive.


Integration error after update to 0.18.0.dev2: TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

Describe the bug
Logger: homeassistant.setup
Source: setup.py:162
First occurred: 18:12:19 (1 occurrences)
Last logged: 18:12:19
Setup failed for custom integration bosch: Unable to import component: cannot import name 'DeviceClassEntity' from 'bosch_thermostat_client.helper' (/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/helper.py)
To Reproduce
Restart HomeAssistant after the HACS Bosch package update
Expected behavior
Home Assistant restart correctly
Screenshots
If applicable, add screenshots to help explain your problem.
Version

HA version? Home Assistant Core 2022.6.4
HA Bosch component version? 0.18.0.dev
Python Bosch HTTP client version?

** Debug SCAN **
N/A
Additional context
N/A

After update the version to 0.18.0.dev2 I obtain this:
Questo errore ha avuto origine da un'integrazione personalizzata.
Logger: homeassistant.loader
Source: custom_components/bosch/init.py:11
Integration: Bosch thermostat (documentation, issues)
First occurred: 18:35:10 (1 occurrences)
Last logged: 18:35:10
Unexpected exception importing component custom_components.bosch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 599, in get_component
cache[self.domain] = importlib.import_module(self.pkg_path)
File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/config/custom_components/bosch/init.py", line 11, in
from bosch_thermostat_client.const import (
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/init.py", line 10, in
from .gateway import gateway_chooser
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/gateway/init.py", line 1, in
from .ivt import IVTGateway
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/gateway/ivt.py", line 22, in
from .base import BaseGateway
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/gateway/base.py", line 6, in
from bosch_thermostat_client.circuits import Circuits
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/circuits/init.py", line 1, in
from .circuits import Circuits
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/circuits/circuits.py", line 12, in
from .circuit import BasicCircuit
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/circuits/circuit.py", line 28, in
from bosch_thermostat_client.sensors import Sensors
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/sensors/init.py", line 6, in
from .sensors import Sensors
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/sensors/sensors.py", line 21, in
from bosch_thermostat_client.sensors.ecus_recording import EcusRecordingSensor
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/sensors/ecus_recording.py", line 15, in
class EcusRecordingSensor(Sensor):
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/sensors/ecus_recording.py", line 81, in EcusRecordingSensor
def page_number(self) -> int | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

can you check now? I tested it on python3.10 only, forgot to apply some patches for python3.9

Can confirm it is fixed by v0.18.0.dev3 !

Hi Pszafer, OK is fixed by 0.18.0.dev3
Thank you so much


feat: Add Ry gate to the guppy quantum prelude

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

Project coverage is 92.61%. Comparing base (0bd1a30) to head (1430ebf).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #329   +/-   ##
=======================================
  Coverage   92.61%   92.61%
=======================================
  Files          45       45
  Lines        5118     5120    +2
=======================================
+ Hits         4740     4742    +2
  Misses        378      378

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


invalid refernece decrement in AbstractNioByteChannel for issue 3369

fix a double free bug in AbstractNioByteChannel for Netty4.0+
Motivation:
see issue #3368.
Modifications:
Add a line of code in line 119
byteBuf = null;
to set byteBuf to null to avoid another byteBuf.release() to be called in handleReadException()

AUTOMATED MESSAGE for ADMINS:Please verify and accept the pull request.To accept, say @netkins acceptTo build again, say @netkins buildTo whitelist the author, say @netkins whitelist

@netkins accept

@sammychen105 thanks a lot! Could you please make sure to sign the ICLA and let me know once you signed it:
https://docs.google.com/forms/d/1GKuaUw10DfPzPy_XBnp3Wk_OLYnA4-Kg16wSiUkO3-A/viewform?formkey=dHBjc1YzdWhsZERUQnhlSklsbG1KT1E6MQ

@normanmaurer  ICLA signed.

Cherry-picked into 4.0, 4.1 and master


New package: VortexLattice v0.1.0

Registering package: VortexLattice
Repository: https://github.com/pedrosecchi67/VortexLattice
Created by: @pedrosecchi67
Version: v0.1.0
Commit: 2afa44be93452907ff0f9da4396ebb5e0fd38968
Reviewed by: @pedrosecchi67
Reference: https://github.com/pedrosecchi67/VortexLattice/commit/2afa44be93452907ff0f9da4396ebb5e0fd38968#commitcomment-47030231

@pedrosecchi67 :point_up:
[noblock]

The name is already taken, this package can't be registered with this name


Extend limit manager

Motivation and context
Extend limit manager that was introduced in #5225
How has this been tested?

Checklist

[ ] I submit my changes into the develop branch
[ ] I have added a description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[ ] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

@klakhov , could you please resolve the conflicts?

Do we still need this PR?

@zhiltsov-max We will close it when we move our deployment to the develop branch


Move custom errors to contract interface files

Done.
https://github.com/paulrberg/prb-contracts/commit/fdbdcb5b4069b875dcd8fc6147110b5455220717


Add GitHub pull request template

Proposed change

This PR adds a pull request template in order to resolve #905
Type of change

[ ] Supported country holidays update (fixes discrepancy with country official holidays)
[ ] New country holidays support (thank you!)
[x] Existing code/tests/processes improvement (best practices, refactoring, optimization)
[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (a code change causing existing functionality to break)
[ ] New feature (adds functionality to python-holidays)

Checklist

[x] I've followed the contributing guidelines
[x] This PR is being filed against beta branch of the repository
[x] This PR doesn't contain any merge conflicts
[x] The code style looks good (pre-commit run -a)
[x] I've added tests to verify that the new code works
[x] All tests pass locally (python -m pytest .)
[x] The proposed change doesn't decrease existing tests coverage level
[x] The related documentation has been added/updated (if needed)

Coverage: 100.0%. Remained the same when pulling 384c465ce621836046185bcc7856671dcbfaf7ac on arkid15r:add-pr-template into 2384bcc70618fccb41d047580abb9e8925bfba6b on dr-prodigy:beta.


Render title tags as title of documents in content nodes views

Description
Fix https://github.com/dust-tt/tasks/issues/1529
Use the tag title:.... as title of a document when available in content-nodes endpoints for folders.
Risk
Low. Tested in dev.
Deploy Plan

deploy front

PMRR


Process Framework: Enable Workflow Rendering in Markdown and Images

name: Process Framework: Enable Workflow Rendering in Markdown and Images
about: I propose adding functionality to render workflows/processes as visual diagrams, using Markdown (Mermaid syntax) and generating images. This feature would greatly aid in documenting and communicating process flows within the framework.

Proposal:
Develop a utility or extension that generates Mermaid diagrams from process definitions.
Provide options to export these diagrams as images for inclusion in documentation or presentations.
Ensure that the visualization includes nodes (ProcessSteps), edges, conditional logic, and start/end points.
Benefits:

Enhanced Documentation: Facilitates the creation of clear and accessible workflow diagrams.
Improved Communication: Helps team members and stakeholders understand complex processes at a glance.
Visual Debugging: Assists in identifying potential issues or inefficiencies in process flows.

Example implementation:
In the ProcessDemoGraphNodesEdges project, implementing this feature allows for the automatic generation of diagrams representing the processes defined in Process.Abstractions, Process.Core, and Process.LocalRuntime.
Note that the current implementation is in Process.Core next to the ProcessBuilder, in ProcessVisualizer.cs as a set of extension methods, this produces valid mermaid markdown. But, the image generation is on the MermaidRenderer.cs class located in the ProcessDemoGraphNodesEdges project, as I had to use an external package for this, PuppeteerSharp. and did not want to add this to the Process.Core... so I am unsure where this would go.
Code is fully functional and can be seen its usage on ConditionalProcess.cs on the same project.
References:
Branch: joslat-process-framework-graph-edges

PR Ready: https://github.com/microsoft/semantic-kernel/pull/9705


README.md does not contains build instructions

I spent the last 30 minutes trying to figure out how to build the drone server, thinking about upgrading a production server from 0.5 to current (0.8?). Is there any reason not to write simple instructions in the README.md file ?
For the 0.5 branch there was a Makefile, which was basically self-documented, why not putting it back ?

we are using BUILDING files in the drone repositories now

Thanks, received upon pull, with commit
0c972d8fc5960c7c9d3d9f8b9538b27c74dbef2d


update dependencies

Gulp 3.8.10 has a dependency with a security vulnerability.
Node.js 6 will be end-of-life next month.

Should not cause regressions except perhaps in any complete tests that use Winston (which has backward incompatibilities)

No regressions seen due to version changes on dependencies.


chore(OWNERS): remove duplicates in reviewers

Signed-off-by: Jason Dellaluce<EMAIL_ADDRESS>What type of PR is this?
/kind cleanup
/kind documentation
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
This removes duplicates in OWNERS for members that are both in the reviewers and in the approvers or emeritus_approvers section.
Which issue(s) this PR fixes:
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jasondellaluce
To complete the pull request process, please assign cpanato after the PR has been reviewed.
You can assign the PR to them by writing /assign @cpanato in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: b574c61e98cf258a772210d88e4b87369a9e9a47


Make an automated release pipeline

Someone please help I don't know how to do this.

The easiest way to do this appears to be converting the project from .NET Framework to .NET Core. These things are different because.
Anyway, there is a set of tools to assist me in doing this, and this is probably the route I will take.


How about video embed with thumbnail image?

In my app,
embeding video is too slow when rendering because calling some scripts.

How about changes embed video by thumbnails?
http://www.sitepoint.com/faster-youtube-embeds-javascript/

I am also using medium-insert-plugin and embedding video is not slow for me.
My console log look like this

In your console log, I see every script is called 7 times, may be you are binding events 7 times (unknowingly) . May be this is the reason embedding is slow for you.

I have post list in one page app. In there there are more than 10 posts at one request (infinite scroll) Do you also request just 7 times while calling 10 videos?

I am not showing embedded videos on list page, instead I show thumbnail image on list page.
I show embedded video on post show page and editor.
Check this https://followme.co/anilmaurya2

Listing 10 embedded video on single page will definitely slow page loading.
I implemented http://www.sitepoint.com/faster-youtube-embeds-javascript/ in earlier version of my editor, its not tough to implement and is light weight too.
+1 for this.

Um... I'm showing posts list with all contents like facebook. I think I have to parse contents and change embeds to thumbnail image manually. Thank you anyway

@j0k3r @orthes I can work on this and send a pull request. Let me know if you are interested in this feature.

@anilmaurya Yeah, if you have it, it would be great if you could submit a PR.

@orthes I will work on it and send pull request in couple of days.

If it helps, we just implemented this in our viewer using the "Faster YouTube Embeds with JavaScript" example..  This is the initial react component.  The css is the same (from the example).
https://github.com/steemit/steemit.com/blob/43e32326e3405cbc7bc26898fab848ef4cf4b264/app/components/elements/YoutubePreview.jsx


maint: rename bundle to deployment in certain context

Throughout our codebase, the term "bundle" currently refers to two things:

A Merkle root, its leafs, and proofs. I.e. the action bundle and the target bundle.
A deployment/upgrade. I.e. the bundle ID, bundle state, and bundle status.

IMO, using the term "bundle" for both of these things is confusing. It was probably acceptable when a deployment/upgrade was basically just a single bundle. (See here for a very early version of the propose function). However, now that we use two bundles, it makes more sense to call it a "bundles ID", "bundles state", etc, but that's grammatically awkward. So, in this PR, I changed all instances of case 2 to "deployment" instead of "bundle". In other words, it's now a deployment ID, deployment state, and deployment status. Action bundles and target bundles keep the same name.
This solution isn't perfect, since now "deployments" refer to upgrades too, which are logically distinct in smart contract land. We could call it an "update" instead, but I'm personally fine with this.

@RPate97 You don't need to review every single name change. Just want to get your general thoughts on this.


Clarified VNET Host Limit

Minor update clarifying the limits of the number of hosts per VNET in the Network Migration Best Practices documentation

@ssennettau : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@alexbuckgit: I'm sorry - only the author of this article, @BrianBlanchard, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off


Setting BackViewsDepth make Carousel View hang for the first load

Sorry for asking many times but I tried to use BackViewsDepth = 2 for best rendering, but on the first load, the carousel view is not work as normal. I don't know why, the first load not navigate to correct page. Please refer to the video

Without using BackViewsDepth, It's very normal. Very strange. Please help

BackViewsDepth = 2, it means that you are trying to load 5 (!!!) views on start. It's so heavy.
(2 from the left side, 2 from the right side and one current)

BackViewsDepth = 2, it means that you are trying to load 5 (!!!) views on start. It's so heavy.
(2 from the left side, 2 from the right side and one current)

I got it but data is loading on demand, so only empty view

what is the issue? Blinking?

@huyjack178 could you please fork my repository and reproduce it on any sample? I will debug this case if it is something on CardsView side :)

Sorry for replying late, I have work-arround solution by setting IsViewReusingEnabled="False" than setting BackDepthView, it make my swipe more smoothly, maybe each view doesn't reuse others make it

@AndreiMisiukevich
I have one more question, ask here for not creating issue
Sometimes, I see that issue, the view is crop like the image. Do you know why?

@huyjack178 i don't think it's related to CardsView. Seems something with layouting. Try to use FillAndExpand

@huyjack178 can you test in on my samples?
Just change any ItemTemplate to ContentView { BackgroundColor = Color.Red }
I am sure that there is no issue in CardsView. It's smth related to your code / xaml or XF
CardsView is AbsoluteLayout. It put cards into itself with AbsoluteLayoutFlags = "All" and AbsoluteLayouytBound = "0, 0, 1, 1"

It's only happening in iphone Xr, Xs is normal. So weird. Please ignore that issue. I will test it in real device and check later. Thank you so much

@AndreiMisiukevich Can not reproduce with your sample because of your simple layout. My project need a lot of info in ListView. When checking, I see it's easy happen when use mobile network (3G/4G, not wifi). My list view has more than 1000 rows and I saw it because of heavy listview make rendering wrong.

@AndreiMisiukevich Thanks god, I change stacklayout by flexlayout and that issue has gone. I think cardview have problem with item datatemplate using stacklayout

@huyjack178 it's no CardsView problem then :)
There is a problem with StackLayout :D
CardsView just moves layouts


Customisable server rules

What feature would you like to request?

[ ] Display on first join

[x] Configurable

[x] Display on /rules
[x] Test Bukkit-based
[x] Test Folia-based

Are you able to help implement the feature?
No response
Is your feature request related to an existing bug or issue?
No response
Please enter any additional comments below.
No response

Closed by #111


Improve docs of channel creation functions

Add note that the channel is multi-producer multi-consumer to the functions' docs. Also point to the parent module docs since they contain a lot of info on how to use the channel. These changes make functions' docs more self-contained (previously one needed to know to look at the module docs to discover this info).

bors retry

bors retry


cannot access org.bouncycastle.asn1.cms.ContentInfo in latest bouncy castle JARS

Hi team,
I have been using bcprov-jdk18on-1.72.jar and bcpkix-jdk18on-1.72.jar. I'm trying to create the instance for org.bouncycastle.cms.CMSSignedData, but it won't allow me to create saying that cannot access org.bouncycastle.asn1.cms.ContentInfo. So I decompiled the jar files and I can able to see that ContentInfo was moved to different package org.bouncycastle.asn1.pkcs.ContentInfo in bcprov-jdk18on-1.72.jar but org.bouncycastle.cms.CMSSignedData present in  bcpkix-jdk18on-1.72.jar is pointed to org.bouncycastle.asn1.cms.ContentInfo (Pointed to old version bcprov-jdk15on-150.jar).
Kindly assist me to fix this problem. Thank you.
NOTE : I have tried .1.73 versions also.

Yeah, it seems I was missing bcutil jar. Thanks for pointing it out @peterdettman . Thanks for your help.


adds tags to articles

This fixes issue #2 post tags are shown as "object". Currently the code is calling the entire hidden-article keywords object so this pull request now calls the value and should work.

small nit: "and should work" doesn't show a lot of confidence in your work as a developer. Own your PR! You wrote this, and it's amazing, and it obviously works!
"...so now, we get the value of the object." done.


Create and display a modal to the User to give them information and notice before being tracked.

User Story(s):
As a User, I want to ensure my information is not abused, and be informed before being subject to tracking (such as with Cookies)
Description: Ensure legal compliance in user information handling via modals and user acceptance checks.

A privacy modal is in place to ensure user consents to any tracking.


[KOGITO-5666] Downgrading groovy for SB Archetype

See: https://issues.redhat.com/browse/KOGITO-5666
In this PR we are downgrading the Groovy version to the same one used by Maven Archetype Plugin. The reason is that in a "raw" environment such as an image, the maven plugin configuration completely ignores the configuration defined in the archetype. Also, the properties MUST be declared in the archetype descriptor, even though they are optional.
This PR should bring XML support to the archetype plugin: https://github.com/apache/maven-archetype/pull/58
This PR is blocked: https://github.com/kiegroup/kogito-images/pull/631
This MUST be included in the 7.12 cut. Sorry for the short notice.
Signed-off-by: Ricardo Zanini<EMAIL_ADDRESS>Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Your code is properly formatted according to this configuration
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

How to retest this PR or trigger a specific build:

Run all builds
Please add comment: Jenkins retest this

Run (or rerun) specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] tests

Quarkus LTS checks
Please add comment: Jenkins run LTS

Run (or rerun) LTS specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] LTS

Native checks
Please add comment: Jenkins run native

Run (or rerun) native specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] native

Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...

@ricardozanini should be backported to 1.10.x ?

No need. The archetype changes didn't make the cut.

@radtriste but can you double check just to make sure?

indeed it did not

@MarianMacik, I made a few tweaks in the unit test to link the IT with the Unit. Unit tests now use the same pom used in IT. And they weren't running as part of the build. So I had to "force" the surefire configuration to run the groovy tests.

The (build) Examples check has failed. Please check the logs.

jenkins rerun examples tests


Looking for Python sample code to get device historical messages from iothub

Hi,
I am working on a task to get historical D2C device messages from iothub with Python language. I wasn't able to find any helpful example code from internet. Can someone provide me some example code?
Closed issue https://github.com/Azure/azure-sdk-for-python/issues/1131.
Thank you very much in advance!
Laura Chu

OS and version used:

Python runtime used:

SDK version used:

Description of the issue:

Code sample exhibiting the issue:

Console log of the issue:

Hi @Laurachu
if what you are looking for is reading messages that were sent from device to IoT Hub, then you have several options.
As explained in this document, IoT Hub exposes several endpoints.
By default Device to Cloud messages are available through the "Receive device-to-cloud messages" event hub endpoint which you can access using the Event Hub python sdk (available here).
If you prefer the data to flow into different endpoints, you can look a the "Custom endpoints" section in the same document.


[BUG] Except pattern not working

Is there an existing issue for this?

[X] I have searched the existing issues

Does this issue exist in the latest version?

[X] I'm using the latest release

Describe the bug?
Docs says it supports Glob pattern, however this small test failed with dll changes inside Generator folder (not direct child of Generator):
- name: Verify Changed files
        uses<EMAIL_ADDRESS>        id: verify-changed-files
        with:
          files: |
            Generator
            !*.dll

To Reproduce

Modify only a file you want this action to be ignored (e.g. binfile.bin)
Use the action and setup the file !*.bin
´files_changed´ should be false, however it is true

What OS are you seeing the problem on?
windows-latest or windows-2019
Expected behavior?
Files with pattern ! should be ignored by the action
Relevant log output
No response
Anything else?
No response
Code of Conduct

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

@emepetres Can you include the log output which should help in debugging this issue.

@emepetres This has been resolved in the latest release. Thanks


WIP: Docker integration

Work in progress: Docker integration to make development and integration easier

Have you seen https://github.com/alphagov/govuk-docker ?
Replied to you on LinkedIn too 👍

Thanks, trying it now


PageFeedback /docs/guides/crosswalk/aws/vpc/

Submitted On: 12-21-2022
Comment(s): I would really like to see Go examples for awsx!

Closing as go examples are available.


After an error, must reload page to see data

@jbleyleSF I will work on this by tonight

Hi @jbleyleSF
I have fixed this issue, please checkout new source code on this repo or download the 1.0.1 version release.


Add a GitHub Action to automatically check for hermit upgrades

Create a pull request automatically to install them

This is dependent on https://github.com/MatthewDolan/dotfiles/issues/3 being completed first.

Not needed because I am not install hermit.


editDBConfig: Save changes

implement protocol enhancement in order to save (transfer it to the server and save it there) the definitions

currently beeing added


i18n(zh-cn): update consistent voice for tutorial

What kind of changes does this PR include?

New or updated content

Description
update consistent voice for tutorial since #4700

Looks good to me but if the changes made in this PR is based on the guideline in #4694, I feel like we should wait until we finalize (the initial version of) the guideline before starting to make formatting PRs, just to make sure we are not going be going back and forth and making wasted effort.
In the mean time can I have your opinion on #4694 please? It's still WIP and I'll make another push later today, but any suggestions would be greatly appreciated.
改动本身看起来没问题但如果这些改动是基于 #4694 里现在的翻译指南来的，我觉得应该先讨论、决定下来一个“正式”版本，合并了之后再做批量格式化的改动，防止万一之后决定下来的格式标准和现在的草稿版本不一致、需要再开PR再修改。
今天晚点我会再给 #4694 提交一个 commit 所以内容会不一样，可以麻烦你给 #4694 提出点意见吗？基本同意、有地方有异议，什么都行。

Looks good to me but if the changes made in this PR is based on the guideline in #4694, I feel like we should wait until we finalize (the initial version of) the guideline before starting to make formatting PRs, just to make sure we are not going be going back and forth and making wasted effort. In the mean time can I have your opinion on #4694 please? It's still WIP and I'll make another push later today, but any suggestions would be greatly appreciated.
改动本身看起来没问题但如果这些改动是基于 #4694 里现在的翻译指南来的，我觉得应该先讨论、决定下来一个“正式”版本，合并了之后再做批量格式化的改动，防止万一之后决定下来的格式标准和现在的草稿版本不一致、需要再开PR再修改。 今天晚点我会再给 #4694 提交一个 commit 所以内容会不一样，可以麻烦你给 #4694 提出点意见吗？基本同意、有地方有异议，什么都行。

@Genteure In actuality, I use Autocorrect, a linter and formatter tool for CJK content, including markdown, to automatically format the content. Autocorrect has its own rules that enhance the readability of CJK content by improving typography, which may be compatible with 中文文案排版指北.
I recommend using an automated tool like Autocorrect, which provides various plugins for mainstream editors or IDEs. These tools ensure that the content is formatted correctly with appropriate spaces and punctuation. While the guidelines in #4694 regarding concepts like "hydrate" are valuable, they may be less relevant when it comes to formatting and typography. Reviewing every punctuation mark in a PR, similar to source code, can be challenging. Therefore, relying on tools like Prettier, gofmt (for Golang), or Black (for Python) for automatic formatting is more efficient than manual intervention.
实际上，我使用了 Autocorrect 这一针对 CJK 内容以及 Markdown 的 Linter 和格式化工具来进行自动地格式化处理。Autocorrect 内置了一些规则通过改善排版以提高 CJK 内容的可读性，这些规则大多数与 中文文案排版指北 相兼容。
我也比较建议用像 Autocorrect 这样为主流编辑器或 IDE 提供了插件支持的自动化工具来确保内容格式化后有着恰当的空格或其他标点。在 #4694 中的指导方案对于像「hydrate」这样的概念名词我觉得好的，但是像标点符号或排版这样其实有些过于琐碎。而且就像源码一样，很难在一个 PR 中事无巨细地去核对每个标点符号或排版是否准确。所以我更希望是用和 Prettier、gofmt（Go 语言）或者 Black（Python） 这样的工具去自动格式化会更高效，而不是手动修改。


Better support for CNI namespace migration

There can be cases where CNI DaemonSet needs to be moved from one namespace to another, which means there can be brief period where two CNI installers run simultaneously. After https://github.com/istio/istio/issues/34524 being fixed, the CNI installer will continuously reconcile the CNI artifacts on the node if there is any change. To avoid two installers step on each other's toe, we need to provide a mechanism to stop watch & reinstall. This will likely be an env variable at CNI DaemonSet, User can disable watch & install, then remove the CNI DaemonSet at old namespace after the new DaemonSet is up and running in the new namespace.

@silenceshell you might be interested to help adding the env variable to stop watch & reinstall?

yeah, I will do it.


ntr: positive regulation of  pyocyanin biosynthetic process

positive regulation of
GO:0106220 | pyocyanin biosynthetic process
PMID:28715477

NB. Changing to pyocyanine based on ChEBI synonym. Also adding logical def to primary term. ChEBI:8653
@hdrabkin, you made the original term. Is this ok?


Fixed warnings that come up when opening AppStore link

Pressing the 'Update' button that opens up AppStore shows these warnings:
_BSMachError: (os/kern) invalid capability (20)
_BSMachError: (os/kern) invalid name (15)

This simple fix makes sure alert action is handled on main thread which in return doesn't show any warnings. Relevant stackoverflow answer: http://stackoverflow.com/a/33639650/2734193

Interesting. I didn't realize it wasn't running on the UI thread. I'll do some poking around before accepting the PR. Will get back to you soon.
Thanks!

Looks good 👍
Merging - it'll be in the next release (later tonight).

It's available in Harpy v4.0.4 (via CocoaPods and Carthage)
It's also available on http://github.com/ArtSabintsev/Siren
I gave you credit in both repos in their respective CONTRIBUTORS.md files.
Thanks again!


Update README.md. Wrong graph name.

Can one of the admins verify this patch?

I signed it!

Thanks for this fix!


Cache precommit on Github actions

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.248%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3284

Relevant Lines:
3898

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.248%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3284

Relevant Lines:
3898

💛  - Coveralls


Create Collection with vector options fail

JSON API version:  v1.0.0-ALPHA-12
Stargate Coordinator version: v2.1.0-ALPHA-6
Create Collection Command
{
  "createCollection": {
    "name": "vectortest",
    "options": {
      "vector": {
        "size": 2,
        "function": "cosine"
      }
    }
  }
}

Response
{
  "errors": [
    {
      "message": "INVALID_ARGUMENT: line 1:590 mismatched input '<' expecting ')' (...   set<text>,         query_vector_value  VECTOR[<]...)",
      "exceptionClass": "StatusRuntimeException"
    }
  ]
}

This is not an issue, closing this. The coordinator image used for testing was supposed to be coordinator-dse-next but coordinator-dse-68. Changing the image fixed it.


Upgrade to .NET 6

Is your feature request related to a problem? Please describe.
.NET 6 GA release is now available. NuReflector shall be upgraded to the latest release.
Describe the solution you'd like
NuReflector needs to accept .NET 6 as target framework, this implies to upgrade JCOReflector to the latest version.
Describe alternatives you've considered
N/A
Additional context
Needs to wait masesgroup/JCOReflector#61

@masesdevelopers it is missing, in maven.yaml, a commmit like masesgroup/JCOReflector@a4175a0c9ec4bef7f076a4f7e489f241dd8a3093 to install .NET 6 in Linux


Figure out how to ignore venv from codecov

The coverage report I generate locally works fine:
src/hub.py                   89     10    89%

Hub has a coverage of 89%
However the coverage also includes pip packages installed in venv, which I believe messes up the coverage on codecov.io
I tried to fix this in cbd340c1513032754b884e2e3e281982dee82082 but that config change doesn't seem to trigger a codecov recalculate.

That's because the venv/ folder does not exist in the repository for CI builds. This is because the CI already sets up a venv for us. I have no idea yet where this venv exactly lives.


Provide clearer accessible labelling for component page navigation landmarks

Summary
On the component page there are multiple navigation elements. These include:

Top navigation nav bar
Left hand navigation
Page header nav bar
Anchor nav

When conducted a11y testing with voiceover, these navigations were not announced with a title, making it hard to understand which navigation element you are on.
For example, when focussed on the left hand nav, you have a list of 34 links, then you move to page header nav bar which is a list of 3 links, then you move to anchor nav which is a list of many links again.
It is hard to understand which navigation is which and therefore clear labelling of each navigation's purpose should be used.
💬 Description
Ensure that navigation landmarks are labelled clearly and are announced by both NVDA and Voiceover.
NVDA announces the following for the different navigations, but these could be improved upon:
Main navigation
NVDA announcement = 'Banner landmark main navigation navigation landmark'
Voiceover announcement = tbc
Updated announcement = 'Banner landmark main pages navigation landmark'.
Aria label is currently 'main navigation' but use of word navigation in the label should be replaced as it causes repetition. Instead use 'Main pages' as it is more descriptive.
'banner landmark' is the separate landmark for the whole banner and is not always read out.
Left hand navigation
NVDA announcement = 'Components section navigation landmark list with 34 items'
Voiceover announcement = tbc
Updated announcement = 'Component pages navigation landmark list with 34 items'
Aria-labelled-by uses 'Components section' but this is not very clear. Instead use 'Component pages'.
Page header navigation
NVDA announcement = 'Navigation landmark page header navigation landmark list with three items'
Voiceover announcement = tbc
Updated announcement = 'Dialog page sections navigation landmark list with three items'
aria-label is currently 'navigation-landmark-page-header'. This is not very clear and can be updated to reference the specific page this appears on. Use '[Page name] page sections' instead.
Anchor navigation
NVDA announcement = 'Components section contents navigation landmark contents'
Voiceover announcement = tbc
Updated announcement = 'Dialog guidance page contents navigation landmark contents'
aria-label is currently 'components section contents', but would be much better if this was related to the specific page. '[Page name] [current tab] page contents'
The second 'Contents' announcement at the end is caused by the anchor nav title.
💰 Use value
This aids the ease of navigation through the site by users of assistive technology. It makes it clearer what each navigation landmark is for and what they should be used for.
📝 Acceptance Criteria
If relevant, describe in full detail the different interactions and edge cases that the component or patterns needs to fulfil.
Given that a SR user is navigating through landmarks
When each landmark is focussed
Then it's updated labelling should be used as described above.
✏ Designs
If there's a Figma design file (or other mock-up), include it here.
## 🧾 Guidance
If there's written guidance or documentation, include a link to it here.
Additional info
Tell us anything else useful to help us understand your suggestion.

Page header and top navigation need to be split out in UI repo tickets.


Login screen navigation change

@rahul-clarice  @aleffert  Please review.

Merged, because it was blocking.

@jotiram There's an audio change here that seems unrelated?

Otherwise seems fine.


mc_rtc_ticker version 1.6.0-ccb1b8567 / RviZ not working after build

Hello,
I did yesterday a  ./build_and_install.sh and RviZ  stopped working (screen capture attached)
The error I get:
" mc_rtc_ticker was compiled with 1.6.0-ccb1b8567 but mc_rtc is at version 1.6.0-ccb1b8567-dirty, you might face subtle issues or unexpected crashes, please recompile mc_rtc_ticker"
Plus some warnings related to libraries and default controllers when i run mc_rtc_ticker

Do you have any advice for me? Thank you,
Silvia

Also did what was suggested in issue  #138. Deleted the build folder and run a cmake/ sudo make intall same error and warning messages.

Hi @Sil87
Does it work with the sample controllers? (e.g Posture) If so, please recompile your controller and try again.
If not, do you see this line when you start the ticker:
[success] [mc_rtc::ROS] Starting ROS services

Best regards,

Hello @gergondet
Not working with sample controllers, when i start the ticker i don't see the ROS message, however I do seem to be connected to ROS according to print screen:

At the end of the warnings,  I also get:
[info] MCController(base) ready
munmap_chunk(): invalid pointer
Aborted (core dumped)

Hi @Sil87

At the end of the warnings, I also get:
[info] MCController(base) ready
munmap_chunk(): invalid pointer
Aborted (core dumped)

You get this with a sample controller? If so, I suggest you rebuild mc_rtc_ros:
cd ~/MCRTC/catkin_ws
catkin_make clean
catkin_make

Ok thank you, will try that. I might have done some "faux pas" some weeks ago when I deleted the folder of an old controller i created that kept giving me errors.

So I got this error after clean:
[ERROR] [1627468565.020266690]: PluginlibFactory: The plugin for class 'mc_rtc_rviz_panel/mc_rtc panel' failed to load.  Error: Could not find library corresponding to plugin mc_rtc_rviz_panel/mc_rtc panel. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.
And this one after catkin_make:
The specified source space "/home/silvia/src" does not exist

This particular issue was fixed. The problem was combining a package-based installation (out-dated because it was using the bintray mirror) with a source-based installation. This has been fixed but the script should detect such problematic situations that will be tracked in #179


chore(CI): automate marketplace release

Purpose of PR?:
Fixes #1634
Does this PR introduce a breaking change?
No
If the changes in this PR are manually verified, list down the scenarios covered::
Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Checklist:

[x] Fixes #1634
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[x] PR Title follows the convention of  <type>(<scope>): <subject>
[ ] Commit has unit tests
[ ] Commit has integration tests

@daemon1024 we need to have all the secrets and vars in-place before next stable release for this workflow to work.


Disambiguate and document getEntities methods

Closes #1500

EntityView#getEntities(Class, ...) -> getEntitiesByClass
getEntities(EntityType, ...) -> getEntitiesByType
getEntities(Entity, ...) -> getSurroundingEntities
WorldChunk#getEntities(EntityType, ...) -> collectEntities
WorldChunk#getEntities(Class, ...) -> collectEntitiesByClass

A semi impactful change, so will leave open for a little bit longer incase anyone has any more feedback. But im happy to make these renames.

Since we are using phrases than full sentences, you might need to reword quite a few things


fix: Do not add s to struct name ending in s

Codecov Report

Merging #3 into master will decrease coverage by 0.05%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
- Coverage    16.9%   16.85%   -0.06%
==========================================
  Files           6        6
  Lines        1248     1252       +4
==========================================
  Hits          211      211
- Misses       1037     1041       +4

Flag
Coverage Δ

#SwiftKueryORM
16.85% <0%> (-0.06%)
:arrow_down:

Impacted Files
Coverage Δ

Sources/SwiftKueryORM/Model.swift
15% <0%> (-0.1%)
: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 803fc75...977a2b9. Read the comment docs.


namespace + BelongsToMany result in TypeError (this.schemas[related.entity] is undefined)

Environment

Operating System: Linux
Node Version: v20.12.0
Package Manager<EMAIL_ADDRESS>Builder<EMAIL_ADDRESS>TypeScript Version: v5.2.2
Pinia Version: v2.1.7
Pinia ORM Version: v1.9.1

Reproduction
https://codesandbox.io/p/devbox/vue-3-ts-pinia-orm-2klhvr
Describe the bug
Since Version 1.9.0 a simple many-to-many relationship results in the following error when a namespace is defined:
Uncaught TypeError: this.schemas[related.entity] is undefined
This seems to happen only when a BelongsToMany relationship is defined. Please see the below example.
// BaseModel.ts

import { Model } from "pinia-orm";

export default abstract class BaseModel extends Model {
  static entity: string;
  static namespace: string = "orm";
}

// Role.ts

import BaseModel from "./BaseModel";
import { Str, Attr } from "pinia-orm/decorators";

export default class Role extends BaseModel {
  @Attr()
  declare id: number;

  @Str(null)
  declare name: string;

  static entity: string = "roles";
}

// User.ts

import BaseModel from "./BaseModel";
import Role from "./Role";
import UserRole from "./UserRole";
import { Str, BelongsToMany, Attr } from "pinia-orm/decorators";

export default class User extends BaseModel {
  @Attr()
  declare id: number;

  @Str(null)
  declare name: string;

  @BelongsToMany(() => Role, () => UserRole, "user_id", "role_id")
  declare roles: Role[];

  static entity: string = "users";
}

// UserRole.ts

import BaseModel from "./BaseModel";
import { Attr } from "pinia-orm/decorators";

export default class UserRole extends BaseModel {
  @Attr()
  declare user_id: number;

  @Attr()
  declare role_id: number;

  static entity: string = "user_roles";
  static primaryKey = ["user_id", "role_id"];
}

Additional context
No response
Logs
No response

It should work now. But it was a differnt error.
Your error comes from a typo in UserRole
// UserRole.ts

import BaseModel from "./BaseModel";
import { Attr } from "pinia-orm/decorators";

export default class UserRole extends BaseModel {
  @Attr()
  declare user_id: number;

  @Attr()
  declare role_id: number;

  static entity: "user_roles"; // Wrong ❌
  static entity: string = "user_roles"; // Correct✅
  static primaryKey = ["user_id", "role_id"];
}

Hi @CodeDredd, there was a typo, you're right. I fixed it but still get the same error. Can you please see the provided reproduction repo? Thanks!

@pixelmusik Have you tried out the fix with the edge realse branch ? Because i have your example as a unit test and it works fine.


Converted otio file requires Load Media Database to bring media online in Media Composer

Bug Report
This could be an issue with Media Composer but otherwise it could be resolved in the generated AAF when converting from a .otio file that has in this case an MXF file and the required Source ID in the metadata, to ensure the media is linked and online when imported into Media Composer.
To Reproduce

Operating System, macOS.
Python version 3.9.
OpenTimelineIO release version 0.17
Run otioconvert -o input.otio -o output.aaf, with:

input.otio
Cannot include the sample media but any MXF file with the correct Source ID added to the otio file will reproduce.
Expected Behaviour
Media is linked in Media Composer, without needing to do File > Media > Load Media Database to trigger it online.

The advice here might be helpful: https://github.com/AcademySoftwareFoundation/OpenTimelineIO/wiki/Working-with-AAF-and-OpenTimelineIO

I'm using this advice to make sure the Source ID is written into the AAF, what I'm trying to do is not depend on an AAF to start with but export an AAF without any prior AAF as a starting point. I used otioconvert to make a .otio from the Avid re-exported AAF, the otio file contains metadata from the AAF but I don't think this will help in the first case. I wonder if this is somehow related to the changes here. I'm examining the axdump text output between the pre-load-media-database and post AAFs from Avid, they are different.

Just noting the initial differences between the AAF (axDump) before on left and after Load Media Database right:

This sounds like a Media Composer issue. What version of MC is this?

<IP_ADDRESS>607 (macOS)

Does closing an re-opening the bin also work?

No, this didn't trigger the media online either. The below issue does seem related though:

It could be related to this issue [markreidvfx/pyaaf2#68 (https://github.com/markreidvfx/pyaaf2/issues/68)

This sounds like a Media Composer issue.
I never really dug too deep into it as I don't use AMA/Media linking much.
The diff image looks like TimelineSlot->SourceClip vs TimelineSlot->Sequence->SourceClip both of which should be valid

I will also make contract with Avid to see if they can help.


renamed library file lib/.../metics.rb to lib/.../metrics.rb

Basically looks like someone made a typo a while ago and rather than fixing the misspelling they used it so I replaced any refrences to it.
Signed-off-by: Ben Abrams<EMAIL_ADDRESS>Pull Request Checklist
fixes #57
General

[x] Update Changelog following the conventions laid out here

[ ] Update README with any necessary configuration snippets

[ ] Binstubs are created if needed

[x] RuboCop passes

[x] Existing tests pass

Purpose
Fix misspelling in file name and code references to it.
Known Compatibility Issues
You could argue this is a breaking change for anyone using it as an external library, internally we break nothing. I am leaning towards calling it a breaking change but I will let the reviewer decide.

released: https://rubygems.org/gems/sensu-plugins-mongodb/versions/2.0.2


The calendar day started on Monday, but it should begin on Sunday (version 2.1.1).

Please read the docs, this is expected if you provided a specific first day of the week or the one in the locale is Monday. Kindly add more context to the issue and reopen it if you need further assistance.


[BUG/ISSUE] WingetUI Crashes immediately upon startup

Before submitting the issue

[x] I have checked that the bug is not a duplicate or, if it is, it needs to be reopened
[x] I have checked that I am running the latest version of WingetUI
[x] I have tried resetting and reinstalling WingetUI and the issue persisted or happened again
Deleted it and reinstalled it
[x] I have checked the FAQ section for solutions
[x] I have read the contributing guidelines and I agree with the Code of Conduct

Describe the bug
Crahses immediately after loading. Here's a gif.

I can't access the log to see what is happening. Where is the log stored?

This issue has already been reported on #980.
When wingetui closes, can you try opening wingetui from the system tray?
Could you please provide details about your system?

Could you please run this build and send me the console output?
https://we.tl/t-phkAxfhwJe

WingetUI 1.7.1 has this issue fixed!


Redo Build Flavours

Currently the way flavours are implemented has no usage value.
If the current flavours are removed then we can add some new flavours which have more utility across projects:

In main AW repo we can have a 'China' build flavour which excludes all Google API libraries such as Firebase.
In other repos we can provide a 'Production' and 'Pre-Production' flavour and then don't have any need to keep different branches

complete


File "startquill_cherry.py", line 8, in

Traceback (most recent call last):
File "startquill_cherry.py", line 8, in
import cherrypy
ImportError: No module named cherrypy

You need to install the dependencies, please don't mark the deps as issues these should be taken care by yourself. Still, do a pip install for the deps and everything should work.

There is an attached CherryPy-3.2.2.tar.gz already in the package. You can extract that archive and use it without modifications.


Update vmware reservations description

we do NOT always reserve VMware CPU/RAM resources - only when "vmware.reserve.cpu" or "vmware.reserve.mem" setting is set to TRUE - AND we do so, irelevant if overprovisioning is active or not. Verified for both system VMs and user VMs.
Description

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
How Has This Been Tested?

CPU and RAM overprovisioning was active (set to 2.0), while vmware.reserve.cpu and vmware.reserve.mem was set to TRUE or FALSE and the end result was observed in vCenter (6.5).
The same test repeated, with CPU and RAM overprovisioning set to 1.0 (no overprovisioning).

LGTM @andrijapanicsb should we say in the descripotion that when the global settings are true, the reservation value is considered based on the overprovisioning factors.

LGTM, merging based on Travis job#1 because the change is strictly in static string description and does not require full regression test run.


Can not download the data

Hi bro ^_^
why can't I download the data, the download page return:

You need to use VPN.


Since 0.1.3 it frequently loses connection to DTU

Since the 0.1.3 Update it looses frequently after a few hours the connection the DTU. I can only force a reconnect by restarting the whole Home Assistant System.
I just started debug logging and will update this issue when i got the first logs.
Home Assistant core 2024.2.2 on a rapsberry Pi 3B. Connected to a HMS800W-2T

Thanks for reporting.
This is most liekely related to #11 and #12.
A temporary fix is already pushed to main branch. I will release a new version today or tomorrow.

Thanks for the quick reply and fix.

Same problem here.
But I don't get the inverter back with a restart of HA.
How can I get the fix?
Tried to download the main via HA, but it don't work, HA only let me download the newest version

For me it even kicked the inverter from the wireless network and I had to reset via hotspot of the inverter.
Then it worked for a day with a disconnect every couple hours. Since this morning it is back to disconnect every couple minutes (even though I manually added the wait time from the last change in HA).
I have a feeling that the inverter is somehow overloaded - e.g. the ping time randomly varies between 5ms to 150ms every ping.

Newest version local looks good.
I will push a new release this evening.

v0.1.4 just released, please reopen issue if problem still persists

It worked fine for 1.5 days, but at 8 am this morning the disconnects started again.

Is it possible that you assume a complete reboot within 24hours, because I'm constantly operating the inverter from batteries?

That is very curious. Maybe it is a bug in the firmware?
Yes, my inverter reboots at night, since I do not have any batteries. I implemented a "Restart" button, can you check if the restart fixes your problem?

Same here, worked fine yesterday, today it won´t connect correct.

Great, please let me know if this fixes your problem.
The update process can be quite cumbersome, if you are having problems going via the official ways, you can try to update via the hoymiles-wifi CLI tool:
https://github.com/suaveolent/hoymiles-wifi

Unfortunately, I´m not so good in this things, I think the update can´t be done via HA?
So I have to wait till I´m back@home

I'm working on integrating the update mechanim, but unfortunately this is not yet supported in HA. You can try updating via the Hoymiles Cloud, though: https://global.hoymiles.com/platform/login

Thats what I try, but the Inverter shows Offline, so I can´t do an update.
Somentimes it is online, when I have luck and hit that minute, I try to update it.
Otherwise I have to do it this afternoon vie Smartphone and direct connection.

Yes, that seems like a good idea. Alternatively you can try temporarily disabling the HA integration to see if the inverter bounces back and then try the update again via Hoymiles cloud.

I had luck!
Update to XX.XX.11 was successful.
Now, it seems to be stable:
In the meantime I searched the web and found this article:
[https://mikrowechselrichter.eu/blogs/neuigkeiten/hoymiles-hms-800w-2t-verbindungsprobleme-wlan-server-s-miles-cloud]
Maybe the Problem is this:
Was ist die Ursache des Problems?
Hoymiles hat bei der Entwicklung der Firmware - entgegen jedem normalen Vorgehen in der Softwareentwicklung - feste IP-Adressen für DNS-Server hinterlegt.
Was heisst das?
 Diese ist unter der Domain dataeu.hoymiles.com erreichbar.
Um die Adresse dataeu.hoymiles.com in eine "maschinenlesbare" IP-Adresse zu übersetzen, braucht es einen sog. DNS-Dienst. Normalerweise übernimmt diese Funktion der eigene Internetanbieter automatisch für jeden Internetanschluss.
 Die beiden dafür fest hinterlegten IP-Adressen der DNS-Server (<IP_ADDRESS> und <IP_ADDRESS>) erfüllen aber ihre Aufgabe nicht und sind nicht erreichbar.
Deswegen kann der Mikrowechselrichter der Domain dataeu.hoymiles.com keine IP-Adresse zuordnen und somit den eigenen Cloud-Server nicht erreichen.
What is the cause of the problem?
When developing the firmware - contrary to any normal procedure in software development - Hoymiles stored fixed IP addresses for DNS servers.
What does that mean?
The microinverter tries to access the cloud via the Internet. This can be reached under the domain dataeu.hoymiles.com.
In order to translate the address dataeu.hoymiles.com into a “machine-readable” IP address, a so-called DNS service is required. Normally, your own internet provider automatically takes over this function for every internet connection.
Instead, Hoymiles has programmed the use of its own DNS service directly into the devices. However, the two IP addresses of the DNS servers stored for this purpose (<IP_ADDRESS> and <IP_ADDRESS>) do not fulfill their task and cannot be reached.
Therefore, the microinverter cannot assign an IP address to the domain dataeu.hoymiles.com and therefore cannot reach its own cloud server.

The values are rock solid since 7:30AM (start of producing energy).
Seems to work perfect now!
Thanks for the code and great support.

It disconnects at night.
The versions are matching.
I activated debug logging and will post a log tomorrow.

It disconnects at night.
The versions are matching.
I activated debug logging and will post a log tomorrow.

Great! Don’t forget to restart your Home Assistant instance after changing the configuration.

Now it's running stable for the last two days.

Got my first disconnect today. And seeing at least one disconnect a day. I'm starting to wonder, if this is because of the inverter sequence counter overflowing (or some internal bug in the DTU).
I'll try to statically set the counter to 1 and see if that improves anything.

After setting the sequence counter to 1 I did not have a single disconnect today. I will keep monitoring this and if successful push a fix.

My connection has been rock solid over the past weeks. I'm beginning to wonder, if this issue was related to the Hoymiles Cloud and not the custom component.
@julianxv @thitcher are you still seeing disconnects?

For me it's the same. No connection losses in the past weeks.

Im closing the issue for now.


UnboundLocalError: local variable 'bboxs_pre' referenced before assignment

Thank you for the amazing work!
Traceback (most recent call last):
  File "C:/Users/92336/Desktop/humanposeestimation/MHFormer-main/demo/vis.py", line 278, in <module>
    get_pose2D(video_path, output_dir)
  File "C:/Users/92336/Desktop/humanposeestimation/MHFormer-main/demo/vis.py", line 94, in get_pose2D
    keypoints, scores = hrnet_pose(video_path, det_dim=416, num_peroson=1, gen_output=True)
  File "C:\Users\92336\Desktop\humanposeestimation\MHFormer-main\demo\lib\hrnet\gen_kpts.py", line 118, in gen_video_kpts
    bboxs = bboxs_pre
UnboundLocalError: local variable 'bboxs_pre' referenced before assignment

I am having this issue while trying to run inference. Any fixes for this? @Vegetebird

This is a bug when the first frame can not be detected a person, you can clip your video to solve this issue.

Thank you @Vegetebird !


refactor sleeps

closes #57
introduce a mechanism for callbacks in OCP page loads, allows to react real time to gui instead of sleeping arbitrary amounts

@NeonDaniel should we mark this as wontfix or get it merged? there should only ever be 1 more stable OCP release


Cgranade/lock nightly

This PR locks the version of the nightly Rust toolchain used to build the open systems simulator, preventing upstream changes from breaking builds until we are ready to upgrade to more recent nightly builds. In particular, the removal of std::error::Error::backtrace from the #![feature(backtrace)] feature caused a recent breakage, such that we can restore PR by locking before https://github.com/rust-lang/rust/pull/99431 landed — it would be good to update to use the new provider API instead, but for now, locking the toolchain allows us to restore the build.

Apologies, it looks like I accidentally included #1058 in this PR as well; since that has been previously approved, I'll leave it in for now unless there's an objection.


Fixed request issue with Cloudfront

Pull Request Test Coverage Report for Build 668

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.137%

Totals

Change from base Build 549:
0.0%

Covered Lines:
804

Relevant Lines:
811

💛  - Coveralls


About AMD Vega ISA Architecture Manual?

Hi don't know if it's correct place to ask but wanting to see new Vega ISA  (GFX9 ISA) manual similar to the last one "AMD GCN3 ISA Architecture Manual" detailing Polaris/Fiji ISA..
Should be coming soon, at least possibly shortly after Siggraph Radeon Vega reveal?
thanks..

They have it I need to talk to the architecture group again about releasing the docuement.


Omnibus issue for report requests

Now that we have actual data, the time has come to start really working it. I've received a couple of data requests from DCAF brass and I think we can start building them out.
Backend wise, let's try and put these in a namespace under the patient object (something like Patient::Reporting) and try to right as much of it in activerecord as we can. For more complex items or things requiring statistical rigor, let's hold until we can bring in Datakind because I have no idea how to manage that sort of information.
Frontend wise, let's get a design consult once we have the initial reporting designs placed in production.

note to self that we should see what keshif can do for us, as well.

Requested by DCAF VP Lauren on 2/24/17:
1) Fulfillment rates by state
2) Fulfillment rates by clinic

I'd be particularly interested if someone could get raw data as well as a basic statistical analysis to see if the difference is significant.

We need a way to get the quant figures in from here:
http://dcabortionfund.org/wp-content/uploads/2016/02/DCAF_Annual_Report_2015.pdf
This is stuff that NNAF requests from everyone annually, plus some extras that go in our annual report.

@rfroetscher hey, if I remember right you had a second WIP branch here, right? If you still have that would you mind pushing it up and making a WIP PR for it?

hey @colinxfleming. I have a WIP PR here https://github.com/colinxfleming/dcaf_case_management/pull/966

Need a report to reflect number of calls by line for each day.  Need to know when the case load grows beyond what a single case manager can support.

Punching into #634


Running multiple Realsense D455 Cameras causes computer to crash/freeze

Required Info

Camera Model
D455

Firmware Version
<IP_ADDRESS>/<IP_ADDRESS>

Operating System & Version
Ubuntu 20.04

Kernel Version (Linux Only)
5.15.0-76-generic

Platform
PC

SDK Version
2.51.1/2.54.1

Language
C++ ROS

Segment
Robot

Issue Description
We are running 3 Realsense D455 cameras on our Autonomous Vehicle Platform. The computer will become unresponsive locally and over the network after a few hours of continous operation, but it stays powered up. Whenever this happens, we need to manually do a power cycle of the entire system. We suspect that this issue might be due to the Realsense Cameras as the computer doesn't experience any crashes like this when the cameras are not turned on.
We are running the cameras with an external sync that uses an Arduino that sends a pulse at 10 Hz to all three cameras. The configurations of the inter_sync_cam_mode is set to GenLock (4). We have not tested it without the sync, but we wish to run it with this external sync.
The cameras are connected to a 4-port USB-C to USB 3.2 Hub.
These are the computer's specifications:

OS: Ubuntu 20.04
Kernel: 5.15.0-76-generic
CPU: Intel i7-12700F
Motherboard: MSI MEG Z690I UNIFY
RAM: 32GB

We've tried two different versions of the SDK, firmware and ROS wrapper. The first was building the librealsense2 SDK from source. These are the versions that we used which did not succeed:

librealsense2: 2.51.1
firmware: <IP_ADDRESS>
ROS: noetic
ROS Wrapper: 2.3.2

For building this from source, we followed these instructions: https://github.com/IntelRealSense/librealsense/blob/v2.51.1/doc/installation.md
We then tried use the updated version, however using the pre-built binaries instead, which were:

librealsense2: 2.54.1
firmware: <IP_ADDRESS>
ROS: humble
ROS Wrapper: 4.54.1

For the pre-built binaries, we followed these instructions to install it. https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md
Prior to these crashes, these are the messages we typically see:
$ journalctl -b -1 -e
Jul 19 13:35:43 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:44 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:44 pc04 kernel: usb 2-5.2: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
Jul 19 13:35:44 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:45 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:46 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:46 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:47 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:48 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:48 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:49 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:50 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:50 pc04 kernel: usb 2-5.1: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
Jul 19 13:35:51 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:51 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:52 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy
Jul 19 13:35:53 pc04 iio-sensor-prox[938]: Failed to open 'iio:device0' at /dev/iio:device0: Device or resource busy

Would appreciate some help with this issue. Thanks.

Hi @jasatron9000  In regards to the message Failed to query (GET_CUR) UVC control 1 on unit 3, in 2020 I asked my Intel RealSense colleagues about this message and was provided with the response below.

The message “uvcvideo: Failed to query (GET_CUR) UVC control” indicates a failure on (kernel) driver level to read the requested parameter, for instance if the device was busy with internal operation or that the incoming requests queue is full.  In most cases this message can be disregarded as the SDK has built-in auto-retry mechanism to compensate for the temporalities.

The full case can be viewed at https://github.com/IntelRealSense/librealsense/issues/5302
In your particular case though, the computer does not appear to be auto-recovering from the problem as it becomes unresponsive.
'iio-sensor-prox' may be a reference to a non-RealSense component called iio-sensor-proxy that interfaces with accelerometers, like the one that the D455's IMU has.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/
Ubuntu apparently makes use of it to rotate the screen's orientation when an IMU device is attached to the computer, like in the RealSense case at https://github.com/IntelRealSense/realsense-ros/issues/1281
If iio-sensor-prox[938] is related to iio-sensor-proxy then you could consider removing it from the computer, as suggested by a RealSense team member at https://github.com/IntelRealSense/realsense-ros/issues/1281#issuecomment-662390602

Thanks for the response, @MartyG-RealSense
Just to clarify, if we manage to limit or stop the error message uvcvideo: Failed to query (GET_CUR) UVC control from appearing from the log this will probably help alleviate the issues regarding the computer becoming unresponsive.
Looking through the case that you linked (https://github.com/IntelRealSense/librealsense/issues/5302), these are the solutions that I saw that might help.

Reduce the FPS and/or reduce the resolution of the streams.
Increasing the frame buffer size to 2 rather than the default value of 1.

Additionally, would using specific cables or a USB Hub help with this issue. I've seen you talk about in on this comment, however, I'm unsure if it is related.
Can you confirm if these are the solutions we should try to limit that error from occuring.
Thanks.

If the log messages are generating continuously at a fast rate then I can see how they could have an impact on the computer's performance.
Reducing FPS and / or resolution can sometimes reduce the frequency at which log messages are generated, though not completely eliminate them.
Increasing the frame buffer size can reduce the number of frames that are dropped (lost) from the pipeline.  I do not think that it would help with your particular problem though.
It is important to use a high quality USB cable that is designed for data transfer and not just an inexpensive one that was designed only for device charging.  This is because of the high volume of data that RealSense cables can transmit.  If it was the cable that was the cause of the problem though then you would probably see errors occurring much sooner than 3 hours into the session.
Incompatibilities with certain models of USB hub can also occur.  There is no way to know in advance how well a particular hub will work with the camera.  When Intel performed multi-camera bandwidth usage tests for their multiple camera hardware sync paper though, they tested with Amazon's own-brand AmazonBasics hub.  I purchased this brand of hub myself for my RealSense cameras based on the paper's recommendation and have never had problems with it during three years of use.
https://dev.intelrealsense.com/docs/multiple-depth-cameras-configuration#2-multi-camera-considerations

Thanks for the reply, @MartyG-RealSense
We'll give these solutions a try and we'll get back to you if we have any further questions for you.

Hi @jasatron9000  Do you have an update about this case that you can provide, please?  Thanks!

Hi @jasatron9000  Do you require further assistance with this case, please?  Thanks!

@MartyG-RealSense Apologies for the late response. Here's an update on what we currently managed to try out.
We've managed to try lowering the resolution of the depth cameras from 1280x720 to 848x480 to see if it will help with this issue and from our observations it seemed to have increased the time between the crashes from 4 - 6 hours to 12 - 24 hours. In some cases, it managed to run without issues for ~2 days straight. However, the error message uvcvideo: Failed to query (GET_CUR) UVC control is still present.
There are two things remaining that we needed to try out which were:

Using the AmazonBasics Hub that was recommended for the RealSense cameras.
Loweing the frequency of the external sync signal which will effectively lower the frame rate.

Also, we had an idea floating around to help with this issue and it was to periodically restart the ROS RealSense nodes (perhaps once an hour). Just wondering on your thoughts on if this idea is worth pursuing.
Thanks in advance.

I would certainly recommend periodic resets as a way of dealing with problems during long-run sessions.

Hi @jasatron9000  Do you require further assistance with this case, please?  Thanks!


fix: retain upper casing from information schema cols

SQL parser was throwing an error here: https://github.com/SoftwareBrothers/adminjs-sql/blob/main/src/dialects/mysql.parser.ts#L12 due to information schema selecting columns using lower cased names which throws undefined errors.
The original source however, uses the lower cased properties as seen here: https://github.com/wirekang/adminjs-sql/blob/main/src/parser/mysql.ts#L101.
If preference is to match the original source, I can leave column selects as lower cased and update getColumnInfo to reference lower cased keys instead.

I'll merge this, in case there are issues we can fix them later. Oddly enough, when I tested locally the lower case selects worked for me.


add more options for IBM Cloud Functions connection

IBM Cloud provides lots of services which can work together in various ways.
currently, to connect to IBM Cloud Functions you have to provide the basic API key which is a specific api key for this service.
IBM Cloud allows to use IAM keys which directed to multiple services so you don't need a dedicated api key for each service.
When using multiple services of IBM Cloud it will be more convenient if there will be one IAM key for all services including PyWren so I suggest to add an option to connect everything by IAM key.

@omerb01 this is good...but this should be opened against IBM Cloud, not against PyWren ;)

@gilv IBM Cloud does already has this option - you can also connect to Cloud Functions with an aim key, but PyWren doesn't support it currently.

@omerb01 Just out of curios... Does IAM key work with COS account?

@JosepSampe I tried to figure out some info about all that credentials logic in IBM Cloud... actually I'm quite confused: I do know that people use IBM Cloud services by IAM keys and direct them to access multiple services at once. For some reason I didn't find any info about IAM Key usage with Cloud Object Storage - maybe it is an elementary service so you don't need a dedicated key - currently we connect to this service by a global api key to IBM Cloud

@gilv This issue is already done with the iam_connector, right?


Add primarily pink theme

Screenshot of my A11y card:

For assistance: https://help.github.com/en/articles/file-attachments-on-issues-and-pull-requests

Thanks for the contribution!
If you could follow the top answer here to remove package-lock.json from the PR I can merge it in:
https://stackoverflow.com/questions/39459467/remove-a-modified-file-from-pull-request

Actually - Could you run npm --version and let me know what version is returned?
The changes to package-lock.json might be valid 😅

Hey! It's 6.4.1.

Ok, I was able to update package-lock so that I won't keep having that issue pop up 😄
Thanks for your help and submitting an awesome theme 💕!


AttributeError: 'ScannSearcher' object has no attribute 'searched_batched'

After saving, I load the numpy searcher and then use the searched_batched method:
neighbors, distances = searcher.search_batched(data)
But it's giving me this error:
AttributeError: 'ScannSearcher' object has no attribute 'searched_batched'
Any idea why this is happening? I'm loading this searcher within a python function.
ScaNN version: 1.2.9
def mock_function(data, dir_path):
    searcher = scann.scann_ops_pybind.load_searcher(dir_path)
    neighbors, distances = searcher.search_batched(data)      ### This is where it gives error
    return distances

Apparently, the issue is not occuring due to the 1.2.9 version:
https://github.com/google-research/google-research/issues/355#issuecomment-1452037088

The error is only occurring when I'm using script. searcher.search_batched() method is working fine when used in a notebook. I need to use a script though. What could be the issue?


Multiple TextDecoration flags result in commas when serializing to .svg

Description
When using multiple Text Decorations, the serialized .svg file has commas in between each text decoration flag. This causes renderers (the .svg file as well as .bmp) to not render the text decorations.
Example data
var svg = new SvgDocument
{
    Width = 300,
    Height = 100,
    ViewBox = new SvgViewBox(0, 0, 300, 100),
    Children =
    {
        new SvgText("Hello World!")
        {
            Y = {50},
            FontSize = 50,
            TextDecoration = SvgTextDecoration.LineThrough | SvgTextDecoration.Underline |
                             SvgTextDecoration.Overline
        }
    }
};

using var bitmap = svg.Draw();
bitmap.Save("card.bmp", ImageFormat.Bmp);
svg.Write("card.svg");

Resulting SVG:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xml="http://www.w3.org/XML/1998/namespace" width="300" height="100" viewBox="0, 0, 300, 100">
  <text y="50" font-size="50" text-decoration="underline, overline, line-through">Hello World!</text>
</svg>

text-decoration="underline, overline, line-through" should read text-decoration="underline overline line-through"
Used Versions
NuGet version 3.4.0 (released 3 days ago), Windows 10, Target Framework .NET 5.0

Seems to be a problem with bit flag enums, which are converted to string using the standard ToString() method, which inserts the commas for combined flags. SvgTextDecoration (this case) seems to be only such type that can have combined values so far.

Note that SvgTextDecoration.Overline is currently not supported in rendering (as it is not supported by `System.Drawing``).


Perform stateful Action on the Resource

As a Dev Team
I need to perform a CRUD action
So that my we have the ability to make stateful changes to the model
Details and Assumptions
Can only be done once "Promotions" model is updated
Acceptance Criteria
Given a dev team member
When performs a create/read/update/delete function
Then the action successfully executes

Closing this issue, because it's duplicative with issue #43.


TB1TFL anat scans for site MSSM do not exist

The data_processing.ipynb script currently segments the spinal cord on {subject}_acq-anat_TB1TFL.nii.gz scans. However, the site "MSSM" does not have those scans. TFL scans at that site only output "sub-MSSMxxx_acq-famp_TB1TFL", ie, the flip angle map.
Possible solution: have an if case for that site and try to segment the spinal cord on the flip angle map

Good catch. Indeed, we need an "if case". I'm not sure segmenting the cord on the FA map will work though. I need to look at various options.

My solution for now is the following:
I co-registered the UNIT1 SC segmentation to the TFL famp images using:
 sct_apply_transfo -i ../anat/sub-MSSM3_UNIT1_seg_crop.nii.gz -d sub-MSSM3_acq-famp_TB1TFL.nii.gz -w warp_sub-MSSM3_inv-1_part-mag_MP2RAGE_crop2sub-MSSM3_acq-famp_TB1TFL.nii.gz -x linear -o sub-MSSM3_acq-famp_TB1TFL_seg.nii.gz
I verified that the segmentation looked reasonable, then copied it to the manual labels folder:
cp sub-MSSM3_acq-famp_TB1TFL_seg.nii.gz ../../derivatives/labels/sub-MSSM3/sub-MSSM3_acq-anat_TB1TFL_label-SC_seg.nii.gz
This way, few modifications are needed for the code.

I agree this is a good solution. Once the OpenNeuro draft is published we can close this issue.

I created a new snapshot (v2.4.0) of the dataset for #48 after having uploaded the missing MP2RAGE scans for sub-MPI2 recently without knowing that the manual labels for this issue had been uploaded but that a new snapshot had not yet been created. As a result, v2.4.0 contains both the changes for #48 and for this issue, but I only mentioned the changes for #48 in the CHANGES file.
To fix this, I created a new version v2.4.1 with the corrected CHANGES file:

Now that the manual labels for this issue have been uploaded and a snapshot has been created (v2.4.0/2.4.1), this issue should now be resolved.


Support file globbing for input and output

In the example below, if multiple files and folders are specified via file globbing, the destination value is ignored.
Grunt code:
    inline: {
      dist: {
          files: [{
            expand: true,
            cwd:  'source/',
            src: ['**/*.html'],
            dest: 'destination/'
          }]
      }
    }

Output: (grunt inline:dist --verbose)
OK
Reading source/index.html...OK
Processing source/index.html...Writing source/index.html...OK
OK
Reading source/test/index.html...OK
Processing source/test/index.html...Writing source/test/index.html...OK
OK

I have the same problem...

@SonniesEdge @Lynn-cc
I will take care of your problem as soon as possible :)

@SonniesEdge @Lynn-cc
I've get the bug fixed. Try version 0.3.3 and check whether the problem is fixed.


[AutoPR cognitiveservices/data-plane/ComputerVision] Rename examples to match generated names

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4156

(message created by the CI based on PR content)

Codecov Report

Merging #3541 into restapi_auto_cognitiveservices/data-plane/ComputerVision will increase coverage by 1%.
The diff coverage is 100%.

@@                                     Coverage Diff                                      @@
##           restapi_auto_cognitiveservices/data-plane/ComputerVision    #3541      +/-   ##
============================================================================================
+ Coverage                                                     55.97%   56.97%      +1%
============================================================================================
  Files                                                          9020     7801    -1219
  Lines                                                        187022   160293   -26729
============================================================================================
- Hits                                                         104681    91331   -13350
+ Misses                                                        82341    68962   -13379

Impacted Files
Coverage Δ

...veservices-vision-computervision/azure/__init__.py
100% <100%> (ø)
:arrow_up:

...rvision/azure/cognitiveservices/vision/__init__.py
100% <100%> (ø)
:arrow_up:

...computervision/azure/cognitiveservices/__init__.py
100% <100%> (ø)
:arrow_up:

...ntainerregistry/v2017_10_01/models/resource_py3.py
45.45% <0%> (-54.55%)
:arrow_down:

...egistry/v2018_02_01_preview/models/resource_py3.py
45.45% <0%> (-54.55%)
:arrow_down:

...re/mgmt/compute/v2018_04_01/models/resource_py3.py
45.45% <0%> (-54.55%)
:arrow_down:

...ntainerregistry/v2017_03_01/models/resource_py3.py
45.45% <0%> (-54.55%)
:arrow_down:

...y/v2018_02_01_preview/models/proxy_resource_py3.py
55.55% <0%> (-44.45%)
:arrow_down:

..._02_01_preview/models/build_step_properties_py3.py
66.66% <0%> (-33.34%)
:arrow_down:

...els/build_step_properties_update_parameters_py3.py
75% <0%> (-25%)
:arrow_down:

... and 1263 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 074f39e...a0120a0. Read the comment docs.

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/2978