Expose VSAN storage policy attributes for storage volume provisioning in Kuberntes.

This is a new feature request. Using this feature the user will be able to provide VSAN capabilities as part of storage class.
kind: StorageClass
apiVersion: storage.k8s.io/v1beta1
metadata:
  name: slow
provisioner: kubernetes.io/vsphere-volume
parameters:
  hostFailuresToTolerate: 2
  proportionalCapacity:1

Based on the user specified attributes, we will try to create a new volume (vmdk) with the configured VSAN policy. Below is the list of VSAN policy attributes that we have identified
which can be exposed to the user.

hostFailuresToTolerate
cacheReservation
diskStripes
failureToleranceMethod
objectSpaceReservation
iopsLimit
forceProvisioning

Tasks

[x] Validate the user provided input.

[x] Verify if the underlying datastore is a VSAN datastore

[x] Create a vmdk with the user configured policy if 1 and 2 are true.

[x] Retrieve the new VM disk path for the disk created - New util function

[ ] Make sure the disk is also created for non-VSAN testbeds. Create disk logic is completely changes.

[ ] Testing

[ ] Documentation

Test cases:

Validation of VSAN capabilities.

hostFailuresToTolerate : Minimum 1 and Max 3. Should be integer.
forceProvisioning: Should be either 0 or 1 . Should be integer.
cacheReservation: Expressed in percentage. Should be between 0 and 100. Should be integer.
stripeWidth: Minimum is 1 and Maximum is 12. Should be integer.
proportionalCapacity: Expressed in percentage. Should be between 0 and 100. Should be integer.
iopsLimit: Should be greater than 0. Should be integer.

Try giving valid values. Make sure the disk is created with policy configured with it.

Ex: Using hostFailuresToTolerate=1 and cacheReservation=12

The PR is merged - https://github.com/kubernetes/kubernetes/issues/34493


updated DDM to reflect tuple output

I have revised the code to align with the standardized coding conventions of the SequentialSamplingModel interface.

Codecov Report
Patch coverage has no change and project coverage change: -0.70 :warning:

Comparison is base (8dca685) 54.51% compared to head (1aee66f) 53.81%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
- Coverage   54.51%   53.81%   -0.70%
==========================================
  Files          10       10
  Lines         543      550       +7
==========================================
  Hits          296      296
- Misses        247      254       +7

Impacted Files
Coverage Δ

src/DDM.jl
0.00% <0.00%> (ø)

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

@kiante-fernandez, thanks for the PR!
I thought I had responded, but it looks like I forgot to hit "comment".
Anyways, I think the PR looks good for the most part. I am requesting to minor changes. First, can you please index the choices as 1 and 2 to be consistent with the other models? Second, could you provide information concerning the parameterization of the DDM in the doc strings? For example, what is the value of diffusion noise (typically it is 0.10 or 1.0), and how are the boundaries defined. I assumed 0 and alpha, but I cannot rule out -alpha and alpha. This will help users interpret the starting point. If you have any recommendations for default values in the constructor, that would be appreciated. I was thinking DDM(1.0, .5, .30, .25) but there might be better options.
Once those changes are finalized, I will add some tests and release a new version.

I have made those changes @itsdfish . I have added information about the specifics of the parameterizations and started the doc file as well. Note I saw a citation error in LCA so I just filled that in.

Thanks for fixing the citation error and your attention to detail in the DDM docs. It looks great!


Codelabs: Formatting Issue on Mobile Device

URL of codelab
Any codelab page.  Needs to be on mobile device.
Example: https://developer.android.com/codelabs/basic-android-kotlin-training-change-app-theme?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-2-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-change-app-theme#2
Describe the problem
This isn't specific to any single codelab; it applies to all of them.
When viewing using Chrome 86.0.4240.185 on my Pixel 2, the "Next" and "Back" buttons are cut off almost entirely.  It's as if the android bar with the triangle (back), circle (home), and square (recent apps) is not accounted for and it overlays on top of the "Back" and "Next" buttons in codelab.  See screenshot attachment.
I am viewing using the mobile view.  If I select "Use desktop view" in Chrome, the buttons are not visible at all.
Steps to reproduce?

Navigate to a codelab page (i.e. the actual module with the steps on the left side) in Chrome on a Pixel 2 (suspect any mobile device will work).

Versions
Chrome 86.0.4240.185
Pixel 2
Additional information
See screenshots

Thank you so much for flagging this issue - we have reported it to the appropriate team for their attention.


Question: What is the right way to initiate a cron job once at boot and then on the cron schedule?

I have several cron jobs.  Because I'm currently locked to Heroku, there are times when I'm not in control of when my application is running or gets restarted. To that end, in the case of missing the window for a daily / periodic Cron execution, I use a Rails.application.after_initialization block to run these jobs once at SolidQueue boot.
Is this the right way / Is there a better way?
Thanks in advance.

Hmm... I never had this need so I'm not completely sure, but that sounds right to me. Maybe this could be a future enhancement: on start, check if the last run of every recurring task happened, and if not, enqueue one 🤔  Though it'd be a little brittle, depending on how often restarts happen and your preservation period for finished jobs.

