Support for other Products

Anyway you can add support for doorbell button, doorbell motion sensor, floodlight light, floodlight motion sensor, floodlight siren, and etc?

I added support for the new Ring Smart Lighting products in v2.0.0 this week, but do not currently have support for the cameras.  https://github.com/homespun/homebridge-platform-ring-video-doorbell#readme already has the cameras implemented for button presses and motion (but no video support).  I'm strongly considering pulling in those camera functions as well, but it's a pretty big task since they have a completely different API setup compared to the alarm and lighting.  Have you tried that other camera plugin yet?  If so, what issues did you have with it?

I’ve tried that other plugin and have never been able to get it to work well. I’ll throw more cash your way (sent a donation yesterday) if I can get the RVD and Spotlight cams in your plugin (which is my fav plugin, btw!)

On May 22, 2019, at 9:14 AM, Dusty Greif<EMAIL_ADDRESS>wrote:
I added support for the new Ring Smart Lighting products in v2.0.0 this week, but do not currently have support for the cameras. https://github.com/homespun/homebridge-platform-ring-video-doorbell#readme already has the cameras implemented for button presses and motion (but no video support). I'm strongly considering pulling in those camera functions as well, but it's a pretty big task since they have a completely different API setup compared to the alarm and lighting. Have you tried that other camera plugin yet? If so, what issues did you have with it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@jamesg311 the donations are much appreciated! I enjoy working on this plugin for my own use, but it feels awesome when the community embraces it like you have ❤.  I think the biggest hurtle with the cameras is that they don't support any obvious real-time api (at least not from the web app).  Other npm modules that interact with ring all seem to use polling to request event (~ every 5 seconds), which is not an ideal setup.  @codahq any chance you can use your magic powers to see if the apps have some sort of long polling set up to get events whenever they occur?

I added support for the new Ring Smart Lighting products in v2.0.0 this week, but do not currently have support for the cameras. https://github.com/homespun/homebridge-platform-ring-video-doorbell#readme already has the cameras implemented for button presses and motion (but no video support). I'm strongly considering pulling in those camera functions as well, but it's a pretty big task since they have a completely different API setup compared to the alarm and lighting. Have you tried that other camera plugin yet? If so, what issues did you have with it?

I have used that plugin, but the notifications aren't always there for when motion is detected, I also wouldn't mind if I could alarm the siren on my floodlight camera from HomeKit so that I don't have to go into the ring app. easier access. I don't know if that is possible but would be nice.
I have installed your plugin but just got my smart light bridge today, so I will be setting it all up soon and see how your plugin works with it.

@jamesg311 @codahq any chance you can use your magic powers to see if the apps have some sort of long polling set up to get events whenever they occur?

I don't see them polling.  I'm pretty sure none of their apps (web, win10, or smart phone) poll.  I actually asked about this in the other issue but I guess this question answers my question.  In somebody's library, I thought it was yours, I saw somebody subscribe to notifications for the cameras.  I think there is a subscribe API where you pass a URL for POST callbacks.  Figuring it out for my library is on the top of my todo list.  I'll let you know if I end up going after it.
Actually, maybe the way I saw it was installing the Windows 10 app.  That's also pretty easy to MITM.  If you feel like taking a look yourself I would try that out.  Actually, the more I think about it that is where I saw it.  What I think I found there was that the Windows 10 app passed what looked like a postback URL to the Windows app notification service.  I don't know if that subscribe end point works with other postback URLs or not.  I will try it eventually when I get some spare time.  I need to set up a server that can accept a POST first.

Ahh, I missed your edit to your message in the other issue. The callback url is news to me, I haven’t seen that in any other libraries yet. I know the npm doorbot and ring-api libraries both use polling so I assumed that was the only known approach so far. I’ll check out the windows 10 app when I get a chance. Thanks the great info! Let me know if you make any breakthroughs on your end.

@davglass said he would hand over his API
https://github.com/davglass/doorbot
Sent with GitHawk

@
Dav Glass is okay with you taking his api. He said if you take over then he will let it go

I'd prefer to start from scratch using doorbot and ring-api repos as a reference.  Neither of them are typescript, and both use older api endpoints.  The biggest hurtle is figuring out how to register for events without using polling.  Hopefully some day ring will do everything via websockets (alarm and lights already are).

@codahq I've been silently working on camera integration for the last few weeks and am making really good progress.  I did set up a MITM for the windows 10 app and was able to track down the postback url for windows app notifications.  I tried setting up a local http server and handing them an accessible URL to hit, but did not receive any notifications.  Unfortunately I think they check URL and restrict them to a whitelist of origins they expect for their apps.  See https://github.com/tchellomello/python-ring-doorbell/issues/111 for related discussion on the python ring library.  With the webhook approach off the table, I am going to resort to polling for now 😞
I was hoping to get your help on a separate issue.  Ring recently added a snapshots endpoint which can be used to grab a still image for each camera.  I'm able to fetch images just fine, but am having trouble telling Ring to capture fresh images.  If you take a look at https://github.com/tchellomello/python-ring-doorbell/blob/7ab56fcd7d0b600c4fb5f3e25e4eef974bd71d2d/ring_doorbell/doorbot.py#L375-L386 you can see how they python library is interacting with the endpoint.  It looks like a POST to clients_api/snapshots/timestamps with a json body of { "doorbot_ids": [12345677] } should request a new snapshot for that doorbot, but I get a 400 response with Incorrect JSON in body when I try to hit that endpoint.  Would you mind checking how the android app hits that endpoint?  It should make the request as soon as you open the app (it requests fresh snapshots to update the camera views on the app dashboard).  The windows 10 app and web app don't use this endpoint yet or I would track it down myself.  Thanks in advance, I really appreciate all your help!

Cameras have arrived! @d0n4v4nb3ck3r I think I have implemented everything you originally asked for.  Still working on video streaming, but everything else seems to be working well.  One note - motion alerts and ring alerts need to be turned on in the Ring app if you want to see valid info for each in HomeKit.  Unfortunately I am relying on polling right now to get the events, but polling intervals are configurable if you don't like the defaults.  Let me know how it works for you!

i just upgraded the plugin. what else do i need to do for access/setup?

@jamesg311 it should add the cameras automatically after updating and restarting homebridge.  They will show up as 3 separate devices: a motion sensor, a light (if applicable), and a siren (if applicable).  I'll be working to add live stream support, but it could take some time.  Let me know if you continue to have issues with what's in there now.

I’ve upgraded to the newest version 3.0 but don’t see the cameras in HomeKit. Is there anything else that I need to do or does any special setting need to be added to the config.json file?
Thanks for all of your work on this!

@codahq I've been silently working on camera integration for the last few weeks and am making really good progress. I did set up a MITM for the windows 10 app and was able to track down the postback url for windows app notifications. I tried setting up a local http server and handing them an accessible URL to hit, but did not receive any notifications. Unfortunately I think they check URL and restrict them to a whitelist of origins they expect for their apps. See tchellomello/python-ring-doorbell#111 for related discussion on the python ring library. With the webhook approach off the table, I am going to resort to polling for now 😞
I was hoping to get your help on a separate issue. Ring recently added a snapshots endpoint which can be used to grab a still image for each camera. I'm able to fetch images just fine, but am having trouble telling Ring to capture fresh images. If you take a look at https://github.com/tchellomello/python-ring-doorbell/blob/7ab56fcd7d0b600c4fb5f3e25e4eef974bd71d2d/ring_doorbell/doorbot.py#L375-L386 you can see how they python library is interacting with the endpoint. It looks like a POST to clients_api/snapshots/timestamps with a json body of { "doorbot_ids": [12345677] } should request a new snapshot for that doorbot, but I get a 400 response with Incorrect JSON in body when I try to hit that endpoint. Would you mind checking how the android app hits that endpoint? It should make the request as soon as you open the app (it requests fresh snapshots to update the camera views on the app dashboard). The windows 10 app and web app don't use this endpoint yet or I would track it down myself. Thanks in advance, I really appreciate all your help!

As you suspected:
POST https://api.ring.com/clients_api/snapshots/timestamps HTTP/1.1
User-Agent: android:com.ringapp:3.14.3(${build_number?})
Hardware_ID: ${uuid_hardware_id}
X-API-LANG: en
Authorization: Bearer ${big_old_token}
accept: application.vnd.api.v11+json
Content-Type: application/json; charset=UTF-8
Content-Length: ${length}
Host: api.ring.com
Connection: Keep-Alive
Accept-Encoding: gzip
Note the additional headers.  Some calls care about the headers and some don't.  The hardware ID is interestingly longer than what I remember the hardware IDs being.  I generated an old android app hardware ID by just making a 16 digit hex.  This looks like a UUID.
The payload:
{"doorbot_ids":[${cam_id_1},${cam_id_2}]}
Response is 200 with JSON payload.

@codahq thanks for looking into it for me!! I'll give the different headers a try and see if that fixes it for me.  Really appreciate your help 🏆
@cantchooseaname8 see my response to a similar question earlier in the issue: https://github.com/dgreif/ring-alarm/issues/24#issuecomment-502418621 .  You should see a motion sensor for each camera, and a light/siren if the camera is equipped with them.  Live feeds from the camera will still need a fair amount of work but I think it's possible.  Please let me know if you are at least seeing the motion sensor for cameras

Though this guy on Reddit is being deliberately vague, he claims to have figured out live video:
https://reddit.com/r/homeassistant/comments/apansc/ring_doorbell_integration_direct_rtsp_live_feed/
Thank you so much for your work on this. As soon as I get back home I'll give your plugin a try. Does this work if I simply have a doorbell and not the entire security system?

@ifeign thanks for the link.  That guy definitely seems a little out there...not sure if I believe he actually figured it out.  I've been reading through https://github.com/tchellomello/python-ring-doorbell/issues/23 and https://web.archive.org/web/20180403003637/http://www.kidder.io/2017/07/04/ring-doorbell-api/ which have some really good info on how to get an initial connection set up.  I think I'm going to focus on at least getting snapshots to work for now so that you get an updated image when your doorbell rings or there is motion.  I don't have a ton of SIP specific experience, but I work with WebRTC every day and I'm not shy around these protocols.
For your second question, you can absolutely use this plugin with just a camera.  The original focus was on the alarm, but I have expanded the api and plugin to handle all current products from Ring.  If you run into any issue, please let me know.

