Move to GTK+ version 3

Fixes #106

This change seems to break Python 2's use of pyperclip. For Python 2 I would run apt-get install python-gtk2-dev to get the gtk module, but this change seems like it would break that. I can run import gi just fine from Python 3 on Ubuntu, but import gi doesn't work for Python 2.
What's the solution that doesn't break backwards compatibility? Is backwards compatibility important here?

I would say that pyperclip working both with Python 2 and Python 3 is still essential at this point.  Maybe in another year Python 2 support for new releases won't matter.  But I know at this point I still have a lot of cmd2 end users who are still using Python 2.  (I think they are nuts, but that is beside the point)

Are you able to apt install python-gi? python3-gi should also be available for py3.

The python-gi package exists in apt repos for Ubuntu 17.10, Ubuntu 16.04, Debian 9, and Debian 8 (all of the Linux VMs I had on hand to verify).
@coreycb
Just curious, is there an equivalent package which can be installed via pip?

@tleonhardt I just checked and python-pi is available back to 12.04 for and looks to be available back to Debian 7. I'm not sure if there is a pip installable package. I didn't see one in my searches.

I was just wondering if there was a way to still support people who have the older gtk module and not gi. Maybe we should add a init_gi_clipboard() instead of replacing the current init_gtk_clipboard(). If there's an incompatibility issue, how about we attempt to import gi first, and if that fails, then try to import gtk?
I'm not familiar with gtk on Linux. Does this make sense? Or do we have to necessarily get rid of the import gtk stuff?

I'm ok with a fallback mode. If we did that I'd prefer importing gi first and falling back to gtk, because the import of gtk is why cmd2 and pyperclip currently fail when using interactive mode in Ubuntu. The gtk2 and gtk3 modules conflict.

Note: You may also need libgtk-3-dev installed.

@asweigart I've made some updates to fall back to gtk if gi is not available.

@asweigart does this patch look ok to you? I really want to get this into ubuntu but would like it to land upstream here first.

@asweigart Al, if you are busy, I'd be willing to help maintain pyperclip.

Any news on this one ? An up-to-date patch is at https://github.com/sdelafond/pyperclip/blob/debian/master/debian/patches/move-to-gtk3.patch, just in case .

Closing this. Thanks for your contributions and I'm sorry this slipped past my attention. I finally have some time to sort through the issues and PRs for pyperclip. I'll be adding you to the authors document so you can get recognition for your contribution.


How do I implement my own event in rmf?

OS: Ubuntu 20.04
branch: master branch
I am looking to implement my own type of event in RMF, that can work together with rmf functions like the lift call, route planning, etc.
My event would be simulating computer vision capabilities on the AMR to influence its decision on whether it can safely enter the lift.
Hence I would need to implement an event in rmf that can pause the AMR and restart the AMR on its journey involving a lift, based on my computer vision output.
Please advise. Thank you!

Hi, @Marcusttk. It would be helpful if you could describe in greater detail the different kinds of situations you're anticipating and what the desired behavior would be, as well as what role the vision system will play in guiding that behavior.
Here are a few questions that may guide your elaborations:

Is the vision system an integrated component of the AMR? If so, will its data be accessible through the API boundary of the AMR?
What are the situations where we expect the robot will not be able to enter the lift? E.g. There are too many humans in the lift? There are other robots already in the lift?
If the vision system determines that the robot cannot safely enter the lift, what should the overall behavior be? Should the robot sit and wait for the humans to make room for it? Should the robot cancel its lift request and try to summon the lift again later?

Hi, @Marcusttk. It would be helpful if you could describe in greater detail the different kinds of situations you're anticipating and what the desired behavior would be, as well as what role the vision system will play in guiding that behavior.
Here are a few questions that may guide your elaborations:

Is the vision system an integrated component of the AMR? If so, will its data be accessible through the API boundary of the AMR?
What are the situations where we expect the robot will not be able to enter the lift? E.g. There are too many humans in the lift? There are other robots already in the lift?
If the vision system determines that the robot cannot safely enter the lift, what should the overall behavior be? Should the robot sit and wait for the humans to make room for it? Should the robot cancel its lift request and try to summon the lift again later?

Hi, @Marcusttk. It would be helpful if you could describe in greater detail the different kinds of situations you're anticipating and what the desired behavior would be, as well as what role the vision system will play in guiding that behavior.
Here are a few questions that may guide your elaborations:

Is the vision system an integrated component of the AMR? If so, will its data be accessible through the API boundary of the AMR?
What are the situations where we expect the robot will not be able to enter the lift? E.g. There are too many humans in the lift? There are other robots already in the lift?
If the vision system determines that the robot cannot safely enter the lift, what should the overall behavior be? Should the robot sit and wait for the humans to make room for it? Should the robot cancel its lift request and try to summon the lift again later?

Vision system will be accessible via the API of the AMR
Too many humans in the lift. As a first version, we assume single AMR use case, before we move on to multiple AMR scenario.
The robot will not enter the lift, and it will attempt to summon the lift again later.

I have some ideas on how to implement this according to the rmf framework. One idea would involve sending a "pause" signal to RMF. Is that doable?
So when the AMR reaches the lift holding area waypoint, and the lift has arrived, it would issue a "pause" command to RMF until the vision API has checked that the lift is good to go. The vision API would then output "go" or "no go" to the AMR, and the AMR would issue a "resume" signal to continue its RMF phases.
That is one way I can think of.

Hi, @Marcusttk. It would be helpful if you could describe in greater detail the different kinds of situations you're anticipating and what the desired behavior would be, as well as what role the vision system will play in guiding that behavior.
Here are a few questions that may guide your elaborations:

Is the vision system an integrated component of the AMR? If so, will its data be accessible through the API boundary of the AMR?
What are the situations where we expect the robot will not be able to enter the lift? E.g. There are too many humans in the lift? There are other robots already in the lift?
If the vision system determines that the robot cannot safely enter the lift, what should the overall behavior be? Should the robot sit and wait for the humans to make room for it? Should the robot cancel its lift request and try to summon the lift again later?

Vision system will be accessible via the API of the AMR
Too many humans in the lift. As a first version, we assume single AMR use case, before we move on to multiple AMR scenario.
The robot will not enter the lift, and it will attempt to summon the lift again later.

I have some ideas on how to implement this according to the rmf framework. One idea would involve sending a "pause" signal to RMF. Is that doable?
So when the AMR reaches the lift holding area waypoint, and the lift has arrived, it would issue a "pause" command to RMF until the vision API has checked that the lift is good to go. The vision API would then output "go" or "no go" to the AMR, and the AMR would issue a "resume" signal to continue its RMF phases.
That is one way I can think of.

Thanks for elaborating on your expectations, that makes the problem much more clear.
I'm afraid to say that as it exists today, RMF is not suitable for having robots share lifts with humans in situations where there is a risk that humans will overpopulate the lift. There isn't a suitable code path at all for dealing with situation. In the current implementation, the handshake between the robot and the lift is meant to ensure that the robot will have exclusive rights to using the lift. "Try again later" is a simple concept for a human being to deal with, but it's an exceptionally challenging matter for robots which prefer to have very rigid and predictable sequences of events to follow.
We do have plans for robust lift sharing (e.g. have multiple robots in a lift simultaneously, and/or have robots and humans in a lift simultaneously) and a more intelligent lift scheduling system which this kind of camera system would work very nicely for, but that hasn't reached the top of our priority list yet. I expect to start working on it in 1-2 months from now if no other higher priorities pop up in the meantime.

So when the AMR reaches the lift holding area waypoint, and the lift has arrived, it would issue a "pause" command to RMF until the vision API has checked that the lift is good to go.

To address this idea directly, the trouble with this is the handshake between the lift and the fleet adapter will not allow the lift to leave until the robot has successfully entered the lift. We could pause the robot, but that means the people will have to exit immediately on that floor and give way to the robot or else everyone will be stuck forever.
As I mentioned before, we intend to replace this very rigid handshake with a more flexible lift request system, but we aren't there quite yet.
If you'd like to work on prototyping a solution before the smart lift request system is ready, I would probably suggest forking rmf_core and tweaking the rmf_fleet_adapter::agv::phases::RequestLift implementation. You could add a hook in that phase which listens for a "Go"/"No Go" signal, and if it gets the "No Go", then it could cancel its lift request and create a timer that reinitializes its lift request later. I wouldn't consider this to be a good long-term solution, but it could be a way to unblock and test out your system concept while waiting for the smarter lift system to arrive.

Thanks for elaborating on your expectations, that makes the problem much more clear.
I'm afraid to say that as it exists today, RMF is not suitable for having robots share lifts with humans in situations where there is a risk that humans will overpopulate the lift. There isn't a suitable code path at all for dealing with situation. In the current implementation, the handshake between the robot and the lift is meant to ensure that the robot will have exclusive rights to using the lift. "Try again later" is a simple concept for a human being to deal with, but it's an exceptionally challenging matter for robots which prefer to have very rigid and predictable sequences of events to follow.
We do have plans for robust lift sharing (e.g. have multiple robots in a lift simultaneously, and/or have robots and humans in a lift simultaneously) and a more intelligent lift scheduling system which this kind of camera system would work very nicely for, but that hasn't reached the top of our priority list yet. I expect to start working on it in 1-2 months from now if no other higher priorities pop up in the meantime.

So when the AMR reaches the lift holding area waypoint, and the lift has arrived, it would issue a "pause" command to RMF until the vision API has checked that the lift is good to go.

To address this idea directly, the trouble with this is the handshake between the lift and the fleet adapter will not allow the lift to leave until the robot has successfully entered the lift. We could pause the robot, but that means the people will have to exit immediately on that floor and give way to the robot or else everyone will be stuck forever.
As I mentioned before, we intend to replace this very rigid handshake with a more flexible lift request system, but we aren't there quite yet.
If you'd like to work on prototyping a solution before the smart lift request system is ready, I would probably suggest forking rmf_core and tweaking the rmf_fleet_adapter::agv::phases::RequestLift implementation. You could add a hook in that phase which listens for a "Go"/"No Go" signal, and if it gets the "No Go", then it could cancel its lift request and create a timer that reinitializes its lift request later. I wouldn't consider this to be a good long-term solution, but it could be a way to unblock and test out your system concept while waiting for the smarter lift system to arrive.