Found this issue searching for first_in replacement
While migrating from Sidekiq + Sidekiq-Scheduler (https://github.com/sidekiq-scheduler/sidekiq-scheduler)
I was using smth like
# sidekiq.yml

do_the_job:
      class: MyJob
      every: ["30s", first_in: "0s"]
      args: ["one"]
      queue: default

so it runs every 30s and starts immediately after the app start, maybe SolidQueue's recurring.yml grammar can be extended to smth like this
  do_the_job:
      class: MyJob
      queue: default
      schedule: every 30s
      first_run_in: 0s

ans accept values supported by Fugit::Duration https://github.com/floraison/fugit?tab=readme-ov-file#fugitduration  ?


Feature request: Make "Go to Bracket" work with selections

VSCode Version: Version 1.8.1 (1.8.1)
OS Version: OS X 10.11.4 (15E65)

With some code like this:
{
   blah
}

Move the cursor after the closing brace.
Hit cmd+shift+\ to bounce to the matching open brace.
Now select the closing brace.
Hitting cmd+shift+\ does nothing.

It should select the braces and everything in between them. I use this in vim (with v%) all the time to copy/paste code blocks.

Also, the binding for jumpToBracket should not use Shift, so that holding Shift will implement jumpToBracketSelect or similar.

Dup of https://github.com/Microsoft/vscode/issues/9768, let's track it there. It's on our deck now.


Only generate onchain address if it needs to be displayed

Limiting the amount of onchain addresses generated would help with database management.

I think the way this could work is that the onchain address could be generated only if the user swipe right on the receive screen and tap "generate a onchain address" button.
there is probably no need to change the backend for this.

On the receive bitcoin screen currently has 2 navigation i.e share lightning invoice and share bitcoin address you suggesting a third one with generate onchain address button @nicolasburtey

This issue was fixed in #250.  There is now a button displayed to give the user the option to generate an unchain address.


Roll Engine from 7e962ba91133 to 5de5bc7d63f8 (5 revisions)

https://github.com/flutter/engine/compare/7e962ba91133...5de5bc7d63f8
2020-09-15<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from zKQw_oHsx... to -iBBiPj1C... (flutter/engine#21171)
2020-09-15<EMAIL_ADDRESS>Roll Skia from 37fd658981dd to 2bc4077c9e42 (4 revisions) (flutter/engine#21170)
2020-09-15<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from arL8NjPHW... to 8q8xxvY60... (flutter/engine#21169)
2020-09-15<EMAIL_ADDRESS>Roll Skia from 6253b5787df8 to 37fd658981dd (1 revision) (flutter/engine#21162)
2020-09-15<EMAIL_ADDRESS>Force builders to run. (flutter/engine#21167)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from zKQw_oHsxf_- to -iBBiPj1CeUA
fuchsia/sdk/core/mac-amd64 from arL8NjPHWZZH to 8q8xxvY60Jci
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


To() syntax must have positive inputs

Closes: https://github.com/quantified-uncertainty/squiggle/issues/1095

We should change the documentation later, but I'm reluctant to do until the new docs are merged.


Java codegen - generates class name Void.java

Spring REST controller returns void for DELETE operation.
@ApiOperation(value = "Delete a contact")
@RequestMapping(value = "/contact/{contactId}", method = RequestMethod.DELETE)
@ResponseStatus(value = HttpStatus.NO_CONTENT)
public @ResponseBody void delete(@PathVariable String contactId) {
    contactService.delete(contactId);
}

Using swagger springmvc for generating the swagger spec 1.2.
The spec contains a Void model for some reason and inturn generates a Void.java. How can we avoid this.
{
"apiVersion": "1.0",
"swaggerVersion": "1.2",
"basePath": "/",
"resourcePath": "/contact",
"produces": [
"/"
],
"consumes": [
"application/json"
],
"apis": [
{
"path": "/contact/{contactId}",
"description": "delete",
"operations": [
{
"method": "DELETE",
"summary": "Delete a contact",
"notes": "delete",
"nickname": "delete",
"produces": [
"/"
],
"consumes": [
"application/json"
],
"parameters": [
{
"allowMultiple": false,
"defaultValue": "",
"description": "contactId",
"name": "contactId",
"paramType": "path",
"type": "string",
"required": true
}
],
"responseMessages": [
{
"code": 204,
"message": "No Content"
},
{
"code": 401,
"message": "Unauthorized"
},
{
"code": 403,
"message": "Forbidden"
}
],
"deprecated": "false",
"type": "void"
}
]
}
],
"models": {
"Void": {
"description": "",
"id": "Void",
"properties": {}
}
}
}

@rajeshkamal This is a bug in 1.0.0 however its fixed in the 2.0 work we've been doing

Closing this issue as its been fixed in 2.0

Thanks @dilipkrish . Can you let me know on how to get the fix for this. ? branch ?
Also I have a doubt, the current swagger-springmvc integration produces spec 1.2. So the new 2.0 milestone which you were referring to will also produce the same 1.2 spec or 2.0.
If it is 2.0 then, how much will it affect the code generation. Is the generated code from a 1.2 spec is backward compatible with the 2.0 spec. ?

@dilipkrish I am also suffering from this issue and anxiously awaiting 2.0.0.  Any idea when we will be able to get access to the 2.0.0 version? Also, are there any workarounds in the time being?

@rkaltreider/ @rajeshkamal I'll push out a build of 1.0.2 with this and a couple of other fixes some time today. This is most likely the last patch release in the 1.x version. Over the weekend we'll probably bring 2.0.x branch to master /c @adrianbk

@dilipkrish looking forward to it.  For the time being I updated all of my controller methods to return an object.  Currently all road blocks are cleared, so please don't feel rushed.  Thanks again!

@rkaltreider 1.0.2 is pushed to sonatype, so it should be a few hours before it propogates. Rather than change the operations to return object, add the Void.class and Void.TYPE to the ignorables. see the commit above.


Admission control exposes subresource

Changes

Allow admission control to differentiate "pods" from "pods/status" by providing resource and subresource to admission control.
Allow LimitRanger to ignore calls to "pods/status".
Allow ResourceQuota to ignore calls to "pods/status"

Fixes #8868
Fixes #9878
/cc @bgrant0607 @deads2k @smarterclayton

This is a prereq to fixing https://github.com/GoogleCloudPlatform/kubernetes/issues/9878
Which I am now working on in a follow-on PR.

Edit: I will use this PR to fix the plug-in as well.  Will Poke when Ready.

This should be ready for review.

I was expecting to see edits to more admission controllers, since most don't want to operate on subresource modifications.

@deads2k - I want to get the bare minimum in this PR that was causing known issues, I will look at the others in a follow-on sweep.

Looking at how the the code reads, a matches utility of some sort might be nice.  pods and pods/status are different, but if people only think to check GetResource, the results won't be what they expect.  I'm not sure what it would look like, but seeing it now I'm glad that openshift combines the two into a single field for user entry/intent purposes.

@deads2k - I was thinking about adding support for a match utility in a manner similar to what was done for how you can express what operations you want to support.  I think it would help focus the logic in the individual Admit methods.  I added that to my list of TODOs.  Right now, I have two changes in queue for admission control (that will have merge conflicts), and would like to see those incremental changes go in before making that larger change.

@derekwaynecarr Open an issue for the matching and this lgtm.

@deads2k see #10112

LGTM

@k8s-bot retest this please


Analytics is stop working after clear some disk space from cache

I am using an AWS Ubuntu 22.04.1 server, The disk space was full so to delete the cache using the following commands:
docker exec -it cvat_server bash -c 'rm -r data/*/*/export_cache/'
docker exec -it cvat_server bash -c 'rm -r data/cache/'
After this, I am unable to get any data in analytics, As shown in the screenshot

Please help

Docker version docker version 20.10.23:
Operating System and version (Linux Ubuntu 22.04.1):
Other diagnostic information / logs:
Logs from `docker exec -it cvat_server bash`
[2023-08-21 05:12:57,296] WARNING django.request: Unauthorized: /analytics

[2023-08-21 05:13:12,308] WARNING django.request: Unauthorized: /analytics
[2023-08-21 05:13:26,928] WARNING django.request: Unauthorized: /analytics
[2023-08-21 07:19:35,074] WARNING django.request: Not Found: /api/user-agreements
[2023-08-21 07:19:35,462] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 07:19:38,266] ERROR django.request: Internal Server Error: /api/jobs/131/preview
Traceback (most recent call last):
File "/opt/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/opt/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/venv/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/venv/lib/python3.8/site-packages/rest_framework/viewsets.py", line 125, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
File "/home/django/cvat/apps/engine/views.py", line 1790, in preview
return data_getter(request, self._object.segment.start_frame,
File "/home/django/cvat/apps/engine/views.py", line 692, in call
buf, mime = cache.get_local_preview_with_mime(self.number, db_data)
File "/home/django/cvat/apps/engine/cache.py", line 50, in get_local_preview_with_mime
item = self._get_or_set_cache_item(
File "/home/django/cvat/apps/engine/cache.py", line 36, in _get_or_set_cache_item
item = create_function()
File "/home/django/cvat/apps/engine/cache.py", line 52, in
create_function=lambda: self._prepare_local_preview(frame_number, db_data),
File "/home/django/cvat/apps/engine/cache.py", line 150, in _prepare_local_preview
buff, mime_type = frame_provider.get_preview(frame_number)
File "/home/django/cvat/apps/engine/frame_provider.py", line 176, in get_preview
preview, _ = self.get_frame(frame_number, self.Quality.COMPRESSED, self.Type.PIL)
File "/home/django/cvat/apps/engine/frame_provider.py", line 196, in get_frame
chunk_reader = loader.load(chunk_number)
File "/home/django/cvat/apps/engine/frame_provider.py", line 86, in load
self.reader_class([self.get_chunk_path(chunk_id, self.quality, self.db_data)[0]]))
File "/home/django/cvat/apps/engine/cache.py", line 42, in get_buf_chunk_with_mime
item = self._get_or_set_cache_item(
File "/home/django/cvat/apps/engine/cache.py", line 36, in _get_or_set_cache_item
item = create_function()
File "/home/django/cvat/apps/engine/cache.py", line 44, in
create_function=lambda: self._prepare_chunk_buff(db_data, quality, chunk_number),
File "/home/django/cvat/apps/engine/cache.py", line 121, in _prepare_chunk_buff
cloud_storage_instance = get_cloud_storage_instance(cloud_provider=db_cloud_storage.provider_type, **details)
File "/home/django/cvat/apps/engine/cloud_provider.py", line 171, in get_cloud_storage_instance
instance = AWS_S3(
File "/home/django/cvat/apps/engine/cloud_provider.py", line 226, in init
self._s3 = boto3.resource(
File "/opt/venv/lib/python3.8/site-packages/boto3/init.py", line 102, in resource
return _get_default_session().resource(*args, **kwargs)
File "/opt/venv/lib/python3.8/site-packages/boto3/session.py", line 384, in resource
client = self.client(
File "/opt/venv/lib/python3.8/site-packages/boto3/session.py", line 258, in client
return self._session.create_client(
File "/opt/venv/lib/python3.8/site-packages/botocore/session.py", line 840, in create_client
endpoint_resolver = self._get_internal_component('endpoint_resolver')
File "/opt/venv/lib/python3.8/site-packages/botocore/session.py", line 713, in _get_internal_component
return self._internal_components.get_component(name)
File "/opt/venv/lib/python3.8/site-packages/botocore/session.py", line 941, in get_component
del self._deferred[name]
KeyError: 'endpoint_resolver'
[2023-08-21 07:19:38,266] ERROR django.request: Internal Server Error: /api/jobs/141/preview
Traceback (most recent call last):
File "/opt/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/opt/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/venv/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/venv/lib/python3.8/site-packages/rest_framework/viewsets.py", line 125, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
File "/home/django/cvat/apps/engine/views.py", line 1790, in preview
return data_getter(request, self._object.segment.start_frame,
File "/home/django/cvat/apps/engine/views.py", line 692, in call
buf, mime = cache.get_local_preview_with_mime(self.number, db_data)
File "/home/django/cvat/apps/engine/cache.py", line 50, in get_local_preview_with_mime
item = self._get_or_set_cache_item(
File "/home/django/cvat/apps/engine/cache.py", line 36, in _get_or_set_cache_item
item = create_function()
File "/home/django/cvat/apps/engine/cache.py", line 52, in
create_function=lambda: self._prepare_local_preview(frame_number, db_data),
File "/home/django/cvat/apps/engine/cache.py", line 150, in _prepare_local_preview
buff, mime_type = frame_provider.get_preview(frame_number)
File "/home/django/cvat/apps/engine/frame_provider.py", line 176, in get_preview
preview, _ = self.get_frame(frame_number, self.Quality.COMPRESSED, self.Type.PIL)
File "/home/django/cvat/apps/engine/frame_provider.py", line 196, in get_frame
chunk_reader = loader.load(chunk_number)
File "/home/django/cvat/apps/engine/frame_provider.py", line 86, in load
self.reader_class([self.get_chunk_path(chunk_id, self.quality, self.db_data)[0]]))
File "/home/django/cvat/apps/engine/cache.py", line 42, in get_buf_chunk_with_mime
item = self._get_or_set_cache_item(
File "/home/django/cvat/apps/engine/cache.py", line 36, in _get_or_set_cache_item
item = create_function()
File "/home/django/cvat/apps/engine/cache.py", line 44, in
create_function=lambda: self._prepare_chunk_buff(db_data, quality, chunk_number),
File "/home/django/cvat/apps/engine/cache.py", line 121, in _prepare_chunk_buff
cloud_storage_instance = get_cloud_storage_instance(cloud_provider=db_cloud_storage.provider_type, **details)
File "/home/django/cvat/apps/engine/cloud_provider.py", line 171, in get_cloud_storage_instance
instance = AWS_S3(
File "/home/django/cvat/apps/engine/cloud_provider.py", line 226, in init
self._s3 = boto3.resource(
File "/opt/venv/lib/python3.8/site-packages/boto3/init.py", line 102, in resource
return _get_default_session().resource(*args, **kwargs)
File "/opt/venv/lib/python3.8/site-packages/boto3/session.py", line 384, in resource
client = self.client(
File "/opt/venv/lib/python3.8/site-packages/boto3/session.py", line 258, in client
return self._session.create_client(
File "/opt/venv/lib/python3.8/site-packages/botocore/session.py", line 840, in create_client
endpoint_resolver = self._get_internal_component('endpoint_resolver')
File "/opt/venv/lib/python3.8/site-packages/botocore/session.py", line 713, in _get_internal_component
return self._internal_components.get_component(name)
File "/opt/venv/lib/python3.8/site-packages/botocore/session.py", line 941, in get_component
del self._deferred[name]
KeyError: 'endpoint_resolver'
[2023-08-21 07:57:55,669] WARNING django.request: Not Found: /api/user-agreements
[2023-08-21 07:57:58,004] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 08:34:47,055] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 08:34:47,244] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 08:34:47,781] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 09:06:06,217] WARNING django.request: Not Found: /api/user-agreements
[2023-08-21 09:06:06,815] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 09:06:13,550] INFO cvat.server.task_55: get repository request
[2023-08-21 09:06:19,847] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 09:06:24,408] INFO cvat.server.task_57: get repository request
[2023-08-21 09:06:28,399] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 09:06:35,266] INFO cvat.server.task_54: get repository request
[2023-08-21 09:06:41,226] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 09:07:39,127] INFO cvat.server.task_52: get repository request
[2023-08-21 09:07:43,562] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 09:07:46,131] INFO cvat.server.task_59: get repository request
[2023-08-21 09:08:02,199] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 09:09:35,563] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 10:14:50,609] WARNING django.request: Not Found: /api/user-agreements
[2023-08-21 10:14:50,927] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 11:16:14,609] WARNING django.request: Not Found: /api/user-agreements
[2023-08-21 14:04:22,798] WARNING django.request: Not Found: /api/user-agreements
[2023-08-21 14:04:23,275] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 14:40:46,124] WARNING django.request: Not Found: /api/user-agreements
[2023-08-21 14:40:46,357] WARNING django.request: Forbidden: /api/jobs/58
[2023-08-21 15:39:16,353] WARNING django.request: Not Found: /api/user-agreements
[2023-08-21 16:18:12,746] WARNING django.request: Not Found: /api/user-agreements
[2023-08-21 16:20:58,656] WARNING django.request: Not Found: /api/user-agreements
[2023-08-21 16:32:15,486] WARNING django.request: Not Found: /api/user-agreements
[2023-08-21 16:32:16,166] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 16:32:26,945] INFO cvat.server.task_59: get repository request
[2023-08-21 16:32:33,692] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 16:32:41,257] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 16:32:45,275] INFO cvat.server.task_59: get repository request
[2023-08-21 16:33:03,502] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-21 17:29:35,421] WARNING django.request: Not Found: /api/user-agreements
[2023-08-21 17:33:23,784] WARNING django.request: Not Found: /api/user-agreements
[2023-08-22 01:40:16,317] WARNING django.request: Not Found: /api/user-agreements
[2023-08-22 03:35:43,996] WARNING django.request: Not Found: /api/user-agreements
[2023-08-22 03:36:35,936] WARNING django.request: Not Found: /api/user-agreements
[2023-08-22 03:37:14,246] WARNING django.request: Not Found: /api/user-agreements
[2023-08-22 05:33:32,147] WARNING django.request: Not Found: /api/user-agreements
[2023-08-22 05:33:35,182] WARNING django.request: Forbidden: /api/lambda/requests
[2023-08-22 05:43:03,470] WARNING django.request: Not Found: /api/user-agreements