Wonderful, thanks again for your work on this. I've given up on official
Homekit from Ring to ever materialize. It appears that the Ring Home
Assistant component got snapshots working, not sure if that's any help to
you.
On Tue, Jun 18, 2019 at 4:04 PM Dusty Greif<EMAIL_ADDRESS>wrote:

@ifeign https://github.com/ifeign thanks for the link. That guy
definitely seems a little out there...not sure if I believe he actually
figured it out. I've been reading through
tchellomello/python-ring-doorbell#23
https://github.com/tchellomello/python-ring-doorbell/issues/23 and
https://web.archive.org/web/20180403003637/http://www.kidder.io/2017/07/04/ring-doorbell-api/
which have some really good info on how to get an initial connection set
up. I think I'm going to focus on at least getting snapshots to work for
now so that you get an updated image when your doorbell rings or there is
motion. I don't have a ton of SIP specific experience, but I work with
WebRTC every day and I'm not shy around these protocols.
For your second question, you can absolutely use this plugin with just a
camera. The original focus was on the alarm, but I have expanded the api
and plugin to handle all current products from Ring. If you run into any
issue, please let me know.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dgreif/ring-alarm/issues/24?email_source=notifications&email_token=AHWLHYFYCHYT6WU6NAKERCDP3FEUVA5CNFSM4HOVKRMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX76WJA#issuecomment-503311140,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHWLHYD37AW4YBRGS5BZFG3P3FEUVANCNFSM4HOVKRMA
.

@dgreif I got it working now. Thank you!

@dgreif How do I get the location ID so I can only have one location in HomeKit? Thanks!

@cantchooseaname8 you should see a log like Configuring ${cameras.length} cameras and ${devices.length} devices for locationId ${location.locationId} in your homebridge output when you start it.  If you only have one location, you can completely remove the locationIds option from your homebridge config.

Cameras have arrived! @d0n4v4nb3ck3r I think I have implemented everything you originally asked for. Still working on video streaming, but everything else seems to be working well. One note - motion alerts and ring alerts need to be turned on in the Ring app if you want to see valid info for each in HomeKit. Unfortunately I am relying on polling right now to get the events, but polling intervals are configurable if you don't like the defaults. Let me know how it works for you!

Thanks so much!

I noticed there's quite a delay in motion detection with the Doorbell 2. I'm assuming this is due to how you use polling. The plugin I used to use had a near-instal motion detection working. I'm no programmer or I'd say something more helpful than "check out this plugin," lol, but check it out. https://github.com/homespun/homebridge-platform-ring-video-doorbell

I am closing this, since you have implemented what I asked and since you opened a second issue for Camera Preview!! Thanks!

@d0n4v4nb3ck3r thanks for your patience while I got everything added.  The latest version supports snapshots from the cameras as well, but no live streaming video.
@ifeign Sorry to hear it seems more delayed.  I have the default polling set to 5 seconds, which seems to be the same as the plugin you linked.  Not sure what else would be causing additional delays as our implementations are very similar.  If you don't mind spewing http requests like crazy, you can set your polling delay lower, like cameraDingsPollingSeconds: 1.  Hope that helps!


RFC Backend *Range plumbing

This sets the stage for bounding metadata allocations more tightly than the whole underlying arena (on CHERI) though it does not actually do so yet.  Specifically, this series serves to get the SmallBuddyRange out of the chain taken by ordinary objects and only on the chain (at the head, in fact) for metadata objects; we can therefore have these two chains have different return values.
While it seems attractive to introduce a Range type that manages single chunks and caches the arena-bounded pointer in the PageMap on alloc and substitutes the cached version back on dealloc, I think that this is insufficient for SmallBuddyRange's needs once it begins enforcing bounds on allocations, and so I fear that SmallBuddyRange will come to directly know about the PageMap... but I haven't gotten there yet, so am not sure.

Obsolesced by #529.


make bases less blazer-like

When trying to integrate the deployment of volante with 3-node I hit a few issues. Goal was to make bases less blazer-like:

Proposal of a new AgentClusterInstall base
Fix the default for provisioning object (similar to what we do with SNO)
'local-argo' is a string

@jnunyez Need to update the overlay example after this update

@natifridman  See PR 12


Remove AnimationMixer bindings only bound in the editor

Removes bindings inside #ifdef TOOL_ENABLED that would only be bound in the editor and break the C# bindings in exported games.

Fixes https://github.com/godotengine/godot/issues/82993.

The documentation seems to already properly flag the property and signal as editor-only.

Thanks!


Feat/tour events observable

Description

Created tourEvent$ observable and step/url Map for router transitions
What's included?

tourEvent$ observable
step/url Map for tour route transitions
going back with navigation demo
changed dismissButton to voidButton and set display: none

Test Steps

[ ] npm run serve
[ ] select guided tour / examples
[ ] run going back with navigation example

General Tests for Every PR

[ ] npm run serve:prod still works.
[ ] npm run tslint passes.
[ ] npm run stylelint passes.
[ ] npm test passes and code coverage is not lower.
[ ] npm run build:lib still works.

Screenshots or link to StackBlitz/Plunker

nice!

Could you please update the API documentation too


fix(client): better contrast for code sections when selected

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #40442

When the user selects the code in the challenges, there were a huge contrast issue. The text could not be seen as the selection background color was very bright. The bug is discussed in #40442. This PR fixes the issue by adjusting the selection background color to a lighter one, which works for both light and night mode.
File changed: client/src/components/layouts/global.css
Screenshots:
Before:

After:

This is my first PR in this repo, so if you find that I wrote the title and description in wrong format, kindly forgive me.

@ahmadabdolsaheb can you take a look at this, and merge if happy?

@paulsonjpaul, Thanks for the solution.
There is a list of color variables in variables.css that we try to use as much as possible for consistency, so I tried to utilize them in this pr.
Since the additional changes affect the learn UI entirely, I encourage you to review them as well.
We should wait for a second review before we go ahead with merging this just to be safe.

Hi @nhcarrigan and @ahmadabdolsaheb for your review. Unfortunately, the issue still persists. Is it because @ahmadabdolsaheb changed the selector and color?

This code has not been deployed to production yet, and will be deployed in the upcoming weeks.

This code has not been deployed to production yet, and will be deployed in the upcoming weeks

Ok.

Are you able to reproduce the issue on you local setup?

I don't have a local setup. I have Gitpod setup.

