Implement deemphasised lines at nondisjunctions between references

RCPCH Project Board 22.8.24
There has been longstanding confusion about the fact that centile lines between WHO and UK90 references do not line up. This is particularly seen in the head circumference chart where the overlap is of the order of 2 centiles.
Decision was therefore made to implement de-emphasised vertical lines at the join between references, with a tooltip to explain the discrepancy to users.
Vertical lines (grey / deemphasised, no prop) for all measurement methods at:

[x] aged 42 weeks
[x] aged 4 years
[x] vertical labels associated with each line explaining non-disjunction or retain existing tool tips.

Don't forget to include the disjunctions at 2 years for WHO height and BMI, due to the change from length to height.

Just to be clear - we always did have tool tips that appeared when users hovered over the breaks between references explaining the discrepancy and I have left those in. These extra lines are just clearer signposting.

especially for head circumference which initiated this issue.

If @statist7 agrees (and everyone else) I will merge this in.


nixos/tests/cups-pdf: fix test with socket-activated cups

Description of changes
The cups-pdf vm test previously waited for the activation of cups.service. This fails since https://github.com/NixOS/nixpkgs/commit/47d9e7d3d7d8ad19e29be1445171726bf7d602b6 .  The commit at hand alters the test so it simply waits for multi-user.target.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1
(nothing)

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1792


It is possible to drag corner circles outside of widget area

If the crop widget does not reach all the way to the sides of the screen, then it is possible to drag corner circles outside of widget area. If you drop the circles there, there's no way to get them back again.
Probably what should happen is that when the crop area hits the side of the widget, dragging should stop -- and the circles should "push in" from the sides and top/bottom of the widget, so that they are always shown.

@lukehutch
I tried with the example app but it seems the drag corners don't go outside of the widget area.
If your app behaves differently, can you provide the minimum code to reproduce it?


membership: save/update the whole member information into backend

In v2 store, we save normal attributes and raftAttributes of a member into different keys. But I feel it is not necessary. So for v3, we always save a full member info into one key.

lgtm. defer to @heyitsanthony

lgtm


Feature: Use Azure Key Vault instead of SettingsFileGenerator.xml

Cause: SettingsFileGenerator.xml is extremely hard for merging changes.

Secrets should never be in SCC, so SettingsFileGenerator.xml causes bad habits for users of BTDF. Actually we're looking at Azure Key Vault for out BizTalk projects deployed on-premises. It's very interesting to see that others are thinking about the same thing. We should share thoughts about how to implement support for this.
I did a something similar for Octopus PS scripts in this PR: https://github.com/eloekset/publish-btdfBiztalkApplication/pull/7 This is also merged into the develop branch of the main repo at: https://github.com/elangovana/publish-btdfBiztalkApplication/tree/develop Unfortunately we didn't continue the move to Octopus at work, so I haven't created a new release of the scripts. I documented my work in the wiki at my own fork of the repo, but haven't copied this over to the main repo yet: https://github.com/eloekset/publish-btdfBiztalkApplication/wiki/Octopus-Deploy

I just saw this presentation about Azure App Configuration, which can reference Key Vault for secrets and has a great API to manage all kinds of configuration for various environments. The free tier should be sufficient for each BizTalk applicaiton when used only from BTDF during deployment. This issue should be renamed to say Azure App Configuration instead of Azure Key Vault.

Looking forward for this feature as this will make things more neater and secure.


Enh/elephant data versioning