[2023-08-21 05:13:12,308] WARNING django.request: Unauthorized: /analytics

Try to logout/login. If does not help, try to open in private browser tab.

[2023-08-21 05:13:12,308] WARNING django.request: Unauthorized: /analytics

Try to logout/login. If does not help, try to open in private browser tab.

Just tried in the Incognito window, Unable to get any data in the kibana dashboard

Still facing the same issue

Unfortunately, we can't help somehow.
Version you are using is outdated, we upgraded analytics several releases ago. And this is really not clear how to reproduce (I do not think removing volumes is a reason).


Fix: chunkenc.MockSeriesIterator

Starts its index from 0 , but users call Next() before first sample so it needs to start from -1

Looks like the only place this is used is in alerting_test.go - maybe all the code should be in there too?
We have mockSampleIterator in querier_test.go which seems very similar.
And histogramIterator in histogram_stats_iterator_test.go.

Looks like the only place this is used is in alerting_test.go - maybe all the code should be in there too?
We have mockSampleIterator in querier_test.go which seems very similar. And histogramIterator in histogram_stats_iterator_test.go.

I didn't want to reinvent it, so I'm using it in Mimir. Would be nice to keep it. Unless there's an alternative


New PR to test SignCLA at 2018-05-10 13:59:14.964783347 -0700 PDT m=+6.717675718

Body of PR

indiv-pass-fork-staging: test succeeded


Add support to launch browser on windows and linux

Currently just mac and android (via adb) is supported

Not sure about Linux but it works on Windows.


Can't pickle <function Session.post at 0x000002388BEE63A0>

I am running into an issue when I am trying to cache an object in the session. Specifically, I'm trying to do the following:
def get_cca():
    cca = session.get("cca")
    if not cca:
        cca = _build_new_cca()
        session["cca"] = cca

    return cca

def _build_new_cca():
    cca = msal.ConfidentialClientApplication(
        os.environ.get("CLIENT_ID"),
        authority=f"https://login.microsoftonline.com/{os.environ.get('TENANT')}",
        client_credential=os.environ.get("CLIENT_SECRET"),
        token_cache=msal.SerializableTokenCache(),
    )
    return cca

In a different function I retrieve the object from the session, use/modify it, and store it in the session again.
I get the following errors in my log:
2023-06-25 14:33:32,467 - root:WARNING - An exception has been raised during a pickling operation: Can't pickle <function Session.post at 0x000002388BEA73A0>: it's not the same object as requests.sessions.Session.post
2023-06-25 14:33:32,471 - werkzeug:INFO - <IP_ADDRESS> - - [25/Jun/2023 14:33:32] "GET /login HTTP/1.1" 302 -
2023-06-25 14:33:32,811 - root:WARNING - Exception raised while handling cache file 'C:\Users\...\flask_session\f122c225eb3dc4d2e0866797d20ce736'
Traceback (most recent call last):
  File "C:\Users\...\venv\lib\site-packages\cachelib\file.py", line 210, in get
    return self.serializer.load(f)
  File "C:\Users\...\venv\lib\site-packages\cachelib\serializers.py", line 29, in load
    data = pickle.load(f)
EOFError: Ran out of input
2023-06-25 14:33:32,983 - root:WARNING - An exception has been raised during a pickling operation: Can't pickle <function Session.post at 0x000002388BEE63A0>: it's not the same object as requests.sessions.Session.post

I have not touched Session or requests.sessions.Session so I'm not sure what has happened to cause this.  Do you have any idea?

msal's ConfidentialClientApplication is not something that belongs in a session... I'm not surprised that pickling this fails.

Creating it on demand is not desirable, as it does perform network requests during instantiation. Creating it once is also not possible in a model with multiple workers. Hence my attempt to cache it in a server-side session. However, it seems the issue is not due to flask-session, as pickling the class in isolation fails as well. Therefore, consider this closed.


Suggestion: right-click popup should not be this library's concern

Right now when the user right-clicks on the graph editor, the "add new node" popup appears. I think this is something that should be done in application code, instead of library code. I can see a few situations in which a programmer would want to have a specific context menu:
1- When clicking on a node, I might want a menu that allows me to delete, rename, or clone it, or do other fancy stuff.
2- When clicking on the background, I might want a menu that changes depending on the application state. i.e: I can start or stop an animation by having the animation controls in the popup menu, and what the controls show would change every frame.
To achieve this, the library should simply return a "right click event" and let the programmer decide what to do with it. Ofc we should add an example on how to use that event.
I will toy with the code today and see if I can achieve something.

I think separating that from the core is reasonable reasonable :+1:
But I'm also thinking we still want to be "batteries included" to some extent. I think a good compromise here would be to provide things like this as opt-in. The menu right now is a bit bare-bones, but I'm planning to keep improving it with a smarter search, categories and other features that may be appealing to other users, and are not so trivial to reimplement on each user's code.

Maybe we can provide a "util" or "extras" namespace for all the batteries that we might want to include. I will keep this in mind when tinkering around.

Hey there! Not sure if I should open a new issue for this or not, but I figured this would be a good place to mention it: I'm using egui_node_graph on the web, and while disabling right-clicking on the rendering element is fine, it'd still be nice to be able to customise the behaviour.
My immediate suggestion is to allow for changing/turning off the trigger condition for the NodeFinder. I believe it should be possible to design things such that NodeFinder opens up on right-click by default, but you should be able to change that entirely, including using your own finder menu.
I've not looked at the current implementation in any great detail, but my feeling is that it should be possible to offer the current experience as a default set of "application systems" atop the node-graph core, and let users build their own systems if necessary. I'm thinking about how, for example, you can compose behaviours using the same components and different systems in Bevy.
Anyway, not particularly pressing - disabling web right click works - but this library's already fantastic, it'd be great to make it even more versatile :smile:

Hi @philpax! Thanks for the kind words :smile:
Indeed, I feel the right-click behavior should be customizable, and allowing customization for the NodeFinder menu also sounds like a good idea.
I think a good solution for this is to separate the two use cases. For node finder customization we can the same event mechanism that is used in other parts of the code: Drawing the graph already returns a list of responses that are inspectable by the user. This could include a couple of NodeFinderShow and NodeFinderHide events which then the user can handle as they see fit (even ignore). The library will also provide a default handler that looks at these events and spawns the default node finder. The challenge here is that, unlike other event handlers, this would actually draws additional UI inside the graph. I need to think about the best mechanism for doing this.
As for the right click itself, this library needs a way to customize all input. Middle mouse click to pan is also another hard-coded choice that not all users may agree with. I think I have a good idea for creating a completely configurable input system with sane defaults.
I don't have a lot of time for open source stuff lately (hopefully this is going to improve soon :+1:), but I'll keep this in mind, I've been meaning to take care of this for a while. In the meantime, anyone interested feel free to work on this! I'd be happy to elaborate more about the solutions I outlined above.


Include code examples to substreams-entity-change

Include code examples to substreams-entity-change Rust docs

This is completed


Being able to run xUnit test from VS2012 and later in "Test Explorer"

To detect the xunit test, except that a nuget package must be added,
the .sln file MUST be of at least VS2012 version
(that's why another VS2010 sln is added to be able to build with VS2010
all the time we maintain this version)

I don't know exactly why but seems not needed anymore. The tests appears in my VS2013


How can I save the datetime field in ISODate format in MongoDB

I want to change the datetime format to ISODate in MongoDB so that I can use MongoDB’s “time to live” or TTL collection feature.
I want to store the timestamp like this:
 "datetime": ISODate("2015-09-08T17:43:25.678Z")