Thanks, unless you can reproduce the issue on the master branch, (this PR's target), I recommend you to check back in a few weeks on production.
Happy contributing.


Kebab menu on list view items in My Services is not always visible

Description of problem:
In My Services, if you access the kebab menu in the first couple of rows, it is hidden under the toolbar
Screenshot:

@Loicavenel @AllenBW as discussed in our meeting 2017-Oct-26

I have a hunch this might be a pf-ang thing... i seem to remember this being a pf-ang... lower priority than the others, (unless otherwise instructed)

Move to BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1514080


Unexpected dataframe shuffle for sorted index

Following up on https://stackoverflow.com/questions/48592049/dask-dataframe-groupby-apply-efficiency/48592529 with an example.
Read data w/ a sorted index column and perform a groupby; shouldn't require a shuffle:
from uuid import uuid4
import dask.dataframe as dd
from distributed import Client
import numpy as np
import pandas as pd

N = int(1e4); n = 50
uids = sorted(str(uuid4()) for i in range(N))
df = pd.DataFrame({'uid': np.repeat(uids, n), 'x': np.random.random(N * n),
                   'y': np.random.random(N * n)})
df.sort_values(by='uid', inplace=True)
df.to_parquet('/tmp/test.parquet', compression=None)
del df

c = Client('tcp://<IP_ADDRESS>:8786')
ddf = dd.read_parquet('/tmp/test.parquet')
ddf = c.persist(ddf.set_index('uid'))
#ddf = c.persist(ddf.repartition(npartitions=100))  # no shuffle if we don't repartition
future = ddf.groupby('uid').apply(sum).compute()

Looks good! But re-running with the repartition uncommented:

Based on my reading of the docs it doesn't seem like repartition should be so problematic if my index is sorted; am I just misinterpreting or is unexpected behavior?

So first, lack of shuffling on a single partitition dataframe should be expected.  There is only one partition so everything can be done within that one pandas dataframe.
I'm going to walk through this problem narrating my thoughts.  Hopefully this helps in future debugging.
One problem here is that the first call to read_parquet doesn't seem to collect it's min/max index values, which is unfortunate (cc @martindurant):
In [12]: ddf = dd.read_parquet('/tmp/test.parquet')
In [13]: ddf.divisions  # None means unknown here
Out[13]: (None, None)

And so when we repartition we get another dataframe, also with unknown partitions
In [14]: ddf2 = ddf.repartition(npartitions=100)

In [15]: ddf2.divisions[:10]
Out[15]: (None, None, None, None, None, None, None, None, None, None)

Of course, we would still expect the eventual set_index operation to check the values for sortedness, and a quick check shows that yes, the data is sorted.
In [16]: s = ddf2.uid.compute()

In [17]: s.is_monotonic_increasing
Out[17]: True

When I call the set index operation it does appear to do the right thing, and the dataframe with the index set has only a linear amount of extra tasks (3x in this case) not quadratic or n*log(n)
In [18]: ddf3 = ddf2.set_index('uid')

In [19]: ddf3
Out[19]:
Dask DataFrame Structure:
                                            x        y
npartitions=100
0008cc68-408d-4359-876b-d24bc7bbf124  float64  float64
02f51302-785d-460d-b6f9-5038c50e7e14      ...      ...
...                                       ...      ...
fd6a1eeb-5613-40d1-9e4b-0b9fc75e8eda      ...      ...
fffa93f8-4802-4194-bc1d-76cf0372949d      ...      ...
Dask Name: sort_index, 302 tasks  # <<------- there are hundreds of tasks here, not thousands

Similarly for the groupby-apply
In [23]: ddf3.groupby('uid').apply(sum)
/home/mrocklin/Software/anaconda/bin/ipython:1: UserWarning: `meta` is not specified, inferred from partial data. Please provide `meta` if the result is unexpected.

Dask Name: _groupby_slice_apply, 402 tasks

So in short, I can't reproduce.  But hopefully by going through the process above you can identify where our paths diverge.
In [25]: c.get_versions()['client']
Out[25]:
{'host': [('python', '3.6.2.final.0'),
  ('python-bits', 64),
  ('OS', 'Linux'),
  ('OS-release', '4.13.0-26-generic'),
  ('machine', 'x86_64'),
  ('processor', 'x86_64'),
  ('byteorder', 'little'),
  ('LC_ALL', 'None'),
  ('LANG', 'en_US.UTF-8'),
  ('LOCALE', 'en_US.UTF-8')],
 'packages': {'optional': [('numpy', '1.14.0'),
   ('pandas', '0.22.0'),
   ('bokeh', '0.12.14rc1'),
   ('lz4', '0.10.1'),
   ('blosc', '1.5.1')],
  'required': [('dask', '0.16.1+42.gc736c53'),
   ('distributed', '1.20.2+60.gfd9a68c'),
   ('msgpack', '0.4.8'),
   ('cloudpickle', '0.5.2'),
   ('tornado', '4.5.2'),
   ('toolz', '0.9.0')]}}

Think I may have (partially) cracked it. I tried the steps you posted above and I see:
In [10]: ddf = dd.read_parquet('/tmp/fastparquet.parquet')
In [11]: print(ddf.divisions)
(0, 499999)

In[12]: ddf2 = ddf.repartition(npartitions=100)
In[13]: print(ddf2.divisions[:10])
(0, 4999, 9999, 14999, 19999, 24999, 29999, 34999, 39999, 44999)

In[14]: ddf3 = ddf2.set_index('uid')
In[15]: ddf3.groupby('uid').apply(sum)
Out[15]:
Dask DataFrame Structure:
                                            x        y
npartitions=100
0000ea10-7114-4f33-8559-676920266aca  float64  float64
02b24265-fe22-4cfc-aa6f-88caa0cba5d1      ...      ...
...                                       ...      ...
fd971227-cdac-4b7d-ad74-5550a230166b      ...      ...
fffa32cc-6cee-47e8-81a3-91cf873234f7      ...      ...
Dask Name: _groupby_slice_apply, 3401 tasks

Quite different from your result even though my package versions seem comparable (np==1.14, dask==0.16.1, distributed==1.20.2). But I realized I didn't specify the parquet engine in my example; this was using fastparquet so I tried again with pyarrow:
In[23]: dd.read_parquet('/tmp/pyarrow.parquet').divisions
Out[23]: (None, None)  # etc.

So I guess it's related to the storage engine? Not sure if that's expected behavior or not (also not sure if using compression would affect anything but I specified None in my example).

Generally, fastparquet does compute the max/min of every column (although you can choose not to, at least in the direct fastparquet API), and if you use a column with ordered max/min as the index on load, then you should get known divisions.
I don't know about arrow.
I would have thought that having known divisions should, if anything, reduce the number of tasks rather than increase them. Certainly compression and other encoding options will have no effect on the graph planning, only on how long one given data-loading task might take.

parquet-cpp also computes by default min/max on every column. Probably we need to add more Python interfaces to access these values but in general, the divisions "discovery" should be engine-independent code.

syntax tip
You can use ddf.persist() rather than c.persist(ddf) if desired.
Actual problem at hand
OK, I'm explicitly specifying engine='fastparquet' now in both the to_parquet and read_parquet operations.
In [12]: ddf.divisions
Out[12]: (0, 499999)
In [13]: ddf = c.persist(ddf.set_index('uid'))
In [14]: ddf.divisions
Out[14]:
('00013b78-2281-4eba-8433-1319150a2248',
 'fffc1e9a-4674-4a6f-9f18-8b62a51b87e9')

OK, so now we repartition to 100 partitions.  Typically here we would just interpolate between the existing division values.  Unfortunately, we don't have nice code to do interpolation on strings, and so we give up and resort to unknown divisions.
In [15]: ddf = c.persist(ddf.repartition(npartitions=100))  # no shuffle if we d
In [16]: ddf.divisions[:10]
Out[16]: (None, None, None, None, None, None, None, None, None, None)

Any groupby-apply on this will result in a full shuffle.

Dask Name: _groupby_slice_apply, 3400 tasks  # <<-- note thousands of tasks

Ironically we could avoid this by resetting and then re-setting the index.  This would force Dask to look at the values in the column.

Dask Name: sort_index, 400 tasks

Possible solutions for Dask

We could develop code to interpolate between string index values.  See [code here]
        try:
            divisions = np.interp(x=np.linspace(0, n - 1, npartitions + 1),
                                  xp=np.linspace(0, n - 1, n),
                                  fp=divisions).tolist()
        except (TypeError, ValueError):  # str type
            indexes = np.linspace(0, n - 1, npartitions + 1).astype(int)
            divisions = [divisions[i] for i in indexes]

We could have groupby-apply's compute sortedness on the column before returning.  This would make them semi-immediate, which is something that we avoid.  This would be helpful in this case but bad in all others

We could track index-sortedness separately from divisions.  This would mean adding an additional piece of metadata throughout all computations (I'm somewhat against this for maintenance reasons).

...


Data Quality - Missing config minValue

Affected module
UI
Describe the bug
If we have a test with minValue 0, the Config in the UI does not show the value for the minValue. Let's review the truthy check to allow for 0 as well.
To Reproduce

Real config ColumnValuesToBeBetween(minValue=0, maxValue=99)
Expected behavior
A clear and concise description of what you expected to happen.
Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8]
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Add any other context about the problem here.

Hi, Can you please assign this to me?

done! thanks @ShaileshParmar11. IDK why but until you do not comment, I cannot see you on the assignee list 🤔

I am not added as maintainer yet, thats why 😅

I am not added as maintainer yet, thats why 😅

ooh I see. Maybe @harshach could add you to the team https://github.com/orgs/open-metadata/people


TreeView pressing accuracy

The current implementation requires precise clicking on the arrow icon.

And I do not understand at what level this error)

The problem is style. Narrow button


instantsearch.routers is undefined

🐛 Bug description
I wanted to play with Algolia routing but I'm getting an error when calling instantsearch.routers.history()
algolia.js:13 Uncaught (in promise) TypeError: Cannot read property 'history' of undefined
    at algolia.js:13

Live reproduction:
https://codesandbox.io/s/svelte-forked-13ymr

In the esm build, there's no properties added to InstantSearch itself, router should be imported like this:
import { history } from "instantsearch.js/es/lib/routers";

https://codesandbox.io/s/svelte-forked-c8q96


chore(deps): remove support for node 14

node 14 LTS security patches end in 2 months, so getting ahead of this and removing the references for node 14 and see what CI things it breaks

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3818

Relevant Lines:
16917

💛  - Coveralls


feat: add ansible-doc integration feature

Description
Add feature to run the ansible-doc command in a terminal window with various options.
Add Commands:

ansible.ansbileDoc.showInfo: Run the ansible-doc command in a terminal window with various options to display information about the plugins
ansible.ansbileDoc.showSnippets: Run the ansible-doc command in a terminal window with various options to display a snippets of the plugins.

Usage

Execute :CocCommand ansible.ansbileDoc.showInfo or :CocCommand ansible.ansbileDoc.showSnippets.
Choose Plugin Type.
A list of choosed plugin types will be displayed.
Narrow down the target plugin in the fuzzy finder (CocList) and press Enter.
Results are displayed in a terminal window

"ansible.ansbileDoc.showInfo" Command
DEMO (mp4)
https://user-images.githubusercontent.com/188642/177926607-a3335a8c-7b9e-4b0d-9e88-fd5b445e846c.mp4

"ansible.ansbileDoc.showSnippets" Command
DEMO (mp4)
https://user-images.githubusercontent.com/188642/177926745-b9c882bf-ad08-432f-a256-b1d679fa3a93.mp4


Simple second swipe

I've simplified the "second swipe" implementation. It has only approx 10 lines now.
I've used https://github.com/MiczFlor/RPi-Jukebox-RFID/commit/d690d423cba561e6a7189a5f22edd386f5e7c24c as the base as the rfid_trigger_play.sh got confusing over the last commits.
Another change, which is not essential for the functionality of this "second swipe" implementation, is that the unused playlists in /tmp aren't deleted anymore (which was a quick hack when i wrote it). The last played folder is tracked in the Last_Folder_Played file now and read by resume play. This change is done to enable playlists in the future e.g. like in #126 .

Hi @zxa
thanks for the input, there must be a super simple way... I will read and try this today. Once this is solved, I think the Version 1.0 launch is near.
Quick question: why are you writing mpc out of the code? Makes it more readable to use it.
And - if you want it or not - I will later add some debugging :)

Quick question: why are you writing mpc out of the code? Makes it more readable to use it.

Do you mean the line, where i get the status:
STATE=$(echo -e "status\nclose" | nc -w 1 localhost 6600 | grep -o -P '(?<=state: ).*')
The answer is quite simple: Because i'm lazy and mpd has such a well-ordered status output so i can use that line with little modification also for the playlist length (and i used that everywhere else i wanted to know something of mpd):
PLLENGTH=$(echo -e "status\nclose" | nc -w 1 localhost 6600 | grep -o -P '(?<=playlistlength: ).*')

And - if you want it or not - I will later add some debugging :)

I can do that as well. I only wanted to enjoy the cleanliness of non-cluttered code ;-)
BTW: i get you and @Luegengladiator a beer if ever a debug log in a bug report will help to solve an issue. I doubt that will ever happen ;-)

Hi @zxa
I just installed your version and it doesn't seem to work. Not sure yet why, might need to add a lot of $debug :) (kidding).
I tested my install script and while at it had a clean install - and it all worked. So we are really only a few steps away from the launch!
But back to my troubles with your fixes for the second swipe.
When I swipe a playlist, let it play a bit and then swipe again, the playout starts again from scratch.
To be sure it's not the access rights, I added 777 and pi:www-data (you can see that in my last commit). But that doesn't seem to have an effect when I swipe.
Here is what I do, in sequence (as if created by a debug.log):

check: no lastplayed.dat
Web app: press "Resume ON" for OMP-SongsAboutTheSun

$ cat shared/audiofolders/OMP-SongsAboutTheSun/lastplayed.dat
FILENAME="filename"
TIMESTAMP="0"
PLAYSTATUS="Stopped"

So far so good. But:
$ ls -l shared/audiofolders/OMP-SongsAboutTheSun/lastplayed.dat
-rwxr-xr-x 1 root root 55 Aug 15 18:31 shared/audiofolders/OMP-SongsAboutTheSun/lastplayed.dat