Closing as this is not an issue. To continue discussing this topic, please open a discussion.


Remove documenation for non-existent middleware

The docs contained a reference to the class django.middleware.exception.ExceptionMiddleware. This class was introduced in 05c888ffb843. It was removed in 7d1b69dbe7, but the documentation remained.

Hi, there's a ticket about this: https://code.djangoproject.com/ticket/29359. My opinion is that some of this documentation should be moved elsewhere as some of the functionality is still relevant. Do you have time to work on that?


[Automation] Generate Fluent Lite from notificationhubs#

[Automation] Generate Fluent Lite from notificationhubs#

/check-enforcer override


Make it easy to calculate all 2D descriptors

Adds Descriptors.CalcMolDescriptors()
Also adds a section to the documentation for this use case.
I really should have added this function years ago.

Is it possible to do spécial handle forIpc => average or log conversion directly in the call ?Envoyé de mon iPhoneLe 23 déc. 2022 à 08:59, Greg Landrum @.***> a écrit :Adds Descriptors.CalcMolDescriptors()
I really should have added this function years ago.
You can view, comment on, or merge this pull request online at:
  https://github.com/rdkit/rdkit/pull/5892
Commit Summary
cba3dde  remove deprecation warning
22edb97  add CalcMolDescriptors() function
File Changes  (3 files)
M
rdkit/Chem/Descriptors.py
(29)

M
rdkit/Chem/Graphs.py
(5)

M
rdkit/Chem/UnitTestDescriptors.py
(7)

Patch Links:
https://github.com/rdkit/rdkit/pull/5892.patch
https://github.com/rdkit/rdkit/pull/5892.diff
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

As I recall, that was the driving force for the properties class:
https://github.com/rdkit/rdkit/blob/3f3bc3b5a18b9a4afadf40d3e265f679b9f21d96/Code/GraphMol/Descriptors/Property.h#L70
This requires the properties to be registered though.

Yeah, and that's something that requires a manual step and that we've never really managed to keep up with.
Still, I will take a look tomorrow and see if I can automate that part

@bp-kelley : I added code which automates adding all descriptors which are implemented in Python to the Properties registry when rdkit.Chem.Descriptors is imported.
I still think the pure python implementation in this PR is useful because it gives you back the dictionary and allows control over what happens when exceptions are thrown during the descriptor calculation.

Something odd is happening here, it might take a while to track down.