I have changed the class in Log/Mongo.php to use new \MongoDate
    public function log($level, $message, array $context = array())
    {
        $logger = new \Monolog\Logger('audit');
        try {
            $handler = new \Monolog\Handler\MongoDBHandler(
                new \MongoClient($this->getConnectString()),
                $this->getDbName(),
                $this->getDbCollection()
            );
        } catch (\MongoConnectionException $e) {
            throw new \Exception('Cannot connect to Mongo - please check your server');
        }
        $logger->pushHandler($handler);
        $logger->pushProcessor(function ($record) {
            //$record['datetime'] = $record['datetime']->format('U');

            $exampleDate = new \MongoDate();

            $record['datetime'] =  $exampleDate;

            return $record;
        });

        return $logger->$level($message, $context);
    }

But that doesn't convert the timestamp to ISODate but still store as an object:
 "datetime": "[object] (MongoDate: 0.32700000<PHONE_NUMBER>)",

Would you please tell me how to store the datetime field in ISODate format?

I see that you have also posted this question to StackOverflow with no response so far.
Since the question is more about Mongo/PHP than expose, SO is a better forum to request assistance. If I find something, I will respond there.


Supports calling LLM in a way compatible with OpenAI's API, and adds explicit configuration items for users。

Can you give proper defaults for void.openaiCompatible inside package.json?

Can you give proper defaults for void.openaiCompatible inside package.json?

Okay, I'll get it done later


Which is the default  java version, that is used with selenium + protractor??

Because of different platforms, and different java versions, some tests fail on mac platform that pass on windows platform and vice versa.

As per the CONTRIBUTING.md guidlines, please ask questions like this on stack overflow or the google group  The github issue tracker is not the correct place to ask these questions.
Also, everything is run in node, so it's just a matter of what version of java your version of node is in.


possible Concurrent convert canvas to image and save to local file

example: need convert canvas to image and save to file 10 times
have any good way to make it fast ...

Hi @wasabia
This platform is not met for assistance on personal code.
Please see https://flutter.dev/community for resources for asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you


Fix nightly fuzzer run timeouts

The nightly fuzzer run has been timing out with "Too long with no output (exceeded 20m0s): context deadline exceeded"
The problem is that when we run "make fuzzertest", internally it runs "make debug".  Even though we just ran "make debug" in the previous step, it partially rebuilds.   Between this and the 10 minute fuzzer tests it exceeds the 20 minute limit.  Note that since we pipe all output to a file, the 20 minute timer starts right away.
I changed the config for this step to execute the velox_expression_fuzzer_test directly rather than calling "make fuzzertest" since this avoids the build.  I could have increased the time limit, but rebuilding seemed like a waste anyway.
I also used tee to pipe the output to stdout while also writing it to a file (if the fuzzer test succeeds the output gets truncated in the CircleCI logs, but it's helpful to have it readily available if something goes wrong, and this allows us to watch the output at the beginning in realtime (e.g. so I could immediately see that it was rebuilding).  (I moved the message that we're writing everything to an artifact to the top so it doesn't get cut off).

Here is an example of a successful run with these changes
https://app.circleci.com/pipelines/github/facebookincubator/velox/15571/workflows/ccfed344-ddde-4a64-9947-7c68df1129a6/jobs/95261
(I had modified the circleci jobs that run on PRs to run the nightly fuzzer test so I could test it)


Readme.md outdated

The Readme.md installation instructions refer to a dist folder (link), which was removed in 8a243f280786a66fed02b3e642036fce6f777942. I imported the file /src/plugin/leaflet.canvas-markers.js instead and I am getting the following error:

After some clicking around, obviously the /src/_full.js or /src/_standalong.js files have to get imported, but I could not yet figure out what rbush is or what the difference between the two is.
Updating the Readme.md would greatly improve getting started with Leaflet.Canvas-Markers.

These steps worked for me fine:

import leaflet
import rbush (since it is dependency of this plugin)
import /src/plugin/leaflet.canvas-markers.js
initialize factory with window.L.CanvasIconLayer = factory(L);

_full.js and _standalone.js are just doing the steps above(reduce boilerplate a bit)
Hope that helps

window.L.CanvasIconLayer = layerFactory(L);

FYI the dist folder is still there if you get the library through npm


Cryptographic API Misuse Vulnerability : Do not use non-random/static)predictable IVs in CBC

Hello,
Thanks for maintaining the repository. Our team is a research organization focusing on cryptographic engineering. Recently, we discovered the potential risks by our Python Cryptographic APIs misuse detector:
Description:
It utilizes a non-random or static IV for Cipher Block Chaining (CBC) mode in AES encryption. Using default predictable IVs can lead to vulnerabilities like the disclosure of information about the plaintext of subsequent messages.     b"0102030405060708"
Location:
https://github.com/darknessomi/musicbox/blob/master/NEMbox/encrypt.py#L50
Reference

CWE-329: Generation of Predictable IV with CBC Mode；
CWE-330: Use of Insufficiently Random Values

Expected Behavior:
The IV for CBC mode should be random and unpredictable for each encryption operation to ensure the security of the encryption scheme.
Actual Behavior:
the fork repo python-spider also miuses it.
https://github.com/Jack-Cherish/python-spider/blob/master/Netease/Netease.py#L33
https://github.com/Jack-Cherish/python-spider/issues/127
A static IV is used across encryption operations, making the encrypted data less secure and potentially leading to patterns that can be exploited by attackers. Default-->   b"0102030405060708"
Recommendation
Do not set default constant iv for CBC encryption. And modify the encryption process to generate a random IV each time an encryption operation is performed.

But no changes can be made without breaking this tool...Are you really reviewing the results of your scan tool?


Skip registration of U gates in Default setting in pulse system

What should we add?
Previously, IBM provider used to offer U gates u1, u2, and u3 as basis gates. Now, the target class includes information about backend instructions, properties and more. Additionally, the backend default is also included in the target and u gates are allowed to be registered to the default for the backward compatibility in https://github.com/Qiskit/qiskit/blob/cd507adc68a96a333bc62de7ce9799a245506f25/qiskit/providers/models/pulsedefaults.py#L205.

for inst in cmd_def:
  entry = PulseQobjDef(converter=self.converter, name=inst.name)
  entry.define(inst.sequence, user_provided=False)
  self.instruction_schedule_map._add(
    instruction_name=inst.name,
   qubits=tuple(inst.qubits),
   entry=entry,
   )

When creating the backend default, instruction names and theire qubit arguments are mapped to the schedule through instruction_schedule_map, resulting in the inclusion of U gate instructions in the target.
We can exclude U gates from inst_map by skipping registering u gates.
for inst in cmd_def:
  # add new codes that skip registration of U gates
  if inst.name in {"u1", "u2", "u3"}:
    continue
  entry = PulseQobjDef(converter=self.converter, name=inst.name)
  entry.define(inst.sequence, user_provided=False)
  self.instruction_schedule_map._add(
    instruction_name=inst.name,
   qubits=tuple(inst.qubits),
   entry=entry,
   )

You need to add more background for discussion. I had related discussion with @mtreinish but maybe it was offline and I don't remember the details.
Currently you are updating circuit scheduler with #10564, and the legacy ScheduleConfig object consisting of inst map and meas map will be replaced with Target. This means, for backward compatibility, Target must gain a capability of create an instance with user provided inst map and meas map, which is not the supported case of Target.from_configuration because it doesn't create new instruction entry with a schedule in the inst map. So we decided to update Target.update_from_instruction_schedule_map method instead.
This will allow circuit-pulse scheduler to use Target, instead of the legacy config object.
# Create an empty Target
target = Target(meas_map=schedule_config.meas_map, dt=schedule_config.dt)
target.update_from_instruction_schedule_map(schedule_config.inst_map)

Problems of using the update_from_instruction_schedule_map method are:

This method is not designed to fill empty Target object (i.e. it is designed to apply user-provided diffs to Target)
This method is not aware of backend configuration
IBM backends still report U1, U2, U3 in the inst map (which is coming from CmdDef qobj).

Current implementation of the method is (pseudo code):
for all schedules in inst_map object:
    if schedule is backend provided and its name is not in Target:
        ignore schedule
    else:
        do create Qiskit gate object repr from schedule name
        do create InstructionProperties and add it to Target

This means, necessary gates such as SX and RZ are also ignored because they don't exist in the empty Target that we want to deal with. We should relax this condition to copy them from the inst map, but this also allow U1, U2, U3 schedules to show up in the created Target. This will create an edge case; if a user reuses this Target object for compilation, circuit might be accidentally decomposed with U gates and fail in backend execution.
We should properly handle three situations:
(1) Backend provided schedule, NOT in configuration.supported_instructions and configuration.basis_gates
This is the case of U1, U2, U3. Entries are not reported in circuit domain thus not in the created Target.
These schedules can be accessed through the legacy attribute backend.defaults().instruction_schedule_map.
(2) Backend provided, defined in configuration.supported_instructions or configuration.basis_gates
This is the case of SX, RZ. Entries are created in the Target with calibration information.
User can get schedules from the Target.
(3) User provided
Custom defined gate (not in basis gates) or basis gates with updated calibration.
This schedule be registered to Target because the entry is intentionally added by the user.
In the current implementation we cannot distinguish (1) and (2) only with the inst_map (i.e. without backend configuration), which is the situation of converting the legacy ScheduleConfig into Target.
Roughly speaking, I think there are two approaches:
(1) Permanently removing U1, U2, U3 from inst map.
(2) Make update_from_instruction_schedule_map method basis gate aware, and let users provide basis gates.
The approach you are proposing is one of the implementations for (1). I think there are several patterns to realize (1) and (2). Can you summarize the implementation and write pros/cons for each? @to24toro

(1) Permanently removing U1, U2, U3 from inst map.
If we can skip registering these U gate such as U1, U2, U3  in backend.defaults().instruction_schedule_map, we can prevent their inclusion in the Target during the update_from_instruction_schedule_map process.
Pros:

Simplification of Target objects because it eliminates the possibility of inadvertently registering  the U gates to the Target and consequently compiling circuit that includes  the Target registering U gates.
Eliminates confusion regarding the presence of U gates when working with the Target in the future.

Cons:

It represents  a significant change to the API of backend.default() as it involves skipping the registration of U gates solely for the purpose of updating the Target. Currently, the case of creating Target from empty and updating it is only used in circuit scheduling with backendV2. While the actual code change may be minor, there could be unforeseen impacts that we are currently unaware of.

(2) Make update_from_instruction_schedule_map method basis gate aware, and let users provide basis gates.
Pros:

Users gain the flexibility to choose which basis gates they want tot include in the Target and explicitly recognize the basis gates used.
Changes are localized the code of update_from_instruction_schedule_map rather than backend.default(). This change would have a minimal impact compared to the previous proposal of (1).

Cons:

It increases the number of arguments for update_from_instruction_schedule_map by making it basis gate aware. Users would need to manually specify which basis gates to include when creating a Target from scratch, especially in the case of circuit scheduling.

TBH, I don't have a super strong opinion on this. I'm still confused why the backend is returning calibrations for U1, U2, and U3 at all if they're not supported operations. This does seem like something that is backend specific, because  if the InstructionScheduleMap that backend.defaults().instruction_schedule_map is returning is not representative of what the backend actually is using. I guess what I'm saying is that feels more like a custom concern for specific IBM backends and the ideal solution for me would be to update https://github.com/Qiskit/qiskit-ibm-provider/blob/main/qiskit_ibm_provider/utils/json_decoder.py#L43 to exclude u1, u2, u3 in the generation of the PulseDefaults object if they're not needed/used anymore.
That all being said, I'm not actually too concerned with adding a basis_gates or use_instructions option to Target.update_from_instruction_schedule_map, yes it's another option on the method but I can see a general use case if you only wanted to partial update a Target from an InstructionScheduleMap for like one or two gates. It does put the burden on users to know how to do this though, and that might be a big ask. Maybe instead of an inclusion list what about an exclusion list, so Target.update_from_instruction_schedule_map(..., ignore_instruction=['u1', 'u2', 'u3')). Maybe adding both options to let users selectively filter how they update the target from an instruction schedule map is the best path forward here.


"Ctrl+,"  keybinding to open settings.json

Can't edit keybindings.json to bind "ctrl+," to open settings.json.
Don't have much use for new settings interface. I want to use the old shotcut which is "Ctrl+," to open
settings.json and not the new settings interface.
And yes I know that I can open settings.json by clicking, but I want to use the same old shortcut to
open settings.json.
Something like this in keybindings.json:
{
"key": "ctrl+,",
"open": "~/.config/Code/User/settings.json",
},
P.S. New settings interface looks like the one in Atom, and that is one of the resons I never used that
editor.

Can't you just set "workbench.settings.editor" to "json"?


Cluster apply fails if not preceded with an ssh to bastion/cluster instance

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
I was creating a pipeline to tarmak cluster apply. I found that I needed to tarmak cluster ssh bastion before as otherwise the ssh failed when connecting to the bastion during the apply.
What you expected to happen:
I'd expect to be able to apply without sshing first.
How to reproduce it (as minimally and precisely as possible):
In a tarmak-config repo, from a clean checkout / working tree. Run a cluster apply against the non-hub cluster.

This is the bug I was talking to you about @JoshVanL
I would say steps to reproduce:

Given you have a multi cluster environment dev with cluster green
You apply dev-hub
You clean out everything in your tarmak config (esp. dev-hub, dev-green folders)
You try to apply dev-green, then it fails generate ssh-config dev-hub (it fails for tarmak provider inside terraform run)

Error should be something like that:
time="2018-04-18T10:47:57Z" level=debug msg="* tarmak_vault_cluster.vault: call to Tarmak.VaultClusterStatus failed: failed to initialise vault cluster: time out verifying that vault cluster is initialiased and unsealed: %!s(<nil>)" app=tarmak module=terraform std=err

/assign @JoshVanL

Fixed through #247


Update index.md

Add text "Natural Numbers", "are known as whole numbers", "Example: All the counting numbers excluding 0.", "NOTE: We have used the term Whole Number in general to represent set of counting numbers which includes set of Natural Numbers as well
" to article.

[x] I have read freeCodeCamp's contribution guidelines.
[ ] 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] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


No module named 'PySide2'

Hello, I was trying to use UnrealEnginePython with PySide2 in order to access the file explorer, but I'm stuck at this issue. The problem might be that UE4 searches for PySide2 in the system-wide python installation instead of the plugin. I am also using the source and need to keep the system-wide python for it to keep working. Is there a way to fix this issue? Or is it a different cause and solution?

Hi @alexandradocolin the python version you used for building the plugin is meaningless when you run it. Your operating system liker/loader will use the first python dll/.so it will find. From what you describe, you simply need the system python because it is the only one the plugin (or better, your operating system) is able to find. For this reason you need to install PySide2 for the python version used by the plugin.


Website Redesign: Main Home Page- UI

User Story
AS a New Orcahome user I WANT to see an easy to read webpage when I navigate to the Orcasound website SO THAT I can get an easy introduction to the organization.
Description
The intent of this story is to implement the UI finalized design from the Orcasound UX/UI team for the website redesign.
Note:
-Header/ Footer already executed.
-Use Material UI for the styling
Acceptance Criteria
GIVEN I open the Orcasound homepage WHEN I look at the page THEN I see a UI that matches the attached UX/UI design.
https://www.figma.com/file/YdvbAjHETokV2x1LBHaElj/Orcasound-Website-Redesign-2021?node-id=298%3A290

@alisonqiu - I believe this is ready to go! (I just added the note regarding using Material UI for styling.

@alisonqiu I just wanted to check in with you about this dev request- it's labeled as "To do". Let me know if you have finished this or if it should be assigned to another dev if you are no longer active with Orcasound. Let me know!

Sorry I forgot to respond! I don’t think I’ll be able to work on this at
the moment. My apologies again!
On Mon, Mar 13, 2023 at 10:41 AM Brendan @.***> wrote:

Assigned #19 https://github.com/orcasound/orcahome/issues/19 to
@alisonqiu https://github.com/alisonqiu.
—
Reply to this email directly, view it on GitHub
https://github.com/orcasound/orcahome/issues/19#event-8733372099, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AVV3CO5RDOOBRZBNLABDW6LW345ZNANCNFSM5M4OQNBQ
.
You are receiving this because you were assigned.Message ID:
@.***>

@alisonqiu No worries- thanks for getting back to me! Let me know if you'd like to provide dev help in the future- I've transitioned to a Product Manager role and can help with assigning issues related to our dev needs.

@Vhighc and @MinhHangwpi
Just checking in with you- how is dev work going for this issue? Anything you need from me?

What repository should I clone actually? the description says the header and footer are already created, I can't locate the exact repo, do I make a new repo and push the final design?

Hi Brendan,
Sorry for the late reply. I plan to start working on this feature this
weekend. I also have similar questions to Victor as to which repository to
use and where the current header and footer are located.
Thanks,
Grace
On Thu, Mar 16, 2023 at 7:40 PM Victor Eneh @.***>
wrote:

What repository should I clone actually? the description says the header
and footer are already created, I can't locate the exact repo, do I make a
new repo and push the final design?
—
Reply to this email directly, view it on GitHub
https://github.com/orcasound/orcahome/issues/19#issuecomment-1472900446,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZRTJDWNDWXQ27HRPMBZLDDW4OQHFANCNFSM5M4OQNBQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hello grace, I figured it out, check your mail. There is a Orcahome group invite, click on the link and click on the repo. Fork the repo and you can clone it on your vs code. After cloning run this command on your terminal - npm install. After that run this - npm run dev. It will open a localhost port 3000 on your system. Then you are good to go

Awesome. I forked and cloned the repo successfully. Thank you very much! I'm working on updating the code in the current src/pages/about.jsx now.

Great. Well done

@Vhighc went through a dev review of the development work he did.
He will make a small change:
Center the 2 CTAs at the bottom of the page
After this update, he will alert @UXBrendan that the issue is done and PR sent.

@Vhighc
I would like to discuss how to best write issues and assign to Orcasound devs to do some clean up production work for Orcahome. We're in the home stretch!
Orcasound: Dev discussion for Orcahome
Thursday, September 14 · 10:00 – 11:00am
Time zone: America/Los_Angeles
Google Meet joining info
Video call link: https://meet.google.com/vxp-aeto-zev


feat: gho uighodataprovider update

Update typechain
Update contract helpers to remove fields
Update math utils to remove fields

Last two comments were testing alternate approaches which were reverted and force pushed


fix(useQueries): make sure we don't lose property tracking

if we call combine with #this.result, we don't have a tracked version of it, as tracking happens in useQueries (to avoid tracking internal access)

After upgrading to this version from v5.59.20, useQueries got significantly slower. Maybe it is caused by this commit.

potentially. what do you mean by “significantly slower” ? Can you show a reproduction and open a new issue please?


Is there a way to copy a sheet to another worksheet?

Looking to copy a sheet as is, to a different worksheet. Currently working on copying cells but there might be an easier way?

not that I know of. A bulk cell update should be able to do it pretty easily though, no?

I've just a published a new version of this module which is a complete rewrite using Google's V4 Sheets API (v3 is being deprecated on March 3, 2020).
Docs available here - https://theoephraim.github.io/node-google-spreadsheet
The new api does have this available
check it out https://theoephraim.github.io/node-google-spreadsheet/#/classes/google-spreadsheet-worksheet?id=fn-copytospreadsheet
Thanks! 😄


Arm binary or  cross-platform images

Is there any Arm-Binary for the s2i tool ? Or is it possible to generate arm-supported docker images with it (like buildx) ?

We do not release an ARM binary or images yet.
You can build an ARM binary yourself from source, though:
$ GOOS=linux GOARCH=arm64 go build ./cmd/s2i

No offense, but IMO it's a pretty common request for the users of s2i. I was wondering if you can give some background about why don't offer the ARM binary or images. Thanks.

I was wondering if you can give some background about why don't offer the ARM binary or images. Thanks.

s2i is a part of the OpenShift ecosystem. There is hardly any demand for ARM architectures today - for example, OpenShift 4 only works on x86_64, IBM Power, and IBM Z architectures.

I understand your concern. But it seems that some people hope to use s2i in other platform separately. Of course, see it from the whole OpenShift ecosystem is good.


I can't run demo px4_mavros_run.py

I follow the step.
and run : python px4_mavros_run.py
it display:
Px4 Controller Initialized!
Traceback (most recent call last):
File "px4_mavros_run.py", line 304, in
con.start()
File "px4_mavros_run.py", line 72, in start
self.local_target_pub.publish(self.cur_target_pose)
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/topics.py", line 886, in publish
raise ROSSerializationException(str(e))
rospy.exceptions.ROSSerializationException: <class 'struct.error'>: 'required argument is not a float' when writing 'header:
seq: 1
stamp:
secs: 0
nsecs:         0
frame_id: ''
coordinate_frame: 9
type_mask: 1016
position:
x: 0
y: 0
z: 3.2
velocity:
x: 0.0
y: 0.0
z: 0.0
acceleration_or_force:
x: 0.0
y: 0.0
z: 0.0
yaw: None
yaw_rate: 1'
Please tell me how to solve it?

Sorry for late response, I have fix this bug in a recent commit.


Name of role

Can I view name of IRole?
For example @everyone or Admin

does role.name work?

The documentation was missing those indeed, but role.name and other properties listed in (now fixed) IRole docs should work, thanks for the report.

Thanks you for quick reply :)