should be rwxrwxrwx pi:pi

Now I swipe the OMP-SongsAboutTheSun card: Playout starts from the top.
I press stop in the web app player. Still:

$ cat shared/audiofolders/OMP-SongsAboutTheSun/lastplayed.dat
FILENAME="filename"
TIMESTAMP="0"
PLAYSTATUS="Stopped"

I press play in the list further down the web app: playlist starts from top
I swipe and now the playout stops (which is pause, I believe)
I swipe again and it continues. Still:

$ cat shared/audiofolders/OMP-SongsAboutTheSun/lastplayed.dat
FILENAME="filename"
TIMESTAMP="0"
PLAYSTATUS="Stopped"

I swpie another card: the new playlist starts
Now the lastplayed.dat shows:

$ cat shared/audiofolders/OMP-SongsAboutTheSun/lastplayed.dat
FILENAME="OMP-SongsAboutTheSun/01_Songs_About_the_Sun-MONO.mp3"
TIMESTAMP="35.085"
PLAYSTATUS="Playing"

Next: I swipe the card of OMP-SongsAboutTheSun expecting it to resume, but it only stops the old playout. cat shows the same as before, of course.
Now hold your breath: I swipe OMP-SongsAboutTheSun again and it resumes (unpause, because this was never set to "Resume ON" the card that I swiped inbetween.

Did you check your your work? I read through it and it seemed to make sense as a mental exercise. So merged and thought I will possibly do some touch up.
Phoniebox-UseCases.pdf

Hi @zxa
quick upate: i reverted to my older version and added sudo in the rfid_trigger script. So far it all works well. Before you clean the code again (which we should do after the banana code is launched) please rather test it. Thanks. Thanks for all your input anyway!

Hi @MiczFlor
Sorry for that inconvenience. That code works for me for some days on my tinkering machine and on a box i've git pulled that evening before the revert. I guess it's a problem with the access rights (which i don't have) on /settings/Latest_Folder_Played. That file got promoted from a log file to a file which is vital for resume play because i've removed the brute play list deletion.
To test that, i could do a version with the playlist deletion still in.
I don't know what the problem with GPIO is, in my eyes everything is fine as the script uses only playout_control commands. i've "designed" the resume feature in that way that you can't break it if you only use playout_control commands (the later introduced "mpc clear"  in line 329 breaks that principle).
A quick excursion about how resume_play works:
The holy cow is the mpd status "elapsed" which is the elapsed time of a played track. There are three ways to loose that value (not talking about inner playlist manipulation like next/prev which isn't relevant for resume_play):

Stop
Playlist clear
Reboot, shutdown

So in this three cases we have to call a "savepos".
On the other side, there is only one way to start a track from a elapsed position, which is obviously

Play

As all of these cases are covered in playout_control, there is (was, i've mentioned the mpc clear above) no need to call resume_play from any other script.


New Account Unusable after Backend RPC Timeout

When creating a account and setting a recover option the account becomes unusable if an RPC timeout is encountered on the backend. The account is not usable in the browser and recovery options no longer work.
Executing (default): SELECT "id", "accountId", "createdAt", "updatedAt" FROM "Accounts" AS "Account" WHERE "Account"."accountId" = 'pool.guildnet' LIMIT 1;
Executing (default): SELECT "id", "kind", "detail", "publicKey", "securityCode", "requestId", "createdAt", "updatedAt", "AccountId" FROM "RecoveryMethods" AS "RecoveryMethod" WHERE ("RecoveryMethod"."AccountId" = 19 AND ("RecoveryMethod"."kind" = 'email' AND "RecoveryMethod"."detail" =<EMAIL_ADDRESS>AND "RecoveryMethod"."securityCode" = '085108'));
Executing (default): SELECT "createdAt", "detail", "kind", "publicKey", "securityCode" FROM "RecoveryMethods" AS "RecoveryMethod" WHERE "RecoveryMethod"."AccountId" = 19;
--> POST /account/validateSecurityCodeForTempAccount 200 521ms 122b
<-- OPTIONS /account
--> OPTIONS /account 204 1ms
<-- POST /account
Error:  TypedError: [-32000] Server error: Timeout error
at JsonRpcProvider.sendJsonRpc (/home/blaze/near-contract-helper/node_modules/near-api-js/lib/providers/json-rpc-provider.js:145:27)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Account.signAndSendTransaction (/home/blaze/near-contract-helper/node_modules/near-api-js/lib/account.js:98:22)
at async /home/blaze/near-contract-helper/app.js:71:16
at async withNear (/home/blaze/near-contract-helper/middleware/near.js:98:5)
at async /home/blaze/near-contract-helper/app.js:14:9
at async cors (/home/blaze/near-contract-helper/node_modules/@koa/cors/index.js:98:16)
at async logger (/home/blaze/near-contract-helper/node_modules/koa-logger/index.js:67:7) {
type: 'UntypedError'
} {"type":"UntypedError"}

When creating a account and setting a recover option the account

Looks like you are talking about wallet. If so, you should open an issue here https://github.com/near/near-wallet

bowenwang1996 is that not this repo? ☕ 😄

This should be fixed now


Remove temporary files created by the integration test

Integration test created temporary files on cluster nodes. Remove them.
Cleanup unused containers and images from kubernetes nodes.
Added a doc for integration testing against local cluster.

@vmarmol: This PR should get rid of the disk full issue.

LGTM


fix readme.md to include 2016/06/01 with 2018/03/01 always

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-libraries-for-java

Automation for azure-sdk-for-node

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

@mcardosos I have context and loooong email thread on this one, I steal it from you :p

@lmazuel :D no problem


User can dump crash report data

This feature adds the ability for the user to dump the state of the ROV for the purpose of submitting a bug or request for help.

[x] Dumps ps aux
[x] Dumps cockpit node process loop delay
[ ] Dumps browser process loop delay Deferring
[x] Dumps free command output
[x] Dumps df command output
[x] Dumps rovConfig
[x] Dumps notification database
[x] Dumps journalctl
[x] Dumps all errors in browser console
[x] Dumps browser string
[x] Dumps ROV image version
[ ] Test on bbb. Some of the calls require linux to validate.

Whomever gets a chance, this PR is ready for review.

Fatal cockpit crash when changing a keybinding. Can probably be triggered by other actions as well.
Steps to reproduce:

Run cockpit in mock mode in VScode
Open cockpit in browser
Open Input manager
Change a keybinding and click accept.
Immediately after clicking accept the following fatal error will occur:

Probably related to file permissions, as /tmp/ belongs to root:root by default on linux.

Openned the issue about the notification.db~ not being found here: https://github.com/OpenROV/openrov-software/issues/574

pulled from master to make it easier to rest with the notification fix in place.

Good if the build breaking bugs are fixed. One request I would like to bring up is during development, I like being able to see where the console logs are being emitted using the Chrome dev tools. As it stands, this pull request eliminates that functionality because they are all being traced to logcapture.js in the debug console. Thoughts?

@nerdgilbert , I've added instructions inline to the trace line linked to in the console. You have to right click on the file logcapture.js contents and choose "blackbox" at which point it will go back to behaving as you would expect. Could not find any cleaner solution other than dropping back to just redirecting calls that use the debug.js module.  But my hope is to capture the underlying console messages from the browser framework which means intercepting calls as this feature does.


🐛 BUG: create-snowpack-app doesn't work.

Quick checklist

[X] I am using the latest version of Snowpack and all plugins.

What package manager are you using?
npm
What operating system are you using?
macOS
Describe the bug
Steps to reproduce
Initialised the project with
npx create-snowpack-app myproject --template @snowpack/app-template-react-typescript

the following commands throw Error: Not supported at NATIVE_IMPORT...

npm run start
npm run build
npm run test

What version of node are you running? I ran into what I think is the same error when running on node v12.13.0. Switching to the latest  lts v14.17.4 made the error disappear.

I encountered a similar issue. Switching from Node v12 -> v14 resolved it.

Can confirm that more recent versions of Node do not have this error. You may try updating to the latest version of Node 12, but 14+ is recommended to use now (and stable).
Though this is a bug with older versions of Node, unfortunately I’ll have to close this issue as we can’t support those at this time.

@drwpow Thanks for the update. Is there a way that we can reflect the minimum required version of Node that is supported?
I saw this in the package.json of the snowpack sub-folder:
"engines": {
    "node": ">=10.19.0"
  },

so I was expecting older versions of Node to be supported, based on those details.
Thanks!


Fixed different size of cards with cake icon and without.

Fixed this issue https://github.com/oVirt/ovirt-web-ui/issues/414
@mareklibra please review.

This change is

Please add commit message describing the issue and its fix, including link to the bug.

@mareklibra @jniederm Done.

Snippet of Vm.js:
            <div className={`card-pf-top-element ${style['card-icon']}`}>
              <Link to={`/vm/${vm.get('id')}`}>
                <VmIcon icon={icon} className={style['card-pf-icon']}
                  missingIconClassName='fa fa-birthday-cake card-pf-icon-circle' />
              </Link>

                {osName}

Why is changed style class card-icon and not style of VmIcon component itself? The OS label seems to be there unnecessarily extra.


attachment

Your work is excellent. Where can I download the attachment of your paper?

Thank you!
You can download the paper from Springer.
Or you can get the original version at ./document/paper/Meta-learning and Personalization layer in FL.pdf

Thanks, I downloaded your paper, but I didn't find the Appendix A.
------------------ 原始邮件 ------------------
发件人:                                                                                "baolongnguyenmac/fl-ml"                                                                                @.>;
发送时间: 2023年2月2日(星期四) 下午4:22
@.>;
<EMAIL_ADDRESS>主题: Re: [baolongnguyenmac/fl-ml] attachment (Issue #3)
Thank you!
You can download the paper from Springer.
Or you can get the original version at ./document/paper/Meta-learning and Personalization layer in FL.pdf
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I have just checked both the version in ./document/paper/Meta-learning and Personalization layer in FL.pdf and the final version that I submitted to the conference. Appendix A should be right there :v

Thank you! I didn't read it carefully.


⚠ ClamAV has degraded performance

In d1fcaee, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 466 ms

Resolved: ClamAV performance has improved in 8a5df62 after 11 minutes.


Implement stats API, closes #26

See #26

Please make sure all response structure fields are public. Otherwise it looks good to me.

Cherry picked Vinatorul@a87c5984672f4e06ce7bd0543a7b15b45138540b as 67d23193a77b5e167b438cedbbded7b772067749.

TODO:

[ ] use chrono::NaiveDate in Get request (date_from and date_to fields)
[ ] use chrono::NaiveDate in Period response type (day field)
[ ] reuse DemoSex and DemoAgeRange in DemoSexAgeRange type


disable multi record batch update

There can be multiple records in a RecordSet. Adds a check to block updates of these records via the batch change interface. Can be disabled via config

replacing with #677


How do I run this project, ready?

stay subscribed to https://github.com/bitpay/bitcore-wallet-service
it will be ready in the next weeks.
On Mon, Feb 16, 2015 at 7:51 PM, Anderson Juhasc<EMAIL_ADDRESS>wrote:

—
Reply to this email directly or view it on GitHub
https://github.com/isocolsky/bitcore-wallet-service/issues/32.

--
BitPay.com


[Snyk] Security upgrade org.apache.jena:jena-rdfpatch from 4.9.0-SNAPSHOT to 4.10.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

jena-fuseki2/jena-fuseki-core/pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

509/1000  Why? Has a fix available, CVSS 5.9
Improper Input Validation SNYK-JAVA-ORGAPACHECOMMONS-5901530
org.apache.jena:jena-rdfpatch:  4.9.0-SNAPSHOT -> 4.10.0
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Improper Input Validation

Checkmarx One – Scan Summary & Details – 2a1ebabf-cbb5-40fe-8458-ac982bf43bcf
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2023-36478
Maven-org.eclipse.jetty:jetty-http-10.0.15
Vulnerable Package

CVE-2023-43646
Npm-get-func-name-2.0.0
Vulnerable Package

CVE-2023-45133
<EMAIL_ADDRESS>Vulnerable Package

CVE-2023-36479
Maven-org.eclipse.jetty:jetty-servlets-10.0.15
Vulnerable Package

CVE-2023-40167
Maven-org.eclipse.jetty:jetty-http-10.0.15
Vulnerable Package

CVE-2023-42503
Maven-org.apache.commons:commons-compress-1.23.0
Vulnerable Package

CVE-2023-44270
Npm-postcss-8.4.21
Vulnerable Package


Dropdown Component Children

Whilst doing some work moving the components to Style as Config I noticed that DropdownMenu has styles for .dropdown-menu__button-text and after further investigation I wasn't sure if this is ever used;
// Story
<DropdownMenu value="Actions" type="link" caret shouldDisplay items={assets.getDropdownItems()} />

// Component
<Button types={[type]} className="btn--dropdown" clickHandler={this.toggleItems}>
  { value } { this.props.children }
  { caret && <FontAwesomeIcon name="fa-caret-down" /> }
</Button>

Does the value prop and children do the same thing? It'd be worth adding a story to show how we could use both props OR replace value with children in the story as it looks like Button will handle the rendering of children anyway.

@kyleharper so I noticed why this is the case, I had forgotten before why this component was accepting both value and children.
There is one exception scenario where we don't want the value but we want a children to render, and that is the settings dropdown in each Project Unit. That little cog icon is using the Dropdown menu, and it's also the only place not using the caret as an option.
I've refactored the component a little bit, however:

That component shouldn't be a dropdown, IMO. Maybe a Dropdown Switcher? I believe it's the only thing making this component trying to do and be too much!
Should we make a note to clean it up in the future? I don't think doing it now is a good idea (time scope) but it's worth discussing if it should become a separate pattern.

👍  to all your points. Leave this issue open so we can come back to it when one of us have some free time to fix this.

Something to note;
We could replace DropdownSwitcher with the DropdownMenu component and remove the switcher from the library with your latest edits to DropdownMenu 👍

Closed due to new Dropdown components 👍


Missing funds

I did transfer from Kucoin to a private wallet through KCC, but I am missing my funds. How can retrieve my funds, please?

I don't know how I received this message from you. I too have been everywhere asking questions and trying to find out about my transfers. I can sympathize with you on this k c c issue. I tried to transfer my Shiba Inu from kucoin to coinbase and lost all of my 35 million Shiba Inu down a black hole somewhere. And there is no one that can help or will help. If you ever find out a solution will you please let me know?
Sent from Yahoo Mail on Android
On Sun, Oct 24, 2021 at 2:25 PM, @.***> wrote:
i just transferred 64.14679225 and 33.9 through KCC to binance (ERC-20) but still haven't got my funds on binance pls help
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Message blackhathacker111 on telegram he helped me recover my 7k worth of usdt


debug cell in jupyter notebook never executes or reaches breakpoint

Issue Type: Bug
The debug cell feature has stopped working in jupyter notebooks, while still working in python scripts. I've observed this with different breakpoints in different source files.
For jupyter cells, the execution just hangs with the options to step over, step into... etc grayed out. Only options to pause, reset, and disconnect debugger are available. Upon disconnecting, nothing is output from the cell.

Additionally I've noticed that sometimes when the notebook is first opened there is no option to debug the cell. After executing the cell, the option appears.

VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:29.527Z)
OS version: Linux x64 5.13.0-30-generic snap
Restricted Mode: No
Remote OS version: Linux x64 5.4.0-97-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 2000)

GPU Status
2d_canvas: unavailable_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: disabled_offrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
1, 1, 1

Memory (System)
15.52GB (5.42GB free)

Process Argv
--no-sandbox --force-user-env --unity-launch --crash-reporter-id 09889aea-dff4-45a4-8c0b-7ecc3bf3592e

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Item
Value

Remote
Container <IP_ADDRESS>:5000/ybagdasa/pytorch1.10.0-cuda11.1-cudnn8-devel:detectron2 (ybdetectron2) @ ssh://<IP_ADDRESS>

OS
Linux x64 5.4.0-97-generic

CPUs
AMD EPYC 7302 16-Core Processor (32 x 1463)

Memory (System)
188.77GB (97.93GB free)

VM
0%

Extensions (20)

Extension
Author (truncated)
Version

jupyter-keymap
ms-
1.0.0

remote-containers
ms-
0.224.2

remote-ssh
ms-
0.74.0

remote-ssh-edit
ms-
0.74.0

remote-wsl
ms-
0.64.2

vscode-remote-extensionpack
ms-
0.21.0

preview-tiff
ana
1.0.1

gitkraken-authentication
git
1.0.3

kite
kit
0.147.0

vscode-docker
ms-
1.20.0

anaconda-extension-pack
ms-
1.0.1

python
ms-
2022.0.1814523869

vscode-pylance
ms-
2022.2.4

jupyter
ms-
2022.1.1301854968

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.6

autodocstring
njp
0.6.1

vscode-commons
red
0.0.6

vscode-yaml
red
1.4.0

pdf
tom
1.2.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30433507
vsclayoutctrc:30437038
vsrem710:30416614
dsvsc009:30440023
pythonvsnew555cf:30442237
vsbas813:30436447
vscscmwlcmt:30438805
helix:30440343
vscaac:30438847
vsnot107:30443614

May be my mistake...I will look into this further and reopen if this is not my error.

I made a mistake when testing the python script cell debugging--python script cell debugging works as expected. However the jupyter cell debugging does appear to be broken to me.

In the debugging tab, everything appears to be empty (nothing in the call stack?)

Can you check which version of ipykernel you have?
And can you set "jupyter.logging.level": "verbose" and share the log from the Jupyter output channel?

It goes in your settings, and when that's present there will be some logs telling us what happened when we tried to start debugging


Timezone information incorrect

After getting some funny javascript behaviour in my server logic I found the issue.
So apparently we got the wrong end of the stick with the ISO datetimes.
For example, Intelsat 35e reads
    "launch_date_utc": "2017-07-05T23:35:00Z",
    "launch_date_local": "2017-07-05T23:35:00-04:00",

But should read
    "launch_date_utc": "2017-07-05T23:35:00Z",
    "launch_date_local": "2017-07-05T19:35:00-04:00",

JSFiddle
So the correct format for a local time is
local_year-local_month-local_dayTlocal_hour:local_minutes:local_seconds+/-timezone_correction
and not UTCDateTime+/-timezone_correction

So it needs the timezone adjustment twice? Weird.
I'll make another pass on it and convert to the correct times. Thanks 👍

Local timezones should be correct now


Remove typeof check for Error.captureStackTrace

Coverage increased (+0.8%) to 87.692% when pulling 5541a0da0b36ab2251de70ec5f9d30fa29547a46 on octagonal:development into f0fd7a05ada53fa0880f20a00db974a41cd50cf9 on knor-el-snor:development.


Automated PyPI release using Github Actions on Github release

How would this feature be useful?

Proposing a one-stop release process that is script-based using Github Actions.  This would ensure consistency, make releases easier, and prevent user release errors.
Describe the solution you'd like

The trigger would be a Github release, which would then instigate a PyPI release.
Using this as base instructions, to be modified for our use case:
https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
@cs01, one thing we would need to automate PyPI release is a new Github Secret for repository pipx, which would be a PyPI API token.  Currently I don't have access to the Secrets settings for repo pipx, either you'd need to make a secret or make that repo setting available to pipx-maintainers.
Describe alternatives you've considered

Otherwise, manual like usual.

I agree. I do this for my other maintained projects and works great https://github.com/pypa/virtualenv/blob/main/.github/workflows/check.yml#L130😎👏

Thanks for the example.

I agree. I do this for my other maintained projects and works great https://github.com/pypa/virtualenv/blob/main/.github/workflows/check.yml#L130sunglassesclap

How do you generally add these tags? By using "Draft a new release" in the UI, or by git push'ing a tag, or something else?

The core trigger is the git tag presence. This can be achieved via both git push and draft a new release on the UI.

Is the advantage over using the "on release" trigger for Github Actions, that you can simply just tag it to get the same effect as using the web UI?  Or are there other advantages to not using "on release"?

I don't really see any advantage from on release. It means you can only release from the Github UI and not via the command-line tool, not? While using on tag allows you to do it both from the web-ui and the command line.

I noticed if a release is done via the web UI it has a “verified” attribute.

I've been trying out the github CLI and I find it very convenient.  I bet you could trigger "on release" from the command-line using it (but I'm not positive.)  It is nice with your approach that all you need to do is git tag and it counts as a release.

I noticed if a release is done via the web UI, it has a “verified” attribute.

You can always go to the release for what it's worth, edit it and press publish on the web UI later and will be still verified.

You can look at the template https://github.com/cjolowicz/cookiecutter-hypermodern-python there is a good workflow for automatically publish on PyPI or PyPI test. And there is an integration of release-drafter too. I used it for projects I maintain.


WIP - start fixing the debugger w/ selenium 3.0

OK here's where I've got so far (changes pushed):
The initial hooks work fine, but things start to fall apart after a few commands are entered by the user. This is because the empty hook in-between commands isn't getting executed properly - it's listed as blocked in the control flow, and it isn't sent to the selenium server. Then the commands can get sent all at once, causing a very unhappy selenium server.
I'm tempted to say that this just isn't working with the control flow anymore and we need to burn it and re-think how we do debugging.

I think that this incremental update is hopeless - trying a new approach at https://github.com/angular/protractor/pull/3828

Closing in favor of 3828


5.1.0 cleanup broke cache typing

in index.d.ts the cache is made up of data and maxAge,
readonly cache?: CacheStorage<CacheKeyType, {data: ReturnType; maxAge: number}>;

However, in index.js, the cache could be just the data (ReturnType).
		cache.set(key, maxAge ? {
			data: cacheItem,
			maxAge: Date.now() + maxAge
		} : cacheItem);

This will probably only effect those using TypeScript and providing a custom cache.

I think the fix is a simple change the type to
readonly cache?: CacheStorage<CacheKeyType, {data: ReturnType; maxAge: number} | ReturnType>;

I tried this locally and it seemed to work for my case, which does not make use of maxAge.

@bfred-it Maybe we should just always set an object, but make maxAge: Infinity if the maxAge option is not specified?

This can be typed correctly by someone who knows TS enough, but I guess it's not a huge deal to undo that changed.


[Question] unable to mount NFS backup

Question
I have a strange behaviour with a NFS Backup Store. I have two different kubernetes clusters. From the one I can backup volumes and list the backups on my nsf storage.
But on the other cluster backup failes and also when I try to list the backups from the Lonhorn UI I got the following error displayed:
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only nfs://foo.com:/var/backups/nfs], output Cannot create mount directory /var/lib/longhorn-backupstore-mounts/foo_com/var/backups/nfs for NFS server , stderr, time="2021-02-07T21:24:35Z" level=error msg="Cannot create mount directory /var/lib/longhorn-backupstore-mounts/foo_com/var/backups/nfs for NFS server" , error exit status 1
I tried it now for several hours but I can not figure out what is going wrong. I shut down the firewall, grant the directories with 777 but no success. I don't have the slightest idea where I could look.
What does the message above tell me? On which server is the problem? On my nfs server or on my kubernetes node?
When I try to create a backup, then the following error message is shown:
fail to backup snapshot: failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [--url <IP_ADDRESS>:10007 backup create --dest nfs://foo.com:/var/backups/nfs --label KubernetesStatus={"pvName":"pvc-360b2857-c0b1-4c61-b511-e948ff0258f3","pvStatus":"Bound","namespace":"myvolume-test","pvcName":"index","lastPVCRefAt":"","workloadsStatus":[{"podName":"imixs-office-workflow-7bffb6d598-v75lk","podStatus":"Running","workloadName":"imixs-office-workflow-7bffb6d598","workloadType":"ReplicaSet"}],"lastPodRefAt":""} 68430f1d-7de5-496a-ac34-ddaf10b3660b], output , stderr, time="2021-02-07T21:40:47Z" level=info msg="Backing up 68430f1d-7de5-496a-ac34-ddaf10b3660b on tcp://<IP_ADDRESS>:10150, to nfs://foo.com:/var/backups/nfs" time="2021-02-07T21:40:47Z" level=fatal msg="Error running create backup command: failed to create backup to nfs://foo.com:/var/backups/nfs for volume pvc-360b2857-c0b1-4c61-b511-e948ff0258f3: rpc error: code = Unknown desc = Cannot create mount directory /var/lib/longhorn-backupstore-mounts/foo_com/var/backups/nfs for NFS server" , error exit status 1
From the /etc/exports file on my NFS Server I added all the IP Adresses form my kubernetes nodes. All IPs are public IPs.
The very strange thing is, that even on the cluster on which I have the problems there are some volumes that can be backuped. But some other volumes can not.
On the cluster I have 5 nodes. Each volume has 3 replicas. It looks that volumes attached to some of my nodes having the problem, and other volumes not.
It all sounds pretty stupid, but I can't describe it any better at the moment.
I am thankful for any kind of hint.
Environment:

Longhorn version: 1.1.0
Kubernetes version: 1.19.3
Node config

OS type and version debian

Underlying Infrastructure (Baremetal):

Finally I narrowed the problem down to only one of my nodes in the cluster. And I decided to drain and remove the node. Backup on the other nodes worked fine.
We have also this discussion thread in parallel: https://forums.rancher.com/t/nfs-backup-cannot-create-mount-directory/19436/4
I think we can close this issue if you not have any thoughts about this. I am now unable to provide more information because the node is decommissioned.

The error is not on the NFS server side. It is either because of Longhorn or the cluster node.
When listing backups, one of Longhorn managers (one of the pod longhorn-manager-xxxxx) tries to create a directory (the directory /var/lib/longhorn-backupstore-mounts/foo_com/var/backups/nfs in this post) inside the its container
When taking a backup, one of Longhorn replica instance manager pod (one of the pod instance-manager-r-xxxxxxxx) tries to create a directory (the directory /var/lib/longhorn-backupstore-mounts/foo_com/var/backups/nfs in this post) inside the its container.
The error in this issue comes from this line of code , Longhorn manager/replica instance manager pods are complaining that it cannot create a directory inside its container. This is just a simple mkdir  operation. Unfortunately, we don't print out the err which explains why Longhorn cannot make the directory. So, I am not sure what is the root cause.
Can you please send us a support bundle so we can take a look at the Longhorn deployment configuration? Can you also fill out the below template so we have more info about your cluster?
Environment:

Longhorn version:
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version:

Number of management node in the cluster:
Number of worker node in the cluster:

Node config

OS type and version:
CPU per node:
Memory per node:
Disk type(e.g. SSD/NVMe):
Network bandwidth between the nodes:

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):
Number of Longhorn volumes in the cluster:

@PhanLe1010  what did you mean with a 'support bundle'? How do I generate this?

My Environment:
Longhorn version: 1.1.0
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: self hosted kubernetes - kubelet 1.19.3, Docker Version 19.3.13, Linux Kernel 4.19.0-12-amd64
    Number of management node in the cluster: 1
    Number of worker node in the cluster: 3
Node config
    OS type and version: debian
    CPU per node: 4
    Memory per node: 16Gi
    Disk type(e.g. SSD/NVMe): SSD 160Gi
    Network bandwidth between the nodes: 10 GBit
Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): http://hetzner.de    - cloud servers
Number of Longhorn volumes in the cluster: 70

We want to improve the error messages for this failure case, so that we get additional details of why the mkdir doesn't work.

Yes, this would help. The strange thing is, that the NFS backup works on some nodes in my cluster and on others not. Restarting pods seems not to help. But as long as I know which node is working, I can attach a volume to such a node and backup it. So for the moment I can help myself. But sure, it would be better to understand the root of the problem.
If I do a ssh on a pod, which I know is not working, maybe I can try some kind of command to provide you with more information? I would like to support you.
One addition background information: I have connected two clusters to the same NFS storage. This is because I use the backup feature from longhorn to move productive volumes from one cluster into another. Can this be an issue?

@rsoika
You can use Longhorn UI to generate a support bundle. The link on the bottom

in the below picture:

One addition background information: I have connected two clusters to the same NFS storage. This is because I use the backup feature from longhorn to move productive volumes from one cluster into another. Can this be an issue?

I don't think it is an issue since this is how DR volumes work across the different clusters.
@joshimoo Do you see any problem?

If I do a ssh on a pod, which I know is not working, maybe I can try some kind of command to provide you with more information?

Can you exec into the pod which you know is not working and try to mkdir -p -m 700 /var/lib/longhorn-backupstore-mounts/foo_com/var/backups/nfs to see if it is ok.

Don't see any problem with using the same longhorn backup target (nfs storage) for multiple clusters.
@rsoika If you want test you can kubectl exec into the longhorn-manager pod where the backup fails and try to run the failing mkdir command manually. edit see above suggestion by @PhanLe1010 :)

