Master

Codecov Report

Merging #143 (31c041a) into master (259543b) will increase coverage by 7.04%.
The diff coverage is n/a.

:exclamation: Current head 31c041a differs from pull request most recent head a42e674. Consider uploading reports for the commit a42e674 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master     #143      +/-   ##
==========================================
+ Coverage   45.75%   52.79%   +7.04%
==========================================
  Files          79       86       +7
  Lines        7074     7680     +606
  Branches      829      857      +28
==========================================
+ Hits         3237     4055     +818
+ Misses       3576     3325     -251
- Partials      261      300      +39

see 35 files with indirect coverage changes


AsyncForwardingAppender causing WPF application to hang on application exit

I added the AsyncForwardingAppender to a WPF application, and when I exit the application, it stays running. I tracked the cause to the AsyncForwardingAppender. I tried ParallelForwardingAppender and that had no problem.
My setup:
In the App.xaml.cs constructor, I have XmlConfigurator.Configure();.
In my App.config, my root logger has a reference to the AsyncForwardingAppender and the AsyncForwardingAppender has references to my other appenders.
I was able to get it to exit if I put "log4net.LogManager.Shutdown();" in the Application_Exit method. However, I don't think that should be necessary.
I also have the same logging being used in windows services and they have no problem stopping.

If you are using log4net it is good practice to call LogManager.Shutdown on your application exit. In this scenario it will clean up all your logging threads. Because log4net is an extensible library you have no control over what resources it is managing so you should always stop it gracefully.


trident installer failing with no matches for /, Kind=ClusterRoleBinding

Hello
i have K8S 1.7.3 and trident v17.07.0.
while running install had error with no matches for /, Kind=ClusterRoleBinding
also the installer is looking openshift but not K8S.
./install_trident.sh -n trident
Installer assumes you have deployed OpenShift.
You are running in namespace default.
Trident will be deployed in namespace default.
For maximum security, we recommend running Trident in its own namespace: ./install_trident.sh -n trident
unable to recognize "/Users/i811144/rushi/devops/kubernetes/sapinternalprojects/saplama-lvm/virtual-colo-cluster/storageclass/trident-installer/trident-clusterrolebindings-openshift.yaml": no matches for /, Kind=ClusterRoleBinding
unable to recognize "/Users/i811144/rushi/devops/kubernetes/sapinternalprojects/saplama-lvm/virtual-colo-cluster/storageclass/trident-installer/trident-clusterrolebindings-openshift.yaml": no matches for /, Kind=ClusterRoleBinding
can someone give me a clue or solution

What OS are you running on? Also, what distribution of kubernetes are you using (openshift, kubeadm, minishift, etc)?


Autocomplete Search and search as you type feature

Making a general search bar, which searches while typing based on

name
phone number and
address

also Fixes #132


Does the patch function supports async state change ?

AFAIK in redux reducers are synchronous (and so are the patch functions)


"installed!" displayed in the console

Describe the bug
"installed !" is displayed in the console since the 2.0.0 release

Affected version(s)
2.0.0
To Reproduce
Steps to reproduce the behavior:
Just use a component that uses vue3-openlayer
Expected behavior
Nothing should be printed at all
Nothing critical of course, but this is a bit annoying

This looks strange. I couldn't find any log like this in the source in version 2.0.0. Can you cleanup your node_modules / remove this lib and install it again?


Request to keep all intermediate files

Hi Robert,
Compared to the BATMAN tutorial, your container leaves very little in the way of intermediate files...even with output_verbosity = 3!
Could you add an option to keep even more (maybe all of it)?
I think we'd find that really helpful.
Thanks,
Dianne

This tool does serve quite a different purpose to the BATMAN tutorial, in that it's intended to be used as a processing tool rather than an educational resource. But I suppose what I could do without too much difficulty / effort would be to enable --output_verbosity 4, which would disable the cleanup of intermediate files & upon completion move the entire scratch directory to the output location. It would be nowhere near BIDS Derivatives compliant, but perhaps that would suit nonetheless?

Cool! that is what I was hoping for! Verbosity level 4!!
Thank you
On Tue, Jun 25, 2019 at 5:28 PM Robert Smith<EMAIL_ADDRESS>wrote:

This tool does serve quite a different purpose to the BATMAN tutorial, in
that it's intended to be used as a processing tool rather than an
educational resource. But I suppose what I could do without too much
difficulty / effort would be to enable --output_verbosity 4, which would
disable the cleanup of intermediate files & upon completion move the
entire scratch directory to the output location. It would be nowhere
near BIDS Derivatives compliant, but perhaps that would suit nonetheless?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BIDS-Apps/MRtrix3_connectome/issues/49?email_source=notifications&email_token=AAHLUQGYCL6JLLNG4JA3DFLP4KZZNA5CNFSM4HTAHURKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYR6WPA#issuecomment-505670460,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHLUQCKMHT4SNH4SYYOIG3P4KZZNANCNFSM4HTAHURA
.

--
Dianne Patterson, Ph.D.
Research Scientist
<EMAIL_ADDRESS><EMAIL_ADDRESS>or
<EMAIL_ADDRESS>University of Arizona
Speech and Hearing Science 314
1131 E 2nd Street, Building #71
(Just East of Harvill)
If you don't hear back from me (and you expected to),
I blame the University's new SPAM filter.
Please write to my gmail account.
Antipiphany: That moment when you realize how little you actually know

Hi
I agree. Verbosity level 4 would be nice to have.
Especially I would like to work on the results of freesurfer's recon-all pipeline (given that parcellation is desikan, destrieux or hcpmmp1).
Currently I'm using the following workaround. Maybe that helps in the meantime.
docker run -i -v ${input_dir}:${input_dir}
-v ${mrtrix_output}:${mrtrix_output}
--entrypoint python bids/mrtrix3_connectome -c "from mrtrix3 import app; app.cleanup=False;
import sys; sys.argv='/mrtrix3_connectome.py ${input_dir} ${mrtrix_output} participant
--participant_label ${participant_label} --parcellation ${parcellation}
--output_verbosity 3 --template_reg ants --n_cpus ${n_cpus} --debug
'.split(); execfile('/mrtrix3_connectome.py')"
best
Paul


Populated relations, what's the proper way to define them?

Hi,
I have a use case where I might populate a relationship data at the server
and return it to the client with the populated data on the same field.
My resource definitions:
//User
angular.module('test')
.factory('User', function (restmod) {
  return restmod.model('/users').mix({
    projects: {
      hasMany: 'Project',
      keys: 'projects'
    }
  });
});

//Project
angular.module('test')
.factory('Project', function (restmod) {
  return restmod.model('/projects').mix({
    createdBy: {
      belongsTo: 'User',
      map: 'createdBy'
    }
  });
});

//My data structure:
User: {
	id: 'u1',
	name: 'User A',
	projects: ['p1', 'p2']
}

Project: {
	id: 'u1',
	name: 'Project A',
	createdBy: 'u1'
}

My server will populated the createdBy field when a cretin parameter is attached,
but restmod maps the field wrong and the $pk field holds all the data instead of just the "id" field.
I tried this with map: createdBy set instead of the key field, and it worked!
but as a result the resource throws an error when the field is not populated (expected an object).
What is the best way to go about this?

You should use key: 'createdBy' instead of map: 'createdBy'. map is for general property remapping, key is a belongsTo configuration to change the foreign key location.
I'm working of a relations guide to clarify relation options (#352).

Closing as solved.


Add experimental setting to define where files should be copied for markdown

For #157043

This causes windows integration test failures so will be reverted: https://github.com/microsoft/vscode/pull/169492


Pixiv users url changed

Source information
Pixiv 1.4.9
Source language
all
Source new URL
https://www.pixiv.net/search/users
Other details
Pixiv users url changed, the users filter doesnt work anymore
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I will fill out all of the requested information in this form.

I dont know where this issue goes, this was what I thought was best please go easy on me

Still hoping someone can take over this issue, there are quite a few renamed works on Pixiv and need to rely on Users to sift through them.
#1968


Check after unselect octave does not mark correct

Environment:

Device: iPhone 15 Pro
OS: iOS 17.5.1
Browser: Safari installed Progressive Web App

Description
Actual Behavior
Using Helmholtz notation, the note shown was 'a'. I selected '1' as octave first then unselected it. When I clicked on 'Check' button, it marks my answer as error and the correct answer is 'a'.
Expected Behavior
Expect unselecting from octave is able to mark my answer as correct.

Closed with pull request https://github.com/wangtjwork/3_mins_musical_societies/pull/2


Environment improvements

Changes

Syntax colouring in math-esque environments.
Math autocomplete in math-esque environments.
Changed the Environment structure behind the scenes.
Environments now carry possible package dependencies. Package names show in autocomplete and automatically import the package when chosen from the template.
MissingImports inspection also checks missing environment dependencies.
MissingImports now only underlines the command token (and only the environment name) opposed to the complete command.
Added amsmath environments to the environment list.

Also closes #28

Currently changing a few things before merging

[ ] Comments don't get highlighted in math-esque environments.
[ ] Add comment environment from the comment package plus highlighting support.


Axis range

Can we fix the axis range so it can never go beyond ‘today’? Otherwise it looks like ongoing roles have finished:
e.g. Lord Johnson of Lainston is currently in post but because the July 2024 gridline is showing, it looks like his role ended in early April 2024.
It’s not just an issue where months are on the x-axis – the 2025 gridline shows for Esther McVey.

Duplicate of #9


Weaviate Crashing , Failed to establish a new connection.[Error no 111]

Hi ,
I have been using weaviate docker for a while now . Recently , I wanted to do load testing and check my import and query time with a large dataset .
I am using a loop to add weaviate object in a class from a list of features I have already extracted .
I am able to add 100000 objects within 700 seconds in weaviate .
After successfully adding 100000 objects in a class , I tried to increase objects number and check performance but as soon it reaches near 200000 data objects , weaviate crashes . Following is the error I receive
---------------------------------------------------------------------------
RemoteDisconnected                        Traceback (most recent call last)
/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
    669             # Make the request on the httplib connection object.