With this PR versioning for elephant-data (currently on: https://gin.g-node.org/INM-6/elephant-data) is introduced.
Issue
Different files from elephant-data are used in unit-tests and tutorial notebooks. Since the datasets on elephant-data may undergo various changes over time, any change would potentially break the unit tests of old elephant versions.
During development of a new tutorial or unit-test the used files might not yet be merged into elephant-data[master]. This requires the use of hard coded links to the development branch (on gin) until merged.
download_elephant_data: use only paths relative to repo root
Those issues might be addressed by creating releases of the elephant-data repository. Currently all links used in tutorials and unit-tests have to following structure:
Link to root of repository+path starting at root
example:
'https://web.gin.g-node.org/INM-6/elephant-data/raw/master/'+'unittest/spectral/multitaper_psd/data/time_series.npy'
This PR addresses this issue by introducing a new function download_elephant_data , which contains a default URL (first part in example above) and hence only requires the relative path from repository root as input. This default URL could be set to a specific release of elephant-data, e.g. 'https://web.gin.g-node.org/INM-6/elephant-data/raw/0.0.1'pointing to release v0.0.1. With every new version of elephant, this could be changed to the corresponding elephant-data version.
environment variable ELEPHANT_DATA_URL
Furthermore an environment variable ELEPHANT_DATA_URL is introduced, which allows to specify a different URL to the root of the repository.
Typical use cases  could be development and CI workflows.

for CI use the latest state of elephant-data
- set  ELEPHANT_DATA_URL to 'https://web.gin.g-node.org/INM-6/elephant-data/raw/master/'
during development use a specific branch (e.g. multitaper) of elephant-data
- set  ELEPHANT_DATA_URL to 'https://web.gin.g-node.org/INM-6/elephant-data/raw/multitaper'

In both use cases an environment variable is changed and only the relative paths to the repository's root are hard coded.
TODO:

[x] create release of elephant-data (https://gin.g-node.org/INM-6/elephant-data)
[x] set default URL to first release

Coverage remained the same at 88.663% when pulling 5b22f64f7621775dbf66373fbd8e1a369fbe3f60 on INM-6:enh/elephant_data_versioning into 7a6d3f25759368e66f080fe6d745f9d73d0ddd13 on NeuralEnsemble:master.

Hello @Moritz-Alexander-Kern! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file elephant/data_utils.py:

Line 171:5: E303 too many blank lines (2)


Programmatic Event Selection

Hi, thanks for this great component.
Is there a way to programmatically select an event and/or set an event object as selected before the initial render? I tried using eventPropGetter but had no luck.

defaultSelected={selectedEvent...it does not appear to be documented oops

Ah, now I see the previous issue #371. Sorry for the duplicate. I searched everything I could think of and somehow missed it. 🙈
So there is not a way to programmatically select an event after the component has rendered? Should I just make the defaultSelected equal to a state value and use it to cause a rerender? That doesn't seem to be working for me.

If you want to completly control the value use selected and the onSelectEvent callback much like a controlled input

Well, that's just too easy. 😐


solidify suspend and hibernate behavior

https://gist.github.com/mattdenner/befcf099f5cfcc06ea04dcdd4969a221

got this working mostly. will revisit if needed


Copy more easily

Add ability to copy using ⌘+c
AC:

I can copy text super easily without needing to use my mouse, and I don't have to worry about accidentally copying the controls (i.e., "How many paragraphs?" text or headlines or copyright notices etc)

This could be implemented with a big textarea containing the lipsum text that starts automatically selected

This seems like it's mostly an exercise in accessibility. I think it'd be good to experiment with different approaches for making it as obvious as possible that the text is selected and ready to copy


feature: add datadog_output type

Adds support for DataDog output plugin.

Thanks, @bojand for the update.
This is a new output plugin, right? It'll be great if you can help to update the Table of Content in the readme as well
https://github.com/fluent/fluentbit-operator#api-doc


doc:  add CODE_OF_CONDUCT.MD File

Closes : #88

@Dev-tanay  please add level tag/label so it will count as my point .


Does hostboot only read Lid files from running DIR？

https://github.com/open-power/hostboot/blob/c9a493fcc2ee016a52ba30b1d252d2dc0efd5688/src/usr/pldm/requests/pldm_fileio_requests.C#L214
What is the relationship between PLDM_FILE_TYPE_LID_RUNNING and the fw of BMC's fw_boot_side_current attr？

The BMC code is responsible for giving Hostboot all of its data.  Hostboot only ever wants the code from the currently running side.  We have deliberately obfuscated if that is 0/1 from the Hostboot layer.  The BMC and PHYP (and theoretically OPAL) do need to keep track of which physical side is in use though, I believe that is what fw_boot_side_current tracks.  More details would need to come from the OpenBMC team.


Writing style guide updates -- July 2023

Hey team – I included several long-overdue changes to our writing style guide.
Many of these come from my conversations with you. Please review the diff file and let me know if you want to change something. I'll merge the branch at the end of the week.
Thanks!
@Fabiomorais87 , @shamisem , @cheny0

Hi @jorge-campo , all good to me :)

Closing this PR – @earakel will implement these changes in the new version of our writing style guide in the Status.app website.


Forks of my repository are ALSO posted on NuGet

I have a general question about when people fork one of my repositories, and then post their fork on NuGet.
For example, one of my repositories is Silk. This has several forks on GitHub. I don't understand all the details of forks. But one of them also posted their fork on NuGet.
My question is about this practice. Are there valid reasons for someone to do this? Should there be a way that I can prevent other people from listing my repositories on NuGet? Their fork is getting downloads while I'm trying to attract more attention to my NuGet packages. In fact, it's getting more downloads than mine!

Hi, @SoftCircuits. If you have concerns about any copyright issues, please reach out to us:
https://docs.microsoft.com/en-us/nuget/nuget-org/policies/deleting-packages#exceptions
Thanks!

This is the nature of open source projects: publishing your code publicly under open source license usually grants others the right to copy, modify and redistribute your code, so much that GitHub makes it really easy to fork public repositories.
As to why it happens in your specific case, only the person who made the fork would be able to answer, you can try checking the changes they made after forking to get the idea or you can try contacting the package owners using the "Contact owners" link on the package details page:

@agr I understand it's open source, which allows them to do things with the source code. But publishing it as your own NuGet package with--as far as I can tell--no changes, and getting more downloads than mine just seems to be a problem.
I may contact them, but I'm not sure I can do anything more than ask nicely if they'd take ut down.

You are comparing noise to noise: when we are talking about dozens downloads per month, those are most likely generated by bots that scrape the package feed for whatever reason. Packages with absolutely zero utility generate a few downloads per month.
And regarding the changes: quick glance at the other package repository shows that at the very least, the package was retargeted to net6.0 and some CancellationToken support was added here and there, so I wouldn't say there are no changes.

@agr It already targeted .NET 6.0. The main change he made was to replace every occurrence of my name with his name.

My perspective on the situation
Hello @SoftCircuits, over the years these problems have come up from time to time. There's a lot of different things that could be happening here:

As @agr, the fork may introduce legitimate changes or enhancements specific to the editor's needs.

Based on the description of the package you provided and looking at the code, you project indeed supports .NET 6 (with a .NET 5 and .NET Standard https://github.com/SoftCircuits/Silk/blob/7cc8a9e8bbf0dfadfaf0401147b60aaf93c22119/Silk/Silk.csproj#L4) but the fork directly targets .NET 6 (https://github.com/KurtLinder/Silk/blob/66d47aed1fc307d21efa6e15cee7eb27f0658089/Silk/Silk.csproj#L4). I can't guess why the fork has this but perhaps the fork author was encountering some problem around compatibility.

Sometimes the original source code is not released to NuGet.org yet and the fork author wanted to unblock themselves so they pushed a build to NuGet.org.

This used to happen much more as NuGet was still gaining popularity in the .NET ecosystem.

Sometimes we (as NuGet.org owners) never get to the bottom of why the fork exists. Perhaps the fork owner is unresponsive to the original author's messages or attempts at contact.
Sometimes the situation does end up being negative and the fork is indeed trying to maliciously copy the source code.

These situations are very rare partly because it's hard to conclusively determine this. Malicious code in packages is taken very seriously by my team but is still a relatively rare occurrence.

For the first, second, and third situation we (meaning you the original author and us the NuGet.org team) should try to assume positive intent and then take next steps to improve the situation as much as possible. As an aside, in my heart, I really believe most developers want to do the right thing but maybe don't have all of the tools or knowledge to fork/copy a package in a manner that is fully agreeable to the author. One original author might have different feelings than another about what the right way to fork a package is. It's honestly a murky area and the OSS licensing terms for your code are just the starting point for a conversation like this.
The fact that the fork actually mentioned the original source and left your copyright string as-is suggests to me that the fork author was trying their best leave a trace of where they got the code from and provide credit where credit is due.

Additionally, the fork on GitHub retains the fork metadata instead of being a hard copy (pull and then push manually through the Git CLI).

Regarding this:

The main change he made was to replace every occurrence of my name with his name.

I see a mixed situation. I think it demonstrates good intent that the fork author left your name in the "authors" section:
https://github.com/KurtLinder/Silk/blob/66d47aed1fc307d21efa6e15cee7eb27f0658089/Silk/Silk.csproj#L9
Anyways, I could go on and on but hopefully my point is clear: there appears to be some evidence that the fork author was trying to do the right thing when they made the fork.
Finally, I hesitate to "take sides" in this situation. I want to simply characterize how I personally see the situation given the details that are publicly visible. I do appreciate you starting this conversation since I believe we all can learn and benefit from such and open conversation.
Next steps

I recommend contacting the fork owner the "Contact owners" link on NuGet.org if you would like to discuss details of why and perhaps work out a more desirable fork situation: https://www.nuget.org/packages/LbsFeldkirch.Silk/2.0.0/ContactOwners. This is driven by you.
As alluded by @zhhyu above, if you believe the content infringes on an existing trademark or copyright that you hold, you can consider reporting the package for copyright/trademark infringement. Note that this is a very "blunt instrument". I can't advise you on whether this situation meets all of the necessary criteria for a DMCA takedown (my team does not provide legal counsel) but I wanted you to be aware this path does exist.
NuGet.org team can consider authoring a guide on our documentation site that provides guidelines on how to respectfully fork a package. This would need to be written with great care and would need to seek input from our own internal legal counsel. What are your thoughts on the value of such a guide? Does there exist an agreeable way for this fork author to fork your package? What are the pieces they are missing?

Hey @SoftCircuits, we haven't heard back from you so I'll go ahead and close this. Please feel free to reach out to us again with another issue or with our contact page: https://www.nuget.org/policies/Contact.

@joelverhagen Thanks. I did contact the author and it appears he has deprecated his package.


ArgumentNullException in TryGetValue

When calling MicrosoftConfigurationExtensions.LoadRedisConfigurations, the resulting RedisConfiguration is created with the default constructor meaning the RedisConfiguration._configurationOptions & RedisConfiguration._connectionString remains uninitialized if no explicit connection string was added. This could probably be solved by calling and storing the result from RedisConfiguration.CreateConfigurationOptions() and ToString().
Crash occurs in RedisConnectionManager.Connect().

Not really sure but that simply sounds unsupported / not intended use
I'll leave it open to check out at some point. If you could provide a reproduceable example, that would make it easier to understand what the problem is


bridges | implement hierarchy for tiles

Motivation
closes #219
closes #231 (at least I think it should fix it)
What was changed/added
When changing a tile in update grid it now correctly checks the hierarchy using tile_update.
Testing
https://github.com/mango-gremlin/arch-enemies/assets/65815628/508177e6-f6f7-4ba4-aef5-ca4651784be0

This is all very true. I have made it less terrible and remembered to actually use current. I will merge it now.


Rocket Motor Menagerie version compatibility

Rocket Motor Menagerie, being a straightforward part mod, should be compatible with all versions of 1.12 (and probably older versions as well, but that's a can of worms I don't want to get into). Since it's metadata is pulled from Spacedock, which does not allow for compatibility to be specified for multiple versions, it is currently only marked as compatible with KSP version 1.12.5.
I have gotten permission from @EStreetRockets to have RMM marked as compatible with all versions of KSP 1.12.x

Confirmed author intent on forum thread:

https://forum.kerbalspaceprogram.com/topic/202266-112x-rocket-motor-menagerie-v110-stockalike-engine-pack/


makeStyles changed

🛠 Fixes Issue

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

hey @gbowne1 could you check if this works

Yes it appears to work.  Approving for merge


a problem about install

ERROR: Could not find a version that satisfies the requirement pkgutil (from versions: none)
ERROR: No matching distribution found for pkgutil

This issue is related to your local machine rather than PyPD. pkgutil is part of the standard library, offering utilities for finding and working with Python packages.
To observe PyPD in action, I suggest you open and run the following notebook in Google Colab.

yeah，the problem has been soluted！Also I have the following questions:
1, I found a three point bending model in your example file. When I simulate with matlab, the load displacement application is usually done on the internal dx layer particles. But the load in the three point bend is applied on the particles located on L/2, so I don't understand how to apply it, is it easy for you to guide me?
2, PeriPY is based on BBPD, so if I want to use SBPD, how can I modify it?

Your questions are unrelated to the original issue so I'm going to close this issue, but I will briefly respond.

Clearly, it is up to you how you decide to apply the load, but ask yourself if it is physically realistic to apply the load to internal particles? The three point bending example (examples/half_notched_beam.py) uses a contact model, and loads are not directly applied to particles.
PeriPy is a different package. But yes it would be possible to modify for state-based simulations. Obviously this is something that you will have to figure out yourself.

For more general questions about peridynamics, feel free to email me, and I will be more than happy to help.


Issue Following: Creating an Explicit Base Non-Dynamically

On SQLA 1.3 + the Dropbox stubs, I use Base = declarative_base(metadata=meta) for my models' base class and everything works fine. When  I upgrade to 1.4 + the new stubs, using that Base for my models generates the following mypy warning:
api/models.py:1121: error: Variable "api.database.Base" is not valid as a type
api/models.py:1121: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases

So first I tried:
from sqlalchemy.orm import registry
....
mapper_registry = registry(metadata=meta)
Base = mapper_registry.generate_base()

however I get the same warning. I do get an additional warning:
error: Module 'sqlalchemy.orm' has no attribute 'registry'

I then tried:
mapper_registry = registry(metadata=meta)

class Base(metaclass=DeclarativeMeta):
    __abstract__ = True

    registry = mapper_registry
    metadata = mapper_registry.metadata

however I then get:
 mypy . --show-traceback
api/database.py:16: error: Module 'sqlalchemy.orm' has no attribute 'registry'
./api/models.py:34: error: INTERNAL ERROR -- Please try using mypy master on Github:
https://mypy.rtfd.io/en/latest/common_issues.html#using-a-development-mypy-build
Please report a bug at https://github.com/python/mypy/issues
version: 0.812
Traceback (most recent call last):
  File "mypy/semanal.py", line 4835, in accept
  File "mypy/nodes.py", line 950, in accept
  File "mypy/semanal.py", line 1048, in visit_class_def
  File "mypy/semanal.py", line 1125, in analyze_class
  File "mypy/semanal.py", line 1134, in analyze_class_body_common
  File "mypy/semanal.py", line 1194, in apply_class_plugin_hooks
  File "/Users/alex/.pyenv/versions/3.8.2/envs/api/lib/python3.8/site-packages/sqlalchemy/ext/mypy/plugin.py", line 193, in _base_cls_hook
    _add_globals(ctx)
  File "/Users/alex/.pyenv/versions/3.8.2/envs/api/lib/python3.8/site-packages/sqlalchemy/ext/mypy/plugin.py", line 184, in _add_globals
    util.add_global(ctx, "sqlalchemy.orm.attributes", "Mapped", "__sa_Mapped")
  File "/Users/alex/.pyenv/versions/3.8.2/envs/api/lib/python3.8/site-packages/sqlalchemy/ext/mypy/util.py", line 79, in add_global
    lookup_sym: SymbolTableNode = ctx.api.modules[module].names[
KeyError: 'Mapped'
./api/models.py:34: : note: use --pdb to drop into pdb

please provide specifics
no warnings here:

from sqlalchemy import Column
from sqlalchemy import Integer
from sqlalchemy import MetaData
from sqlalchemy.orm import declarative_base

Base = declarative_base(metadata=MetaData())

class U(Base):
    __tablename__ = "x"
    id = Column(Integer, primary_key=True)

$ mypy test3.py
Success: no issues found in 1 source file


Fix an ownership issue

Without this I get these valgrind errors (or a crash without valgrind, that cause also gdb to crash)
==1466829== Invalid read of size 8
==1466829==    at 0x52B0189: gtk_widget_dispatch_child_properties_changed (gtkwidget.c:4491)
==1466829==    by 0x1263B9: <T as gtk::subclass::widget::WidgetImplExt>::parent_dispatch_child_properties_changed ()
==1466829==    by 0x123091: gtk::subclass::widget::WidgetImpl::dispatch_child_properties_changed ()
==1466829==    by 0x131A4A: gtk::subclass::widget::widget_dispatch_child_properties_changed ()
==1466829==    by 0x52B28FF: g_object_notify_queue_thaw (gobjectnotifyqueue.c:136)
==1466829==    by 0x52B28FF: gtk_widget_thaw_child_notify (gtkwidget.c:4565)
==1466829==    by 0x5051042: gtk_box_pack (gtkbox.c:1561)
==1466829==    by 0x118673: <O as gtk::auto::box_::BoxExt>::pack_start (box_.rs:539)
==1466829==    by 0x118B5B: widget_test::main ()
==1466829==    by 0x11885F: std::rt::lang_start::{{closure}} ()
==1466829==    by 0x164312: std::panicking::try::do_call (in /home/hub/source/niepce/target/debug/examples/widget-test)
==1466829==    by 0x165B19: __rust_maybe_catch_panic (in /home/hub/source/niepce/target/debug/examples/widget-test)
==1466829==    by 0x164D8C: std::rt::lang_start_internal (in /home/hub/source/niepce/target/debug/examples/widget-test)
==1466829==  Address 0x17c119a0 is 0 bytes inside a block of size 16 free'd
==1466829==    at 0x483AA0C: free (vg_replace_malloc.c:540)
==1466829==    by 0x14B572: alloc::alloc::dealloc ()
==1466829==    by 0x14B3F9: <alloc::alloc::Global as core::alloc::Alloc>::dealloc ()
==1466829==    by 0x143638: alloc::raw_vec::RawVec<T,A>::dealloc_buffer (raw_vec.rs:742)
==1466829==    by 0x146FEE: <alloc::raw_vec::RawVec<T,A> as core::ops::drop::Drop>::drop (raw_vec.rs:751)
==1466829==    by 0x12E96E: core::ptr::real_drop_in_place ()
==1466829==    by 0x12F9D1: core::ptr::real_drop_in_place ()
==1466829==    by 0x126335: <T as gtk::subclass::widget::WidgetImplExt>::parent_dispatch_child_properties_changed ()
==1466829==    by 0x123091: gtk::subclass::widget::WidgetImpl::dispatch_child_properties_changed ()
==1466829==    by 0x131A4A: gtk::subclass::widget::widget_dispatch_child_properties_changed ()
==1466829==    by 0x52B28FF: g_object_notify_queue_thaw (gobjectnotifyqueue.c:136)
==1466829==    by 0x52B28FF: gtk_widget_thaw_child_notify (gtkwidget.c:4565)
==1466829==    by 0x5051042: gtk_box_pack (gtkbox.c:1561)
==1466829==  Block was alloc'd at
==1466829==    at 0x483980B: malloc (vg_replace_malloc.c:309)
==1466829==    by 0x14B50B: alloc::alloc::alloc ()
==1466829==    by 0x14B391: <alloc::alloc::Global as core::alloc::Alloc>::alloc ()
==1466829==    by 0x145107: alloc::raw_vec::RawVec<T,A>::reserve_internal (raw_vec.rs:695)
==1466829==    by 0x146D19: alloc::raw_vec::RawVec<T,A>::reserve (raw_vec.rs:520)
==1466829==    by 0x140DE9: alloc::vec::Vec<T>::reserve ()
==1466829==    by 0x12AB08: <alloc::vec::Vec<T> as alloc::vec::SpecExtend<T,I>>::spec_extend ()
==1466829==    by 0x12AD10: <alloc::vec::Vec<T> as alloc::vec::SpecExtend<T,I>>::from_iter ()
==1466829==    by 0x12AE0C: <alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter ()
==1466829==    by 0x12FAA4: core::iter::traits::iterator::Iterator::collect ()
==1466829==    by 0x126302: <T as gtk::subclass::widget::WidgetImplExt>::parent_dispatch_child_properties_changed ()
==1466829==    by 0x123091: gtk::subclass::widget::WidgetImpl::dispatch_child_properties_changed ()
==1466829==
==1466829==

Great catch, thanks a lot!
I guess we'll need a minor release...
cc @EPashkin @sdroege

Looks good to me.
Theoretically this is wrong because the stashes are freed before the pointers are not used anymore, but for param specs and many other types this is not actually a problem as the stash only contains a pointer to itself. Only for types like strings where an actual conversion has to happen and the converted value needs to be kept around it is mandatory to keep the stash around.
Sent from my Android device with K-9 Mail. Please excuse my brevity.

@GuillaumeGomez Good to go and a bugfix release indeed, please :)

👍


HLS transport stream creation from python numpy arrays

I am looking for a way to directly create transport stream segments for HLS live streaming from python.
Currently I am using skvideo ffmpeg writer to do that. Does FFMPEG Python directly provide an option?

To clarify a little more, I am a stream of numpy arrays I get from a different server. And I need a way to pass this stream from Python to continuously create transport stream segments. And also update the m3u8(for hls) if possible

That should be doable. I added an example that I think is similar to what you're trying to do. Replace the input/output args as desired.
And here's the detailed code with better error handling: https://github.com/kkroening/ffmpeg-python/blob/master/examples/tensorflow_stream.py
Let me know if that's what you're after.

@Surya059 Hi, have you find the solution ? I'm looking a solution to broadcast video using ffmpeg through HTTP live streaming


The first LED is "blind"

... any chance to fix it?

Thanks for report, I will fix it.

Hi Any update on this... I'm still seeing a blind first Neopixel. Only issue is I want just to show one. :-)

Should have checked the forum, it appears the assignment on line 25 needs to be
buf_bytes = (0x88, 0x8e, 0xe8, 0xee)
http://forum.micropython.org/viewtopic.php?f=5&t=394&p=4591&hilit=neopixels#p4591

I had the same issue with my 24 LED Nepoixel ring. It was fixed after I changed the SPI init from phase=1 to phase=0 in the file ws2812.py
self.spi = pyb.SPI(spi_bus, pyb.SPI.MASTER, baudrate=3200000, polarity=0, phase=0)
Now, also the first LED lights up.


Flashlight

Is it possible that I can check if there is an actual flashlight on the device itself so I can depending on that set or not set flashlight image in my toolbar

Seems so:
https://stackoverflow.com/a/4918608/2229572

thank you verry mutch


Umd wrap

allows use in AMD  env as well. also removed few dummy ; that were not needed after function declarations.

Is this library deprecated? @madrobby


JobQueues support for ICommand<>

JobQueues support for ICommand<>
[Enhancement]
It's my first contribution to the open source project.
[TL:TR]
IJobStorageRecord receives fields and methods to store an optional result object.
IJobStoreProvider receives the optional method GetJob — used only to retrieve a job result from storage record.
JobQueueBase gets split into two classes:

JobQueueWithoutReturnValue
JobQueueWithReturnValue<>

New JobQueue instance with generic parameters <TCommand, TResult, TStorageRecord, TStorageProvider> to support TResult. Sadly, it's a copy of the above one.
JobQueueOptions gets LimitsFor<TCommand, TResult>.
New implementation for IJobTracker with support for return values and getting results by tracking id.
[Why]
In my application I got asynchronous communication for commands between front and backend using JobQueues.
Now I need to implement a Result pattern that I achieved by doing some awful things like this

Migration guide — if you don't want it (minimal)

IJobStorageProvider.GetJob() ⇒ throw new NotImplementedException();
add the field IJobStorageRecord.Result with [NotMapped] attribute

Migration guide — normal

implement IJobStorageProvider.GetJob()
add the field IJobStorageRecord.Result
if you want custom serialization and deserialization of a result, add [NotMapped] to the Result field and implement:

IJobStorageRecord.GetCommand<TCommand, TResult>()
IJobStorageRecord.GetResult<TCommand, TResult>()
IJobStorageRecord.SetCommand<TCommand, TResult>()
IJobStorageRecord.SetResult<TCommand, TResult>()

Tests
Added two tests in JobQueueTests.
All tests passed.
Worked inside my private project.

Thank you for the submission. Going to need a few more days to review.

@monaygod
greatly appreciate your effort trying to add this feature, which we've been procrastinating over for a while now.
however, due to the code duplication (which is a maintenance burden) and also because your implementation calls for a breaking change, i've gone a slightly different way and implemented it myself as an non-breaking/addon feature.
please give it a good test using v<IP_ADDRESS>-beta.
how to use:

implement IJobResultProvider on your job storage provider class
implement IJobResultStorage on your storage record class
query the result via IJobTracker<TCommand>.GetJobResultAsync<TResult>() method


Resolves #447

Added example showing the EncryptionMethod info. Added link to the article mapping numbers to encryption methods. Updated Bitlocker overview article and fixed the description section. Updates done in all versions of the article.
https://github.com/MicrosoftDocs/windows-powershell-docs/issues/447

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

Thanks for the review. I have merged the changes.

@dariomws306 @get-itips @tseward
Peer review needed for this PR. Thanks.

Looks ok!

This article looks much better now, good work!
I think we can remove brackets here:
PS C:> (Get-BitLockerVolume -MountPoint C) | Format-List

@AndreaBarr The PR can be merged. Thanks.


gpu utilization

gpu utilization is very low during testing

You've provided no context to allow any help. I have no issues maximizing multiple GPUs in validate or train with these scripts.
During train, fully maximizing the validation cycle can be more challenging because achieving the maximum possible batch size for validation relative to train (without causing it to blow up with OOM) isn't easy. There is currently a hard 4x ratio there.
In general if you have a difficult time maximizing GPUs with these scripts it is likely due to slow drives for the dataset or a combination of small images/small networks/not big enough batch sizes.

gpu utilization is very low in each test

Yeah, there is always some idle time in the epoch transitions between train/val, I've never seen those gaps so long on my machines though. What kind of drive is the data on?
If it's a slow drive, might be taking awhile to queue up the batches in dataloader at start of new epoch, I try to always train from SSD. Or similarly, if the CPU are too overloaded with worker processes... maybe try changing -j argument. I find 4-6 works well, but if you have 8 GPU on one machine you'd need a lot of cores.

Yeah, there is always some idle time in the epoch transitions between train/val, I've never seen those gaps so long on my machines though. What kind of drive is the data on?
If it's a slow drive, might be taking awhile to queue up the batches in dataloader at start of new epoch, I try to always train from SSD. Or similarly, if the CPU are too overloaded with worker processes... maybe try changing -j argument. I find 4-6 works well, but if you have 8 GPU on one machine you'd need a lot of cores.
Thanks!  It doesn't seem to be the reason for data reading, as if the program is executing “ema_eval_metrics = validate(model_ema.ema, loader_eval, validate_loss_fn, args, log_suffix=' (EMA)') ”  becomes very slow.

Thanks!
It doesn't seem to be the reason for data reading, as if the program is executing “ema_eval_metrics = validate(model_ema.ema, loader_eval, validate_loss_fn, args, log_suffix=' (EMA)') ” becomes very slow.

Have you tried using DALI to process the ImageNet? For example: https://github.com/NVIDIA/DALI/blob/master/docs/examples/pytorch/resnet50/main.py

I have tested it before, yes. Some numbers below. For my setup, there isn't enough difference to warrant the extra dependency. I'm neither IO or CPU bound for my training. I use local SSD and NVME for my data and have 2-3 GPUs per 8-14 core machine so decent ratio of logical cores to GPUs.
DALI will likely help you the most if you are CPU bound. Their image loading pipeline might also help a bit if you are IO limited. Especially if you use the record based data formats.
Comparing their resnet example with mine, both resnet50, AMP (FP16 training). As you can see, in the average trend there is not a big difference. DALI with the GPU pipeline does run a bit faster but it uses more GPU resources which I do not want. DALI CPU and mine are very close. DALI starts up faster, the PyTorch dataloaders do take more time at the start of epochs or transitions (you might be seeing this), especially if you are CPU and/or IO bound. In the average though, when epochs are as long as imagenet, there is hardly any difference. If I kept those running the averages would be almost the same further through the epoch.
It's pretty easy to merge my model code with the DALI based training, especially since both of our training examples are based on the same original code, so give it a try.
Dali (GPU pipeline)
Epoch: [0][50/5004]	Time 0.255 (0.326)	Speed 1005.206 (784.736)	Data 0.001 (0.001)	Loss 7.0117 (7.0803)	Prec@1 0.000 (0.054)	Prec@5 0.000 (0.352)
Epoch: [0][100/5004]	Time 0.255 (0.290)	Speed 1001.959 (881.464)	Data 0.000 (0.001)	Loss 7.0391 (7.0479)	Prec@1 0.000 (0.058)	Prec@5 0.391 (0.398)
Epoch: [0][150/5004]	Time 0.256 (0.278)	Speed 1001.444 (919.767)	Data 0.001 (0.001)	Loss 6.9453 (7.0178)	Prec@1 0.391 (0.070)	Prec@5 1.172 (0.466)
Epoch: [0][200/5004]	Time 0.257 (0.272)	Speed 997.248 (939.546)	Data 0.001 (0.001)	Loss 6.9062 (6.9940)	Prec@1 0.000 (0.093)	Prec@5 0.000 (0.513)
Epoch: [0][250/5004]	Time 0.257 (0.269)	Speed 997.003 (951.167)	Data 0.001 (0.001)	Loss 6.9141 (6.9767)	Prec@1 0.000 (0.110)	Prec@5 0.391 (0.548)
Epoch: [0][300/5004]	Time 0.257 (0.267)	Speed 996.032 (959.094)	Data 0.001 (0.001)	Loss 6.8711 (6.9640)	Prec@1 0.391 (0.114)	Prec@5 1.172 (0.588)
Epoch: [0][350/5004]	Time 0.259 (0.265)	Speed 986.761 (964.589)	Data 0.001 (0.001)	Loss 6.8984 (6.9548)	Prec@1 0.000 (0.117)	Prec@5 1.172 (0.604)
Epoch: [0][400/5004]	Time 0.259 (0.264)	Speed 988.910 (968.554)	Data 0.001 (0.001)	Loss 6.8984 (6.9467)	Prec@1 0.000 (0.131)	Prec@5 0.000 (0.626)

Dali (CPU pipeline)
Epoch: [0][50/5004]	Time 0.257 (0.328)	Speed 994.772 (780.862)	Data 0.001 (0.001)	Loss 7.0703 (7.0833)	Prec@1 0.000 (0.061)	Prec@5 0.781 (0.368)
Epoch: [0][100/5004]	Time 0.258 (0.294)	Speed 991.036 (871.697)	Data 0.001 (0.001)	Loss 7.0000 (7.0531)	Prec@1 0.000 (0.093)	Prec@5 0.781 (0.433)
Epoch: [0][150/5004]	Time 0.260 (0.282)	Speed 983.625 (907.796)	Data 0.001 (0.001)	Loss 6.9531 (7.0236)	Prec@1 0.000 (0.103)	Prec@5 0.781 (0.453)
Epoch: [0][200/5004]	Time 0.262 (0.279)	Speed 976.773 (917.697)	Data 0.001 (0.001)	Loss 6.8906 (6.9997)	Prec@1 0.391 (0.119)	Prec@5 0.391 (0.494)
Epoch: [0][250/5004]	Time 0.276 (0.276)	Speed 928.538 (927.456)	Data 0.001 (0.001)	Loss 6.9297 (6.9823)	Prec@1 0.000 (0.129)	Prec@5 0.000 (0.543)
Epoch: [0][300/5004]	Time 0.268 (0.274)	Speed 956.748 (933.180)	Data 0.001 (0.001)	Loss 6.8672 (6.9692)	Prec@1 0.781 (0.135)	Prec@5 1.953 (0.575)
Epoch: [0][350/5004]	Time 0.268 (0.273)	Speed 953.529 (937.293)	Data 0.001 (0.001)	Loss 6.9062 (6.9601)	Prec@1 0.391 (0.136)	Prec@5 0.391 (0.583)
Epoch: [0][400/5004]	Time 0.268 (0.272)	Speed 955.031 (940.043)	Data 0.001 (0.001)	Loss 6.8828 (6.9520)	Prec@1 0.000 (0.139)	Prec@5 0.391 (0.603)

Mine:
Train: 0 [  50/5004 (  1%)]  Loss:  6.954906 (6.9512)  Time: 0.269s,  951.80/s  (0.365s,  701.64/s)  LR: 1.000e-04  Data: 0.008 (0.025)
Train: 0 [ 100/5004 (  2%)]  Loss:  6.945956 (6.9495)  Time: 0.298s,  860.09/s  (0.323s,  792.78/s)  LR: 1.000e-04  Data: 0.006 (0.016)
Train: 0 [ 150/5004 (  3%)]  Loss:  6.931039 (6.9449)  Time: 0.267s,  957.51/s  (0.305s,  838.80/s)  LR: 1.000e-04  Data: 0.006 (0.013)
Train: 0 [ 200/5004 (  4%)]  Loss:  6.957416 (6.9474)  Time: 0.274s,  933.06/s  (0.296s,  863.57/s)  LR: 1.000e-04  Data: 0.007 (0.012)
Train: 0 [ 250/5004 (  5%)]  Loss:  6.909381 (6.9410)  Time: 0.305s,  838.46/s  (0.294s,  871.99/s)  LR: 1.000e-04  Data: 0.007 (0.011)
Train: 0 [ 300/5004 (  6%)]  Loss:  6.929702 (6.9394)  Time: 0.272s,  939.86/s  (0.291s,  878.79/s)  LR: 1.000e-04  Data: 0.006 (0.010)
Train: 0 [ 350/5004 (  7%)]  Loss:  6.931973 (6.9385)  Time: 0.272s,  941.40/s  (0.288s,  887.39/s)  LR: 1.000e-04  Data: 0.006 (0.009)
Train: 0 [ 400/5004 (  8%)]  Loss:  6.948680 (6.9396)  Time: 0.270s,  949.10/s  (0.287s,  893.53/s)  LR: 1.000e-04  Data: 0.007 (0.009)

Thanks!


Create endpoints to list updates from IIT Bhubaneswar Twitter handle.

Create an endpoint /twitter to list updates from @iitbbs twitter handle.

could you help me with it ?

Hi @Sai-Adarsh
Please look at official Twitter API docs for searching tweets. If you need any specifiec help, ping me on Gitter.


Short solution needed: "Get current time in CLI" (ubuntu)

Please help us write most modern and shortest code solution for this issue:
Get current time in CLI (technology: ubuntu)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Get current time in CLI


Add weights class

closes #325

add a convenient and friendly WeightsContainer class wrapping the Weights type and enhancing it with common operations: add, sub, etc.
add aggregation functions (sum, diff, avg, etc.) working in synergy with the new WeightsContainer class
the regular Weights are accessed via the weights getter
propagate the changes throughout the codebase

thanks for the comments!
so maybe it could be simpler to consistently use TF Weights everywhere (but not list of TF tensor as that can be confusing with nested lists). probably not worth abstracting that yet as no alternative in sight yet... we could keep a stateless bunch of methods as in aggregation.ts to provide the arithmetics needed (sum of 2 or more, diff of 2, approxEqual).

Thanks for the most relevant comments! I see two paths here:

Go further and put WeightsContainer everywhere, only unwrapping its content when directly working with TF.js
Keep Weights everywhere and work with them with (stateless) functions

I have a personal preference for 1. (Morgan's proposal) just need your approval @martinjaggi :)


update the dependencies for dev-requirements.txt

child issue of https://github.com/CanDIG/candig-server/issues/260
~~

mock module was removed from dev-requirements.txt since it's part of Python Standard Library since Python 3.3. The code was updated accordingly.

peewee module was upgraded on PR https://github.com/CanDIG/candig-server/pull/261 to version 3.13.1.

flake8 module was upgraded un PR https://github.com/CanDIG/candig-server/pull/264 to version 3.7.9

cherrypie, pyaml and yubico modules removed on PR https://github.com/CanDIG/candig-server/pull/266

freezegun module was upgraded to latest version on PR https://github.com/CanDIG/candig-server/pull/267

PyYaml module was upgraded to the latest version on PR https://github.com/CanDIG/candig-server/pull/268


Unity: Probe Batch component fails when SteamAudioStaticMesh component is not in root game object

Steam Audio Unity v4.0.3
Unity 2021.2.6f1
FMOD 2.02.05
Using Steam Audio > Export Active Scene will update the scene asset reference even when the SteamAudioStaticMesh is on a non-root game object, while the SteamAudioProbeBatch component will only look for it on root-level game objects.
As a result, the Probe Batch component can fail to generate probes, error message "Scene [...] has not been exported.", even when the scene is exported successfully, leading to confusion.
The export function should either warn about non-root instances, or the SteamAudioProbeBatch should look for the component recursively.
Background: I set up my first scene with Steam Audio and erroneously added the SteamAudioStaticMesh component to static geometry, assuming it was the static equivalent to SteamAudioGeometry. After reading the documentation on the Geometry component, I removed the SteamAudioStaticMesh components, as the docs stated it assumed static geometry by default. This left me confused about the use of the SteamAudioStaticMesh component. Only after specifically looking up the component documentation I realized my mistake. The probe batch component did not work for me even after this, because I apparently forgot to remove the static mesh component on one of my meshes. I could export the scene without errors, while the probe batch could not find it afterwards.
It might also be worth considering renaming the SteamAudioStaticMesh component to something containing the word 'scene' to make the name less ambiguous.

We've just released Steam Audio 4.1.0: https://github.com/ValveSoftware/steam-audio/releases/tag/v4.1.0. This release contains a fix for this issue.

This issue still occurs for me in v4.1.2 with SteamAudioProbeBatch and a SteamAudioStaticMesh not in the root of the hierarchy.


Ways to ignore empty collections while encoding json

This pr introduces a config for the JsonCodec, to set behaviour on the codec creation level instead of classes via annotations. We can use this to configure default behaviour in zio-http for example via user config.
Or could make it the default of zio-http to ignore empty collection fields during encoding, without messing with the defaults of zio-schema.

@987Nabil Overall looks good. I am not a fan of the implicit config pattern. Do we have to make that config implicit?

@jdegoes I guess we can have overloaded methods with a config parameter. So we don't break compatibility


istio RBAC serviceRoleBinding not working at namespace level

Hi All, We are using istio in EKS.
We are trying to apply RBAC for particular namespace with the below command.

After this I tried to create a service role and service role binding for a particular service to access from ingress gateway. If i mention the user in the subject it is working if I mention the namespace it is not working.
Working YAML:

When I mention the namespace it is not working:

mTLS is enabled at mesh level.

Mentioned the role reference wrongly in the servicerolebinding. Its working now.
Apologies for this.


Delete assets/css/style.scss

Closes #
📑 Description

✅ Checks

[ ] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed

☢ Does this introduce a breaking change?

[ ] Yes
[ ] No

ℹ Additional Information

:x: Build VTEX-SDK-dotnet 2.3.1667 failed (commit https://github.com/guibranco/VTEX-SDK-dotnet/commit/414d4d5998 by @guibranco)


Under PyQt 5: 'RadarWidget' object has no attribute 'globaldata'

I got the error:
Reading config from settings.cfg
Using Python-based geo functions
Loading global navigation database...
Reading cache: data/cache/py3/navdata.p
*****   BlueSky Open ATM simulator *****
Distributed under GNU General Public License v3
Accepting event connections on port 11000, and stream connections on port 11001
Discovery is disabled
Loading palette bluesky-default
Reading config from settings.cfg
Using Python-based geo functions
Loading global navigation database...
Reading cache: data/cache/py3/navdata.p
Using Open Aircraft Performance (OpenAP) model
Successfully loaded plugin AREA
Successfully loaded plugin DATAFEED
Using Qt 5.15.1 for windows and widgets
QGLWidget initialized for OpenGL version 3.3
Cachefile not found: data/cache/py3/aptsurface.p
Reading apt.dat from apt.zip
Writing cache: data/cache/py3/aptsurface.p
Cachefile not found: data/cache/py3/coastlines.p
Reading coastlines.dat
Writing cache: data/cache/py3/coastlines.p
This plugin does not support propagateSizeHints()
OpenGL context created with GL version 3.1
Client b'\x00\xba\xc1\x0b\x11' connected to host b'\x00(O\x8eZ'
Traceback (most recent call last):
File "/home/wei/Documents/bluesky-master/bluesky/network/client.py", line 112, in receive
self.actnode(nodes_myserver[0])
File "/home/wei/Documents/bluesky-master/bluesky/network/client.py", line 154, in actnode
self.actnode_changed(newact)
File "/home/wei/Documents/bluesky-master/bluesky/ui/qtgl/guiclient.py", line 77, in actnode_changed
self.actnodedata_changed.emit(newact, self.get_nodedata(newact), UPDATE_ALL)
File "/home/wei/Documents/bluesky-master/bluesky/tools/signal.py", line 15, in emit
subs(*args, **kwargs)
File "/home/wei/Documents/bluesky-master/bluesky/ui/qtgl/radarwidget.py", line 179, in actnodedataChanged
self.allpolys.set_vertex_count(0)
AttributeError: 'RadarWidget' object has no attribute 'allpolys'

I found this issue https://github.com/TUDelft-CNS-ATM/bluesky/issues/37 . The solution is to use PyQt5. I used PyQt 5.15.1. And here is some related information.
When running check.py, it gives the error: ‘Xbc’ found but cannot initialize. Then I set 'export QT_QPA_PLATFORM=offscreen' and check.py run successfully.
System:
Ubuntu 20.10
OpenGL:
OpenGL version string: 3.1 Mesa 20.2.1
Package:
Package         Version

certifi         2020.6.20
cycler          0.10.0
kiwisolver      1.2.0
matplotlib      3.3.2
msgpack         1.0.0
numpy           1.19.2
pandas          1.1.3
Pillow          8.0.1
pip             20.2.4
pygame          1.9.6
PyOpenGL        3.1.5
pyparsing       2.4.7
PyQt5           5.15.1
PyQt5-sip       12.8.1
python-dateutil 2.8.1
pytz            2020.1
pyzmq           19.0.2
QtPy            1.9.0
scipy           1.5.3
setuptools      50.3.0.post20201006
six             1.15.0
wheel           0.35.1
Should I update OpenGL to 3.3? What is the reason for the error? Thank you.

And after I stopped the program and run it again, it gives the following information:
Reading config from settings.cfg
Using Python-based geo functions
Loading global navigation database...
Reading cache: data/cache/py3/navdata.p
*****   BlueSky Open ATM simulator *****
Distributed under GNU General Public License v3
Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/wei/anaconda3/envs/bluesky/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/wei/Documents/bluesky-master/bluesky/network/server.py", line 71, in run
self.fe_event.bind(f'tcp://*:{bs.settings.event_port}')
File "zmq/backend/cython/socket.pyx", line 550, in zmq.backend.cython.socket.Socket.bind
File "zmq/backend/cython/checkrc.pxd", line 26, in zmq.backend.cython.checkrc._check_rc
zmq.error.ZMQError: Address already in use
Loading palette bluesky-default
Using Qt 5.15.1 for windows and widgets
QGLWidget initialized for OpenGL version 3.3
Reading cache: data/cache/py3/aptsurface.p
Reading cache: data/cache/py3/coastlines.p
This plugin does not support propagateSizeHints()
OpenGL context created with GL version 3.1

Hello,
The second error you are getting indicates that there is still a BlueSky process running in the background. This can happen when BlueSky isn't quit cleanly. You can find out which processes are still running with the following command:
ps aux |grep BlueSky
For all processes listed here do:
kill #pid#
Where pid is the process id listed for each process in the ps aux list.
The first error you are getting is  indeed related to the fact that your current setup only supports OpenGL 3.1. You need at least OpenGL 3.3 to run the Qt version of BlueSky.


Remove DB dependency for health endpoint

The most basic health check route should reflect the operational status of the http server itself and therefore not depend on any DB objects. If we want to expose a health metric that reflects our ability to contact the DB or other outside dependencies, we should add additional routes.

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (cbcd15f) 83.26% compared to head (da08f07) 83.26%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #652   +/-   ##
=======================================
  Coverage   83.26%   83.26%
=======================================
  Files          78       78
  Lines        6184     6184
=======================================
  Hits         5149     5149
  Misses       1035     1035

Impacted Files
Coverage Δ

quetz/main.py
86.46% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Out of memory

I really like angular2 but the build ecosystem....
My project got bigger and now can't compile at all:

<EMAIL_ADDRESS>start d:\Documents\Visual Studio 2015\Projects\angular2-seed
gulp serve.dev --color

[15:37:39] Requiring external module ts-node/register
<--- Last few GCs --->
88896 ms: Mark-sweep 1367.7 (1456.9) -> 1371.7 (1456.9) MB, 1202.7 / 0 ms [allocation failure] [GC in old space requested].
90091 ms: Mark-sweep 1371.7 (1456.9) -> 1371.8 (1456.9) MB, 1194.5 / 0 ms [allocation failure] [GC in old space requested].
91303 ms: Mark-sweep 1371.8 (1456.9) -> 1365.6 (1456.9) MB, 1211.8 / 0 ms [last resort gc].
92515 ms: Mark-sweep 1365.6 (1456.9) -> 1367.3 (1456.9) MB, 1212.0 / 0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 000003547C9E3AD1
1: getUnionType(aka getUnionType) [d:\Documents\Visual Studio 2015\Projects\angular2-seed\node_modules\typescript\lib\typescript.js:~19010] [pc=000001512CA74A21](this=000003547C904189 ,types=0000000CF82CB009 <JS Array[5]>,noSubtypeReduction=000003547C904231 <true)
2: instantiateType(aka instantiateType) [d:\Documents\Visual Studio 2015\Projects\angular2-seed\node_modules...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
typescript 1.8.9

@alvipeo do you get this error each time you compile your project or only after angular2-seed has  incrementally built on change for given amount of time?

@alvipeo I found two similar issues in the TypeScript's issue tracker. May be you can post the issue there as well, if it is caused by the incremental compilation and some memory leaks there, I don't think we can do much in the seed.

I just restarted my machine and tried to compile - crashed. So it's not incremental. I actually had this issue with https://github.com/angularClass/angular2-webpack-starter but @gdi2290 changed something and it started to work. So he knows better about the cause I think.
Your seed is cleaner now but no go with my project :(
Also, could you answer my qtn regarding loosing zone? I sent you a pm yesterday. Rob Wormald was really helpful localizing this issue but when I showed him exactly the place where zone is lost he said "interesting". so I'm stuck with it..

That is the issue I guess https://github.com/AngularClass/angular2-webpack-starter/issues/372.
Tomorrow/during the weekend I'll do some profiling and let you know what I find.

thank you!

update to rxjs beta4 and you should be fine (ignore the warning)

Thanks! That worked!


Compiling for OSX Sierra

Hi,
I've managed to compile all dependencies (phew!) from source for this driver on my Macbook including:

ros-desktop-full
moveit
ros_control

I thought I had reached my goal until I hit this roadblock which I cant get around.
[100%] Linking CXX shared library /Users/sandbox/roskinetic_ws/universalrobots_ws/devel/lib/libur_hardware_interface.dylib
Undefined symbols for architecture x86_64:
  "RobotStateRT::getIActual()", referenced from:
      ros_control_ur::UrHardwareInterface::read() in ur_hardware_interface.cpp.o
  "RobotStateRT::getQActual()", referenced from:
      ros_control_ur::UrHardwareInterface::read() in ur_hardware_interface.cpp.o
  "RobotStateRT::getQdActual()", referenced from:
      ros_control_ur::UrHardwareInterface::read() in ur_hardware_interface.cpp.o
  "RobotStateRT::getTcpForce()", referenced from:
      ros_control_ur::UrHardwareInterface::read() in ur_hardware_interface.cpp.o
  "UrDriver::closeServo(std::__1::vector<double, std::__1::allocator<double> >)", referenced from:
      ros_control_ur::UrHardwareInterface::doSwitch(std::__1::list<hardware_interface::ControllerInfo, std::__1::allocator<hardware_interface::ControllerInfo> > const&, std::__1::list<hardware_interface::ControllerInfo, std::__1::allocator<hardware_interface::ControllerInfo> > const&) in ur_hardware_interface.cpp.o
  "UrDriver::uploadProg()", referenced from:
      ros_control_ur::UrHardwareInterface::doSwitch(std::__1::list<hardware_interface::ControllerInfo, std::__1::allocator<hardware_interface::ControllerInfo> > const&, std::__1::list<hardware_interface::ControllerInfo, std::__1::allocator<hardware_interface::ControllerInfo> > const&) in ur_hardware_interface.cpp.o
  "UrDriver::servoj(std::__1::vector<double, std::__1::allocator<double> >, int)", referenced from:
      ros_control_ur::UrHardwareInterface::write() in ur_hardware_interface.cpp.o
  "UrDriver::setSpeed(double, double, double, double, double, double, double)", referenced from:
      ros_control_ur::UrHardwareInterface::write() in ur_hardware_interface.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [ur_modern_driver/CMakeFiles/ur_hardware_interface.dir/build.make:128: /Users/sandbox/roskinetic_ws/universalrobots_ws/devel/lib/libur_hardware_interface.dylib] Error 1
make[1]: *** [CMakeFiles/Makefile2:1192: ur_modern_driver/CMakeFiles/ur_hardware_interface.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j4 -l4" failed

All symbols are this seems internal to ur_modern_driver and my ROS_PACKAGE_PATH looks ok.  I'm running:
Apple LLVM version 8.1.0 (clang-802.0.42)
cmake version 3.10.2
GNU Make 4.2.1
Any help/thoughts would be much appreciated!

I'm not a Mac user, so I can't really help you.
The only thing that touches anything that I could think of could  be of influence here could be this:
https://github.com/ThomasTimm/ur_modern_driver/blob/9397f47ac158fe5976719f33101334371bc15d44/CMakeLists.txt#L121-L131
This doesn't seem to cater for clang specifically and I seem to remember that clang needed some additional flags as well. This may not be the case any more, but I thought I'd mention it.
Note that ROS on OSX these days is far from easy to setup. You found that out already, but it may also influence your chances of finding support for this particular combination of things.

@gavanderhoorn Thanks! I'm so close to this it seems a shame to give up!  I'm suspecting the same issue, i.e CMake is unable to load the right standard library. All missing symbols start with these references to the stdlib:
UrDriver::servoj(std::__1::vector<double, std::__1::allocator >, int)", referenced from:
but I've tried
set(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ -g3 -Wall -O0")
set(CMAKE_REQUIRED_LIBRARIES "-lc++")
set(CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++")
in different combinations but it doesnt seem to make a difference.

Well, as I've written above, I'm not an OSX user, so I really can't help you.

@keshavchintamani Hi, I read you mail lately.
I think this change would be helpful.

for Undefined symbols for architecture x86_64:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f4b01d1..862a701 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -111,7 +111,7 @@ catkin_package(
   INCLUDE_DIRS include
 #  LIBRARIES ur_modern_driver
   CATKIN_DEPENDS hardware_interface controller_manager actionlib control_msgs geometry_msgs roscpp sensor_msgs trajectory_msgs ur_msgs
-  DEPENDS ur_hardware_interface
+#  DEPENDS ur_hardware_interface
 )

 ###########
@@ -140,7 +140,7 @@ include_directories(include
 ## Declare a C++ library

 # Hardware Interface
-add_library(ur_hardware_interface src/ur_hardware_interface.cpp)
+add_library(ur_hardware_interface src/ur_hardware_interface.cpp src/ur_driver.cpp src/ur_realtime_communication.cpp src/ur_communication.cpp src/robot_state.cpp src/robot_state_RT.cpp src/do_output.cpp)
 target_link_libraries(ur_hardware_interface
   ${catkin_LIBRARIES}
 )

for undefined symbol: be64toh(x), mac has no those macro so you need some definitions for it.

#ifndef PORTABLE_ENDIAN_H_
#define PORTABLE_ENDIAN_H_
#ifdef __APPLE__
#include <machine/endian.h>
#include <libkern/OSByteOrder.h>

#define htobe16(x) OSSwapHostToBigInt16(x)
#define htole16(x) OSSwapHostToLittleInt16(x)
#define be16toh(x) OSSwapBigToHostInt16(x)
#define le16toh(x) OSSwapLittleToHostInt16(x)

#define htobe32(x) OSSwapHostToBigInt32(x)
#define htole32(x) OSSwapHostToLittleInt32(x)
#define be32toh(x) OSSwapBigToHostInt32(x)
#define le32toh(x) OSSwapLittleToHostInt32(x)

#define htobe64(x) OSSwapHostToBigInt64(x)
#define htole64(x) OSSwapHostToLittleInt64(x)
#define be64toh(x) OSSwapBigToHostInt64(x)
#define le64toh(x) OSSwapLittleToHostInt64(x)

#define __BIG_ENDIAN    BIG_ENDIAN
#define __LITTLE_ENDIAN LITTLE_ENDIAN
#define __BYTE_ORDER    BYTE_ORDER
#endif
#endif /* PORTABLE_ENDIAN_H_ */

and include that.
diff --git a/include/ur_modern_driver/robot_state.h b/include/ur_modern_driver/robot_state.h
index 159974b..445bd11 100644
--- a/include/ur_modern_driver/robot_state.h
+++ b/include/ur_modern_driver/robot_state.h
@@ -26,6 +26,7 @@
 #include <mutex>
 #include <condition_variable>
 #include <netinet/in.h>
+#include "portable_endian.h"

 namespace message_types {
 enum message_type {
diff --git a/include/ur_modern_driver/robot_state_RT.h b/include/ur_modern_driver/robot_state_RT.h
index 1f5b2af..8c3fa8c 100644
--- a/include/ur_modern_driver/robot_state_RT.h
+++ b/include/ur_modern_driver/robot_state_RT.h
@@ -26,6 +26,7 @@
 #include <mutex>
 #include <netinet/in.h>
 #include <condition_variable>
+#include "portable_endian.h"

 class RobotStateRT {
 private:

Mac might have no need for TCP_QUICKACK. So you can comment out all the TCP_QUICKACK.
//XXX setsockopt(pri_sockfd_, IPPROTO_TCP, TCP_QUICKACK, (char *) &flag_, sizeof(int));

And I think you already changed these lines as others say.
controller_it->type.c_str()); //XXX hardware_interface.c_str());

I just checked that it compiles ok with these changes.

Thanks so much for helping me with this issue @Horagong, now it works!
The only addition error I got was:
/Users/kchintamani/sandbox/roskinetic_ws/universalrobots_ws/src/ur_modern_driver/src/ur_driver.cpp:55:23: error:
invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long>' and
'int')
sizeof(serv_addr)) < 0) {
This was fixed by changing

bind(

::bind(
using: https://stackoverflow.com/questions/16180322/c-xcode-sockets-bind-error

Again many thanks!


Pass events and events proof to enclave

First part of #1238

Add new chain-api for querying the events and events proof
passing events and events proof via Ecall to enclave in parent_chain_handler.rs enclave_api.sync_parentchain()
validate can decode the retrieved events storage proof and events inside the enclave

@clangenb so far does this look to be the correct strategy?

@OverOrion are the teeracle tests still flaky?


RUMM-1915 Fix the Java code snippets in the docs

What does this PR do?
This PR fixes the format for Java code snippets in the RUM docs pages:
See here
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #812 (7b8a9f7) into master (a71115e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #812   +/-   ##
=======================================
  Coverage   79.99%   79.99%
=======================================
  Files         238      238
  Lines        8154     8154
  Branches     1423     1423
=======================================
  Hits         6522     6522
+ Misses       1290     1286    -4
- Partials      342      346    +4

Impacted Files
Coverage Δ

...android/rum/internal/ndk/DatadogNdkCrashHandler.kt
87.12% <0.00%> (-2.45%)
:arrow_down:

...rc/main/java/com/datadog/opentracing/DDTracer.java
56.43% <0.00%> (+0.83%)
:arrow_up:

...ain/java/com/datadog/opentracing/PendingTrace.java
58.97% <0.00%> (+1.71%)
:arrow_up:


Implement DLB plugin

@hj-johannes-lee image build is still failing, PTAL

Codecov Report

Merging #733 (e96262e) into main (ae985c4) will increase coverage by 0.44%.
The diff coverage is 97.05%.

:exclamation: Current head e96262e differs from pull request most recent head 5d6b405. Consider uploading reports for the commit 5d6b405 to get more accurate results

@@            Coverage Diff             @@
##             main     #733      +/-   ##
==========================================
+ Coverage   60.06%   60.51%   +0.44%
==========================================
  Files          32       33       +1
  Lines        2782     2816      +34
==========================================
+ Hits         1671     1704      +33
- Misses       1028     1029       +1
  Partials       83       83

Impacted Files
Coverage Δ

cmd/dlb_plugin/kerneldrv/kerneldrv.go
97.05% <97.05%> (ø)

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 ae985c4...5d6b405. Read the comment docs.

I do not understand actually why docker build get succeeded and buildah doesn't in the main repo.. , but I found the way to solve the error..
It is because of tar ownership matter as you can see,, and I can remove the error by putting the --no-same-owner for tar command.
But I do not know whether it is a proper solution or not.!

@hj-johannes-lee the solution looks ok to me. Please, submit a PR.

@rojkov @kad @uniemimu  This PR was already reviewed by @bart0sh and @mythi. Now it's your turn. PTAL.


NavigatorIOS titlebar height?

Hello. I am trying to use NavigatorIOS but i want my components to start right below the titlebar. is there a way to get the titlebar height? i have non-scrolling views that should stay below the titlebar always, and scrolling views that can go on the background of the titlebar. Thanks.

NavigatorIOS uses the standard UINavigationBar. I'm not sure if the values are directly accessible from this component but the sizes are standard.
The status bar is 20pt and In portrait mode the navigation bar is 44pt, so 64pt in total. In landscape mode, the navigation bar is 32pt tall.
You could actually grab these values from Navgiator (except the landscape height):
import NavigatorNavigationBarStylesIOS from 'NavigatorNavigationBarStylesIOS';

NavigatorNavigationBarStylesIOS.General.NavBarHeight         // === 44
NavigatorNavigationBarStylesIOS.General.StatusBarHeight      // === 20
NavigatorNavigationBarStylesIOS.General.TotalNavHeight       // === 64

Also, check out this document http://ivomynttinen.com/blog/ios-design-guidelines#nav-bar for more details.
This is also a helpful graphic: https://designcode.io/cloud/chapter1/Design-NavigationBar.jpg

You could also add a scroll view and disable scrolling.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/navigatorios-titlebar-height


Cannot affect style of TextField in DatePicker

material-ui: 0.18.3
react: 15.6.1
I have a DatePicker in which I'm trying to set the color of the input field (TextField) using the 'inputStyle' param. However, this has no affect.  This uses to work.  Unfortunately, I've updated my node modules and I don't remember the material-ui version in which this worked.
I assume that this is due to issue #5737 which has been closed. In looking at the "next" branch referenced in that issue, I didn't even see a DatePicker component so I don't think I could move to that branch even if I wanted to.
Any chance of getting this fixed prior to the "next" branch?

I'm using v 18.0 and I'm able to set the inputStyle

Confirmed that this works in 0.18.0, but not 0.18.3

@blevine Sounds like a regression, I'm reopening the linked issue 👍 .


Reduce docker image size

ghcup was installing 9.2.5 (default latest) in addition to 9.2.4 (the requested version). Removing the unused version trimmed the image size by 2.7 GB
Combined consequent RUN commands into a single RUN command to reduce layers

@luc-tielen The image size before and after this change are as follows:
Before:
$ docker images
REPOSITORY                                                             TAG       IMAGE ID       CREATED          SIZE
eclair                                                                 latest    d569f9b66f28   25 minutes ago   8.93GB

After:
$ docker images
REPOSITORY                                                             TAG       IMAGE ID       CREATED          SIZE
eclair                                                                 latest    518633cac41b   37 minutes ago   6.16GB

There is a reduction in the image size by about 2.77 GB. Hopefully this will fix the No space left on device error that is seen in the CI builds.

Thanks! I will merge it in, and look at the failing tests in the other branch. I think the PR wasn't fully finished yet.