I generated a support bundle but it has a size of 67MB and I can  upload only files smaller than 10MB. The bundle contains very large log files... I deleted some of them
longhorn-support-bundle_d583a0b5-9d5f-457e-ae59-1a6152d002b6_2021-02-12T09-27-17Z (Kopie).zip

for example the csi-snapshotter.log files contain thousands of messages like this:
*v1beta1.VolumeSnapshotContent from pkg/mod/k8s.io/client-go@v0.17.0/tools/cache/reflector.go:108
2021-02-11T12:26:27.661492441Z E0211 12:26:27.661290       1 reflector.go:156] pkg/mod/k8s.io/client-go@v0.17.0/tools/cache/reflector.go:108: Failed to list *v1beta1.VolumeSnapshotContent: the server could not find the requested resource (get volumesnapshotcontents.snapshot.storage.k8s.io)

I did a ssh on the replica-manager on node worker-4 which is affected from the issue:

ls: cannot access '/var/lib/longhorn-backupstore-mounts/foo_com/var/backups/nfs': No such file or directory
root@instance-manager-r-b250cb74:/# mkdir -p -m 700 /var/lib/longhorn-backupstore-mounts/foo_com/var/backups/nfs
root@instance-manager-r-b250cb74:/#

The csi-provisioner log files are flooded with messages like this:
2021-01-25T11:34:17.284554018Z I0125 11:34:17.284256       1 leaderelection.go:247] failed to acquire lease longhorn-system/driver-longhorn-io
2021-01-25T11:34:23.209199956Z I0125 11:34:23.208919       1 leaderelection.go:352] lock is held by csi-provisioner-d444fb7c9-kd7zt and has not yet expired
2021-01-25T11:34:23.209279355Z I0125 11:34:23.208962       1 leaderelection.go:247] failed to acquire lease longhorn-system/driver-longhorn-io
2021-01-25T11:34:30.813444322Z I0125 11:34:30.813247       1 leaderelection.go:352] lock is held by csi-provisioner-d444fb7c9-kd7zt and has not yet expired