Bump to v1.1

As the title says.
My first time on the imagebuilder version bump rodeo, please verify my changes.

@rhatdan PTAL

LGTM


Topological colouring

Hi,
I was exploring how to port tools from QGIS for geopandas which resulted in a port of topological colouring algorithms. I was initially thinking about including it in geopandas (https://github.com/geopandas/geopandas/issues/1165) but then released in separately as greedy - https://github.com/martinfleis/greedy (docs on https://martinfleis.github.io/greedy/).
@ljwolf now suggested that it could be integrated into splot. I am happy to do that, rather than having a tiny independent package. The issue might be the license, as the original algorithm in QGIS in under GPL. But @nyalldawson was willing to relicense if needed.
Thinking about it in the context of pysal, _geos_sw be even go to libpysal.
Check that and let me know if it makes sense for you. I can then make a PR if we manage to resolve the issues.

@ljwolf brought this up at the pysal-dev mtg and the consensus was that it was probably a better fit for mapclassify than splot.
Very nice!

Cool. I had the same feeling that it is not analytical enough. Looking at your notes, I do have some questions regarding your vision of the whole ecosystem though.
@ljwolf can you elaborate a bit your points from the meeting? How do you see relationship geopandas <-> legendgram, greedy, contextily...? Not sure if I understand the whole context.

@martinfleis would be happy to chat about the ecosystem linkages and how to integrate greedy. I think mapclassify is a good fit.

@sjsrey I agree with that and once I'll find some spare moment, I'll open an issue/PR there to discuss how exactly we should do that. I just did not have a time to do that yet.
I'm trying to remember my initial questions about the ecosystem, but looking at those notes, it is clear to me now :D.
I'll try to make it for the next release of PySAL (that is July, right?).

@martinfleis great. In terms of timing, it can go into mapclassify whenever it is ready. PySAL meta is released every six months with the next release set for July.

Moved to mapclassify, so closing


Try to use user defined sdk versions

I'm trying to use this library with SDK v28 and I was getting the following error:
* What went wrong:
Execution failed for task ':react-native-file-selector:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
  /Users/lucas/joga/mobile-app/node_modules/react-native-file-selector/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
  /Users/lucas/joga/mobile-app/node_modules/react-native-file-selector/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
  /Users/lucas/joga/mobile-app/node_modules/react-native-file-selector/android/build/intermediates/res/merged/release/values/values.xml:2996: error: resource android:attr/fontVariationSettings not found.
  /Users/lucas/joga/mobile-app/node_modules/react-native-file-selector/android/build/intermediates/res/merged/release/values/values.xml:2997: error: resource android:attr/ttcIndex not found.
  error: failed linking references.

I searched around and found that libraries do what I'm proposing in this PR to solve this issue.
Thanks <3

Thanks a lot @vieiralucas for the PR and Effort.
I have merged the same.
Thanks
</ Pranav >

That was fast!
Thank you, will you make a release to npm soon?


Prevent slot from overriding component system_arguments

Currently component content (content) is lazily evaluated. This often includes code where slots are defined, for example:
<% render Button.new do |c| %>
  <% c.label("Foo") %>
<% end %>

The block code won't be called until content is called, or slots are accessed. It's common for content to be evaluated mid-render, e.g.:
<%# Button.html.erb %>
<button class="<%= @system_arguments[:class] %>>
  <%= label %> <%# render label slot %>
</button>

In the above example, system_arguments is accessed before the block setting the label (<% c.label("Foo") %>) is executed. Imagine the label slot definition looking like:
renders_one :label do |system_arguments|
  @system_arguments = system_arguments
end

Now, when the label is evaluated, we're actually overriding the Button component's system arguments! In practice this isn't noticeable most of the time due to the order of evaluation mentioned above, we're overriding after we've used the original value.
With this change in ViewComponents causing content to be evaluated before render the issue is now revealing itself as failed tests in that branch.  To be clear, the ViewComponent PR didn't introduce the bug, it just made component behavior more consistent and revealed a bug.
This resolves the issue by not overwriting @system_arguments, but passing the local directly to the slot component.

Do we have a sense on if this will cause any regressions for how it's used in dotcom?

@jonrohan I want to say I don't think there will be any, but it's possible we're using these components in some way that would result in us relying on the erroneous behavior. My instinct is that it's pretty unlikely, but it might be worth double checking.

Agree this is the correct behavior forward, wonder if you could outline what to look for when upgrading dotcom with this release

It would be really subtle, links and buttons wouldn't fall back to their default styles and would instead by styled as-intended. We could probably programmatically find problem cases by adding something like:
def call
  GitHub.dogstats.count("pvc.content_pre_evaluated", 1, tags: ["component:#{self.class.name.underscore}"]) if @__vc_content_evaluated
  # super
end

I believe that would emit only when we run into the case where @system_arguments is overridden.


Drop support for node.js 0.12

No need to support versions below node 4.0

Solved in 384f0f0

This commit dropped support for node 6 as well. Was that intentional?

I'm not sure why I picked node 7 as engine, I think it was because of an dependency.
The examples behave fine when using 6.0.0 so I'll reduce the necessary version to 6.


Chinese Text is garbled while put data into firebase.

Hi ,
I'm a Chinese user,and find that Chinese words can't correctly put into my firebase.
In "Firebase.java" method "buildEntityFromJsonData" using new StringEntity(jsonData).
Is it properly useing new StringEntity(jsonData, "utf-8")  ?
Thank you.

Is this the same line you are looking at? https://github.com/bane73/firebase4j/blob/master/src/net/thegreshams/firebase4j/service/Firebase.java#L435
Looks like it is not using UTF-8.
You are welcome to send a pull-request and I will gladly accept it if the change solves your issue.

This issue is merged. Thank you @zero123824 for the pull-request.


On testing I get 'illegal invocation'

Libraries
* Jest
* React Testing Library
Description
When I run the test for the component to uses smooth-dnd by itself. It works fine. However, when I run all my tests, I this illegal invocation error.
`Test suite failed to run
TypeError: Illegal invocation

  at Node.get [as childNodes] (node_modules/jsdom/lib/jsdom/living/generated/Node.js:423:13)
  at Node.get (node_modules/smooth-dnd/dist/index.js:1:11462)
  at node_modules/smooth-dnd/dist/index.js:1:11356
  at node_modules/smooth-dnd/dist/index.js:1:96
  at Object.<anonymous> (node_modules/smooth-dnd/dist/index.js:1:195)
  at node_modules/react-smooth-dnd/dist/index.js:1:145`

It seems that smooth-dnd calls jsdom and jsdom is throwing an exception. But it only happens when I run all my tests. When I run them individually, they work fine.
Any help would be appreciated.

I have the same issue, but only when running the whole test suite on linux. Running single tests and the whole suite works fine on macOS. Did you find a solution to this problem, @lgdelacruz92 ?

Update: This can be fixed with jest setupFiles, as described here https://github.com/facebook/jest/issues/9274

For those (like me) that #36 didn't work, and also #52, I had to spend a few hours on it just to figure it out.
Inside the smooth-dnd lib, there's a polyfill.ts that does, baiscally:
// Overwrites native 'firstElementChild' prototype.
// Adds Document & DocumentFragment support for IE9 & Safari.
// Returns array instead of HTMLCollection.
(function(constructor) {
    if (constructor &&
        constructor.prototype &&
        constructor.prototype.firstElementChild == null) {
        Object.defineProperty(constructor.prototype, 'firstElementChild', {
            get: function() {
                var node, nodes = this.childNodes, i = 0;
                while (node = nodes[i++]) {
                    if (node.nodeType === 1) {
                        return node;
                    }
                }
                return null;
            }
        });
    }
})(Node || Element);

And that polyfill just aplly up to IE9 and Safari 8, also Chrome versions up to 29. Since we're on v.289 of chrome and others, that's not even usefull.
I took the time to wrap everything up to my own way, removing the smooth-dnd dependency and making everything to .js.
If you're still struggling with that issue, come take a look at my solution at vue-dndrop.
If that, somehow helps you, let me know. 🐈


[SPARK-28306][SQL][FOLLOWUP] Fix NormalizeFloatingNumbers rule idempotence for equi-join with <=> predicates

What changes were proposed in this pull request?
Idempotence of the NormalizeFloatingNumbers rule was broken due to the implementation of ExtractEquiJoinKeys. There is no reason that we don't remove EqualNullSafe join keys from an equi-join's otherPredicates.
How was this patch tested?
A new UT.

Can one of the admins verify this patch?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12684/
Test PASSed.

Test build #107559 has started for PR 25126 at commit 299a7b0.

@yeshengm . Please use a proper name according to the PR.
It's a bad practice to use the same title in the follow-up PRs.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12692/
Test PASSed.

Test build #107567 has started for PR 25126 at commit b7ff960.

Test build #107559 has finished for PR 25126 at commit 299a7b0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107559/
Test FAILed.

Test build #107567 has finished for PR 25126 at commit b7ff960.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107567/
Test FAILed.

Could you fix the following UT failure, @yeshengm ?

org.apache.spark.sql.catalyst.optimizer.NormalizeFloatingPointNumbersSuite.normalize floating points in join keys (equal null safe) - idempotence

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12735/
Test PASSed.

Test build #107610 has started for PR 25126 at commit b1a6c0f.

Test build #107610 has finished for PR 25126 at commit b1a6c0f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107610/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12743/
Test PASSed.

Test build #107614 has started for PR 25126 at commit 40cbad1.

Test build #107614 has finished for PR 25126 at commit 40cbad1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107614/
Test PASSed.


Add relays and precharge components

This PR add support for two new components to the Microgrid API:

Relay
Precharge Module

LGTM but it looks like https://github.com/frequenz-floss/frequenz-api-microgrid/pull/103 should be merged first, right?

Right, that's the plan. That's why I did not enable auto-merge in these PRs, because I was going to pull these manually.

Marked blocked until #103 is merged.

#103 is merged. Unblocked this PR.


Change /motivation command API

Added new command [command]
Issue: #130

[x] Added command to README.md commands list
[x] Code is tested before submitting
[x] Code is formatted with prettier (npm run format)
[x] Deleted all console.log() or console.error() statements
[x] Correct error handling => No 'The application did not respond' errors

Details
Changed the API to get actual "quotes".

@Ta1al Hey, I left a comment on this in the issue #130 :)
For the future, please first discuss changes in the issue before raising a pr


google.py KeyError: 'id'

(1159/1260) Found 'Pavement - Silence Kit' in Google Music
(1156/1260) No match found for 'Bonnie "Prince" Billy - Today I Was An Evil One' in Google Music
(102/1260) Found 'Bob Dylan - Dirt Road Blues' in Google Music
(240/1260) Found 'Sonic Youth - Mildred Pierce' in Google Music
(378/1260) Found 'Jeff Buckley - Grace' in Google Music
(1160/1260) Found 'Pavement - Elevate Me Later' in Google Music
(241/1260) Found 'Sonic Youth - Cinderella's Big Score' in Google Music
(103/1260) Found 'Bob Dylan - Standing in the Doorway' in Google Music
(1161/1260) Found 'Pavement - Stop Breathin'' in Google Music
(242/1260) Found 'Sonic Youth - Scooter And Jinx' in Google Music
(1158/1260) No match found for 'Bonnie "Prince" Billy - Raining In Darling' in Google Music
(1157/1260) No match found for 'Bonnie "Prince" Billy - Black' in Google Music
(379/1260) Found 'Jeff Buckley - Last Goodbye' in Google Music
Creating in Google Music... Error handling request
Traceback (most recent call last):
File "/Users/kstoltz/miniconda3/lib/python3.6/site-packages/aiohttp/server.py", line 265, in start
yield from self.handle_request(message, payload)
File "/Users/kstoltz/miniconda3/lib/python3.6/site-packages/aiohttp/web.py", line 96, in handle_request
resp = yield from handler(request)
File "/Users/kstoltz/miniconda3/lib/python3.6/site-packages/pyportify/middlwares.py", line 18, in index_handler
ret = yield from handler(request)
File "/Users/kstoltz/miniconda3/lib/python3.6/site-packages/pyportify/app.py", line 117, in transfer_start
yield from transfer_playlists(request, s, g, lists)
File "/Users/kstoltz/miniconda3/lib/python3.6/site-packages/pyportify/app.py", line 177, in transfer_playlists
yield from g.add_songs_to_playlist(playlist_id, gm_track_ids)
File "/Users/kstoltz/miniconda3/lib/python3.6/site-packages/pyportify/google.py", line 95, in add_songs_to_playlist
added_ids = [e['id'] for e in res['mutate_response']]
File "/Users/kstoltz/miniconda3/lib/python3.6/site-packages/pyportify/google.py", line 95, in
added_ids = [e['id'] for e in res['mutate_response']]
KeyError: 'id'
Here is the playlist I was trying to import, it's public: https://open.spotify.com/user/lunsku/playlist/0OG0sShb7v1eU5brRfKDpv

Duplicate of #101 I believe.

Getting this as well.

This should be fixed in v0.3.14, give it a try and let me know.


load/store lastFlushedSeq from/to tlogStorage's metadata

fixes #273

@iwanbk this PR is ready for you to review and merge.

@iwanbk I addressed your concerns. Please review once again if you want.

OK @iwanbk, I addressed your latest code review. Please review once again if you want.

LGTM


Get the first/last non-zero element along a dimension

A useful tool (for handling mask arrays, one-hot vectors etc) would be to allow users to get index of the first or last non-zero element.
Or more generally, get the index of the first or last element (along a dimension) that matches some condition.
(We could also implement the value (non-index) version too: i.e., get the first/last value that matches some condition).

I think method in BooleanIndexing with configurable condition would be best fit. What would you say on something like BooleanIndexing.firstMatch(INDArray, dimension, Condition)?

firstMatch(INDArray, int dimension, Condition) and lastMatch(...) sounds good.
Methods giving the index of the first/last index would also be good:
firstMatchIndex(INDArray, int dimension, Condition)
lastMatchIndex(INDArray, int dimension, Condition)

Implemented, but there's serious issue there, so we need to discuss it.


Reopen last item never works

Reproduction Steps:

[First Step] Open atom and add some project
[Second Step] Open some files ,modify them and then save.
[Third Step] Quit atom.
[Forth Step] Now reopen again.

Expected behavior:
Should open last added project files.
[Describe expected behavior here]
Observed behavior:
Opens empty tab
[Describe observed behavior here]
**Screenshots **

Atom version: 1.3.2
OS and version: OSX 10.11.2
Installed packages:
[List of installed packages here]
Only one extra package besides default packages

atom-ternjs

Additional information:

Problem can be reproduced in safe mode: [Yes/No] Yes
Problem started happening recently, didn't happen in an older version of Atom: [Yes/No] Yes
Problem can be reliably reproduced, doesn't happen randomly: [Yes/No] No
Problem happens with all files and projects, not only some files or projects: [Yes/No] Yes

If you simply open the program from the Dock,
then 'Reopen Last Item' won't do anything.
https://en.wikipedia.org/wiki/Principle_of_least_astonishment
Drag the project folder from Finder onto Atom's Dock icon.
Notice if you open a file from the sidebar and then close it, 'Reopen Last Item' will work.


Fix the Labelbox ID used when importing samples

Resolves #1046
The json format of exported Labelbox annotations follows this format:
        [
            {
                "ID": <labelbox-id>,
                "DataRow ID": <datarow-id>,
                "Labeled Data": <url-or-None>,
                "Label": {...}
            }
        ]

Where the labelbox_id_field of the FiftyOne Samples stores the datarow-id, not the labelbox-id. Labels can now be properly imported into an existing FiftyOne dataset from Labelbox annotations.

@brimoor Good call, I didn't try convert_labelbox_export_to_import() previously.
Also FYI, I did import_from_labelbox() with an actual dataset from Labelbox and it is working properly now.


How to set this in neither -- kubeconfig nor --master was specified

Is this a BUG REPORT or FEATURE REQUEST?
Choose one: BUG REPORT or FEATURE REQUEST

im trying to run the chaos workflow from choas center UI then it is failing and getting the following in logs.
W0516 14:01:36.854904       1 client_config.go:552] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
2022/05/16 14:01:36
ChaosEngine Name : sample-exec-chaos-cy92kll2
2022/05/16 14:01:36 Created Resource Details:
{sample-exec-chaos-cy92kll2 litmuschaos.io v1alpha1 ChaosEngine litmus }
W0516 14:01:36.932392       1 client_config.go:552] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
2022/05/16 14:01:36 Starting Chaos Checker in 1min
W0516 14:01:38.114471       1 client_config.go:541] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
Because of this error workflow is failing, could someone guide me over this issue
some one had raised the same issue here while using exported and i saw the reply is to ignore but if i ignore the the workflow verdict is failing
custom-chaos-workflow-1652709642-1156810578.txt