--> 670             httplib_response = self._make_request(
    671                 conn,

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
    425                     # Otherwise it looks like a bug in the code.
--> 426                     six.raise_from(e, None)
    427         except (SocketTimeout, BaseSSLError, SocketError) as e:

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/packages/six.py in raise_from(value, from_value)

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
    420                 try:
--> 421                     httplib_response = conn.getresponse()
    422                 except BaseException as e:

/mnt/data/anaconda3/lib/python3.8/http/client.py in getresponse(self)
   1346             try:
-> 1347                 response.begin()
   1348             except ConnectionError:

/mnt/data/anaconda3/lib/python3.8/http/client.py in begin(self)
    306         while True:
--> 307             version, status, reason = self._read_status()
    308             if status != CONTINUE:

/mnt/data/anaconda3/lib/python3.8/http/client.py in _read_status(self)
    275             # sending a valid response.
--> 276             raise RemoteDisconnected("Remote end closed connection without"
    277                                      " response")

RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

ProtocolError                             Traceback (most recent call last)
/mnt/data/anaconda3/lib/python3.8/site-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
    438             if not chunked:
--> 439                 resp = conn.urlopen(
    440                     method=request.method,

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
    725
--> 726             retries = retries.increment(
    727                 method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/util/retry.py in increment(self, method, url, response, error, _pool, _stacktrace)
    409             if read is False or not self._is_method_retryable(method):
--> 410                 raise six.reraise(type(error), error, _stacktrace)
    411             elif read is not None:

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/packages/six.py in reraise(tp, value, tb)
    733             if value.__traceback__ is not tb:
--> 734                 raise value.with_traceback(tb)
    735             raise value

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
    669             # Make the request on the httplib connection object.
--> 670             httplib_response = self._make_request(
    671                 conn,

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
    425                     # Otherwise it looks like a bug in the code.
--> 426                     six.raise_from(e, None)
    427         except (SocketTimeout, BaseSSLError, SocketError) as e:

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/packages/six.py in raise_from(value, from_value)

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
    420                 try:
--> 421                     httplib_response = conn.getresponse()
    422                 except BaseException as e:

/mnt/data/anaconda3/lib/python3.8/http/client.py in getresponse(self)
   1346             try:
-> 1347                 response.begin()
   1348             except ConnectionError:

/mnt/data/anaconda3/lib/python3.8/http/client.py in begin(self)
    306         while True:
--> 307             version, status, reason = self._read_status()
    308             if status != CONTINUE:

/mnt/data/anaconda3/lib/python3.8/http/client.py in _read_status(self)
    275             # sending a valid response.
--> 276             raise RemoteDisconnected("Remote end closed connection without"
    277                                      " response")

ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

ConnectionError                           Traceback (most recent call last)
/mnt/data/anaconda3/lib/python3.8/site-packages/weaviate/data/crud_data.py in create(self, data_object, class_name, uuid, vector)
    123         try:
--> 124             response = self._connection.post(
    125                 path=path,

/mnt/data/anaconda3/lib/python3.8/site-packages/weaviate/connect/connection.py in post(self, path, weaviate_object)
    313
--> 314         return self._session.post(
    315             url=request_url,

/mnt/data/anaconda3/lib/python3.8/site-packages/requests/sessions.py in post(self, url, data, json, **kwargs)
    577
--> 578         return self.request('POST', url, data=data, json=json, **kwargs)
    579

/mnt/data/anaconda3/lib/python3.8/site-packages/requests/sessions.py in request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json)
    529         send_kwargs.update(settings)
--> 530         resp = self.send(prep, **send_kwargs)
    531

/mnt/data/anaconda3/lib/python3.8/site-packages/requests/sessions.py in send(self, request, **kwargs)
    642         # Send the request
--> 643         r = adapter.send(request, **kwargs)
    644

/mnt/data/anaconda3/lib/python3.8/site-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
    497         except (ProtocolError, socket.error) as err:
--> 498             raise ConnectionError(err, request=request)
    499

ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

The above exception was the direct cause of the following exception:

ConnectionError                           Traceback (most recent call last)
<ipython-input-42-b8a52fa5f756> in <module>
     11         single_start_time = time.time()
---> 12         weaviate_client.data_object.create(
     13                     {'name':str(img)},
     14                     'Load_testing',

/mnt/data/anaconda3/lib/python3.8/site-packages/weaviate/data/crud_data.py in create(self, data_object, class_name, uuid, vector)
    127             )
    128         except RequestsConnectionError as conn_err:
--> 129             raise RequestsConnectionError('Object was not added to Weaviate.') from conn_err
    130         if response.status_code == 200:
    131             return str(response.json()["id"])

ConnectionError: Object was not added to Weaviate.

I tried to add time.sleep in my loop after I add weaviate data object , it seemed to work for a little more data . Weaviate added around 260000 but then crashed and gave same error above.
Interestingly , If I wait for like 5-10 minutes , I am able to access weaviate by Weaviate.client() function but only one time . If I try to add any data object or even re-run Weaviate.client() command , it gives me error shown below.
In this state even if I try to access weaviate by weaviate.Client() function , I get error

---------------------------------------------------------------------------
ConnectionRefusedError                    Traceback (most recent call last)
/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/connection.py in _new_conn(self)
    158         try:
--> 159             conn = connection.create_connection(
    160                 (self._dns_host, self.port), self.timeout, **extra_kw

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/util/connection.py in create_connection(address, timeout, source_address, socket_options)
     83     if err is not None:
---> 84         raise err
     85

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/util/connection.py in create_connection(address, timeout, source_address, socket_options)
     73                 sock.bind(source_address)
---> 74             sock.connect(sa)
     75             return sock

ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

NewConnectionError                        Traceback (most recent call last)
/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
    669             # Make the request on the httplib connection object.
--> 670             httplib_response = self._make_request(
    671                 conn,

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
    391         else:
--> 392             conn.request(method, url, **httplib_request_kw)
    393

/mnt/data/anaconda3/lib/python3.8/http/client.py in request(self, method, url, body, headers, encode_chunked)
   1254         """Send a complete request to the server."""
-> 1255         self._send_request(method, url, body, headers, encode_chunked)
   1256

/mnt/data/anaconda3/lib/python3.8/http/client.py in _send_request(self, method, url, body, headers, encode_chunked)
   1300             body = _encode(body, 'body')
-> 1301         self.endheaders(body, encode_chunked=encode_chunked)
   1302

/mnt/data/anaconda3/lib/python3.8/http/client.py in endheaders(self, message_body, encode_chunked)
   1249             raise CannotSendHeader()
-> 1250         self._send_output(message_body, encode_chunked=encode_chunked)
   1251

/mnt/data/anaconda3/lib/python3.8/http/client.py in _send_output(self, message_body, encode_chunked)
   1009         del self._buffer[:]
-> 1010         self.send(msg)
   1011

/mnt/data/anaconda3/lib/python3.8/http/client.py in send(self, data)
    949             if self.auto_open:
--> 950                 self.connect()
    951             else:

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/connection.py in connect(self)
    186     def connect(self):
--> 187         conn = self._new_conn()
    188         self._prepare_conn(conn)

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/connection.py in _new_conn(self)
    170         except SocketError as e:
--> 171             raise NewConnectionError(
    172                 self, "Failed to establish a new connection: %s" % e

NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1ec878a730>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

MaxRetryError                             Traceback (most recent call last)
/mnt/data/anaconda3/lib/python3.8/site-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
    438             if not chunked:
--> 439                 resp = conn.urlopen(
    440                     method=request.method,

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
    725
--> 726             retries = retries.increment(
    727                 method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]

/mnt/data/anaconda3/lib/python3.8/site-packages/urllib3/util/retry.py in increment(self, method, url, response, error, _pool, _stacktrace)
    445         if new_retry.is_exhausted():
--> 446             raise MaxRetryError(_pool, url, error or ResponseError(cause))
    447

MaxRetryError: HTTPConnectionPool(host='<IP_ADDRESS>', port=8080): Max retries exceeded with url: /v1/.well-known/openid-configuration (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1ec878a730>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

ConnectionError                           Traceback (most recent call last)
<ipython-input-49-887fbaf9bb78> in <module>
----> 1 weaviate_client = weaviate.Client("http://<IP_ADDRESS>:8080")

/mnt/data/anaconda3/lib/python3.8/site-packages/weaviate/client.py in __init__(self, url, auth_client_secret, timeout_config)
     90             url = url[:-1]
     91
---> 92         self._connection = Connection(
     93             url=url,
     94             auth_client_secret=auth_client_secret,

/mnt/data/anaconda3/lib/python3.8/site-packages/weaviate/connect/connection.py in __init__(self, url, auth_client_secret, timeout_config)
     55         self._is_authentication_required = False
     56
---> 57         self._log_in()
     58
     59     def _log_in(self) -> None:

/mnt/data/anaconda3/lib/python3.8/site-packages/weaviate/connect/connection.py in _log_in(self)
     68         """
     69
---> 70         response = self._session.get(
     71             self.url + self._api_version_path + "/.well-known/openid-configuration",
     72             headers={"content-type": "application/json"},

/mnt/data/anaconda3/lib/python3.8/site-packages/requests/sessions.py in get(self, url, **kwargs)
    541
    542         kwargs.setdefault('allow_redirects', True)
--> 543         return self.request('GET', url, **kwargs)
    544
    545     def options(self, url, **kwargs):

/mnt/data/anaconda3/lib/python3.8/site-packages/requests/sessions.py in request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json)
    528         }
    529         send_kwargs.update(settings)
--> 530         resp = self.send(prep, **send_kwargs)
    531
    532         return resp

/mnt/data/anaconda3/lib/python3.8/site-packages/requests/sessions.py in send(self, request, **kwargs)
    641
    642         # Send the request
--> 643         r = adapter.send(request, **kwargs)
    644
    645         # Total elapsed time of the request (approximately)

/mnt/data/anaconda3/lib/python3.8/site-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
    514                 raise SSLError(e, request=request)
    515
--> 516             raise ConnectionError(e, request=request)
    517
    518         except ClosedPoolError as e:

ConnectionError: HTTPConnectionPool(host='<IP_ADDRESS>', port=8080): Max retries exceeded with url: /v1/.well-known/openid-configuration (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1ec878a730>: Failed to establish a new connection: [Errno 111] Connection refused'))

What could be the possible reason ? I know my class can take upto 2000000 objects as mentioned in my schema ( 'vectorCacheMaxObjects': 2000000) . Is there any connection/query limit for a duration of time or is it just a limitation of weaviate docker implementation ?

Are you able to provide any memory limits and how you are running Docker? There should be no limit specific to Docker or this number of vectors.
Also it may be useful to repeat your test with GOMEMLIMIT set https://weaviate.io/blog/2022/08/GOMEMLIMIT-a-Game-Changer-for-High-Memory-Applications.html and Weaviate version 1.15.


Add support for the 4 digit display.

This is a first version of the 4 digit display driver. I'm thinking of implementing a genserver version, so that I don't have to pass the pin number around as I can keep it in the state, yet it's already good enough to be useful.

Coverage remained the same at 0.0% when pulling 32036c53e4b756ec7f00c50f94ed6f98ceb15d35 on gballet:add_4digit_display into 81580eeaf4f02453dec212548fa5d6943e72d32b on bendiken:master.

Thanks, will review.


I'm having a problem: Leanback tries to connect to another instance, and feeds from both Leanback Lite V3 and Wii do not work anymore for some reason

I'm really sad that Leanback stopped working and tries to connect to other instance even though I installed correctly. And is the same thing with Leanback Lite V3 and Wii's feeds. Can you please help me? Thanks.

Leanback normal? /leanback that wasen't patched by me

Leanback normal? /leanback that wasen't patched by me

all of them :(

the feeds of llb and wii stopped working (only channels working) and it's sooo slow plus leanback 2010 tries to connect to <IP_ADDRESS> (culprit)

the feeds of llb and wii stopped working (only channels working) and it's sooo slow plus leanback 2010 tries to connect to <IP_ADDRESS> (culprit)

So you didn't follow the guide? Before making an issue CHECK THE GUIDE. This is 100% a non issue then


Tdp on chimera os

I can’t find any solution for the tdp because I’m sure aya neo air and the problem is that crankshaft doesn’t work and I have no other solution

HandyPT's developer seems to be working to bring the missing functionality to powertools + decky-loader, see conversation here. Decky seems to be more stable + have more developer resources thank Crankshaft, which would hopefully mean it won't break as often.
Note that I ran into the same problem on my Aya Neo Air Pro, I ended up creating a very quick and dirty TDP app as a fallback for whenever crankshaft stops working.
Note that I'm NOT affiliated with the ChimeraOS project at all. I created this app for my Personal use only, with the intent on the app being a backup option on my Aya Neo Air Pro. I take no responsibility if you decide to try the app.
If you do end up trying the app, and need help with setup, let me know. I can create a guide with setup instructions specifically for ChimeraOS.

HandyPT's developer seems to be working to bring the missing functionality to powertools + decky-loader, see conversation here. Decky seems to be more stable + have more developer resources thank Crankshaft, which would hopefully mean it won't break as often.
Note that I ran into the same problem on my Aya Neo Air Pro, I ended up creating a very quick and dirty TDP app as a fallback for whenever crankshaft stops working.
Note that I'm NOT affiliated with the ChimeraOS project at all. I created this app for my Personal use only, with the intent on the app being a backup option on my Aya Neo Air Pro. I take no responsibility if you decide to try the app.
If you do end up trying the app, and need help with setup, let me know. I can create a guide with setup instructions specifically for ChimeraOS.

Yes, why not, but do you have any idea when you could do this guide or not?

Instructions for ChimeraOS 38, note that this only works in ChimeraOS 38 or newer. The app is broken/doesn't work in version 37 and lower.
just in case this helps, I threw together a simple, unedited youtube video guide here: https://youtu.be/_QlGXR1_nyE

In Desktop mode, download simple TDP AppImage: https://github.com/aarron-lee/simple-ryzen-tdp/releases

make the appimage executable in the file's properties, or with chmod +x filename in terminal/console

Download + install Appimage launcher Lite: https://github.com/TheAssassin/AppImageLauncher#differences-between-regular-and-lite-version
create a /home/gamer/Applications directory
move the Simple Ryzen TDP Appimage into the /home/gamer/Applicationsdirectory
download the configure.sh file: https://github.com/aarron-lee/simple-ryzen-tdp/blob/main/configure.sh

make it executable, similar to how it was done for the appimage

open a terminal/console, and run which ryzenadj to get the location of your ryzenadj file

note, it's included by default in ChimeraOS 38 at the /usr/bin/ryzenadj filepath

open a terminal/console where your configure.sh is saved, and run sudo ./configure.sh path_from_previous_step

e.g. sudo ./configure.sh /usr/bin
default password on ChimeraOS is gamer

to make sure your ryzenadj is setup properly, run sudo ryzenadj -i in a new terminal/console window. You should not be prompted for a password.
look for the Simple Ryzen TDP app in your desktop's app list, and open it
add /usr/bin/ryzenadj to the ryzenadj path input

I'd recommend filling in other settings here too, such as TDP Range, TDP on App Start, etc

open Steam, and add the app as a non-steam game
the app should now show up in Gaming mode

Instructions for ChimeraOS 38, note that this only works in ChimeraOS 38 or newer. The app is broken/doesn't work in version 37 and lower.
just in case this helps, I threw together a simple, unedited youtube video guide here: https://youtu.be/_QlGXR1_nyE

In Desktop mode, download simple TDP AppImage: https://github.com/aarron-lee/simple-ryzen-tdp/releases

make the appimage executable in the file's properties, or with chmod +x filename in terminal/console

Download + install Appimage launcher Lite: https://github.com/TheAssassin/AppImageLauncher#differences-between-regular-and-lite-version

create a /home/gamer/Applications directory

move the Simple Ryzen TDP Appimage into the /home/gamer/Applicationsdirectory

download the configure.sh file: https://github.com/aarron-lee/simple-ryzen-tdp/blob/main/configure.sh

make it executable, similar to how it was done for the appimage

open a terminal/console, and run which ryzenadj to get the location of your ryzenadj file

note, it's included by default in ChimeraOS 38 at the /usr/bin/ryzenadj filepath

open a terminal/console where your configure.sh is saved, and run sudo ./configure.sh path_from_previous_step

e.g. sudo ./configure.sh /usr/bin

default password on ChimeraOS is gamer

to make sure your ryzenadj is setup properly, run sudo ryzenadj -i in a new terminal/console window. You should not be prompted for a password.

look for the Simple Ryzen TDP app in your desktop's app list, and open it

add /usr/bin/ryzenadj to the ryzenadj path input

I'd recommend filling in other settings here too, such as TDP Range, TDP on App Start, etc

open Steam, and add the app as a non-steam game

the app should now show up in Gaming mode

Hi first thank you I tried it works perfectly but I have a little question that has nothing but me to go to the desktop mod I have to go through the terminal but how did you only switch the button switch to desktop mode?

I have a little question that has nothing but me to go to the desktop mod I have to go through the terminal but how did you only switch the button switch to desktop mode?

No idea, it already just worked for me without any changes. Perhaps a ChimeraOS developer could chime in here.

If you use Gamescope session (you need to go to a terminal and enable it once) then you can get back and forth from desktop to GamepadUI without needing to switch to a terminal.

If you use Gamescope session (you need to go to a terminal and enable it once) then you can get back and forth from desktop to GamepadUI without needing to switch to a terminal.

How to use the gamescope session?


Check duplicate keys dataframe rename column

Adds a column pair check to the rename function prior to passing to Polars. Fixes #848
The root cause of the NIF panic was that Polars is unable to find the column a second time. So when given a rename with the same column name, the second parameter will always fail with ColumnNotFound.
That could be something that is fixed from within Polars, or we could mirror the error message more directly. Though I don't think that would work well as an error without being able to report the partially updated column names which are stuck down in the Rust code at that point.
I opted for a simple argument error which raises when a duplicated column is found. I assume that there are few enough parameters passed to a rename that iterating them isn't a performance hit in any way that matters.
Performing the check after the column pairs are parsed makes things simplest. I'm not sure if this is something that bears abstracting into the Shared module, but I named the function according to the patterns I saw there.
I'm not sold on my error message. If there's a consistent way that error messages are written, please advise on that.
I wrote a test for the case of a keyword list only, as the case of a map given to rename will raise a warning to the user alerting them to the duplicate key and it will be overwritten such that this error doesn't occur.

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


[Flutter 2 Migration] Status bar color doesn't match background (for custom themes AKA Nord)

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @zach in #feedback.

Either this was fixed, or i can't replicate on my virtual pixel device. Will need to test on my actual phone (OP7Pro)


An idea for further integration with Clojure world

Hello ! I played a bit with your wrapper. Thank you.
After a while, I was thinking it would be possible to provide a ring integration. The whole Exchange class could be translated to Ring datastructure, and we could benefit of the existing ecosystem around Ring. Camel would be a toolbox to create adapters and ports to the outer wild, and the clojure application would abstract from Camel through a ring API.
What are you thoughts about this ?

Hello,
Could you please explain a little bit more? Do you want to have some ring abstraction over camel jetty component?
from("jetty:http://<IP_ADDRESS>:9080/myservice?handlers=securityHandler") ?
I am trying to understand what problem do you want to solve

Hello @taraktikos
Sorry for my late response.
I wasn't talking about jetty in particular, I was thinking of using ring for any source / destination camel adapters.
For instance take this one https://camel.apache.org/components/3.4.x/mail-component.html
Most of the data coming from an email through the Exchange class could fit in a ring request. It would be more clojuresque.
Moreover, we could benefit of the same abstraction whatever the adapter in use, be it an email or an http request.
I wrote my first message very hastily. Ring is really adapted to the HTTP world and maybe it would be awkward sometimes to fit data in a ring map. But I would be curious to read your thoughts. Anyway I close this issue ;)


Don't create a JDialog at all if SHUT_UP_TACHI is on

For some reason on my system the game just freezes if anything
involved with dialog windows is done.
I'm on Liberica JDK Full 17.0.2.

Sure. I would investigate into why the JDialog thing causes a crash though. It'll be a day before I can release a binary with this change.


Security Requirements - Reference Security model spec

@rsahita had some thoughts he'd help with identifying things to reference in security model spec from BRS spec. While the security model spec isn't ratified, it'd be good to provide pointers in the spec for guidance purposes.

We also ought to go over the BBSR (https://developer.arm.com/documentation/den0107/latest/) and see which of these industry-accepted norms and practices are applicable. E.g., requirements on size of variable flash, variable size, access to NV vars, etc.
Some of these follow the BBR trend of repeating upstream spec requirements, of course.

https://lists.riscv.org/g/tech-security-model
https://github.com/riscv-non-isa/riscv-security-model

As a baseline, I think we can claim success, but I'm going to file a few more issues.


Added credentials option for iter_bucket.

This closes issue #259

@derpferd Ping. Are you able to finish this PR?

Merged. @derpferd Thank you for your effort!


Continuous integration for GPflow

It would be good to have continuous integration rather than checking the tests manually. It would also be good to run coverage at the same time. Actually at the time of writing the code coverage of the unit tests is very high.

This is ready to go in this PR: https://github.com/GPflow/GPflow/pull/18

Is there any other CI required @alexggmatthews , or do we have sufficient to s=close this for the moment?

I think it is already very good. Do you know if travis do mac as well as linux? That would be very useful.

It does do osx too, yes. But I'm having some difficulty getting it working.
See the travis_osx branch.
On 24 March 2016 at 17:19, Alexander G. de G. Matthews <
<EMAIL_ADDRESS>wrote:

I think it is already very good. Do you know if travis do mac as well as
linux? That would be very useful.
—
You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub
https://github.com/GPflow/GPflow/issues/11#issuecomment-200934725

So I gave codeship a try, and they don't have the same time-out problem as travis. The build completed in just under an hour (free version).
I'll try to link codeship with the coverage and we could consider abandoning travis.

@jameshensman can I close this for now?

Before doing so we should consider #101 and #103

I'm not very happy with coveralls. I think the service provided by codecov.io is better. Have been meaning to switch back, but didn't want to bring the repo down for everyone.

We have switched back to codecov now so I'm closing.


Add a simple property-based test using Hypothesis

This is a trivial property-based test, meant to get us started on #2444 by checking that installation and CI is working.

And... the test fails, because guess_rgb() does not check if the last dimension is of size 3 or 4 (as documented); it just checks if it's less than five.  Multi-dimensional non-RGB arrays with a narrow trailing dimension are therefore mishandled:
  =================================== FAILURES ===================================
  ___________________________ test_guess_rgb_property ____________________________

      @given(shape=array_shapes(min_dims=3, min_side=0))
      def test_guess_rgb_property(shape):
  >       assert guess_rgb(shape) == (shape[-1] in (3, 4))
  E       assert True == False
  E         +True
  E         -False

  napari/layers/image/_tests/test_image_utils.py:31: AssertionError
  ---------------------------------- Hypothesis ----------------------------------
  Falsifying example: test_guess_rgb_property(
      shape=(0, 0, 0),
  )

https://github.com/napari/napari/blob/102a7e8f845893c874d2b86f9371d41130100b89/napari/layers/image/_image_utils.py#L6-L24


Babylon fails to parse flow object as map type annotations

Input Code

let object : {[property: string]: string} = {}

Babylon/Babel Configuration

"babel": {
    "presets": [
      "latest",
      "stage-3"
    ],
    "plugins": [
      "transform-flow-strip-types",
      "syntax-flow"
    ],
    "sourceMaps": "inline"
  }

Expected Behavior

For babylon to properly parse this valid flow annotation, a link to the relevant flow docs
Current Behavior

A parsing error is throw for an unexpected token
Your Environment

software
version

Babylon
6.13.0

node
v7.5.0

npm
4.1.2

yarn
0.20.3

babel-eslint
7.1.1

babel-plugin-syntax-flow
6.18.0

babel-plugin-transform-flow-strip-types
6.22.0

Operating System
MacOS version 10.12.3

Closing because of personal error, this is not a bug. Babylon parses this correctly.


separate-window devTools can use the full window

Towards the end of the readme, there's a description of how to open the redux dev tools in a separate window.  On my machine this shows up using only part of the window.  To fix this, I insert an inline style in the document that full-sizes the dev tools root:
popup.document.write('

');

I can fork/change/PR if that's what's desired, but I though this might be easier.

I think this is the kind of thing people can customize if they want to.
An inline style would probably be compact enough that we can include it in README though.

Actually, it uses only a part of window because it is wrapped in a dock monitor, which is not needed there. Use only LogMonitor and div { width: 100%; height: 100% }.

Good point. Mind amending the README?

@gaearon, will do a pr. I even have a gist, but have to check whether it is outdated.

Just tried the example from README, LogMonitor renders well on Chrome and Firefox (Safari somehow kill auto popups without warning but it's not related), any css changes aren't necessary. The point is just not to use DockMonitor, which is already indicated there.


 on mobile devices shows keyboard

When click an option on element  on mobile devices the keyboard pop up

I think it's because the selectize plugin has a search (for option) feature.
Probably Flat UI should update the selectize plugin version.


What's the difference between SwitchAsync(Int32) and SwitchAsync(Int32, Int32)?

From reading the documentation, it's unclear to me when I would want to use SwitchAsync(Int32) vs SwitchAsync(Int32, Int32). The latter takes an extra parameter but the documentation doesn't indicate how the API uses that parameter. Both APIs have an identical description: "Visually replaces the calling window (app view) with a specified window."
Adam Comella
Microsoft Corp.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4757641d-4f21-7b5e-8450-330f197d0734
Version Independent ID: e87f9e89-4051-14e8-ce7c-20754bf36ab6
Content: ApplicationViewSwitcher.SwitchAsync Method (Windows.UI.ViewManagement) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.ui.viewmanagement.applicationviewswitcher.yml&version=GBlive&_a=contents
Product: windows
Git Login: wdg-dev-content
Microsoft Alias: wdg-dev-content

Hi Adam,
The primary difference between two calls is that SwitchAsync(Int32) requires the caller make the call from the ASTA thread of the view desired to be replaced as the "from" view. By calling from the ASTA thread of that view, it is implicitly determined by the API call. The SwitchAsync(Int32, Int32) call allows the specification of the view to switch from, which frees the caller from executing the call on the ASTA thread of the "from" view. By explicitly passing the same view ID as would be inferred via the SwitchAsync(Int32) call, the outcome of the calls are identical.
Danny Draper

@daniedr thanks for the explanation! Can we update the docs to make this relationship clearer?
Is the doc for SwitchAsync(Int32, Int32) incorrect in that it says "Visually replaces the calling window (app view) with a specified window."? Is there really a "calling window" in this context or should it use the term "fromViewId" instead of "calling window"?
I think it would be helpful to mention in the SwitchAsync(Int32) doc that it's like SwitchAsync(Int32, Int32) except it infers the fromViewId parameter based on what dispatcher it's called from.
Any update you make to the SwitchAsync(Int32, Int32) doc should probably also be made to the SwitchAsync(Int32, Int32, ApplicationViewSwitchingOptions) doc.

Thanks @rigdern - topics have been revised for clarity. Please review and open a new issue if updates are not adequate.

@Karl-Bridge-Microsoft thanks for the update. Where can I see the changes? I looked through the history of windows.ui.viewmanagement/applicationviewswitcher.md but couldn't find any commits related to this issue.

The updates are made in a private branch that can take some time to propagate. Barring pipeline issues, the updates should be live by tomorrow.


Update alerts-dynamic-thresholds.md

#sign-off

Learn Build status updates of commit da052fb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/azure-monitor/alerts/alerts-dynamic-thresholds.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@AbbyMSFT
Microsoft authors and contributors need to make content contributions through the private repository so the content can be staged and validated by the current validation rules.
After you make your changes in the private repo, review the articles on staging, and fix any validation issues, you can add the sign-off comment to let PR reviewers know that the updates are ready to be merged.
Read about authors working in the public repo for more information.
If you need help getting set up to work in the private repo, see Set up Git repository locally for documentation.
We'll close this PR. Thank you.


The blob 'file.txt' displays under the snapshots view of the blob 'f'

Storage Explorer Version: 1.26.0
Build Number: 20220929.2
Branch: rel/1.26.0
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Monterey 12.6 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test cases
Regression From: Previous release (1.23.1)
Bug Descriptions
The blobs whose prefix contain the name of one blob that does not have extension will display under the snapshots view of the no extension blob.

Steps to Reproduce

Expand one ADLS Gen2 storage account -> Blob Containers.
Create a blob container -> Upload one blob named 'file.txt'.
Right click the blob -> Click 'Clone...'.
Type 'f' as the new name.
Right click the clone blob 'f' -> Click 'Manage Snapshots'.
Observe whether only display blob 'f' under the Snapshots view.

Expected Experience
Only display blob 'f' under the Snapshots view.

Actual Experience
The blob 'file.txt' also displays under the Snapshots view.

Verified this issue on the build main/20220930.2. Fixed. So, we are going to close it.


Deferred-length character not recognized

A deferred-length allocatable string of characters is not recognized, i.e., there is no suggestion for some_string after using the following declaration:
character(:), allocatable :: some_string

The feature is part of the standard since Fortran 2003 but there seems to be relatively little documentation on it. I don't know of any other way of declaring it.

Thanks for the report! I just released a version (0.9.1) that should fix this issue. Let me know if you still see the problem after updating to the new version.


superagent not working as expected with CHROME

I am trying to print response from a API. very simple. Works fine when I run below script with Firefox.
code is something like this:
it('Verify "First Name" from api and profile page are same', function() {
     //Do initial login
       request
        .post("api url)
<EMAIL_ADDRESS>password:"tester"})
        .set('Accept', 'application/json')
        .end(function(err,res){
          console.log(res.body);
        });

    });

Any one facing issues with chrome and superagent.
Thanks

The code looks like from a test, not from actual superagent use. As it stands, this test is meaingless — it has no assertion, and doesn't even wait for the result.
Also you haven't provided any specific information about how chrome fails, what was expected and acutal result, and relevant information such as http headers from the client and the server.

@kornelski This test is an example. And as mentioned, I don't want to assert or do anything. Just want to print response. Test passes with no errors when browser is chrome. And superagent can be use in multiple ways. So here I want to use it to print response from api mentioned in post.  Plus end function will wait till console.log is executed so no additional waiting is required.
Thanks

So for purpose of printing the code looks fine. I can't help you without specific description of what doesn't work, what should work, and what HTTP header superagent has sent and received (from Chrome's network inspector or tcp dump).

@palakdesai7 From your test seems like it is not waiting for the response (super agent is completely async). If your are using mocha, you can return the whole expression as mocha is promise-aware and superagent returns promises.

@jonathansamines Thanks I will try that.

v5.0.0 was just released to NPM and an updated README is now available here on GitHub (see https://github.com/visionmedia/superagent#superagent).
What's new

Browser version is now only 19KB (that's 60% in file size savings from v4.x which was 48KB)!
Codebase refactored using xo, prettier, remark, and more
Browser compatibility linting via eslint-plugin-compat
Browserslist integration (current targets are > 1%, last 2 versions, ie 9)

How to install
npm install superagent@latest

Or if you're using yarn:

yarn add superagent@latest

Polyfills
Please see the Required Browser Features section in the README if you plan to support IE 9 and/or IE 10 and use superagent.


[move] Ban extraneous module bytes and metadata

Description

Ban extraneous module bytes
Ban metadata

Test Plan

New tests

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

I think PV 8 is already cut. Change to 9

Yarp, that's why it was set back to draft


Stake distribution snapshots

This PR adds stake distribution snapshots to the reward calculation.  The main change was to split up the ACCNT transition into two parts: 1) the part that calculates the stake distribution, and 2) the part that hands out the rewards.
There is now an overview subsection with:

Note the "mark, set, go" mnemonic. I thought that using numbers to index the snapshots would get too confusing.
The epoch boundary rule now uses a new SNAPS transition system in place of ACNT.

Note that the decayed deposits are now transferred to the fee pot at the epoch boundary, and not during the total pot calculation. The fee and the decayed amount are also snapshotted into a single value during SNAP, since the reward calculation will happen mid-epoch.
The other half of the old ACNT, namely the reward calculation, is now a part of a separate transition, as explained in the overview section.  It is call REWARD and uses the snapshots:

One thing to note is that the rewardOne function now behaves a bit differently, in that member rewards may now end up in the treasury if the reward account has been unregistered.  This is a consequence of no longer calculating the distribution and the reward in the same epoch. These unrealized rewards all go to the treasury.
Lastly, a couple minor things:

the pool parameters needed the registered reward accounts
there is a new derived type for pooled stake, ie the stake distribution that is group by the pool operator

Summary looks good, thanks Jared! Reviewing the changes now :)

One thing I've noticed (but this is for a future PR): we have the performance and moving average in [0,1], but this can exceed 1. There's still some discussion of the actual rewards should use the max of the moving average and 1 or not.

Did you find a spot where the moving average was typed as [0, 1]?  I thought I had replaced all of those with the positive reals, such as in the definition of Avgs.  I'm happy to change any of those in this PR!

I think I did see some occurrences of [0,1], though I think not in the diff, just in the doc, and just wanted to make a note that we'll need to change that at some point.


setup_ezdeploy.sh attempts to set the role assignment on same sub multiple times

Description
When running the setup_ezdeploy.sh script it attempts to assign the contributor role to the Service Principal it creates on the subscription for each tier even if the same sub is used for all tiers.
Steps to Reproduce
Steps to reproduce the behavior:

Run setup_ezdeploy.sh using a single subscription for each tier

Expected behavior
setup_ezdeploy.sh should determine how many unique subs were entered and only attempt to assign the role once for each unique sub
Actual behavior
Attempts to assign role to each sub

@Phydeauxman what is the impact of setting the same role multiple times on a single sub?
For a fix, how about using the AZ CLI to check the role assignments to see if the contributor role is already assigned, and skip the assignment if it's already there?

@brooke-hamilton no harm in attempting to set it more than once but we had already cleaned this up in the manual execution scripting. Going to add the code we created for that to the setup_ezdeploy.sh script.


[Question]How to fallback to loading indicator when refresh the page?

Thanks for your so detailed tutorial about building a solid-start app! I've learned so much from it!
But when I'm building my own app, I met a problem: When using the uri of a route to directly visit the page, or press F5 to refresh the page, the reactivity and fallback mechanism fail to work. But if you navigate to that route from another page, everything works fine.
This may be a little abstract, so I'm gonna give an example:
import { Suspense } from "solid-js";
import { createRouteData, useRouteData } from "solid-start"

export function routeData() {
  return createRouteData(() => {
    return new Promise((resolve) => {
      const delay = Math.random() * 5000 + 300;
      setTimeout(() => resolve(delay), delay);
    });
  })
}

export default function About() {
  const data = useRouteData<typeof routeData>()

  return

    {data.state}
    <Suspense fallback={
Loading...
}>

Page load cost {data()?.toFixed()}ms.

    </Suspense>

}

Create a new solid-start project just as your tutorial says. and replace the content of the file about.tsx using the code above.
Start the dev server, and goto localhost:5173 (I use vscode so the procedure is automatic).
Click About on the nav bar and you will see:
pending
Loading...

and after a few seconds, the data is ready:
ready
Page load cost 3934ms.

Everything seems perfect.
But when you hit the F5 button, Oops. The favicon keeps spinning till the data is ready. And you will get the following result:
pending
Page load cost 2117ms.

The reactivity on data.state was lost. And the fallback mechanism on <Suspense> also failed.
If you enter the url http://localhost:5173/about and visit the page directly, same result will happen.
Maybe this is by design, but how do I fallback when I meet this scene of data loading?
I tried to ask this question on the official Discord, but got not much help. So I'm here to try my luck.
Many thanks in advance!

I got the answer and I will put it here for reference:
In entry-server.tsx, change renderAsync to renderStream, and everything will be fine.
Closing.


SASL Authentication offload

As part of #70 we need a mechanism for the proxy to authenticate clients for itself prior to the establishment of a connection to a backend cluster. Doing this means:

it's possible to prevent unauthenticated clients from interacting with the backend cluster entirely.
the users identity can be used as an input for deciding which cluster to connect to, and with which protocol filters.

Requirements:

We eventually need to support SaslHandshake and SaslAutheticate RPCs with the same SASL mechanisms that Kafka itself supports, but initially it's sufficient to support only a subset (e.g. SASL-PLAIN and SASL-SCRAM-SHA).
Initially it's only the protocol parts of this which we want to address, rather than how to implement/configure the user database needed to make it work.
This mechanism should be optional. i.e. it should still be possible to configure a proxy so as to pass SaslHandshake and SaslAutheticate RPCs to a backend cluster.

When SASL Authentication offload is in use, how do the brokers learn of the authenticated principal?   Would you use a co-operating configuration/plugins on the broker to allow the authenticate principal to be passed to broker?  Or would you also offload the authorization too so the brokers don't need to know anything about the principal at all.

Ultimately I think it depends on the end user's requirement/use case for using a proxy. However, as stated this issue is about authentication only and even then only for the connection phase (that is, the obtained principal is not something consumed by protocol filters, only net filters). In other words, this issue isn't about the proxy doing authorization itself, therefore authz would still be a responsibility of brokers and therefore, yes, a way of authenticating with brokers is also needed. That could take a number of forms. For example, a proxy might authenticate as itself but use a delegation token, or a customised SASL mechanism/handler in the broker could be used.


for fcu v2 use correct invalid params error code

PR description
fcuV2 should return invalid params not invalid payload attributes.
Fixes #6757
fixes 10 engine-withdrawals tests (hive)
Fixed Issue(s)

Thanks for sending a pull request! Have you done the following?

[x] Checked out our contribution guidelines?
[x] Considered documentation and added the doc-change-required label to this PR if updates are required.
[ ] Considered the changelog and included an update if required.
[x] For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Most advanced CI tests are deferred until PR approval, but you could:

[x] locally run all unit tests via: ./gradlew build
[ ] locally run all acceptance tests via: ./gradlew acceptanceTest
[ ] locally run all integration tests via: ./gradlew integrationTest
[ ] locally run all reference tests via: ./gradlew ethereum:referenceTests:referenceTests

just re-running hive tests

INFO[03-21|11:56:25] simulation ethereum/engine finished      suites=5 tests=404 failed=0


Issue with .PNG image

Hello,
I am trying this on both .JPEG and .PNG image and on .JPEG images it it working fine but on .PNG images it is not working.
can you tell why?

Hi @omkadam251
The script wouldn't care about what the image type is, as long as it's something the browser can display. My guess is that there is an error in the way wheelzoom has been applied. I'd double check that the PNG image elements have their src set to the PNG (that the PNG is not being used as a background-image) and that object your are passing into wheelzoom actually contains the elements you want to target.


Incomplete instructions for "Scale Number of Diego Cells" story

This issue applies to the onboarding story Scale Number of Diego Cells.
Current instructions:

Edit the number of Diego Cell instances in the manifest. (If you do this, BOSH will take the number of instances of all the jobs from the manifest as well, which will make it take a long time to run.)
Perform a deploy using bosh -d DEPLOYMENT_NAME deploy MANIFEST (Incomplete instructions.)
Observe the new VM appearing by running bosh vms (Yes!)

Recommended changes for these instructions:

Specify an enviroment with -e.
A better way to scale the number of Diego Cells is to refer to two operations files when you submit the bosh cf deploy command.

Ops file 1: Use the scale-to-one-az.yml operations file to make the process run more quickly.
Ops file 2: Create and use a new ops file specifying the number of Diego Cell instances. Call this ops file after you call scale-to-one-az.yml so that the new ops file takes priority. That new file could read as follows:

- type: replace
  path: /instance_groups/name=diego-cell/instances
  value: 4

Additional notes from @jimbosity:

For this story: https://www.pivotaltracker.com/story/show/153951795
It doesn't specify that we should edit the operations file (.yml) to scale up the diego cell instances. Rather, it suggests altering the "MANIFEST" - if the user alters the primary manifest (cf-deployment.yml), the command will scale up all sorts of things. This is because in the original story to deploy CF, we use the operations file.
Also, the command is given as bosh -d DEPLOYMENT_NAME deploy MANIFEST - though it needs to include -o OPERATIONS FILE

I think this commit should clarify how to best update the manifest: https://github.com/pivotal-cf/onboarding/commit/6e67f06516faedea153ca16ef2693a0844ddbb37. It explicitly walks you though creating an ops-file.


[brotli] Build error :x64-windows failed with: BUILD_FAILED

Host Environment

OS: [Windows 11]
Compiler: cmake 3.22.2

category: vcpkg-bug
To Reproduce
Steps to reproduce the behavior:
`./vcpkg install sfml
./ vcpkg install sfml:x64-windows
Failure logs
CMake Error at scripts/cmake/vcpkg_copy_tool_dependencies.cmake:31 (message):
Could not find PowerShell Core; please open an issue to report this.
Call Stack (most recent call first):
ports/brotli/portfile.cmake:24 (vcpkg_copy_tool_dependencies)
scripts/ports.cmake:146 (include)
error: building brotli:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest port files with git pull and vcpkg update.
vcpkg-tool version: 2022-06-15-b0f08e40f8e8752dd0b260138ee078bd9599559c
vcpkg-scripts version: 945e171c8 2022-06-17 (2 days ago)
Additional context
I am able to install other packages just fine. For some reason it doesn't work for (sfml)

Could you please try below workaround?
Just open vcpkg/scripts/vcpkgTools.xml and go to end of file. you will see <tool name="powershell-core" os="windows"> so change it to <tool name="pwsh" os="windows"> and save file.

I tried the workaround you suggested but it still gave me the same error as before.
CMake Error at scripts/cmake/vcpkg_copy_tool_dependencies.cmake:31 (message):
Could not find PowerShell Core; please open an issue to report this.
Call Stack (most recent call first):
ports/brotli/portfile.cmake:24 (vcpkg_copy_tool_dependencies)
scripts/ports.cmake:146 (include)
error: building brotli:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest port files with git pull and vcpkg update.

I was updating my files and it gave me this message.
The following packages differ from their port versions:
vcpkg-cmake:x64-windows          2022-05-10#1 -> 2022-06-07

Could not find PowerShell Core; please open an issue to report this

If you installed the PowerShell from Windows Store, then you still need to install PowerShell Core; or uninstall the PowerShell from Windows Store.

So I uninstalled PowerShell I downloaded from the Windows Store and re-downloaded it from another source. And once I tried installing sfml, it actually worked this time. Now I can implement sfml into my projects.
Thank you again for your assistance Cheney-W.

Thanks for your reply!


Use the addon-sdk

If we used the mozilla add-on sdk then we can not only reduce the size of this add-on greatly, but we'll also be able to run tests for it on travis much more easily.
https://developer.mozilla.org/en-US/Add-ons/SDK

we're using jpm now


Inference time not optimized (continiue from #1087)

previous issue : #1087
I'd use below code to transfer learning yolov5 on my custom dataset
!sparseml.yolov5.train --data {dataset.location}/data.yaml --cfg models_v5.0/yolov5s.yaml \ --hyp data/hyps/hyp.finetune.yaml \ --recipe zoo:cv/detection/yolov5-s/pytorch/ultralytics/coco/pruned-aggressive_96?recipe_type=transfer --batch 16\ --epochs 100 --imgsz 416 --save-period 5
and after that, export to onnx by !sparseml.yolov5.export_onnx command.
I expect this onnx file give faster inference than yolov5s traind on same custom data which exported to onnx.
but i get this result for sparssified yolov5s :
on CPU: 345ms
on GPU: 13 ms
and this for yolov5s :
on CPU: 345 ms
on GPU: 12 ms

Which runtime are you using for the CPU result? Are you using DeepSparse Runtime?

i use onnxruntime(CPU build)	library
like this  guide : https://onnxruntime.ai/docs/api/python/api_summary.html#load-and-run-a-model

ONNX Runtime is not optimized to run sparse models. Neural Magic's DeepSparse is a runtime that is specifically designed to take advantage of kernel sparsity. Because DeepSparse knows the location of the 0's ahead of time, it is able to "skip" the multiply-adds by 0, which dramatically speeds up computation.
As such, to see a big speedup from sparsity, try running with DeepSparse. DeepSparse accepts an ONNX file as input.
You can see an example here: https://docs.neuralmagic.com/use-cases/object-detection/deploying

i did this way.
but inference time is increased !
average inference time for 100 image on CPU is 497.
last time without DeepSparse was 345

i did this way.
but inference time is increased !
average inference time for 100 image on CPU is 497.
last time without DeepSparse was 345

another try :
i test inference time by using sparse YOLOv5 model with my image test.
`from deepsparse import Pipeline
model_stub = "zoo:cv/detection/yolov5-l/pytorch/ultralytics/coco/pruned-aggressive_98"
yolo_pipeline = Pipeline.create(
task="yolo",
model_path=model_stub,
)
import pandas as pd
df = pd.DataFrame(columns=('category', 'time' ,'std', 'desc'))
for im , image_path in  get_image(10) :
m = %timeit -o yolo_pipeline(images=[image_path], iou_thres=0.6, conf_thres=0.001)
i = len(df)
df.loc[i] = ['inference',m.average , m.stdev , image_path]
`
average inference time for 100 image on CPU is 1.8 s.

@mpanahish - what type of system are you running on (how many cores)?
Can you try running the deepsparse.benchmark script - this is an automated performance testing script?
deepsparse.benchmark [stub]

Neural Magic's DeepSparse is a runtime that is specifically designed to take advantage of kernel sparsity.

Does this imply that with this library (SparseML), we will not see any inference speedup when using unstructured pruning (sparsity of atomic parameters/elements/weights instead of kernels/channels)?

Hi @mpanahish running your benchmark in a Pipeline will add extra overhead that may not be measured in your other experiments. For example, the Pipeline call includes loading the image, (simple) preprocessing, and postprocessing + NMS.
Calls like loading the image will be a fixed cost that even if they take a few ms will add up in your sum of 100 calls.
Per @rsnm2's suggestion, you can try using the deepsparse.benchmark utility with --engine deepsparse and then --engine onnxruntime to compare performance between those runtimes.  Additionally, any information you can provide on your CPU can help us further optimize your deployment.

Neural Magic's DeepSparse is a runtime that is specifically designed to take advantage of kernel sparsity.

Does this imply that with this library (SparseML), we will not see any inference speedup when using unstructured pruning (sparsity of atomic parameters/elements/weights instead of kernels/channels)?

Hi @SunHaozhe SparseML itself isn't a runtime, but just a framework for sparsifying and exporting these models. Our DeepSparse repository and engine will see speedups for unstructured pruning, as well as other sparsification techniques.
"Kernel sparsity" here refers to the entire parameter (kernel) of a NN layer, in other words unstructured.  There is a bit of a name overlap with "kernel" in the context of a convolutional layer - so see how you got here.


Coinbase - works fine for an hour then gets 'stuck' on Ask or Bid price

I have Coinbase set up and successfully trading.  After about an hour or so it seems to get 'stuck' on a single ask or bid order with a price too/low high to fill and does not create any new orders.  I'm using Mode Top, BBO, and APmode off.  Running on OSX Sierra with the most up to date docker.  Restarting Tribeca solves the issue and it starts placing correctly priced orders again.  Any suggestions?

Creating a docker volume seemed to fix this issue for me. You can create a volume with docker volume create <volume-name> and then in the docker-compose.yml file add the volume to the services. Your docker-compose.yml file should look something like this (replace 'yourVolumeName' with your chosen volume name):
version: '2'
services:
  tribeca:
    build:
      context: ./
    image: tribeca
    env_file:
      - ./env
    links:
      - tribeca-mongo
    ports:
      - "80:80"
    tty: true
    volumes:
      - yourVolumeName:/data
  tribeca-mongo:
    image: mongo
    restart: on-failure
    volumes:
      - yourVolumeName:/data/db
volumes:
  yourVolumeName:
   external: true

Thank you SO much @uxjulia for all your help!  I added in the volumes as you described and it definitely seemed to improve things, though Tribeca still stalls after 2-3 hours of seemingly working fine and making trades.  Tribeca stops showing the trades scrolling by and also stops making new trades.  I think there must be some other set up nuance I'm missing.  I'm running it on a MacBook Pro with 16gb ram, SSD, and OSX Sierra and nothing else running at the same time so don't think it's a system resource issue.
A few things I think I could be missing:

For the docker volume, do I need to do anything else in addition to the above like creating the /data or data/db files or folders.
I wonder if I don't have docker-machine set up correctly.  I don't have any containers running in docker-machine.
Is there any sort of 'timeout' variable for leaving it unattended that I need to adjust?
Is the volume of trade data maxing out the mongoDB or some other aspect after it runs for a couple hours?

Please let me know if you have any thoughts or advice on anything I maybe missing.  I really appreciate it, thank you!!


add to PyPi

If we want to package this with CVXPY, it would be nice to have it on PyPi.

Sure. It would be great to have it integrated to some continuous integration service so that the packages are automatically generated.
Note that CVXPY recommends Anaconda installation over pip because it gives way fewer problems.

Yeah, I wanted to add that, but then forgot :p
On Fri, 12 May 2017 at 16:56 Bartolomeo Stellato<EMAIL_ADDRESS>wrote:

Sure. It would be great to have it integrated to some continuous
integration service so that the packages are automatically generated.
Note that CVXPY recommends Anaconda installation over pip because it gives
way fewer problems.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bstellato/mathprogbasepy/issues/2#issuecomment-301210318,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABXrjKlTqzxqWQY1bGYjOXharGfnKCDjks5r5PG9gaJpZM4NZtfi
.


add auto refresh

Automatically show all stats for kitties on the page even when the page is changed in the SPA

lost some code will try again


Source maps specified in index.js but not included in blade

Description
The dist js files specify a sourceMappingUrl, but since no source maps are included in blade it results in a developer console error, 404 for index.js.map.
Proposed solution
Either completely skip source map in the build, or include them as part of the @routes directive (but then - should they be included in production or not?). Perhaps users could import the js using their build tool (leaving source map generation up to them), while using blade only for the JSON routes.

 Microbundle doesn't seem to support this but Rollup does and it looks straightforward, so I might PR it.
As for using @routes just for the JSON, if I'm understanding you correctly, this should already be possible with the ziggy.skip-route-function config option.

@bakerkretzmar This seems more like a bug than an enhancement to me. We are using @routes and the route helper and since updating Ziggy we are getting warnings in the developer console on all pages where Ziggy is used, in production. Please consider relabeling this issue so it might get a higher priority.

DevTools failed to load SourceMap: Could not load content for https://www.example.com/index.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

My PR to add support for inline sourcemaps was just merged into microbundle, so as soon as they tag a release this should be trivial to add. Thanks for your patience.
Note to future me: in production just strip out the sourcemap line entirely to avoid error messages.

Hi. I am using Safari and adding @routes to blade make pages unable to load anything because Safari returns a 404 error on sourcemaps "index.js.map".
I have fixed it temporarily by creating a dummy index.js.map file.
Please consider release the merged fix. Thank you for the awesome lib.

@graceoflives just released v1.0.5 👍🏻


How to avoid adding headers to the generated c# code

Is it possible to avoid adding headers to the generated C# client. I am using NSwag.MSBuild and I want to handle adding of the headers in base class.
Thanks!

Can you provide more information/some sample code?
You can modify an operation/document with an custom operation/document processor...


Config

Coverage remained the same at 100.0% when pulling 69e2089dac67a7033a32bfc9e6ee2fa221d9e751 on config into e34b85f6cf903b8fbeb5f1b4b56d422418f533ce on main.


Issue #87

Delete trailing spaces and add submodule
simulator/infra/config/config.cpp and simulator/infra/cache/t/miss_rate_sim.cpp had try/catch and using namespace

simulator/infra/cache/t/miss_rate_sim.cpp had ... using namespace

Well, you may fix it.

simulator/infra/config/config.cpp ... had try/catch

I tried to remove exceptions here, but that was not trivial. I'll take a look again.


How to check if no new video frames received via remote participant

Description
[Description of the issue]
So when the remote user put app in the background we lose incoming video frames, but non of the delegate methods of RemoteParticipantDelegate are firing in that situation.
This is important because somehow I need to show the local participant that another person has just put a video in the background (it's not us, or twillio or internet connection issue).
I am using web API as well, so it is possible that remote participant using safari on other-end, and local participant with ios native app, so that must be done via twillio API.
Is there any method like noNewRemoteVideoFrameRecived or remoteCameraSourceWasInterrupted?

Hi @jigar007,

So when the remote user put app in the background we lose incoming video frames, but non of the delegate methods of RemoteParticipantDelegate are firing in that situation.

In this scenario we would generally recommend disabling the Participant's LocalVideoTrack when a camera interruption due to backgrounding occurs.

Is there any method like noNewRemoteVideoFrameRecived or remoteCameraSourceWasInterrupted?

Yes. You could use -[TVICameraSourceDelegate cameraSourceWasInterrupted:reason] to detect the start of an interruption. Then disable your LocalVideoTrack in response.
On the remote side, listen for -[TVIRemoteParticipantDelegate remoteParticipant:didDisableVideoTrack:] to update your UI to reflect the disabled track.
Best,
Chris


Update canary to 0.975.310,244

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as fbf39febc600bb85cf0fded4f60798fe9f876ea1. Your contribution is still credited to you.

i think the sha is wrong
==> Downloading https://rink.hockeyapp.net/api/2/apps/b36ac4a380ea4907940c2054f6163050/app_versions/244?format=zip ######################################################################## 100.0% ==> Verifying checksum for Cask canary ==> Note: running "brew update" may fix sha256 checksum errors Error: sha256 mismatch Expected: 068bda1f98ec4b63e443c2e98352c42940b00dbab7987e8056902869bbce32bf Actual:<PHONE_NUMBER>f5c6cfb7c9776e602a380102a18d0b471bdd855d3aa873ead091a2 File: /Users/oranshuster/Library/Caches/Homebrew/Cask/canary--0.975.310,244 To retry an incomplete download, remove the file above.

i think the sha is wrong
[oranshuster:~] $ brew cask install canary ==> Satisfying dependencies complete ==> Downloading https://rink.hockeyapp.net/api/2/apps/b36ac4a380ea4907940c2054f6163050/app_versions/244?format=zip ######################################################################## 100.0% ==> Verifying checksum for Cask canary ==> Note: running "brew update" may fix sha256 checksum errors Error: sha256 mismatch Expected: 068bda1f98ec4b63e443c2e98352c42940b00dbab7987e8056902869bbce32bf Actual:<PHONE_NUMBER>f5c6cfb7c9776e602a380102a18d0b471bdd855d3aa873ead091a2 File: /Users/oranshuster/Library/Caches/Homebrew/Cask/canary--0.975.310,244 To retry an incomplete download, remove the file above.

Seems they have rolled back the update.  About 2-3 hrs back the version was 0.975.310,244 but now its back to the earlier one

@vitorgalvao should we roll it back ?
Ref: #33805


Temporary bandaid to make rendering working correctly

I suppose we should agree on proper semantics at #39 before publishing 0.6.0, though.


Strict deps java cmd line flag

strict_java_deps for java can be configured via command line
This was pending a change in Bazel to be released in 0.6.0

@or-shachar wdyt?

@ittaiz when do you think we should add some docs on using strict deps? I’d like to benchmark it on our largest repo and see if what the perf cost is and what it finds.

see #329
On Sat, Nov 4, 2017 at 1:10 PM P. Oscar Boykin<EMAIL_ADDRESS>wrote:

@ittaiz https://github.com/ittaiz when do you think we should add some
docs on using strict deps? I’d like to benchmark it on our largest repo and
see if what the perf cost is and what it finds.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/pull/320#issuecomment-341926295,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIFw-IMnwv5JWeoeYH38-Ol_X0REVVks5szMSugaJpZM4QBz7C
.


improve code style and remove unnessasory code

Description

improve code style and reuse variable：

         ctx := srv.Context()
	p.hostsLock.Lock()
	// md, _ := metadata.FromIncomingContext(srv.Context())
        // reuse ctx
	md, _ := metadata.FromIncomingContext(ctx)

remove unnessasory code

// we have checked the case of "certChain == nil"
if certChain == nil {
	return opts, nil
}
// then this check is not nessasory, we can remove it savely
if certChain != nil {

}

exchange the two line and avoid one hashmap read

	logger, ok := globalLoggers[name]
	if !ok {
		//globalLoggers[name] = newDaprLogger(name)
		//logger = globalLoggers[name]

		logger = newDaprLogger(name)
		globalLoggers[name] = logger
	}

Issue reference
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

/ok-to-test

Thank you for your contribution and welcome to the Dapr project!


chore(deps): update terraform terraform-ibm-modules/secrets-manager/ibm to v1.1.2

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/secrets-manager/ibm (source)
module
patch
1.1.0 -> 1.1.2

Release Notes

terraform-ibm-modules/terraform-ibm-secrets-manager (terraform-ibm-modules/secrets-manager/ibm)
v1.1.2
Compare Source
Bug Fixes

update variable description for endpoint_type (#36) (6831dc0)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This PR is included in version 1.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


SW-1365 Rename founderId to plantId in v2 accession API

In v1, we used the term "founder ID" to refer to an externally-issued identifier
for an individual specimen of an endangered plant species. We're switching to the
term "plant ID" in the v2 user interface. Update the API to match the new
terminology, and add the field to the search API using its new name.

Current dependencies on/for this PR:

main

PR #659   👈

This comment was auto-generated by Graphite.

This is a (slightly) breaking change; I didn't add a backward-compatibility alias for this new name since we haven't released any v2 clients to the world yet. The old field name will be ignored on input.

Do we need corresponding tickets for FE and Mobile-app?

We already have them: SW-136 and SW-1367

Holding off merging this until we get confirmation from the product team that it's okay to briefly break the mobile app before release (see discussion in Slack).


Cert Manager Ingress Shim is impossible to use w/RancherUI

Setup

Rancher version: 2.6.4
Browser type & version: Chrome

Describe the bug
Cert Manager Ingress Shim uses the spec.tls.hosts to determine what ends up in a cert's subjectAltNames, you specify the spec.tls.secretName and cert-manager will create this secret on its own, so it will not already exist.
The UI will not let you input a secretName if it does not exist, so you cannot setup ingress certs via cert manager ingress-shim with the UI and must edit the YAML directly.
To Reproduce

Setup a ClusterIssuer with cert-manager
Create an Ingress and annotate it with cert-manager.io/cluster-issuer: ClusterIssuerName
Under the Certificates tab, type in the name of the secret name you want in the Certificate - Secret Name field
Error Prompt appears saying "the selected certificate does not exist"
Tab over and try to input a hostname, and observe the secretName you typed is erased and mandatory to select from dropdown.

Result
You cannot type a SecretName into the UI that does not exist, so you cannot get a cert issued by cert-manager unless you edit this ingress yaml and add a tls.secretName field to it manually.
Expected Result
I should be able to type in the name of a secret that does not yet exist in this field, so automation can create it for me for the hostname I specify on the certificate tab.
Screenshots

Additional context
When using ACME with ExternalDNS you need an ingress to create the DNS so the certs can be issued, so using the ingress-shim capability solves the chicken and egg situation, both are created together.
More Info: Cert Manager Ingress Shim Documentation

It's possible to do this by selecting the new value from the drop down before clicking/moving away from the field, so I'm moving this issue over to QA to validate. For additional detail see https://github.com/rancher/dashboard/pull/5856#pullrequestreview-990353515.
There is definitely a usability issue here, and that's now covered by https://github.com/rancher/dashboard/issues/6077


[Static typing] Make DictConfig generic in the dataclass that it represents (if any)

Is your feature request related to a problem? Please describe.
The return type of a lot of functions in omegaconf is a union of a lot of types, which makes them not very useful. For example, to_object returns a Union with Any, so it's effectively Any.
Describe the solution you'd like
Proof of concept for a generic DictConfig:
from dataclasses import dataclass
from typing import Any, Dict, Generic, Type, TypeVar

T = TypeVar("T")

class DictConfig(Generic[T]):
    pass

class OmegaConf:
    @staticmethod
    def structured(obj: Type[T]) -> DictConfig[T]:  # the DictConfig "remembers" the original class
        raise NotImplementedError

    @staticmethod
    def create(obj: Dict[Any, Any]) -> DictConfig[None]:  # not a structured config, so we just say `None`
        raise NotImplementedError

    @staticmethod
    def to_object(cfg: DictConfig[T]) -> T:  # very precise return type
        raise NotImplementedError

@dataclass
class MyConfig:
    x: int

def main() -> None:
    d = OmegaConf.structured(MyConfig)
    reveal_type(d)  # DictConfig[MyConfig]
    o = OmegaConf.to_object(d)
    reveal_type(o)  # MyConfig

Describe alternatives you've considered
There might be other solutions to the problem of unspecific return types, but I haven't thought of one yet.
Additional context
None.

Cool idea!
A related category of possible typing improvements is more precise use of typing.overload for the omegaconf.OmegaConf methods.

I suspect that such a change would not be backward compatible.
For example, currently annotations like this are legal:
cfg: DictConfig = OmegaConf.structured(...)

If we make the change you've proposed, mypy will probably require annotations like this:
cfg: DictConfig[SomeType] = OmegaConf.structured(...)

Since we don't want to break the annotations in existing code, I'll milestone this feature request for OmegaConf 3.0.

This feature would be grate. I'm using OmegaConf with Metaflow. Being able to parse a config file into a structured (read: correct type) config would eliminate a day or two of wokarounds I need to add.


Gate on CSS tests on linux.

@larsbergstrom @edunham I'm merging this; but I'll keep an eye out in case this sets stuff on fire.

blocked on https://github.com/servo/servo/pull/6259

(Note: This PR also makes the mac builder show failure (without gating on it) instead of just unconditionally being green)


Date and time pickers

Will implement a calendar for picking a date and a date range, as well as a simple spinner-based time picker. Both can be seen in the UI kit page

Also, I would suggest implementing some kind of click-and-hold on the buttons

@aabounegm but I applied all the suggestions this time...

Yeah, click and hold would be cool, but I decided against it for:

it is not essential
the value range is not that huge, so unprecise spinning wouldn't amount to much

Maybe some other time

Yes, but in a different way that is still not so idiomatic


Problem with composer install

Something is wrong with egeloen/http-adapter dependency:
  Problem 1
    - Installation request for kreait/firebase-php ~0.4 -> satisfiable by kreait/firebase-php[0.4.0].
    - kreait/firebase-php 0.4.0 requires egeloen/http-adapter dev-feature/tape-recorder-subscriber as 0.5 -> no matching package found.

Thanks for the heads up, @kop, I will fix that this afternoon, this evening at the latest.

Could you try the latest release (0.4.1) please? I am quite optimistic that this should fix the issue.
BTW, the next pre-release version will introduce breaking changes - the API will be changed so that it matches the JavaScript-API, but if you rely on the current implementation, I would make the current calls deprecated first.

Thank you, @jeromegamez, it works now.
As for me, I'm ok with breaking changes - I'm aware of them and will be able to update the code quickly. But for other guys who might use this extension, I think it would be better to go with a semver and introduce breaking changes in 1.x.x branch.
Anyway, thanks for a nice package :)

It's my pleasure, especially because you are the first person that I know of using this, yay! ❤


Question about validate() function in train_cls.py

Hey, thank you so much for your interesting work.
When I run with train_cls.py, there is a error occurs in validate() function.
In the last of the function, mIoU is made between pred_map and gt_map.
The pred map has the size of HW1, and each pixel value in the map shows the prediction labels.
However, the gt_map is HW3, which is the map read directly from the 'SegmentationAug' dir, it is a RGB image.
Could you please tell the convert method from the RGB into the Seg label?
Thank you so much for your time.

Oh I understand, the SegAug dir is different from the original one.
Sorry for bothering~


Add github actions workflows

background
close: https://github.com/async-rs/async-std/issues/246

bors r+

Bors seems to hang.

I fixed install mdbook. Please re-review 🙇

bors r+

Bors breaks on this. I'll merge it in good faith to test.


Cells rendering infinitely after clicking to edit any cell

To recreate, run this repo and check the console.
If you'd rather recreate from scratch, run npx create-react-app datasheet and install react-datasheet. Then replace the app.js with the one from the repo above.
Once you run, your CPU will spike and stay there until you reload. the console will show it rendering in an infinite loop.

I've found out that the reason this is happening is the valueRenderer.
It seems like using any kind of conditional and rendering a div in the valueRenderer causes an infinite loop.
for example, if you change your valueRenderer to the following function, it'll cause an infinite loop
Causes Infinite Loop
const renderCell = cell => {
	console.count('rendering cell')
	if (true) return
{cell.value}

}

Returning a plain value doesn't cause the infinite loop, even with a conditional.
Doesn't cause infinite loops
const renderCell = cell => {
	console.count('rendering cell')
	if (true) return cell.value
}

ok, so the naming conventions are not super intuitive, but I figured out a workaround. The valueViewer doesn't cause the infinite loop if you render something conditionally.
If I have renderCell just return the value, and the valueViewer handle the conditional rendering like so, you won't get any infinite loops (so far as I've tested):
const renderCell = cell => cell.value
const valueViewer = cell => {
	console.count('rendering cell')
	if (<condition>) return
{cell.value}

}


Extract kustomizations from existing manifests

The possibility to generate kustomize files/folders for vanilla manifests - with options to extract/introduce common labels/annotations/etc

duplicate of #325


Reformat Models: GPU

This change is being split out from #420 and it:

Cleans up the model look a bit
Fixes the documentation header

@guidow, PTAL

Looks ok


gam.exe being classified as virus by several AVs

The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.
Please confirm the following:

I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue.
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki

Full steps to reproduce the issue:

we got a report that our AV was alerting on gam.exe (gam-4.99-windows-x86.zip)
virustotal.com shows 11 AVs think it's malware (https://www.virustotal.com/gui/file/597f2d7451642c9ff110cba4737801b8a246a7cb5350c10bf51778c1ca5daa2f/detection)
virustotal.com shows 3 AVs think the 64bit is malware too (https://www.virustotal.com/gui/file/6f3c9b076dd0885bb4ab9092c7c8983517a5128f58eb55ef3828ff9d23c942dd/detection)

Expected outcome (what are you trying to do?):
You might want to contact the vendors about this. I'd guess they are "upset" by your "make Win executable out of self-unpacking python package" trick
Or you might just want to document this in your wiki and make your users report it to their AV vendors if it happens? (less work for you ;-)
Actual outcome (what errors or bad behavior do you see instead?):

I would be interested to hear from developers of this project as to why they think Virustotal.com has several vendors flagging the Windows MSI and ZIP downloads as containing a Trojan.
https://www.virustotal.com/gui/file/50c01444d6a88f3010eaf2c9358da66baba048f045c34242c7b6137e7494c3ee/detection


"Share" context menu in editor gutter lost github-related sharing

Repro:

Right-click on line number
Click on "Share..."
:bug: See no github-related items (but they're present in "Share..." command in command palette)

https://github.com/microsoft/vscode/assets/16353531/42f890cd-15a0-46fd-b240-92fa471e662c

I can't reproduce this behavior, does this still occur for you?

can't repro either
I'm surprised, however, that these actions are not within the "Share..." sub-menu