...and the csi-attacher.log files are flooded with messages like this :
2021-02-02T14:33:15.962557432Z I0202 14:33:15.962442       1 leaderelection.go:352] lock is held by csi-attacher-74db7cf6d9-ncfwt and has not yet expired
2021-02-02T14:33:15.962590833Z I0202 14:33:15.962463       1 leaderelection.go:247] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
2021-02-02T14:33:20.995401609Z I0202 14:33:20.994819       1 leaderelection.go:352] lock is held by csi-attacher-74db7cf6d9-ncfwt and has not yet expired

maybe the NFS is not the root problem...?

The leader election logs are debug logs you can ignore them as long as the mentioned pods csi-attacher-74db7cf6d9-ncfwt and csi-provisioner-d444fb7c9-kd7zt are active you should be able to see the current operations in it.
For the snapshotter you need to install the crds if you want to use csi snapshot support, more info here:
https://longhorn.io/docs/1.1.0/snapshots-and-backups/csi-snapshot-support/enable-csi-snapshot-support/

Verified with Longhorn-master - 03/29/2021
Validation - Pass
The error message is logged as below in case the var/lib/longhorn-backupstore-mounts is deleted and a file with same name is created in the longhorn-manager pods.
[longhorn-manager-bjnf7] time="2021-03-23T06:34:33Z" level=error msg="Error in request: error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-master/longhorn [backup ls --volume-only nfs://<IP_ADDRESS>:/nfs], output Cannot create mount directory /var/lib/longhorn-backupstore-mounts/3_138_138_33/nfs for NFS server: mkdir /var/lib/longhorn-backupstore-mounts: not a directory\n, stderr, time=\"2021-03-23T06:34:33Z\" level=error msg=\"Cannot create mount directory /var/lib/longhorn-backupstore-mounts/3_138_138_33/nfs for NFS server: mkdir /var/lib/longhorn-backupstore-mounts: not a directory\"\n, error exit status 1"