This is just a warning - it is removed from the experiment and can also be removed from chaos-runner and chaos-operator. Please refer - https://github.com/litmuschaos/litmus-go/pull/507.
Feel free to add a PR for the same in this repo!


How can be detetect Morrocan plate

Hi Faisal ,thank you to make this project open source, i want to add detect Moroccan plate but i don't have data-set , it's possible to use your project to detect Moroccan.?

Hi, you will require around 3000 images of cars with number plates. Once you those, it's a simple matter of training your models.
I will be posting a few videos on the process in a few days, if it's not urgent you can follow my updates to learn how to do it.

Hi Faisal , Thank you So much for your quick reply , about Moroccan plates : you can find some images in this link : http://licenseplatemania.com/landenpaginas/marokko.htm , the general model of Moroccan plate like this photo :
 .
Could you  send me your   example , your  videos  to follow your news  , I'm very interested to learn how to do it.
Best regard.

Thank you for providing that link, there seem to be many types of plates. You will need to create a data set to identify and classify those.
The videos I was referring to are currently being produced, will be ready within a month. You can follow me on linked in to stay updated on the news https://www.linkedin.com/in/faisalthaheem/

In case anyone stumbles on this thread, please visit the following resource to train your own models
https://github.com/faisalthaheem/open-lpr#training-your-own-plate-detection-models


Be able to stop the status checks from static/index.html

the static page calls for status every second meaning the server cannot stop

The dropdown doesn't really work very well. maybe we do it with a frequency instead "every second" "every 10 seconds"


Ruby API Example update

Hello, first off I'm a new developer and this is my first time opening an issue on an OS project so please be gentle!
The Ruby API examples show Filewatcher.new instead of FileWatcher.new:

require 'filewatcher'