Hmmm, yeah, I will check tomorrow. If I can't find it quickly I will back the Property changes out and we can think about doing it in a separate PR. I'm not sure it actually adds that much value (particularly given that we haven't done it until this point)

I agree, the properties class also doesn’t cover the python only calculations.

@bp-kelley I couldn't find a solution to the problems caused my code doing the bulk addition to the property interface, so I ripped that stuff back out of this PR. We can take a look at adding the python descriptors to the property interface separately if we decide that it's useful/relevant.
For future reference, the problem I observed on my windows laptop was that a single call to _registerDescriptorsAsProperties() would give a weird GIL error when python exited:
(base)
glandrum@ferret MINGW64 ~/RDKit_git/builds/win64_opt (feat/easier_descriptor_calculation)
$ python -c 'from rdkit.Chem import rdMolDescriptors;from rdkit import Chem;from rdkit.Chem import Descriptors;m=Chem.MolFromSmiles("CCCC");ps=rdMolDescriptors.Properties(["Ipc"]);print(ps.ComputeProperties(m)[0])'
6.854752972273345
Fatal Python error: PyThreadState_Get: the function must be called with the GIL held, but the GIL is released (the current Python thread state is NULL)
Python runtime state: finalizing (tstate=0x00000188f65ae0a0)

but calling that function a second time would resolve it:
(base)
glandrum@ferret MINGW64 ~/RDKit_git/builds/win64_opt (feat/easier_descriptor_calculation)
$ python -c 'from rdkit.Chem import rdMolDescriptors;from rdkit import Chem;from rdkit.Chem import Descriptors;Descriptors._registerDescriptorsAsProperties();m=Chem.MolFromSmiles("CCCC");ps=rdMolDescriptors.Properties(["Ipc"]);print(ps.ComputeProperties(m)[0])'
6.854752972273345
(base)

Also for future reference, since that code will vanish when we squash commits, here's the code I just removed:
# machinery to add all the descriptors here to the Properties interface:
def _propCtor(self,name,func):
  PropertyFunctor.__init__(self,name,getattr(func,'version','1.0.0'))
  self._func = func

def _registerDescriptorsAsProperties():
  # the cases in property names are sometimes weird, so normalize that
  ps = rdMolDescriptors.Properties()
  allProps = [x.lower() for x in ps.GetPropertyNames()]
  for nm,func in _descList:
    if nm.lower() in allProps:
      continue
    cls = type("_"+nm+"Prop",(PropertyFunctor,),
        {'__init__':lambda self,name=nm,func=func:_propCtor(self,name,func),
         '__call__':lambda self,mol:self._func(mol)})
    rdMolDescriptors.Properties.RegisterProperty(cls())

_registerDescriptorsAsProperties()


remove object label

What if i want to remove some objects from the 9000 labels ?how do i do it? I tried editing the label txt file but it gives segmentation error.

@arjunfzk I think it's a bit more complex than that.
You should probably look at links like this one: https://timebutt.github.io/static/how-to-train-yolov2-to-detect-custom-objects/

@philipperemy the above link shows how the data is created for yolov2 followed by training the same model but there is no information on how the data is created for yolo9000 in a tree structure. Since its very different from other yolo models its quite difficult to understand the input preparation and how its used for further training. It would be great if you could you guide me to some useful articles?  Thanks in advance.


xubuntu: 'alt+n' doesn't launch filemanager

Keybinding doesn't work.
Please hel me.

I'm going to close this as this will be tracked at #32. Thanks @andremeireles for your help :+1: :heart:


[hw,tlul] Make a_user.rsvd width configurable (integrated_dev to master)

Expose the TLUL user bits to the host adapter. In Earlgrey, these bits do not convey any information.

@vogelpi Thanks for looking into this. Could you give it another look?

@vogelpi Thanks for your review. I updated the PR and CI is green now.

CHANGE AUTHORIZED: hw/ip/lc_ctrl/rtl/lc_ctrl.sv
CHANGE AUTHORIZED: hw/ip/rv_core_ibex/rtl/rv_core_ibex.sv
CHANGE AUTHORIZED: hw/ip/rv_dm/rtl/rv_dm.sv
CHANGE AUTHORIZED: hw/ip/tlul/rtl/tlul_adapter_host.sv
CHANGE AUTHORIZED: hw/ip/tlul/rtl/tlul_pkg.sv
This PR touches a couple of RTL files relevant for Earlgrey but doesn't change the functionality. It just allows passing reserved user bits into the TL-UL adapter but the bits are actually zero as before. This is fine.

CHANGE AUTHORIZED: hw/ip/lc_ctrl/rtl/lc_ctrl.sv
CHANGE AUTHORIZED: hw/ip/rv_core_ibex/rtl/rv_core_ibex.sv
CHANGE AUTHORIZED: hw/ip/rv_dm/rtl/rv_dm.sv
CHANGE AUTHORIZED: hw/ip/tlul/rtl/tlul_adapter_host.sv
CHANGE AUTHORIZED: hw/ip/tlul/rtl/tlul_pkg.sv


⚠ Samsung has degraded performance

In cb9fffd, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1689 ms

Resolved: Samsung performance has improved in c70c35a.


Better recognition of touch controllers & quest models

The quest models only show up when the running app/game hasnt replaced it with its own controllers (where the angle is off).
@btw all the buttons seem to work, but the trigger button does not work somehow.

I got these names for controllerTrackingSystemName etc. by looking at the names reported by openvr when connecting my Oculus Rift CV1 and touch controllers

Maybe add .obj and .mtl files to GIT LFS?

Uploaded a version of my Quest rendermodel that doesn't follow the CV1 naming scheme to avoid confusion here: https://files.catbox.moe/1zbqvu.zip
Can your pull request be updated to reflect this?

See #315


Update charset.md for changes in .NET Core 3.0

In .NET Core 3.0, we have changed the meaning of CharSet.Auto to match Mono's behavior cross-platform. This PR updates the docs to reflect that behavior change.

Thanks, @jkoritzinsky. I'll merge your PR now.


chore: Add new filters for performances export

Signed-off-by: Milouu<EMAIL_ADDRESS>Description
Add new filters for filtering performances export by metric_key and metric_output_identifier. This is needed in the frontend to be able to download only the performances of a single performance chart.
Companion PR: https://github.com/Substra/substra-frontend/pull/156

Please rebase to fix the CI issues!

/e2e

End to end tests: :hourglass_flowing_sand: STARTING


Move is_interactive_compatible to Strategy

What does this PR do?

Fixes #11449 follow up item "Move _IS_INTERACTIVE check to strategy"
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Abandon this PR in favor of #12008

Thanks anyway for looking into this ☺


Refactor API endpoints into rest_framework.views.APIView

The BRP endpoints are proving to be less generalizable than initially thought. ModelViewSets are likely creating more complexity than they are worth -- because our API endpoints are finely tailored (incorporating information from Models, and external services like the eHB) it makes sense to use a more basic abstraction to build from

Ref http://www.django-rest-framework.org/api-guide/views/


Publishing Date and Expiration Date are pre-set with current date/time

Volto master

as admin
go to portal root and create a new page
-> Publishing Date and Expiration Date are pre-defined in the right sidebar
-> should: Publishing Date and Expiration Date should not be set

@nzambello this is new. any idea what could cause this?

The default value for the widget, if a date is not set from Plone, is the current date.
Now it's marked with the grey color to make that different from a set one.
This behavior is fine for event dates and when editing content publish/expire dates, but probably not enough for new content ones.
Instead of making it grey I could make it invisible, but I have to keep a date set for the date picker.

What do you think @tisto @sneridagh ?

@nzambello making it invisible is fine with me. This is a pure UX issue, not a functional bug.

I would just "disable" it via CSS, so it remains not visible until the user clicks and makes the widget show. Is that easy to do?

@iFlameing could you rebase your Cypress tests PR with master and see if the test passes now?


Client throws network protocol error when joining team

Description
Once you join a team on the backend server, the client will disconnect with "Network Protocol Error".
This only happens on 1.20.6.

Plugin version: 1.6.5-1f54cf7
Backend server: Paper 1.20.6-130-master@5d8e53d

Logs
Related log on client, where player is the team joined on the backend:

[18:17:01] [Render thread/ERROR] (Minecraft) Failed to handle packet net.minecraft.class_5900@29f0a10c
java.lang.IllegalStateException: Player is either on another team or not on any team. Cannot remove from team 'player'.
	at MC/net.minecraft.scoreboard.Scoreboard.removePlayerFromTeam(Scoreboard.java:308) ~[client-intermediary.jar:?]
	at MC/net.minecraft.client.network.ClientPlayNetworkHandler.onTeamUpdate(ClientPlayNetworkHandler.java:2044) ~[client-intermediary.jar:?]
	at MC/net.minecraft.network.packet.s2c.play.TeamUpdateS2CPacket.apply(TeamUpdateS2CPacket.java:132) ~[client-intermediary.jar:?]
	at MC/net.minecraft.network.packet.s2c.play.TeamUpdateS2CPacket.apply(TeamUpdateS2CPacket.java:18) ~[client-intermediary.jar:?]
	at MC/net.minecraft.network.NetworkThreadUtils.method_11072(NetworkThreadUtils.java:25) ~[client-intermediary.jar:?]
	at MC/net.minecraft.util.thread.ThreadExecutor.executeTask(ThreadExecutor.java:162) [client-intermediary.jar:?]
	at MC/net.minecraft.util.thread.ReentrantThreadExecutor.executeTask(ReentrantThreadExecutor.java:23) [client-intermediary.jar:?]
	at MC/net.minecraft.util.thread.ThreadExecutor.runTask(ThreadExecutor.java:136) [client-intermediary.jar:?]
	at MC/net.minecraft.util.thread.ThreadExecutor.runTasks(ThreadExecutor.java:121) [client-intermediary.jar:?]
	at MC/net.minecraft.client.MinecraftClient.render(MinecraftClient.java:1275) [client-intermediary.jar:?]
	at MC/net.minecraft.client.MinecraftClient.run(MinecraftClient.java:888) [client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:265) [client-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) [fabric-loader-0.15.11.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.15.11.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.15.11.jar:?]

Once you join a team on the backend server

Minecraft introduced more strict backend sanity checking in 1.20.6 (I believe there is a backend flag you can pass to bypass it temporarily). The result is that stuff done on the proxy that conflicts with the backend now disconnects the player.
Since Velocitab relies on joining scoreboard teams to sort players in TAB, and the general assumption is that most users are running plugins or mods on their backend that don't require that, this can occur when the backend joins a team that Velocity doesn't know about. Velocitab therefore joins players on "fake" teams that only it and clients know about, causing clients to freak out when the backend updates team stuff that the client doesn't know about.
The fix is to:

Not use stuff on your backend server that uses teams
Disable send_scoreboard_packets in Velocitab's config.yml (players will no longer be sorted in TAB).

# Whether to send scoreboard teams packets. Required for player list sorting and nametag formatting.
# Turn this off if you're using scoreboard teams on backend servers.
send_scoreboard_packets: true

Got it, thanks!


Issue connecting/signing in

Logging in shows "Unknown Error"
Here is my Log information...
Logger: aiohttp.server
Source: custom_components/ha_kia_hyundai/api_cloud_ca.py:56
Integration: Kia/Hyundai (documentation, issues)
First occurred: 11:52:09 PM (2 occurrences)
Last logged: 11:52:12 PM
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1103, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1133, in _create_connection_transport
await waiter
File "/usr/local/lib/python3.10/asyncio/sslproto.py", line 534, in data_received
ssldata, appdata = self._sslpipe.feed_ssldata(data)
File "/usr/local/lib/python3.10/asyncio/sslproto.py", line 188, in feed_ssldata
self._sslobj.do_handshake()
File "/usr/local/lib/python3.10/ssl.py", line 975, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:997)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 67, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 235, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 146, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 180, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
result = await method(view, request, data, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 271, in async_configure
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/ha_kia_hyundai/config_flow.py", line 141, in async_step_auth
await api_cloud.login()
File "/config/custom_components/ha_kia_hyundai/api_cloud_ca.py", line 56, in login
self._access_token, _ = await self.api.login(self.username, self.password)
File "/usr/local/lib/python3.10/site-packages/kia_hyundai_api/ca.py", line 147, in login
await self._post_request_with_logging_and_errors_raised(
File "/usr/local/lib/python3.10/site-packages/kia_hyundai_api/ca.py", line 32, in request_with_logging_wrapper
response = await func(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/kia_hyundai_api/ca.py", line 141, in _post_request_with_logging_and_errors_raised
return await self.api_session.post(url=url, json=json_body, headers=headers, ssl=self.ssl_context)
File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 536, in _request
conn = await self._connector.connect(
File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 984, in _wrap_create_connection
raise ClientConnectorSSLError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorSSLError: Cannot connect to host kiaconnect.ca:443 ssl:<ssl.SSLContext object at 0x7f0b97bbc440> [[SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:997)]

I copied a fix from the us version over to the ca version and released it in 1.7.5, hopefully it fixes the issue for you

Beautiful! It works! Thanks a million!


[FRG] - Expose margins setting

It looks like there is a way to pass in margins, but I am not seeing a way in the visual builder to set the margins on a report.

Fixed in next version.

@NathanaelA This might need to be re-opened. It looks like the margins get saved as a string in the JSON, and then that is passed to PDFKit.
If I set all of the margin values, I get:

Error: unsupported number: NaN

If values get mixed, you end up with something like

Error: unsupported number: 40117.04005.867999999999999

Good catch, this is now fixed in the current version.


PCT-1216 Bug with sampling

Added a new parameter MaxQueryTime that is being read from @slow_query_log_always_write_time MySQL var.
All queries having Query_time > MaxQueryTime should be skiped because that query is in the log due to the time it took to run and not because of the sampling.

Wrong implementation due to a missundestanding


Bug: Candy can move without outcome of three of a kind

Move item validation logic is wrong.

@Alexandria please assign it to me


Add citefilter for bibliography and latex with images

Hi there,
Following from my issue #64 I have briefly updated the readme, added the lua filter, and added two export options:

Bibliography (.bib) - to export to bib file
Latex (export with images) - to export to latex file and place the images used in the output folder

Could you test it and let me know what you think?

Thanks for your contribution😁.
The path of lua/bibliography.lua also need to be added to this file.
https://github.com/mokeyish/obsidian-enhancing-export/blob/master/src/lua.ts

Oops, forgot to push :)

I've released new version 1.4.1. Thanks again!!!


[on-hold] CT-1326 test that generates the deprecation logs

Jira: CT-1326
KBC: https://github.com/keboola/connection/pull/4937
Before asking for review make sure that:
Checklist

[x] New client method(s) has tests
[x] Apiary file is updated

Release

[x] I gave the PR a proper label:

major (BC break)
minor (new feature)
patch (backwards compatible fix)
no release (just test changes)

Not needed anymore


Improve Access Control Messages

In the manage access panel change the text to:
Use this window to share your resource with specific HydroShare users. You can give other users the ability to view or edit this resource. You can also add additional owners who will have full permissions.
Owners can perform all operations on a resource and set whether a resource is Public, Discoverable, or Private and Shareable.  Resources that are Public have all their content visible to all users.  Resources that are Discoverable have only their metadata public.  Resources that are private are only accessible to specific users or groups that they have been shared with.
Editors can edit resource metadata and add and delete resource content files.  If the resource is Shareable editors can use manage access to extend editing or viewing access to other users.
Viewers can view resource metadata and download resource content files.  If the resource is Shareable viewers can use manage access to extend viewing access to other users.

This is intended to help address the misunderstanding about resource deletion that led to issue #1212.  @christinab please comment on or edit this wording if you think it needs additional clarification for users.

@dtarb Can you verify and close the issue if it works now?

Super!.  Closing.


Including use Addict.RoutesHelper breaks on latest phoenix version

== Compilation error on file web/views/page_view.ex ==
** (CompileError) web/views/page_view.ex:2: module Ataca.Router.Helpers is not loaded and could not be found
(ataca) expanding macro: Ataca.Web.using/1
web/views/page_view.ex:2: Ataca.PageView (module)
(elixir) expanding macro: Kernel.use/2
web/views/page_view.ex:2: Ataca.PageView (module)
(elixir) lib/kernel/parallel_compiler.ex:100: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/8

as per the documentation:
defmodule Ataca.Router do
use Ataca.Web, :router
use Addict.RoutesHelper

Thanks for the headsup @johandeklerk

It looks like the root cause is in endpoint.ex:
== Compilation error on file lib/qgen/endpoint.ex ==
** (UndefinedFunctionError) undefined function: Qgen.Router.init/1 (module Qgen.Router is not available)
Qgen.Router.init([])
(plug) lib/plug/builder.ex:198: Plug.Builder.init_module_plug/3
(plug) lib/plug/builder.ex:186: anonymous fn/4 in Plug.Builder.compile/3
(elixir) lib/enum.ex:1261: Enum."-reduce/3-lists^foldl/2-0-"/3
(plug) lib/plug/builder.ex:186: Plug.Builder.compile/3
(phoenix) expanding macro: Phoenix.Endpoint.before_compile/1
lib/qgen/endpoint.ex:1: Qgen.Endpoint (module)
(elixir) lib/kernel/parallel_compiler.ex:97: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/8

I'm getting the same behavior, but in addition to the original error, I also get:
== Compilation error on file web/router.ex ==
** (CompileError) web/router.ex:3: module Addict.RoutesHelper is not loaded and could not be found
(elixir) expanding macro: Kernel.use/1
web/router.ex:3: Qgen.Router (module)
(elixir) lib/kernel/parallel_compiler.ex:97: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/8

@CJPoll @johandeklerk was that from the master branch or an actual release?

The issue here is that most likely you've created a pipeline named :addict, something like:


Order button css

https://ibb.co/y6920cc
and
https://ibb.co/Kj2Kbd1

before
https://ibb.co/bRb7zMY
https://ibb.co/mJYLgg1

Edited the links so you can click on it


'restartCount' processor of 'injectSlots' has wrong priority

:tada: This issue has been resolved in version 0.11.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Soft fail beta gating device list fetching

The device list fetching is already lana logged properly. We just need to add the ? notation to soft fail the accessing of the data object from the resp.
Resolves: MWPW-143883
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/?martech=off
After: https://soft-fail-beta-gating--express--adobecom.hlx.page/express/?martech=off

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

Project coverage is 36.55%. Comparing base (3f66466) to head (862e7a9).

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #723      +/-   ##
==========================================
- Coverage   36.61%   36.55%   -0.06%
==========================================
  Files         132      132
  Lines       25711    25711
==========================================
- Hits         9413     9399      -14
- Misses      16298    16312      +14

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


Getting started

Based on our conversation today on the WG call, I took an initial go at writing a new git bump recommender with the new parser.  If folks want I can push a placeholder and then re-open this work as a PR, but I didn't want to just let it sit on my computer tonight.  Happy to take feedback in whatever form works best for you all.
cc @byCedric @bcoe @damianopetrungaro

@wesleytodd
Silly one from a non-js folk, does JS have an idiomatic way of adding Table-Driven Tests or Parameterized tests?
In this way, we could automate part of the test by simply adding some use cases.

Hey @damianopetrungaro, not silly but also not one I have a clear answer for.  I have seen many test suites with setup's like this in JS projects, but I doubt you could find enough consensus to call it idiomatic. Personally I don't have a strong opinion on how we write tests for these components. If anyone (you or anyone else) have those I am happy to follow whatever the team decides is best.

Separate topic, next steps for this:

Add support for taking parsed or unparsed commits as input (likely required for integration with things like Release Please)
Documentation
(maybe based on above) More tests
???

Anything else big we are missing here?

@wesleytodd I think it's good as the first step 💪


Device status change taking ages in Home Assistant

Background:
Upgraded from 2021.5.4 > 2022.6.1
With the previous version I didn't have 2FA enabled, so to upgrade I removed the integration - enabled 2FA in Hive App, re-added integration & configured - devices now working
Issue:-
When changing the state of a device (eg light off > on) whilst the device itself responds immediately - the state in HA doesn't change to reflect that change for a few minutes.   Example:  Turn On light in HA.  Light itself immediately turns on, however the state of the light in HA remains showing off.  After a couple of minutes the status 'catches up' and changes to On.
Expected behaviour
Prior to upgrading to the latest version (which required me to enable 2FA), the state change would be immediately reflected in HA.
Meaning the correct device state was shown.  Therefore allowing me to immediately change its state again (if required)
Running Home Assistant Core 2022.6.7

Note: Disabling 2FA in the Hive App, and rolling back to the previously installed version 2021.5.4 resolved the issue.

This should be fixed in the new release

Working just fine now.  Thank you


Not supporting new beta Stackdriver Kubernetes Monitoring resource format

Environment details

OS: Debian (using node:10.15.0 Docker image)
Node.js version: v10.15.0
npm version: 6.4.1 (using yarn 1.12.3 though)
@google-cloud/logging-winston version: 1.1.0
@google-cloud/logging version: 5.1.0

I'm using @google-cloud/logging-winston but I'm almost sure that the functionality / issue comes from this dependency hence opening issue here.
Steps to reproduce

Deploy application to GKE
Observe logs emitted by library only appearing under global GKE Container logs and not container logs accessed via GKE workload links

I think this is because the resource metadata isn't filled in with the format beta Stackdriver Kubernetes Monitoring resource expects.
This is how it looks like in log entries under GKE Container stored by the library:
 resource: {
  labels: {
   cluster_name: "master"
   container_name: ""
   instance_id: ""
   namespace_id: "default"
   pod_id: ""
   project_id: "<project id>"
   zone: ""
  }
  type: "container"
 }

And this is how it looks like in the "proper" container logs, currently stored via stdout / console output:
 resource: {
  labels: {
   cluster_name: "master"
   container_name: "graphql"
   location: "europe-west2-a"
   namespace_name: "default"
   pod_name: "graphql-85bf76c55c-vqstq"
   project_id: "<project id>"
  }
  type: "k8s_container"
 }

I found this PR comment while searching: https://github.com/googleapis/nodejs-logging/pull/424#issuecomment-473608406
So I'm wondering if fixing this would be just adding one more switch case?

This is quite possibly a similar issue as https://github.com/googleapis/nodejs-logging/issues/125

I am also getting the same issue.

Is there any workaround for this issue or will it be addressed anytime soon? We are currently experiencing the same issue in a kubernetes container and we have to set all labels manually which is both time consuming and not very generic in case google changes any labeling system.

@georgianjalba my workaround is to emit logs to the console (too) which gets picked up and labelled correctly by Stackdriver. It does the job, but kind of defeats the purpose of using the library...

@daaain my issue is that we are using pm2 to manage the server and it seems it captures the logs and doesn't allow them to be sent to the console(too) and so using the library is the only way of going around that and sending them to stackdriver.

@georgianjalba my workaround is to emit logs to the console (too) which gets picked up and labelled correctly by Stackdriver. It does the job, but kind of defeats the purpose of using the library...

Hi daaain did you find any way of adding the metadata to the Stackdriver logs so that they're held under the relevant pod's logs in GKE - along with the pod's console.logs?
Thanks

Hi daaain did you find any way of adding the metadata to the Stackdriver logs so that they're held under the relevant pod's logs in GKE - along with the pod's console.logs?
Thanks

Yes, but you have to use a logging library to add the metadata rather than console.log directly. I personally use Winston with Google's Logging Winston.
You can of course use this library as in the example, but I find it way too verbose.
In any case console is just the log transport rather than directly used for logging.

Hi daaain did you find any way of adding the metadata to the Stackdriver logs so that they're held under the relevant pod's logs in GKE - along with the pod's console.logs?
Thanks

Yes, but you have to use a logging library to add the metadata rather than console.log directly. I personally use Winston with Google's Logging Winston.
You can of course use this library as in the example, but I find it way too verbose.
In any case console is just the log transport rather than directly used for logging.

Sorry I mean how did you add the pod_name etc. to the logging meta using winston.format() is it exposed as an environment variable or something similar?

Sorry I mean how did you add the pod_name etc. to the logging meta using winston.format() is it exposed as an environment variable or something similar?

I didn't have to do anything other than using the console transport inside the GKE containers.

Sorry I mean how did you add the pod_name etc. to the logging meta using winston.format() is it exposed as an environment variable or something similar?

I didn't have to do anything other than using the console transport inside the GKE containers.

HI daaain thanks for reply, so until they add metadata best solution is to have standard logging in the Container Logs and the request logging in the Global Logs?

HI daaain thanks for reply, so until they add metadata best solution is to have standard logging in the Container Logs and the request logging in the Global Logs?

Yeah, you can have both transports in GKE, though I turned the Global log one off as the request bundling didn't work properly anyway in high volume scenarios, so I'm just reusing the trace id generated by the API gateway to make tracing work, as explained here: https://github.com/googleapis/nodejs-logging-winston/issues/287#issuecomment-516076018


TODO: change repository to clone from https://github.com/seltmann/darwin-core

I want to change the repository so it is cloned from the template https://github.com/seltmann/darwin-core

Hi Katja,
I have added quite a few new data to the DWC file
https://docs.google.com/spreadsheets/d/1H9aT34fTDUQl2v84XZb-hyE0Au3lwefwh3StsZT7jXs/edit?usp=sharing
but
did not update the github repository yet as I have some questions before I
do it.
See you later today!
István
On Wed, Apr 14, 2021 at 12:22 PM Katja Seltmann @.***>
wrote:

I want to change the repository so it is cloned from the template
https://github.com/seltmann/darwin-core
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/teleaslamellatus/Review-of-Gryonoides/issues/5, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACGX6JNZPU2ZCMB6RFSJZ5LTIW6KRANCNFSM425XCL6Q
.

--
István Mikó PhD
Collection Manager
Don Chandler Entomological Collection
Department of Biological Sciences
University of New Hampshire
Spaulding Hall
Durham, NH 03824


Update Typo

corrected
class (...){...}
attribute (...){...}
to
class:function(...){...}
attribute:function(...){...}
in the ignore{} object sample

Thanks, but its actually not really a bug but nowadays part of the JavaScript language. In the latest addition of the ECMAScript 2015 specification (also referred as ES6) the feature got added to define method properties. So the following lines are equal to your changes:
// ES5
{
 ignore: {
  class: function class(){...}
}

// ES2015
{
 ignore: {
  class(){....}
 }
}

Hope it makes sense. Although I am aware that the new syntax can be confusing, I would prefer to not remove it completely in favor of the former. Perhaps instead you like to adjust the update and add an example how to use it with regular code :)

Sure thing. I didn't realize recent ECMA specs allowed for this, but obviously browser market share and compatibility etc etc are still going to be an issue for a few years.
I am using this in a layout editor; when I get a chance I will post a slimmed down version of minimal setup to include just the optimal-select.min.js and get up and running.

您好，我最近比较忙，无法亲自回复您的邮件。我如果我看到您的邮件，我会尽快给您回复。


FormControl Input Duplicate NativeID / id attribute - Lighthouse Accessibility

Description
There are duplicate ids causing accessibility issues with FormControl and the nativeID prop.
CodeSandbox/Snack link
https://snack.expo.dev/FouiHNwz7
Steps to reproduce

Open snack link
View snack in a separate window
Using inspect, see there are duplicated ids

When generating a lighthouse accessibility report, see the ARIA IDs are not unique. (Ignore aria-attributes error caused by unrelated extension in browser)

NativeBase Version
3.3.4
Platform

[ ] Android
[ ] CRA
[X] Expo
[ ] iOS
[ ] Next

Other Platform
No response
Additional Information
The playground example on https://docs.nativebase.io/form-control
Does not exhibit this behavior by default, while still correctly providing an id for the input element.

Our workaround for this in case anyone needs it is to manually manage the ids on the children components
<FormControl isRequired>
  <Stack mx="4">
    <FormControl.Label id="password-input-label" htmlFor="password-input">Password</FormControl.Label>
      <Input type="password" defaultValue="12345" placeholder="password" id="password-input"/>
    <FormControl.HelperText id="password-input-helper-label">
      Must be atleast 6 characters.
    </FormControl.HelperText>
    <FormControl.ErrorMessage id="password-input-error-message" leftIcon={<WarningOutlineIcon size="xs" />}>
      Atleast 6 characters are required.
    </FormControl.ErrorMessage>
  </Stack>
</FormControl>

@cyrusduong Thanks for reporting this! We're looking into this. Hope to fix this in the next release.

This issue is resolved in version 3.4.14. Thank you.


audio error

Description
An error ocurred while starting the kernel
Traceback (most recent call last):
File "/usr/lib/python3/dist‑packages/spyder/utils/ipython/start_kernel.py", line 268, in
main()
File "/usr/lib/python3/dist‑packages/spyder/utils/ipython/start_kernel.py", line 239, in main
from spyder.utils.ipython.spyder_kernel import SpyderKernel
ModuleNotFoundError: No module named 'spyder.utils.ipython'
Traceback (most recent call last):
File "/usr/lib/python3/dist‑packages/spyder/utils/ipython/start_kernel.py", line 268, in
main()
File "/usr/lib/python3/dist‑packages/spyder/utils/ipython/start_kernel.py", line 239, in main
from spyder.utils.ipython.spyder_kernel import SpyderKernel
ModuleNotFoundError: No module named 'spyder.utils.ipython'
Traceback (most recent call last):
File "/usr/lib/python3/dist‑packages/spyder/utils/ipython/start_kernel.py", line 268, in
main()
File "/usr/lib/python3/dist‑packages/spyder/utils/ipython/start_kernel.py", line 239, in main
from spyder.utils.ipython.spyder_kernel import SpyderKernel
ModuleNotFoundError: No module named 'spyder.utils.ipython'
Traceback (most recent call last):
File "/usr/lib/python3/dist‑packages/spyder/utils/ipython/start_kernel.py", line 268, in
main()
File "/usr/lib/python3/dist‑packages/spyder/utils/ipython/start_kernel.py", line 239, in main
from spyder.utils.ipython.spyder_kernel import SpyderKernel
ModuleNotFoundError: No module named 'spyder.utils.ipython'
Traceback (most recent call last):
File "/usr/lib/python3/dist‑packages/spyder/utils/ipython/start_kernel.py", line 268, in
main()
File "/usr/lib/python3/dist‑packages/spyder/utils/ipython/start_kernel.py", line 239, in main
from spyder.utils.ipython.spyder_kernel import SpyderKernel
ModuleNotFoundError: No module named 'spyder.utils.ipython'
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
module = _import_module_from_path(module_name, plugin_path)
module = spec.loader.load_module(module_name)

File "", line 399, in _check_name_wrapper
File "", line 823, in load_module
File "", line 682, in load_module
File "", line 262, in _load_module_shim
File "", line 618, in _exec
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
from .terminalplugin import TerminalPlugin as PLUGIN_CLASS
from spyder.api.plugins import SpyderPluginWidget
ModuleNotFoundError: No module named 'spyder.api'
WARNING:traitlets:kernel restarted
WARNING:traitlets:kernel restarted
WARNING:traitlets:kernel restarted
WARNING:traitlets:kernel restarted
WARNING:traitlets:KernelRestarter: restart failed
WARNING:traitlets:kernel died: 18.015873432159424
Version and main components

Spyder Version: 3.2.6
Python Version: 3.6.9
Qt Versions: 5.9.5, PyQt5 5.10.1 on Linux

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  None (NOK)
numpy >=1.7      :  1.19.5 (OK)
sphinx >=0.6.6   :  1.6.7 (OK)
rope >=0.9.4     :  0.10.5 (OK)
jedi >=0.9.0     :  0.11.1 (OK)
psutil >=0.3     :  5.4.2 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  None (NOK)
cython >=0.21    :  None (NOK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  5.5.0 (OK)
pylint >=0.25    :  1.8.3 (OK)

Hi @robert478, it seems that you are using a pretty old version of Spyder, could you please update to the latest version of Spyder 4 and check if this issue still occurs?

Hi @robert478, it seems that you are using a pretty old version of Spyder, could you please update to the latest version of Spyder 4 and check if this issue still occurs?

Closing this one since there was not a reply during the past week

Closing this one since there was not a reply during the past week


Raw string literals should be used

In C++11 we have raw string literals, I think it would be better to use them in shader factory. You don't need to put quotes and the newline character at every line. Example:
const char * mystr = R"ESCAPE_SEQUENCE(
This string has every
newline and spacing
in it.
)ESCAPE_SEQUENCE";
Note, that an escape sequence is not required, this is also just fine:
R"( ... )";

Obsolete (fixed).


Update docs to mention that we support Firestore in Datastore mode

Existing projects that use Datastore are starting to be automatically upgraded to Firestore in Datastore mode. We should update our documentation to mention that Spring Data Datastore supports Firestore in Datastore mode.
Related to question in #1507.

@dmitry-s Can you take care of this please?

Yes, I'll do that.


fn dav1d_parse_sequence_header: backport simplification from dav1d 1.2.1

Avoid creating an entire decoder instance to just parse a sequence header.

Note sure whether the API function dav1d_parse_sequence_header is tested in CI. Ended up using -s 5 when running the decoder to test.


Analytics as a library

Issue: #461

[x] Tick here to confirm that you have run RunCodeFormatter.ps1

Description:
Nether Analytics is completely re-written and cleaned up. The new version can now be consumed both as a library and as an "out of the box" experience. Currently Nether.sln has been stripped of all references to Nether.Analytics until we come up with a new solution on how to integrate (Basically there need to be some interfaces that needs to be re-written).
Test:
Create the following resources in Azure:

Azure AD Application
Azure Data Lake Analytics Account
Azure Data Lake Store Account
EventHubs Account and a EventHub

This PowerShell Script helps you setup all required environment parameters you need unless you rather implement them in the json-config file.
The script has been modified and doesn't contain correct information to actual resources in Azure.
[Environment]::SetEnvironmentVariable("NAH_EHLISTENER_CONNECTIONSTRING", "Endpoint=sb://nether.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=h16jv6nc0bxxxxg0YI14=", "User")
[Environment]::SetEnvironmentVariable("NAH_EHLISTENER_EVENTHUBPATH", "ingest", "User")
[Environment]::SetEnvironmentVariable("NAH_EHLISTENER_CONSUMERGROUP", "nether", "User")
[Environment]::SetEnvironmentVariable("NAH_EHLISTENER_STORAGECONNECTIONSTRING", "DefaultEndpointsProtocol=https;AccountName=netherdashboard;AccountKey=oT30a8/BSwTFg/4GGWLPCeGIHBxxxjtwU9kg9YaL0Qw==;EndpointSuffix=core.windows.net", "User")
[Environment]::SetEnvironmentVariable("NAH_EHLISTENER_LEASECONTAINERNAME", "sync", "User")

[Environment]::SetEnvironmentVariable("NAH_AAD_DOMAIN", "microsoft.onmicrosoft.com", "User")
[Environment]::SetEnvironmentVariable("NAH_AAD_CLIENTID", "b43e3e6c-xxxbd63-a3683b27e546", "User")
[Environment]::SetEnvironmentVariable("NAH_AAD_CLIENTSECRET", "QxoNhF1csZVsfpfPjxxxe0Y3yil9Etnp4bw=", "User")

[Environment]::SetEnvironmentVariable("NAH_AZURE_SUBSCRIPTIONID", "3a856395-xxxxx-527c857e5995", "User")

[Environment]::SetEnvironmentVariable("NAH_AZURE_DLSOUTPUTMANAGER_ACCOUNTNAME", "nether", "User")

Once setup:

Open and compile the two Solutions that are now available: Nether.sln and Nether.Analytics.sln. They should both compile and work.
Run Nether.Analytics.sln with two startup projects: NehterAnalyticsTestClient and Nether.Analytics.Host
Start sending geo-location messages (currently only message type implemented) from the test client.
Make sure information ends up in your Data Lake Store Account.

(Make sure that all above information is provided before submitting your pull request)

@krist00fer,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Looks good.
There are a couple of things that we should follow up with (and create issues for)

There are various classes writing to Console. It would be better to take ILogWriter in the ctor and then where you write to is up to the host to configure
We should discuss how to structure the solution(s) going forwards to make sure that the build scripts are maintainable, and also that the solution size isn't too painful for developing with

I've captured the requirements of logging (not writing to Console) in #463

The comment about updating the solution structure is captured in #464


HandshakeException: Connection terminated during handshake

Having this issue for 3 days now . Cannot get any package from pub. When there is no dependency added the command shows no error.
#result of flutter pub get
Running "flutter pub get" in promedia...
OS Error: Connection reset by peer, errno = 104, address = storage.googleapis.com, port = 53940
pub get failed (server unavailable) -- attempting retry 1 in 1 second...

Tried 'flutter clean' and flutter pub cache repair. result:
nspiron-5559:~/Desktop/work-space/promedia$ flutter pub cache repair
Resetting Git repository for assets_for_android_views 0.1.0...
Downloading _discoveryapis_commons 0.1.9...
It looks like pub.dartlang.org is having some trouble.
Pub will wait for a while before trying to connect again.
Failed to repair _discoveryapis_commons 0.1.9 from https://pub.dartlang.org. Error:
SocketException: OS Error: Connection reset by peer, errno = 104, address = storage.googleapis.com, port = 54110
Downloading analyzer 0.38.5...
Failed to repair analyzer 0.38.5 from https://pub.dartlang.org. Error:
HandshakeException: Connection terminated during handshake
Downloading analyzer_plugin 0.2.1...
Failed to repair analyzer_plugin 0.2.1 from https://pub.dartlang.org. Error:
HandshakeException: Connection terminated during handshake
Downloading archive 2.0.11...
Failed to repair archive 2.0.11 from https://pub.dartlang.org. Error:
HandshakeException: Connection terminated during handshake
Downloading args 1.5.2...
Failed to repair args 1.5.2 from https://pub.dartlang.org. Error:
HandshakeException: Connection terminated during handshake
Downloading async 2.4.0...
Failed to repair async 2.4.0 from https://pub.dartlang.org. Error:
HandshakeException: Connection terminated during handshake
Downloading battery 0.3.1+4...
Failed to repair battery 0.3.1+4 from https://pub.dartlang.org. Error:
SocketException: OS Error: Connection reset by peer, errno = 104, address = storage.googleapis.com, port = 54256

Here is the version details
flutter --version
Flutter 1.12.13+hotfix.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 0b8abb4724 (8 weeks ago) • 2020-02-11 11:44:36 -0800
Engine • revision e1e6ced81d
Tools • Dart 2.7.0

OS: Ubuntu 18.04lts

Please use code fences when posting logs, for large log files please use a gist.
I've updated the issue to use code-fences.

Where in the world are you located? Is local internet censorship an issue? Have you tried with a VPN?
Are you behind corporate proxy?
Can you access pub.dev in a browser?
Can you download: https://storage.googleapis.com/pub-packages/packages/retry-3.0.0%2B1.tar.gz in a browser?
What does curl -L -v https://storage.googleapis.com/pub-packages/packages/retry-3.0.0%2B1.tar.gz -o /dev/null report?
(I'm moving this issue to the pub client).


[Bug]: iOS Save Image NSOSStatusErrorDomain Code=-12847

Platform
ios
Plugin
share_plus
Version
4.1.0
Flutter SDK
3.0.5
Steps to reproduce
When sharing an image (png or jpeg format) the iOS App is restarted due to an internal iOS error.
First I am downloading the image and storing it in cache, to later allow the user to share it.
When selecting the "Save Image" option to save it in the gallery, the app is restarted (it does not crash itself).
Code Sample
shareResult = await Share.shareFilesWithResult(
            [sharingFilePath],
            mimeTypes: [isJpeg ? MIME_TYPE_IMAGE_JPEG : MIME_TYPE_IMAGE_PNG],
          );

Logs
2022-09-07 14:04:34.463648+0200 Runner[45208:5126054] [Backend] Video /Users/julianfalcionelli/Library/Developer/CoreSimulator/Devices/A8F6AF61-56B7-4E28-BF5B-9504D43BB5C1/data/Containers/Data/Application/B236EBBC-F2C2-4C8A-9848-A5B223A5D10E/Documents/sharingFiles/collection-gallery-photo-227-image.png cannot be saved to the photo library: Error Domain=AVFoundationErrorDomain Code=-11828 "Cannot Open" UserInfo={NSUnderlyingError=0x6000003d51d0 {Error Domain=NSOSStatusErrorDomain Code=-12847 "(null)"}, NSLocalizedFailureReason=This media format is not supported., NSURL=file:///Users/julianfalcionelli/Library/Developer/CoreSimulator/Devices/A8F6AF61-56B7-4E28-BF5B-9504D43BB5C1/data/Containers/Data/Application/B236EBBC-F2C2-4C8A-9848-A5B223A5D10E/Documents/sharingFiles/collection-gallery-photo-227-image.png, NSLocalizedDescription=Cannot Open}

Flutter Doctor
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.3.1 21E258 darwin-x64, locale en-AR)
    • Flutter version 3.0.5 at /Users/julianfalcionelli/Documents/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (8 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/julianfalcionelli/Library/Android/sdk
    • Platform android-32, build-tools 30.0.3
    • ANDROID_HOME = /Users/julianfalcionelli/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[!] Android Studio
    • Android Studio at /Users/julianfalcionelli/Downloads/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Connected device (5 available)
    • HD1913 (mobile)          • 9e0f62b4                             • android-arm64  • Android 11 (API 30)
    • Julian’s iPhone (mobile) • 00008030-000C70863EF9402E            • ios            • iOS 15.5 19F77
    • iPhone 12 Pro (mobile)   • A8F6AF61-56B7-4E28-BF5B-9504D43BB5C1 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • macOS (desktop)          • macos                                • darwin-x64     • macOS 12.3.1 21E258 darwin-x64
    • Chrome (web)             • chrome                               • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Similar issue reported in https://developer.apple.com/forums/thread/12700

Hi @julianfalcionelli can you try to reproduce this issue with the example project located in the share_plus project? Also, can you provide a file that causes the issue? (host it somewhere if you can, do not attach it to GitHub)

@miquelbeltran I have been playing with the example project and is working as expected. Also I found that after I press the "Save Image" the image is actually saved in the Gallery, but the App is restarted as I described, I am thinking that this is related with the iOS Project Structure I made for having a custom Splash Screen.

I confirm that using a different View Controller for a custom Splash is causing this conflict, for now disable the custom Splash until a solution is found. @miquelbeltran I think we can close this issue.


Not filtering degenerate data correctly.

Found that the FindInitialPoints() method in the ConvexHullAlgorithm.Initialize script, at line 500, was not correctly throwing an error when a degenerate set of data was found. We found that this was due to the conditional if the if statement " && IsLifted"

That is correct. I'm a little bashful about that. Is it a hack? Well, most of the recent problems people have had point to problems with Delaunay triangulation on uniformly spaced points. This term "IsLifted" is intended to catch cases when an additional dimension is added for Delaunay and Voronoi. Instead of being degenerate and throwing an error, we deal with it and do an arbitrary initial triangulation of the simplex. Make sense? Do this answer your question, or does your problem persist?


https://anything2mp3.cc/

Checklist

[x] I'm reporting a broken site support
[ ] I've verified that I'm running youtube-dl version 2<IP_ADDRESS>
[ ] I've checked that all provided URLs are alive and playable in a browser
[ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE

Downloading Source File: ERROR! Failed to download source file. Please try again later. (Service Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.)

https://anything2mp3.cc/
Downloading Source File: ERROR! Failed to download source file. Please try again later. (Service Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.)

Why do you want to download from a youtube downloader??

I normally use the sight to just download music...
Sent via the Samsung Galaxy Note10+, an AT&T 5G Evolution capable smartphone
-------- Original message --------
From: LE<EMAIL_ADDRESS>Date: 6/19/20 10:04 PM (GMT-05:00)
To: ytdl-org/youtube-dl<EMAIL_ADDRESS>Cc: kellyfrancois<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ytdl-org/youtube-dl] https://anything2mp3.cc/ (#25736)
Why do you want to download from a youtube downloader??
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/ytdl-org/youtube-dl/issues/25736#issuecomment-646920529, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQAQO4YV37X5VWKBJEMUM73RXQKLVANCNFSM4ODFJA7A.


Test and fix bug

When we remove child nodes in an effort to simplify the current representation, we should return true so that the simplification process can continue up the trie until it is no longer needed. This test fails without the fix.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.895%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
258

Relevant Lines:
287

💛  - Coveralls


Master Tests to avoid repetition

For a particular class of Algorithms or Models we should use inherited classes and use tests on them to avoid repetition @

@mehulrastogi you can mention the master tests here if we can test step by step


Fetching Kronolith-calendar

I'm trying to fetch my calendar wich is based on Kronolith. By that, it's kind of different to a google calendar. Using the direct link to the ics file<EMAIL_ADDRESS>will not work unless user-name and password is given, too.
As in the original MMM-Calendar tool, I tried:
url<EMAIL_ADDRESS>user: "email-adress"
password: "password"
But all I get is a blank screen with the calendar's title.
Checking the code with "npm run config: check" doesn't show any error in syntax.
But checking the start-up code LOG, says:

invalid line (no token ";" or ":") """.

Good to know:
I'm on an old raspi (Model B)
I did the upgrade, update, dist-update with rebooting the raspi was executed today and Magic Mirror is up to date and the weather tool works fine. The original, old calendar tool was kind of working but of course, I'd like to get the Ext2 to run!
Good to know, too:
I'm not an expert at all, but I try to understand and hope to learn.
Thanks fpr any advice!

I found some more informations about how to reach calendars which need authentifaction in the docs.
In short, Kronolith / Horde needs a structure like this:
name: "calender",
url: "yourcalender.ics",
auth: {
method: "basic",
user: "username",
pass: "password",
},
Now it basically works. Case's closed.


Add maxLineLength option

I noticed https://github.com/talios/googleformatter-maven-plugin has a maxLineLength option. It would be great to have that option available for this plugin as well.  I prefer a line length of 120 and being able to set that would really helpful.
Thanks,
Jim

This so called option allowed to change the line length limit of the Javadoc, not the code.
The referred maven plugin uses a Mockito hack to modify its value. See https://github.com/talios/googleformatter-maven-plugin/blob/2034133fe14f0ee928c6942cd037f1fbd52f0abd/src/main/java/com/theoryinpractise/googleformatter/GoogleFormatterMojo.java#L142.
So it was never an option.
There is no trace of this construct in Google Java Format 1.13 .


Update path to built .apk.

After switching the new project template to be Gradle-based, the .apk output is in android/app/build/outputs/apk. Update the basic_material_app__size test to look there.

LGTM

Thanks!


merge package from arlac77/npm-package-template

package.json

chore(devDependencies): update<EMAIL_ADDRESS>from template

Codecov Report

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

@@          Coverage Diff          @@
##           master   #128   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines          29     29
=====================================
  Hits           29     29

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 73654bc...06831d1. Read the comment docs.

Coverage remained the same at 97.143% when pulling 06831d1e704b30887ed733ba0d7b3e9d7a42484d on template-sync-1 into 73654bc516464eb929c7150a91570cf1be0bcf7a on master.


Mp client async interceptors

My proposal for https://github.com/quarkusio/quarkus/issues/8650
This removes the thread-local for AsyncInvocationInterceptor, captures context for each invocation, and calls restore/remove for each invocation part.

Note that I haven't ran any mp rest client tests, so @Ladicek should make sure this passes the MP REST Client TCK first.

I totally don't agree I should make sure this passes MP RestClient TCK :-)
I'll try this with my reproducer for the Quarkus issue, for sure.

I totally don't agree I should make sure this passes MP RestClient TCK :-)

Well it was worth a try ;)
Who even knows how this sort of craziness is supposed to be tested then? @kenfinnigan ?

I'm sure there's a Maven module somewhere in the RESTEasy code base that runs the MP RestClient TCK, now that MP RestClient is itself implemented by RESTEasy. So ... well, perhaps it's even part of the CI build! :-)

I can confirm that this commit indeed fixes the issue I found with Quarkus. (And does so in a much better way than my proposal, which relies on MP ConProp in a somewhat weird way.)

Well that's a good start. Now if we figure out whether it passes the TCK that'd be nice.

MP REST Client TCK is here: https://github.com/resteasy/Resteasy/tree/master/testsuite/microprofile-tck
Pretty sure it's part of regular CI

It seems the CI build does the entire RESTEasy build, which (I can confirm) does include the MP RestClient TCK. Some of the CI builds have already finished and are green, so it seems good.

If this actually works, it's champaign for everyone. Mandatory procedure for every PR that removes a thread-local.

Similarly, PRs that add a thread-local should have a checkstyle rule that requires sacrifice of a first-born son by the author as prerequisite price to pay.

Note that I'm not suggesting the life of a first-born son equals a few bottles of wine, but entropy being what it is, some effects are harder to reverse than others and we should just avoid adding thread-locals, m'kay?

Is passing the MP REST Client TCK here enough? (yes, it's part of the build ;-)) IOW, is there a simple way for checking the problem in Quarkus that led to discover the problem here?

The Quarkus issue contains an automated reproducer.

@Ladicek thanks for the tests in quarkus.


Try to use 6.2.0

Continuing #65

MacOS 11 built locally both in debug and release

I made a git mistake with the branch

This looks the best it ever has looked, I’ll try to do some local builds in the coming days 🙌


sftp: Ensure file hash checking is really disabled

What is the purpose of this change?
The Hash() function still attempts to run a remote SSH command to check the SHA/MD5 checksum of a file, even if the disable_hashcheck option is set in the configuration file. This change fixes that behaviour and makes disable_hashcheck work as expected again.

[X] I have read the contribution guidelines.

[X] I'm done, this Pull Request is ready for review :-)

That looks great - thank you :-)


Resolve style conflicts with MDC-based list

Fixes a couple of cases where the MDC list styles will override the styles of other components if they're loaded after them.

Caretaker note: this has the potential to break overrides, because it increases our specificity. If that ends up breaking too many targets, there are alternative hackier ways to achieve the same result without increasing specificity.

The previous changes caused some breakages internally. I've pushed an alternate approach that doesn't change the specificity.


feat: Add zeromq-support feature and make zeromq optional

Add zeromq-support feature to runtimelib
Make zeromq an optional dependency
Update async-dispatcher-runtime and tokio-runtime features to include zeromq-support
Set default-features to false for workspace and runtimelib package
Update client.rs to use zeromq-support feature flag

Doesn't make releasing simpler yet as zeromq still builds and needs at least one runtime enabled, but it's at least more consistent.

Closing for now, I think I need to hack more directly on ZeroMQ for a bit.


Upgrade to DW 1.3.1 and jackson 2.9.5

Upgrades Dropwizard to latest version 1.3.1 and its corresponding jackson version 2.9.5.
Bumps dropwizard-scala version to match Dropwizard version.
(built and ran tests after upgrade and things seem to work as expected).

Hi Joe, I reached out to Datasift about this project because my team is upgrading to Dropwizard 1.3 and got this response:  "So I had a chat with Nick [Telford] about the status of it today, his recommendation is to fork it if you're going to depend on it for a lot of your services, since we're not very invested in continuing it."  Just FYI

Thanks for the upgrade here. Yes, I would recommend forking this project if you're having difficulty with compatibility going forwards. We don't make heavy use of it and as a result don't have the resources to track upstream dropwizard on every release.


Create/Update employee (no_tax_id)

change the logic for deduplication:
search party_id by tax_id (tax_id or passport_number) and birth_date for deduplication Party
- If found, update object party - Update party
- If not found, - Create object party

@danakonovalenko nothing to do


docs: add links to Haskell and PureScript in README

Hi
Both languages are obviously easily findable on a search engines.
But having proper links offer convenience for people skimming through the README.

Thank you for the pull request, Bruno!
README.md is actually a generated file. Please make changes to index.js instead. :)

Thanks for this precision. I've made the change.


Remove the rego_otk table

Assign to @ewdurbin so he can merge this one.
Removes the no longer needed rego_otk table and related indexes. We might want to take a backup prior to removing this incase we ever need it again, but we shouldn't require it.

I think all good here, but we should remove https://github.com/pypa/warehouse/blob/745183f039df30ef507d2376733064b06e8312f6/dev/clean.sql#L16 at the same time.

Cool, I'll take care of merging this once I get a chance to capture and store a snapshot of the table.

s3://pypi-infra-terraform/backup/warehouse/rego_otk-2018-08-03.sql.gz.gpg
encrypted with my GPG public key with id 22ADAE0FC41E160AD1596B118F8E423168928420 and @dstufft's GPG public key with id 7C6B7C5D5E2B6356A926F04F6E3CBCE93372DCFA


Token is not refreshed if error contains application/json

In the Object Store the handle_auth_failure code only checks for errors in a http error object. The issue is that if an auth error is thrown with application/json in the header a service error code will be created instead, and thus handle_auth_failure will just fall through and not actually do the token refresh.

Fixed by https://github.com/realm/realm-object-store/pull/1124


[tiago]: add differential drive

This PR adds the possibility to Tiago to be controlled via the wheels. Here's a cool video:
https://user-images.githubusercontent.com/1283922/158372025-6322ddde-6ee3-4ee0-9f63-1f86fed33dda.mp4
Two important changes:

URDF to allow the movement of the wheels
Usage of bullet collision detector because FCL converts the cylinder shape to triangle mesh and this creates artifacts in the collision detection and movement

Important: this PR does not implement any differential drive controller (bad branch naming), but it gives the ability to do so.


fix: allow 16 bits images to be written on canvas

Fixes: https://github.com/image-js/image-js-typescript/issues/25
Fixes: https://github.com/image-js/image-js-typescript/issues/325

Released in v0.0.0-next-03c0263f61


cmd/compile: invalid algorithm table for some types

package main

func f(m map[string]int) int {
	return m["a"]
}

func g(m map[[8]string]int) int {
	return m[[8]string{"a", "a", "a", "a", "a", "a", "a", "a"}]
}

func main() {
	m := map[[8]string]int{}
	println(g(m))
}

With f commented out, the example program runs fine (prints 0) in all versions of Go I tested.
With f not commented out, I get behavior all over the map.
1.2, 1.4: integer divide by zero panic
1.5, 1.6: success!
1.7, tip: fatal error: runtime.makemap: unsupported map key type
The failures at 1.7 & tip are the result of explicit checks; the code barfs because the key does not have a hash algorithm.
I suspect the problem is that during compilation of f, we construct a type [8]string as part of the map bucket.  That type is marked as not needing an algorithm table.  Later, when compiling g, we construct a map with key type [8]string and that type does need an algorithm table.  Maybe the former decision is overriding the latter?
@dsnet @dr2chase @crawshaw @josharian

Josh, may be related to your change https://github.com/golang/go/commit/a6abc1cd

Nice bug.  Elegant.

Commenting out the Noalg=true statements in cmd/compile/internal/gc/reflect.go fixes the bug.  Probably not the permanent fix, but illustrative.

@ianlancetaylor Nice comment.  Succinct.

Drat. The tests in CL 22399 were supposed to catch this kind of thing.
@mdempsky since you've self-assigned it, I'm not going to look into a fix. Let me know if that should change, and I'm happy to jump back in.

@josharian No, I'm happy to dig into this.
So the issue is when we're writing out reflect metadata for types, we use the same link symbol regardless of whether Noalg is set, but we generate different contents depending on Noalg (namely whether we provide hash/eq function pointers).  The consequence is everywhere we set Noalg on compiler-generated types, we're potentially poisoning any user types that happen to be identical.
It's just that the types we set Noalg on are rarely used as map keys or stored into interfaces and compared for equality, assuming they collide at all.  Aside from the bucket arrays discovered above, the other instances are all structs (and one slice, but Noalg is redundant on slices anyway).
I think making Noalg work 100% correctly requires linker support.  We probably need to generate separate symbols for the Noalg variants.  Later at link-time we could recognize if we have both Noalg and !Noalg variants, and use only the !Noalg variant.
In the mean time, I think the quick fix is to just not set Noalg on the bucket arrays.  I'll send a CL.

Instead, could we add names to the noalg types?  That would make them distinct from any user types.
It would cost some space for the names, but we would save the space for the hash/eq code which is probably larger.
We'd need unique names, but that shouldn't be too hard (noalg.# where # is a unique id in the package).

Adding unique names should work too, but the naive solution would cause map[int]A, map[int]B, ... to each use separate named types for their [8]int buckets.

Can't you add a "..noalg" suffix if Noalg is true, then the bucket types are shared?

@crawshaw Yeah, that's what I'm playing with now.


fix md heading anchors

It works for Github.

Coverage remained the same at 100.0% when pulling 34d07a1cb731d4a825ec3e92b870db87ab4c1e1c on chakhsu:master into 4ef3446f293ce0f42819887caa7970dd06e39099 on mirrorjs:master.

Thanks!


feat(core): Expose "ignore_cursor_events" to Tauri and API

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[ ] No

Checklist

[ ] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary

Other information

What needs to happen for this to get merged in?


"authenticationpolicy.yaml": Internal error occurred: failed calling webhook "validation.istio.io": Post "https://istiod-asm-1118-4.istio-system.svc:443/validate?timeout=10s": service "istiod-asm-1118-4" not found.

Bug Description
I am getting that error when I try to execute
kubectl apply -f file.yaml
file.yaml is

apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
  annotations:
    role: edit
    user: oneEmail.com # replace with the email of the user from your Active Directory case sensitive
  name: user-one-Email-com-clusterrole-edit
  namespace: kubeflow # replace with the namespace/profile name that you are adding contributors to
spec:
  action: ALLOW
  rules:
  - when:
    - key: request.headers[x-goog-authenticated-user-email] # for GCP, use x-goog-authenticated-user-email instead of kubeflow-userid for authentication purpose
      values:
      - accounts.google.com:oneEmail.com # replace with the email of the user from your Active Directory case sensitive

If I execute
kubectl get validatingwebhookconfiguration
I get  one configuration related to the old Istio version. It happens on an upgraded cluster.
My question is: What should I change to fix it?  I could delete the old configuration. Problem is I installed Istio again and I am not able to replicate it (first I would like to replicate the error, then I would like to fix it)
Version
client version: 1.14.3-asm.0
control plane version: 1.14.3
data plane version: 1.14.3-asm.0 (29 proxies)

Client Version: v1.24.3
Kustomize Version: v4.5.4
Server Version: v1.21.14-gke.700

Additional Information
No response

Executing the following command was enough
kubectl delete validatingwebhookconfiguration istio-validator-asm-1118-4-istio-system


Realized I had submitted the wrong image for gradient 'changeMachineT…

…ype.png'  This one is clearer, has arrows to direct the user's attention, and actually does show a different (pre-emptible) machine selected.  Sorry about that!

Thanks!


[Feature] [Test] KubeRay vs. Kubernetes version compatibility testing

Search before asking

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

Description
As part of the KubeRay release process, we should have automated tests that validate the latest release's compatibility with several recent Kubernetes versions.
Some thoughts on implementation:

KinD or Minikube can be used for such tests.
Compatibility testing can start simple -- we'll want to simply check that we can bring up a multi-node cluster.
We may potentially be able to reuse the existing tests of Ray-KubeRay compatibility.
Testing the full compatibility Ray/KubeRay/Kubernetes compatibility matrix is overkill -- just do release KubeRay and latest Ray, against several Kubernetes versions.

Use case
More confidence in KubeRay releases.
Related issues
General compatibility discussion
https://github.com/ray-project/kuberay/issues/187
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

cc @wilsonwang371 @Jeffwan for thoughts

This is a good idea. We should test against different kubernetes version. In last release, I manually launch 1.19-1.24 which is painful and we should definitely automate the process.


Enhancement: CSS Parent Selector

I believe it's a CSS3 selector that would be useful (and appears unsupported), to select the parent of a matched element.  Are you able to confirm if this is in the roadmap and still unavailable?
example: "a < img"
purpose: to match the  element that has an  child.

Unfortunately, there is no such selector. CSS Selectors L4 has a special syntax with the :has() selector, which is what you actually look for (a:has(>img)).


Will the Corona App support local health authorities?

Local health authorities are conspicuously absent from the User Stories. Nevertheless one keeps reading in the press that the foremost reason for developing the Corona App was to support local health authorities in their laborious contact tracing efforts, reducing the necessary workload. But will the app actually be able to live up to such expectations?
In case of a positive test result local health authorities are informed about the new COVID-19 case. If that person happens to be an app user his or her recorded tokens (I am sure there is a more appropriate term, but I hope 'token' will do) can be uploaded to the central server. Since health authorities (or anyone else) by design have no way of inferring the identity of that person's contacts from the data recorded in the app and since they cannot count on each and everyone of the contacts being automatically informed by their apps (if they are using it) authorities have no choice but to initiate their conventional contact tracing procedures, laboriously identifying and contacting as many of those contacts as they can. Whether or not the infected person has been using the app does not make a difference to them at that point.
Now if the app system works as it is designed, once the infected person's tokens have been uploaded, a certain number of his or her contacts are being informed about the fact that they had an encounter a few days ago with a person who now has been tested positive for COVID-19. What are they supposed to do? They are not and cannot be told by the app who that person is (are they told when that encounter took place so they might make some guess?).
Are those users supposed or even directed to get in touch with their local heath authorities?
Even if so, unless this happens to be the same local authorities who are currently busily tracing the contacts of the person that had been tested positive plus unless they have already worked out the name of the contact who reports in as a reaction to the app notification local health authorities have no means of connecting the dots. In other words, only if they have already established the name of the person reporting in (which assumes that by chance we are dealing with the same local health authority) but have not yet had the time to phone him or her (or did not know the phone number) the message in the app will provide some reduction in the workload for the local authorities at all. However, even in that special case that reduction would probably be quite small since they would have to take their time talking to that person anyway, regardless who contacts whom.
Following the above rationale I cannot see how the Corona App would lead to an increased efficiency for local health authorities and support them in their laborious work. Again, this is not claimed at all in the user stories, but such claims have been widely voiced by other parties (sometimes inappropriately citing the example from South Korea where to my knowledge geolocation and electronic payment data are heavily being used to trace contacts), so it might be a good idea for the the documentation to clarify those aspects.

Well, what you are describing is in essence one of the disadvantages (from the perspective of the health authorities) of the decentralized system. As we are stating in our FAQ, there are advantages and disadvantages for both approaches. With a centralized approach the local health authorities could match the app alerts with the ones they already have discovered. But we all know, this centralized approach has trust and data privacy disadvantages and that's why Germany has made the decision to use the decentralized approach. As a consequence, there is also no direct user story with the involvement of the local health authorities...
However, the local health authorities will also benefit considerably from the decentralized approach (if enough device owners install and use the app) - simply by breaking and/or slowing down chains of infection. They will simply have less work to do with tracing people who might be infected if enough people avoid further contact once they have been warned by the app.
We already clarified that aspect in our FAQ where we clearly state that the app is only one component of several ones: "In addition to the decisive hygiene and behavioural rules to prevent an infection and many other measures, such as the expansion of tests or better contact tracking by health authorities, the Corona-Warn-App is therefore a further element in the fight against the Corona pandemic."
Mit freundlichen Grüßen/Best regards,
SW
Corona Warn-App Open Source Team


Accessing Route Config from within server.js file

Hi there,
I am trying to use the examples/server-side-rendering application to also account for data prefetching within the server/main.js file.
The goal is:

Extract the route from Express' res.path.
Match it against react-router-config's matchRoute()
Develop an array of promises that have loadData() functions for the matched route(s)
Once complete, set the data to the Redux Store.
renderToString renders with the store data set accordingly.

Using the example application, I get an error when server/main.js references Routes.js because of the css files associated to the components of each route:
.App {
^
SyntaxError: Unexpected token .
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Object.newLoader [as .js] (/Users/whanson/Documents/CapTech/Personal/Workspaces/loadable-components/loadable-components/examples/server-side-rendering/node_modules/pirates/lib/index.js:104:7)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/Users/whanson/Documents/CapTech/Personal/Workspaces/loadable-components/loadable-components/examples/server-side-rendering/src/client/my-app/App.js:4:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
I can see that webpack is building properly; this appears to happen when running npm run dev
Any help would be great.  Thanks!

Hello, you have to build your server-side bundle with webpack. This problem is not relative to loadable-components.


Implement a cross-platform, multi-Python test matrix

See https://github.com/nedbat/coveragepy/blob/master/.github/workflows/testsuite.yml

Finished this just today with back-propagating the boilercv implementation of scripts/Sync-Py.ps1!


vuejs empty canvas

I'm trying to get the ColorTween example to load using vuejs. All I get is an empty canvas with the background color set. No animation or shapes seem to load and I don't see any errors. Anyone have any suggestions?
<template>
    <canvas id="stage" width="550" height="400"></canvas>
</template>

<script>
  import * as PIXI from 'pixi.js' // version 4.8.6
  const animate = require('pixi-animate');
  const ct = require("./colortween/ColorTween.js");

  export default {
    data() {
      return {};
    },
    mounted(){
        var scene = new PIXI.animate.Scene(550, 400, {
                view: document.getElementById("stage"),
                backgroundColor: 0x000000,
                antialias: true
            });
        scene.load(ct.library.ColorTween);
    }
  }
</script>

I don't know that I can offer help fixing it, but you could get a little more info by adding a callback for load() - it would be helpful to know if the load thinks it is finishing, or if it is just silently waiting forever. Your browser may also be able to tell you when network requests start. It would be odd, but potentially possible that the Scene never asks to load any additional files (assuming there are additional files - I don't know what is produced when publishing that file).

Looks like the callback is going through just fine. I am starting to run out of ideas.


Roll A Dice game

It is a basic dice game which on running generates a random no. between 1 to 6

@SethiGuneet contribute here https://github.com/Ishaan28malik/Get-Dev-Resources