Allows iOS to reliably click on custom suggestions

Reference - https://github.com/alphagov/accessible-autocomplete/pull/85

Hi @danmitchell-
We're trying to understand this issue. Could you expand on what is meant by "custom suggestions"?
Thanks,
Hanna

Spoke to @danmitchell-. "Custom suggestions" refers to this: https://github.com/alphagov/govuk-country-and-territory-autocomplete#adding-additional-entries-and-synonyms
The above entry is from govuk-country-and-territory-autocomplete README and doesn't exist in the README of this repo. @danmitchell- wasn't aware of the same functionality in this repo.
I've raised a Trello ticket to investigate whether this issue is relevant to this repo or should be moved to govuk-country-and-territory-autocomplete: https://trello.com/c/cIyQC15D

The country and territory autocomplete has a lot of features that don't exist (yet) in the accessible-autocomplete. The plan was to backport them, then have the country and territory autocomplete use those features out of the accessible autocomplete.


Adding compatibility for python 3.11

Updates to make the package compatible with python 3.11

Added single-character quotechar as a default and in all config.py TABLE_CSV_PARAMS as empty quotechars are no longer supported
Added escapechar into datafile.DataFile which defaults to None as an empty escapechar is no longer supported
Updated test for datafile.py to ensure it doesn't try and test with a "" quotechar as this will always fail
Updated relevant docstrings

Note that the Pandas library changed the syntax of DataFrame.to_csv:

Changed in version 1.5.0: Previously was line_terminator, changed for consistency with read_csv and the standard library ‘csv’ module.

So this will fail tests for Pandas < 1.5.0.
I'm unsure how to approach this issue, is it possible to do different releases for lower versions of python?

Updated requirements.txt, see above

Builds fine when removing 3.7 from the workflow:
https://github.com/Fried-Squid/tatoebatools_311_fix/actions/runs/5289852133

@Fried-Squid thank you so much for taking the time to find a solution to this bug. Your PR looks good. I'll take a closer look at it this weekend.

@LBeaudoux More than happy! Been using this library for longer than I can remember, its the least I can do. Let me know if there's anything else I can help with to fix this issue.


lyxal: Watch filezipo.io

lyxal requests the watch of the watch_keyword filezipo\.io. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

filezipo\.io has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Mast in Charcoal HQ


Inconsistent terminal color (on startup)

Windows Terminal version
1.19.10573.0
Windows build number
10.0.22631.0
Other Software
> wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3296

Ubuntu 22.04.4 LTS
ZSH 5.8.1
Oh My Zsh version: master (0fed366)
ZSH_THEME="bira"

Steps to reproduce
I cannot reproduce it 100% reliably, but I do get it fairly regularly (at least once per day).
It typically happens for the first terminal I create after I boot my computer.
Expected Behavior
If I open multiple panes/tabs/windows, they should all have the same colorscheme (or render the colors the same way).
Actual Behavior
For the first terminal I create, I get colors that are slightly off. All panes/tabs/windows I create after that have correct colors:

In this example, the upper pane is the first pane and the lower pane was created later.
According to the color picker from PowerToys, these are the colors I get in the screenshot example:

Black
White
Green
Blue

Upper pane
#0c0c0c
#f0f0f0
#4be14b
#4040bd

Lower pane
#0c0c0c
#f0f0f0
#15b40c
#3b78ff

Node that there is some variation caused by aliasing, so I may have accidentally picked the wrong colors. But it's an honest attempt. 😅

Could you share your settings.json file/?

Of course! Here: settings.json

Thanks for filing! We took a look at the settings.json file and nothing stood out. Could you capture a Debug Tap of when the terminal launches with this unexpected configuration/? Be sure to hold both alt buttons when the terminal launches to get it to work.

I have so far been unable to reproduce the bug with the debug tap active. I will keep trying for a while longer, but maybe the bug does not show up with the tap active?

But it does show up relatively consistently without the debug tap? That would be.... extremely bizarre. Especially since the color values in the image don't actually look like they're coming from the color schemes, so that would seemingly suggest that there's something in your prompt that's manually emitting those colors?