Filewatcher.new(['lib/', 'Rakefile']).watch do |filename|
  puts "Changed #{filename}"
end

Should be:
require 'filewatcher'

FileWatcher.new(['lib/', 'Rakefile']).watch do |filename|
  puts "Changed #{filename}"
end

As in the gem file the class is defined as FileWatcher:
class FileWatcher

  attr_accessor :filenames

  def self.VERSION
    return '0.5.4'
  end

I wouldn't make a comment if it was just one example, but all of the API examples are incorrect and it really threw me off for a while.
Thanks for this awesome gem!

Hello!

Hello, first off I'm a new developer and this is my first time opening an issue on an OS project so please be gentle!

There were no thoughts.

The Ruby API examples show Filewatcher.new instead of FileWatcher.new

Sorry, README in master branch is new, as well as version.rb.
After #61 (the third item of list).
But the gem on the rubygems.org has not been updated for a long time :pensive:
I hope we'll release it soon.
So, what you described is not a problem. I created the issue specifically about the release of the new version: #74.
And, I think, I can safely close this one.

Temporary possible work-around for bundle users:
gem 'filewatcher', github: 'thomasfl/filewatcher'

FWIW, as a bundle user, the above temporary workaround didn't work, but the following did:
gem 'filewatcher', git: 'https://github.com/thomasfl/filewatcher'

FWIW, as a bundle user, the above temporary workaround didn't work

It's weird. Here is what in the bundler documentation:

If you are getting your gems from a public GitHub repository, you can use the shorthand

gem 'rack', :github => 'rack/rack'

But yes, you can specify git repo also by HTTPS (as above) or SSH (git@github.com:thomasfl/filewatcher.git) URL in :git option.

Filewatcher 1.0.0 is released! There are no more differences with the README from the git-repository.


TF2.0RC1/RC0  the output shape of  custom layer is None. The same code works in TF2.0 Beta1

System information

TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): TF2.0.0beta1/rc0/rc1
Python version: 3.6
CUDA/cuDNN version: 10.0
GPU model and memory: TitanV

We use a custom c++ op writen by ourself.

@KANGRuipeng If you have developed custom c++ op that works for TF2.0b1, then you can update the same for TF2.0rc1.
Here is a seperate repository under tensorflow for developing custom op. Thanks!
This is not Build/Installation or Bug/Performance issue. Please post this kind of support questions at Stackoverflow. There is a big community to support and learn from your questions. GitHub is mainly for addressing bugs in installation and performance. Thanks!

@jvishnuvardhan I'll add an example. I think this is a bug of TF.

@jvishnuvardhan From TF2.0.0RC0，TensorFlow 2.0.0 is built using GCC7, however, you didn't say this in TF2.0.0RC0's  release notes.(You metioned this in TF2.0.0RC1's release notes) .

@KANGRuipeng Please post custom_ops related issue in that repo. When you post a new issue, please add a small standalone example to reproduce the issue. If the issue is more related to TF Core then post it in this repo. Thanks again.

The problem is caused by GCC Version. Thks!


[Loc] added sql query execution lines

This PR fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.007%) to 41.683%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/jupyter/serverInstance.ts
4
75.5%

Totals

Change from base Build<PHONE_NUMBER>:
-0.007%

Covered Lines:
27834

Relevant Lines:
62211

💛  - Coveralls


6.1.9

[x] I have followed (at least) the PR section of the contributing guide.

@siriwatknp lets wait for the decision here before releasing please: https://github.com/mui/material-ui/pull/44420#issuecomment-2501023674

@siriwatknp I merged one PR, I miseed that the release PR is ready, please update to latest master.


Added VCard without FN fallback

see https://github.com/nextcloud/contacts/issues/206

LGTM but needs a test!

@evert I'm happy to test if you tell me how. I get this with Thunderbird connected to Nextcloud DAV.

@evert Sorry, forgot to update the tests.
@enoch85 The request was about unit tests. Travis CI should run tests for us.


Enable the new model serialization for recovery services

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


Information Display enhancements

What
We may want to keep the current template of the board, which may prevent people from being lost or scroll too much.
The syntax has been somewhat cleaned up, some of the information either hidden or deleted.
Unfortunately, some javascript has been added. I am terribly sorry about that.
How to review
Fire up the application and checkout my approach. Perhaps, ask people around for their opinion too.
Feel free, to give me a smack on the back of the head.

Cool! I'll check it out.

Just FYI, I did the above requested changes. Sorry, if you're waiting on me :(


576 improve styling of inventorydisplay and toolbardisplay 2

Need help figuring out these tests. IDK why that is happening

Every test failed for 7 commits and man makes a PR

Every test failed for 7 commits and man makes a PR

O _ O


fix: containers for playgrounds should listen on different ports

For now, only one playground's container can be run, because it is listening on a hardcoded port.
A free port should be detected, to use this port for a new playground's container.

fixed by #64


Avoid potentially spurious outlier poses during groundtruth creation

Currently our groundtruth creation pipeline maps an input bagfile (part of this process is removing low baseline images) and then registers it against an existing base surf map. The groundtruth poses are then generated by localizing the images in the input bagfile against this merged map. However, since some low baseline images are removed during map creation, not all input bagfile images exist in the resulting map. Thus, some groundtruth poses are estimates that result from matching an input bagfile image as best as possible to the merged map. This works well when the base surf map is well formed, but sometimes some "fuzzy" image locations that already existed in the base surf map can cause some spurious matches with the new bagfile. We should either add all images to the map (which isn't very feasible due to low baseline issues) or only consider the exact images from the bagfile that have been added to the groundtruth map and only generate groundtruth poses for these (perhaps with the option to interpolate for small time differences) to avoid any potential outlier groundtruth poses.

@rsoussan reword this better


chore: remove the v6.2 upgrade handler

Description
closes: #XXXX

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] added appropriate labels to the PR
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Summary by CodeRabbit

New Features

Enhanced upgrade system with consolidated functions for improved efficiency and handling of parameter migrations and governance adjustments.

Refactor

Streamlined upgrade logic by integrating functionalities of multiple functions.

Chores

Updated import statements to align with the new upgrade logic requirements.

Bug Fixes

Removed unnecessary function calls to ensure smoother upgrade transitions.

do we need to remove it now?


"Open file" in existing window

Requirements for Contributing a Bug Fix

Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
The pull request must only fix an existing bug. To contribute other changes, you must use a different template. You can see all templates at https://github.com/atom/atom/tree/master/.github/PULL_REQUEST_TEMPLATE.
The pull request must update the test suite to demonstrate the changed functionality. For guidance, please see https://flight-manual.atom.io/hacking-atom/sections/writing-specs/.
After you create the pull request, all status checks must be pass before a maintainer reviews your contribution. For more details, please see https://github.com/atom/atom/tree/master/CONTRIBUTING.md#pull-requests.

Identify the Bug
Fixes #19133.
Description of the Change
In AtomApplication:

Made the getLoadSettings() helper optionally include the last focused window in its output.
Modified openPaths() to more strongly respect an explicitly provided {window} argument. (Previously, {window} would be used only if {addToLastWindow} was set to true.)
Changed promptForPathsToOpen() to pass a {window} argument on to openPaths() if and only if all of the chosen paths are non-directories. (This is to be consistent with the behavior in 1.35.1; "open folder" opens a new window, "open file" opens in the existing window.)
Used getLoadSettings(true) in all of the codepaths that an "open" or "open file" dialog can hit.

Alternate Designs
We could refactor the opening logic completely I guess to be clearer and less error-prone. Now isn't the time to do that, though, and it went poorly the last time I tried it.
Possible Drawbacks
application:open-file and application:open-folder have inconsistent and confusing behavior.
Verification Process
I did a manual Atom build and verified that the File -> Open... menu item and the cmd-O keybinding opened files in the current window and folders in a new window.
Release Notes
This is fixing a regression, so no release notes.

Possible Drawbacks
application:open-file and application:open-folder have inconsistent and confusing behavior.

@smashwilson: Am I correct in thinking that this inconsistent/confusing behavior predates this pull request (i.e., that this has been Atom's behavior for a while now)?

@jasonrudolph: Yup - basically, I downloaded Atom 1.35.1 and did my best to match its behavior.
Oh, also, our test coverage for AtomApplication is not great. I'd take the time to add tests for this, but ugh.

Do you anticipate this pull request resulting in any changes on other platforms (i.e., Linux and macOS)? Would it make sense try out a build on those other platforms to ensure that it's behaving as expected?

This will actually have the same behavior on all three, although the menu items present in the "file" menu differ from platform to platform. I tested builds on macOS by running commands from the command palette. But I'll be sure to give it a final check on the others.

Help mi


Feature/use auth to deploy functions

This patch uses the stored token from bls login to authenticate with the server when deploying a function.
Extra things this patch does 😇

Makes prettier to a dev dependency
Adds .nvmrc at 14.17.6 (for yarn --check-files compatibility) and update the README
Ditches package-lock.json (incompatible with yarn and console warnings irritate me)

looks good! some merge conflicts.


[CLI] Changing search_path in a migration prevent sqlx from updating _sqlx_migrations table

Bug Description
When using postgresql, if a migration changes the search_path it prevents sqlx from updating _sqlx_migrations table.
We should probably use a fully qualified table name to fix that (or even better implement #1835 ) or at the very least reset the search path after every migration (SET search_path TO DEFAULT ;).
The problem was already encountered in #640 but since the issue was quite old, not formatted/labeled according to the latest rules and not that clear about the actual issue, I figured it might be better to create a new one.
As a side note, I did not test it but from what I read in the source code, I suspect a similar problem exists with pg role. We should therefore probably also perform a reset role;
Minimal Reproduction
Simply try to run any migration containing SET search_path = pg_catalog;
Info

SQLx version: v0.6.2 (but I don't think it changed in 0.6.3)
SQLx features enabled: Whatever comes with a default cargo install sqlx-cli
Database server and version: Postgres 14.4 (but I guess it should remain true in all versions, possibly even for other databases)
Operating system: Debian
rustc --version: 1.67.0

you can find workaround in https://github.com/launchbadge/sqlx/issues/1835#issuecomment-1605922787