Yes, it happens multiple times per day, but I have not yet figured out a way to reliably reproduce it. Mostly I think it's when I leave the computer on for a while and the screen goes dark after screen lock (e.g. during lunch). When I come back, it's very frequent that this problem occurs.
Next time I catch it, I'll try to echo a color (e.g. echo -e '\e[34m\e[1m\u25A0\e[0m') and inspect what color that is. That might give us a clue if this is the text output that goes wrong or if all colors are off. ¯\_(ツ)_/¯
I'll do my best to try and figure out the exact circumstances. Will keep you posted!

Thanks! If you don't have the rights to reopen it, let one of us know and we will!

I just had it occur again and was able to capture the output of echo '\e[34m\e[1m\u25A0\e[0m':

Upper pane: #5454ff
Lower pane: #3b78ff

The image you shared has a background color of #050505 but the settings.json you previously shared doesn't have such a color anywhere. The first screenshot you shared in the beginning has #0c0c0c which does exist in one of the themese. Couple related questions:

Did you change your settings.json since then?
Are you using an HDR display?
If you open the Settings app and go to System > Display > Color Management, do you have a display profile set up?
...and if you have a "Automatically manage color for apps" toggle there, is it turned on or off?

I think this may be a memory corruption of our color table(s).

Did you change your settings.json since then?

No.

Are you using an HDR display?

On the monitor I took the screenshot on (my external monitor): no. On my laptop: yes. And would that really matter when taking a screenshot or measuring with the color picker tool from PowerToys?

If you open the Settings app and go to System > Display > Color Management, do you have a display profile set up?

I didn't find "Color management". Is it the same as "Colour profile"? I've got a profile for my external monitor but not the built in one:

...and if you have a "Automatically manage color for apps" toggle there, is it turned on or off?

It's off for both displays.

I think this may be a memory corruption of our color table(s).

I always find the bizarre ones: 😂

And would that really matter when taking a screenshot or measuring with the color picker tool from PowerToys?

Yes, at least in my understanding. DWM composites all applications into a single surface which has a color format and space that fits the target display. Windows Terminal renders text into a BGR (reverse RGB) 8-bit surface, which DWM composites into for instance (I'm not actually sure which one specifically) RGB with 16-bit floats to later output it on a HDR display. When you take a screenshot, it'll take a copy from that DWM surface and then convert it back to 8-bit RGB.

I've got a profile for my external monitor but not the built in one:

GPUs should apply color profiles very late with a matrix or LUT transform, only when actually sending the image to the monitor. I was just wondering if it's possible that a color profile may get applied early by DWM and if so, if it may not be applied to all swap chains (= all panes/tabs). I don't think that's possible, but...
Well maybe it's indeed a memory corruption. But it'd definitely be the first and only report about it so far!


support functions with this parameters

Fixes #7
Porting over https://github.com/mmkal/ts/pull/252 - thank you @papb for creating that one.

Great, thank you for picking it up, sorry I didn't have the time to finish it.

What about this comment, though? I see you didn't add as many tests.

What about this comment, though? I see you didn't add as many tests.

I stand by my original comment, most of the assertions seemed duplicative of ones that already existed once. Having said that, I renamed test/index.test.ts to test/usage.test.ts to more strongly hint that the "main" test file is used as a hybrid test-the-core-features and document-core-feature-use-cases tests. So, I would happily accept a PR creating a new test file that has extra tests that don't affect the readme though. I think the competing concerns of readme succinctness and clarity vs individual test self-containment were the reason for us disagreeing on how many there should be, so separating into separate files should solve that problem.

Cool! Can you add a note to the contributing section about creating test files not named usage? As I understand, anything not named usage.test.ts will still run as a test but won't fill the readme, is this right?


Minor UI bug? - identify/profile tab wouldn't close

I don't know if this is already known, intended or has been answered.. Sorry if that's the case!
Steps to reproduce:

Build with meteor npm install
meteor npm start
Create a new user
Login
Open the identify tab by clicking the avatar (if it's not already open)
The identity tab will not disappear even after clicking other parts of the page or the avatar on top right..

Chrome 57.0.2987.133 incognito on Mac 10.12.3

This does not happen (anymore?) on the latest master, on Chromium on Debian.

@domi41 I am still having this issue - yesterday and today.

I had the same problem. It looks like voting on something made it go away.

I submitted a patch, please review: https://github.com/DemocracyEarth/sovereign/pull/216


Documentation fixes

A few more documentation fixes/improvements.

Once again, thank you for the doc fixes, @slozier!


Typo in functions.md 8-bit instead 16-bit

In the documentation , you can find the sentence :
Speaker
The OutputAudio message can be used to transmit 744 audio samples at a time. The samples are 8-bit and u-law encoded.
must be replaced by
The OutputAudio message can be used to transmit 744 audio samples at a time. The samples are 16-bit and u-law encoded.
Even 8-bit wave files could be played , they are not supported now. Only 16-bit,22.05 Khz or 48 Khz mono are supported now.  If these conditions are not fullfilled : an error is displayed
ValueError: Invalid audio format, only 16 bit samples are supported, with 22050Hz or 48000Hz frame rates.
In the script example audio.py , there's no error ; 16-bit is mentionned in the comment.

Thanks for the report.
The documentation is correct.
The Cozmo robot expects OutputAudio messages that contain 744 8-bit samples that contain u-law encoded audio.
The implementation of the encoding algorithm in PyCozmo takes 16-bit raw PCM samples and converts them to 8-bit u-law encoded samples, that end up in OutputAudio messages.
Today, PyCozmo can use signed, 16-bit, 22.5 kHz PCM WAVE files as input, encodes them on-the-fly and sends them to the robot.


Checklist and Testing for Unified account: Earning, Swap...

Describe the task
Checklist and Testing for Unified account: Create, Import...

[x] Account details, derived account
[x] Export account
[x] Earning
[x] Swap
[x] ...

Finished writing the checklist :

Derived account : https://www.notion.so/subwallet/BA-QC-Document-57acd6b41e544bc19be3bc50cd6be605?p=cb94bfb37cd7434099a1364880c656d0&pm=s
Export account : https://www.notion.so/subwallet/BA-QC-Document-57acd6b41e544bc19be3bc50cd6be605?p=4c2c130096b045949c526cd1febd8f05&pm=s
Earning : https://www.notion.so/subwallet/BA-QC-Document-57acd6b41e544bc19be3bc50cd6be605?p=b65f59fa1c15442aa746762a5c193fd9&pm=s
Swap : https://www.notion.so/subwallet/BA-QC-Document-57acd6b41e544bc19be3bc50cd6be605?p=d2e7d0eb5e044e81aaa19afce4435c43&pm=s

Retesting the issue :

#3727
#3728


Add perms arg as optional argument. Update readme

Adds an optional config.unison.perms option to fix potential error user's might receive.

Looks good, thanks!
(Also discussed in #7 for the record)


Change license headers to SPDX format

How to categorize this PR?
/area compliance
/area ipcei
/kind cleanup
What this PR does / why we need it:
This is the first PR of a series dealing with compliance for our Gardener repositories.
Beside other measures, we will replace copyright and license information in the header of all source code code files using the SPDX format. (https://spdx.dev/learn/handling-license-info/).
The files changed here are copied by extension repos (and others like diki, apiserver-proxy) in their tidy makefile targets. So to make those repos compliant, the copied files should already contain the correct license header.

/lgtm
/retest

@RaphaelVogel please write an /unhold comment when the PR is ready.

/unhold


Cutover to RU7 (41)

@rfontcha - Please resolve the merge conflicting files issue.

Just be resolved now


Overlay problem in IE8: getBoundingClientRect does not support width and height

https://github.com/react-bootstrap/dom-helpers/blob/master/src/query/offset.js#L21
if (node.getBoundingClientRect !== undefined)
    box = node.getBoundingClientRect();
    if ( box.width || box.height ) {
        box = {
            top:    box.top  + (win.pageYOffset || docElem.scrollTop)  - (docElem.clientTop  || 0),
            left:   box.left + (win.pageXOffset || docElem.scrollLeft) - (docElem.clientLeft || 0),
            width:  (box.width  == null ? node.offsetWidth  : box.width)  || 0,
            height: (box.height == null ? node.offsetHeight : box.height) || 0
       }
   }

"box.width || box.height"  will always be false in IE8 then the calculated offset may become NaN.

Thanks for the report, to be honest I have no idea what the check is there for it seems to be a weird addition, Feel like sending a PR to fix it?

PR: https://github.com/react-bootstrap/dom-helpers/pull/5
just remove "if ( box.width || box.height )".
if getBoundingClientRect return undefined width and height then it will be set.
I have tested in IE 8 and the box's values is correct.

+1


The compatibility of pykaldi and kaldi5.1 issues

Calculating GOP requires kaldi5.1 and the mfcc calculated by kaldi 5.1 and the latest version of kaldi
is different. So i must use kaldi 5.1 to calculate mfcc. I have tried two method:
(1)Replace the whole tools/kaldi with kaldi5.1.
(2)Only replace tools/kaldi/src/featbins/compute-mfcc-feats with compute-mfcc-feats in kaldi5.1.
But neither of these methods works. Is there any way to make pykaldi compatible with kaldi5.1, I only need the the module of calculating mfcc.
Thank you for help!

Unfortunately there is no way of making PyKaldi compatible with Kaldi 5.1.
I am surprised that MFCC features computed with the current Kaldi is substantially different from the ones computed with Kaldi 5.1. Are you sure this is the case? Did you ask about this on kaldi-help? I mean there might be small inconsequential differences between the two versions but such differences shouldn't have a significant effect on GOP calculation. By the way, if you all you need is to compute MFCC features, why don't you use compute-mfcc-feats executable directly?

The results of the MFCC in these two versions have large errors. To my surprise, the relative error of the results I calculated using the same scripts and parameters reached a staggering 30 percent!
Maybe I need to find other solutions.
Finally, thanks for your help and advice.

I am closing this issue but feel free to reopen if you think there is anything we can do to help.


Check if all malloc Is protected.

Redefine malloc function is such a way that always will return null. And test for memory leaks and crushes

There is an issue with empty command (only spaces) after executing any other command - it results in a seg fault.
Scenario:

execute /bin/ls
execute "              "
Result: segfault


Should fail with an error if object has no id, but dataIdFromObject is provided

I am using apollo-client: 0.5.10 and am generally very happy with it, but I ran into an issue today.
I use UUIDs and pass in dataIdFromObject: o => o.id to ApolloClient.
My schema is such
type Order {
    id: ID
    name: String!
    customer: Customer!
  }
type Customer {
    id: ID
    name: String!
  }

I have two components with a query attached to each.
List component -> Does not request customer id.
Detail component -> Requests customer id.
If I neglect to request the id of the customer, all is fine. Apollo identifies the customer object by it's path from the order object. If the customer id is requested, it identifies using it's id.
However, if I first load the detail view component and then the list view component, Apollo client fails with a reducerError: { }.
I realize there is no way for Apollo client to realize that the previous b1b90e60-bb7d-11e6-bfe4-c729b3627509 is the same as this '$7d2b5960-bb8b-11e6-bfe4-c729b3627509.customer, but can it throw an error to complain about the lack of an id on the customer object? It threw no errors to the console and the object wrapped with the query also had no error prop on data. The only indication was with redux devtools.

but can it throw an error to complain about the lack of an id on the customer object

Unfortunately because not all objects in your schema will have an ID, this isn't easy - we can't just error when there's no ID in general. But we have some ideas for dev tools and lint plugins that can help catch this kind of bug.

Yeah, unfortunately there's not much we can do at the moment. See also #380

Great. Thanks for your help and sorry for the trouble. #380 is far better explained and I should have researched more before opening an issue.


Add frustum query octree quaternion translation

Add frustum query octree to use quaternion and translation API

@SirVer Please, review and merge


Can't find the sub folder files in assets

[x] I have read the Getting Started section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
3.10.0

Plugin version
6.0.0-beta.24+1

Android version
didn't try

iOS version
16.4

macOS version
13.4.1 (c)

Xcode version
14.3.1

Device information:
iPhone 14 Pro Max  simulator
Description
I want to display the HTML5 game with local server mode, so put all of the html and image/js files into /assets/game/ folder, and set it to flutter assets
flutter:
   assets:
      - assets/

Expected behavior:
Should be display the html5 game result
Current behavior:
Just show the errors can't find the file in html site's subfolder, for example my html site folder as below
game/
      images/
           wu.png
      js/
         main.js
         require.js
      index.html

the error as below
flutter: Unable to load asset: "assets/game/index.html".
The asset does not exist or has empty data.

Steps to reproduce

copy all of the html files with a game folder into assets folder and set the assets folder in flutter

flutter:
   assets:
      - assets/

actually folder structure
app-project
    assets/
         game/
              images/
                  ygdbns.jpg
                  gdyx.png
              js/
                 main.js
                 require.js
             index.html

create the local server

final InAppLocalhostServer localhostServer =
    new InAppLocalhostServer(documentRoot: 'assets');

call the InAppWebView

InAppWebView(
            //initialFile: "assets/index.html",
            initialUrlRequest: URLRequest(
                url: WebUri("http://localhost:8080/game/index.html")),
            onWebViewCreated: (controller) {},
            onLoadStart: (controller, url) {},
            onLoadStop: (controller, url) {},
          ),

show the error
flutter: Unable to load asset: "assets/game/index.html".
The asset does not exist or has empty data.

and I updated the flutter assets setting as below
flutter:
   assets:
      - assets/game/

and show the error
flutter: Unable to load asset: "assets/game/js/require.js".
The asset does not exist or has empty data.
flutter: Unable to load asset: "assets/game/js/main.js".
The asset does not exist or has empty data.

and I updated the flutter assets settings again
  assets:
    - assets/game/
    - assets/game/js/

and show the error
flutter: Unable to load asset: "assets/game/images/ygdbns.jpg".
The asset does not exist or has empty data.
flutter: Unable to load asset: "assets/game/images/gdyx.png".
The asset does not exist or has empty data.

in the end, I updated the settings again and include all subfolders
  assets:
    - assets/game/
    - assets/game/js/
    - assets/game/images/

and this time was working very well!
but my question is if there are many subfolders and many levels in the html site, should I need to add all of them into assets settings? I think that does not make sense and is difficult to do, so any ideas can fix it?
Thanks a lot!

no one can help?

Any luck @winsonet for this issue? I am facing same issue in iOS.

Any luck @winsonet for this issue? I am facing same issue in iOS.

I am still not solving the issue and no one responded to that :(