Rancher 2 node template auto scaling group (ASG) support

Does rancher 2 support autoscaling groups through node templates? It would be nice to be able to scale up and down from the rancher UI, but have it done through an auto scaling group. The main reason I need this is to leverage autospotting.

👍

👍

👍

Are there any news or any new plans for scheduling this topic? I would be highly interested in that feature, because the kubernetes/autoscaler isn't an option for us. Our company uses Hetzner as Cloud provider and therefor we already have existing Node Templates and Pools in our Rancher System we want to reuse, k8s/autoscaler has no access to that resources, so we must maintain the pools twice and need to take care about the node setup as well, because also the rancher node driver isn't used there.


Promote avoid-recursive-trap experiment

Description
This has been operating for some time in our dogfood stacks and we have not
noticed any issues. It is time to promote experiment. I have not added any
code to invert the experiment, as I believe it is safe to promote without
that.
Context
https://3.basecamp.com/3453178/buckets/27608512/messages/6299400220
Testing

[x] Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
[x] Code is formatted (with go fmt ./...)

Has the experiment been promoted? I still see the trap unless I run with avoid-recursive-trap ?

Never mind, I upgraded the agent 3.59.0 -> 3.69.0 and now it's on by default. Sorry :)


Can not PUT a 0 bytes object when Object Lock is enabled on s3 bucket

When uploading an empty file to an s3 bucket which has object lock enabled:
An error occurred (InvalidRequest) when calling the PutObject operation: Content-MD5 HTTP header is required for Put Object requests with Object Lock parameters

The API requires this header, but in botocore it does not inject it, I think problem is probably here within the handler for before-call.s3.PutObject:
https://github.com/boto/botocore/blame/1aac4d7c1f311826a1a4686e54444f6ded72ea45/botocore/handlers.py#L187-L196
Look at the if-statement:
if request_dict['body'] and 'Content-MD5' not in params['headers']:
    # ... the params['headers']['Content-MD5'] gets set ...

It neglects the possibility that request_dict["body"] is empty.
For >= 1 bytes files, content-md5 gets automatically set and upload succeeds.

Thank you for your post. I am not able to reproduce the issue with a Object Lock enabled s3 bucket. Can you please give me a code sample to reproduce the issue ? I have tested with this code:
s3 = boto3.client('s3')
data = ''
res = s3.put_object(Bucket = 'bucketname', Body=data, Key='emptyfile.txt')

It would be helpful if you could provide me debug logs as well. You can enable logs by adding boto3.set_stream_logger('') to your code.

Hi, it seems it doesn't occur with put_object.  Here is a reproducer:
import boto3

boto3.set_stream_logger('')
s3 = boto3.client('s3')
with open("./emptyfile.txt", "w") as f:
    pass
res = s3.upload_file(Bucket='jump-integration-testing', Filename="emptyfile.txt", Key='emptyfile.txt')

I am not able to reproduce the issue with upload_file api call. Can you please provide me debug log ? You can enable log by adding boto3.set_stream_logger('') to your code.

Here is the log.  I have search/replaced the actual bucket name with example-bucket and replaced some strings which looked auth-related with XXXXX.
>>> botocore.__version__
'1.15.5'
>>> boto3.__version__
'1.12.5'
>>> client.upload_file(Bucket=bucket, Filename=fname, Key=key)
2020-02-24 14:50:32,471 s3transfer.utils [DEBUG] Acquiring 0
2020-02-24 14:50:32,472 s3transfer.tasks [DEBUG] UploadSubmissionTask(transfer_id=0, {'transfer_future': <s3transfer.futures.TransferFuture object at 0x7fffe77f5780>}) about to wait for the following futures []
2020-02-24 14:50:32,472 s3transfer.tasks [DEBUG] UploadSubmissionTask(transfer_id=0, {'transfer_future': <s3transfer.futures.TransferFuture object at 0x7fffe77f5780>}) done waiting for dependent futures
2020-02-24 14:50:32,473 s3transfer.tasks [DEBUG] Executing task UploadSubmissionTask(transfer_id=0, {'transfer_future': <s3transfer.futures.TransferFuture object at 0x7fffe77f5780>}) with kwargs {'client': <botocore.client.S3 object at 0x7fffe7676a20>, 'config': <boto3.s3.transfer.TransferConfig object at 0x7fffe785cef0>, 'osutil': <s3transfer.utils.OSUtils object at 0x7fffe785cdd8>, 'request_executor': <s3transfer.futures.BoundedExecutor object at 0x7fffe77f5048>, 'transfer_future': <s3transfer.futures.TransferFuture object at 0x7fffe77f5780>}
2020-02-24 14:50:32,473 s3transfer.futures [DEBUG] Submitting task PutObjectTask(transfer_id=0, {'bucket': 'example-bucket', 'key': 'emptyfile.txt', 'extra_args': {}}) to executor <s3transfer.futures.BoundedExecutor object at 0x7fffe77f5048> for transfer request: 0.
2020-02-24 14:50:32,473 s3transfer.utils [DEBUG] Acquiring 0
2020-02-24 14:50:32,474 s3transfer.tasks [DEBUG] PutObjectTask(transfer_id=0, {'bucket': 'example-bucket', 'key': 'emptyfile.txt', 'extra_args': {}}) about to wait for the following futures []
2020-02-24 14:50:32,474 s3transfer.utils [DEBUG] Releasing acquire 0/None
2020-02-24 14:50:32,474 s3transfer.tasks [DEBUG] PutObjectTask(transfer_id=0, {'bucket': 'example-bucket', 'key': 'emptyfile.txt', 'extra_args': {}}) done waiting for dependent futures
2020-02-24 14:50:32,474 s3transfer.tasks [DEBUG] Executing task PutObjectTask(transfer_id=0, {'bucket': 'example-bucket', 'key': 'emptyfile.txt', 'extra_args': {}}) with kwargs {'client': <botocore.client.S3 object at 0x7fffe7676a20>, 'fileobj': <s3transfer.utils.ReadFileChunk object at 0x7fffe77f5a20>, 'bucket': 'example-bucket', 'key': 'emptyfile.txt', 'extra_args': {}}
2020-02-24 14:50:32,476 botocore.hooks [DEBUG] Event before-parameter-build.s3.PutObject: calling handler <function validate_ascii_metadata at 0x7fffe94d3e18>
2020-02-24 14:50:32,476 botocore.hooks [DEBUG] Event before-parameter-build.s3.PutObject: calling handler <function sse_md5 at 0x7fffe94d32f0>
2020-02-24 14:50:32,476 botocore.hooks [DEBUG] Event before-parameter-build.s3.PutObject: calling handler <function convert_body_to_file_like_object at 0x7fffe94d4730>
2020-02-24 14:50:32,476 botocore.hooks [DEBUG] Event before-parameter-build.s3.PutObject: calling handler <function validate_bucket_name at 0x7fffe94d3268>
2020-02-24 14:50:32,476 botocore.hooks [DEBUG] Event before-parameter-build.s3.PutObject: calling handler <bound method S3RegionRedirector.redirect_from_cache of <botocore.utils.S3RegionRedirector object at 0x7fffe78a1c50>>
2020-02-24 14:50:32,476 botocore.hooks [DEBUG] Event before-parameter-build.s3.PutObject: calling handler <bound method S3ArnParamHandler.handle_arn of <botocore.utils.S3ArnParamHandler object at 0x7fffe785c278>>
2020-02-24 14:50:32,476 botocore.hooks [DEBUG] Event before-parameter-build.s3.PutObject: calling handler <function generate_idempotent_uuid at 0x7fffe94d0e18>
2020-02-24 14:50:32,477 botocore.hooks [DEBUG] Event before-call.s3.PutObject: calling handler <function conditionally_calculate_md5 at 0x7fffe94d31e0>
2020-02-24 14:50:32,477 botocore.hooks [DEBUG] Event before-call.s3.PutObject: calling handler <function add_expect_header at 0x7fffe94d3598>
2020-02-24 14:50:32,477 botocore.handlers [DEBUG] Adding expect 100 continue header to request.
2020-02-24 14:50:32,477 botocore.hooks [DEBUG] Event before-call.s3.PutObject: calling handler <bound method S3RegionRedirector.set_request_url of <botocore.utils.S3RegionRedirector object at 0x7fffe78a1c50>>
2020-02-24 14:50:32,477 botocore.hooks [DEBUG] Event before-call.s3.PutObject: calling handler <function inject_api_version_header_if_needed at 0x7fffe94d4840>
2020-02-24 14:50:32,477 botocore.endpoint [DEBUG] Making request for OperationModel(name=PutObject) with params: {'url_path': '/example-bucket/emptyfile.txt', 'query_string': {}, 'method': 'PUT', 'headers': {'User-Agent': 'Boto3/1.12.5 Python/3.6.7 Linux/3.10.0-862.3.2.el7.jump1.x86_64 Botocore/1.15.5 Resource', 'Expect': '100-continue'}, 'body': <s3transfer.utils.ReadFileChunk object at 0x7fffe77f5a20>, 'url': 'https://s3.us-east-2.amazonaws.com/example-bucket/emptyfile.txt', 'context': {'client_region': 'us-east-2', 'client_config': <botocore.config.Config object at 0x7fffe7680320>, 'has_streaming_input': True, 'auth_type': None, 'signing': {'bucket': 'example-bucket'}}}
2020-02-24 14:50:32,478 botocore.hooks [DEBUG] Event request-created.s3.PutObject: calling handler <function signal_not_transferring at 0x7fffe78dfd90>
2020-02-24 14:50:32,478 botocore.hooks [DEBUG] Event request-created.s3.PutObject: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7fffe7676e80>>
2020-02-24 14:50:32,478 botocore.hooks [DEBUG] Event choose-signer.s3.PutObject: calling handler <function set_operation_specific_signer at 0x7fffe94d0d08>
2020-02-24 14:50:32,478 botocore.hooks [DEBUG] Event before-sign.s3.PutObject: calling handler <bound method S3EndpointSetter.set_endpoint of <botocore.utils.S3EndpointSetter object at 0x7fffe785c2e8>>
2020-02-24 14:50:32,479 botocore.utils [DEBUG] Defaulting to S3 virtual host style addressing with path style addressing fallback.
2020-02-24 14:50:32,479 botocore.utils [DEBUG] Checking for DNS compatible bucket for: https://s3.us-east-2.amazonaws.com/example-bucket/emptyfile.txt
2020-02-24 14:50:32,479 botocore.utils [DEBUG] URI updated to: https://example-bucket.s3.us-east-2.amazonaws.com/emptyfile.txt
2020-02-24 14:50:32,479 botocore.auth [DEBUG] Calculating signature using v4 auth.
2020-02-24 14:50:32,479 botocore.auth [DEBUG] CanonicalRequest:
PUT
/emptyfile.txt

host:example-bucket.s3.us-east-2.amazonaws.com
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20200224T205032Z

host;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2020-02-24 14:50:32,479 botocore.auth [DEBUG] StringToSign:
AWS4-HMAC-SHA256
20200224T205032Z
20200224/us-east-2/s3/aws4_request
25179a5532ae4de45526bd3205b8d77b8ddf6d2c73220697fc77635a4716f65c
2020-02-24 14:50:32,479 botocore.auth [DEBUG] Signature:
XXXX
2020-02-24 14:50:32,480 botocore.hooks [DEBUG] Event request-created.s3.PutObject: calling handler <function signal_transferring at 0x7fffe78dfe18>
2020-02-24 14:50:32,480 botocore.endpoint [DEBUG] Sending http request: <AWSPreparedRequest stream_output=False, method=PUT, url=https://example-bucket.s3.us-east-2.amazonaws.com/emptyfile.txt, headers={'User-Agent': b'Boto3/1.12.5 Python/3.6.7 Linux/3.10.0-862.3.2.el7.jump1.x86_64 Botocore/1.15.5 Resource', 'Expect': b'100-continue', 'X-Amz-Date': b'20200224T205032Z', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=XXXXX/us-east-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=XXXX', 'Content-Length': '0'}>
2020-02-24 14:50:32,481 urllib3.connectionpool [DEBUG] Starting new HTTPS connection (1): example-bucket.s3.us-east-2.amazonaws.com:443
2020-02-24 14:50:32,519 botocore.awsrequest [DEBUG] Waiting for 100 Continue response.
2020-02-24 14:50:32,531 botocore.awsrequest [DEBUG] Received a non 100 Continue response from the server, NOT sending request body.
2020-02-24 14:50:32,531 urllib3.connectionpool [DEBUG] https://example-bucket.s3.us-east-2.amazonaws.com:443 "PUT /emptyfile.txt HTTP/1.1" 400 None
2020-02-24 14:50:32,532 botocore.parsers [DEBUG] Response headers: {'x-amz-request-id': '810C625F52FBD9A9', 'x-amz-id-2': 'eQKHswqMZ2Gq8GaEKpnEVvl1jZVguBgw9C0HfL8nLQtu8UW0ZCw2iy1TyzkCmEQxDvrcYlsBvlw=', 'Content-Type': 'application/xml', 'Transfer-Encoding': 'chunked', 'Date': 'Mon, 24 Feb 2020 20:50:32 GMT', 'Connection': 'close', 'Server': 'AmazonS3'}
2020-02-24 14:50:32,532 botocore.parsers [DEBUG] Response body:
b'<?xml version="1.0" encoding="UTF-8"?>\n<Error>InvalidRequest<Message>Content-MD5 HTTP header is required for Put Object requests with Object Lock parameters</Message><RequestId>810C625F52FBD9A9</RequestId><HostId>eQKHswqMZ2Gq8GaEKpnEVvl1jZVguBgw9C0HfL8nLQtu8UW0ZCw2iy1TyzkCmEQxDvrcYlsBvlw=</HostId></Error>'
2020-02-24 14:50:32,532 botocore.hooks [DEBUG] Event needs-retry.s3.PutObject: calling handler <botocore.retryhandler.RetryHandler object at 0x7fffe78a1ac8>
2020-02-24 14:50:32,532 botocore.retryhandler [DEBUG] No retry needed.
2020-02-24 14:50:32,533 botocore.hooks [DEBUG] Event needs-retry.s3.PutObject: calling handler <bound method S3RegionRedirector.redirect_from_error of <botocore.utils.S3RegionRedirector object at 0x7fffe78a1c50>>
2020-02-24 14:50:32,535 s3transfer.tasks [DEBUG] Exception raised.
Traceback (most recent call last):
  File "/tmp/.venv/lib64/python3.6/site-packages/s3transfer/tasks.py", line 126, in __call__
    return self._execute_main(kwargs)
  File "/tmp/.venv/lib64/python3.6/site-packages/s3transfer/tasks.py", line 150, in _execute_main
    return_value = self._main(**kwargs)
  File "/tmp/.venv/lib64/python3.6/site-packages/s3transfer/upload.py", line 692, in _main
    client.put_object(Bucket=bucket, Key=key, Body=body, **extra_args)
  File "/tmp/.venv/lib64/python3.6/site-packages/botocore/client.py", line 316, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/tmp/.venv/lib64/python3.6/site-packages/botocore/client.py", line 626, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InvalidRequest) when calling the PutObject operation: Content-MD5 HTTP header is required for Put Object requests with Object Lock parameters
2020-02-24 14:50:32,536 s3transfer.utils [DEBUG] Releasing acquire 0/None
Traceback (most recent call last):
  File "/tmp/.venv/lib64/python3.6/site-packages/boto3/s3/transfer.py", line 279, in upload_file
    future.result()
  File "/tmp/.venv/lib64/python3.6/site-packages/s3transfer/futures.py", line 106, in result
    return self._coordinator.result()
  File "/tmp/.venv/lib64/python3.6/site-packages/s3transfer/futures.py", line 265, in result
    raise self._exception
  File "/tmp/.venv/lib64/python3.6/site-packages/s3transfer/tasks.py", line 126, in __call__
    return self._execute_main(kwargs)
  File "/tmp/.venv/lib64/python3.6/site-packages/s3transfer/tasks.py", line 150, in _execute_main
    return_value = self._main(**kwargs)
  File "/tmp/.venv/lib64/python3.6/site-packages/s3transfer/upload.py", line 692, in _main
    client.put_object(Bucket=bucket, Key=key, Body=body, **extra_args)
  File "/tmp/.venv/lib64/python3.6/site-packages/botocore/client.py", line 316, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/tmp/.venv/lib64/python3.6/site-packages/botocore/client.py", line 626, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InvalidRequest) when calling the PutObject operation: Content-MD5 HTTP header is required for Put Object requests with Object Lock parameters

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/tmp/.venv/lib64/python3.6/site-packages/boto3/s3/inject.py", line 131, in upload_file
    extra_args=ExtraArgs, callback=Callback)
  File "/tmp/.venv/lib64/python3.6/site-packages/boto3/s3/transfer.py", line 287, in upload_file
    filename, '/'.join([bucket, key]), e))
boto3.exceptions.S3UploadFailedError: Failed to upload /abspath/emptyfile.txt to example-bucket/emptyfile.txt: An error occurred (InvalidRequest) when calling the PutObject operation: Content-MD5 HTTP header is required for Put Object requests with Object Lock parameters

I put a breakpoint in botocore (within handlers.py:calculate_md5) and see this:
In [1]: request_dict
Out[1]:
{'url_path': '/example-bucket/emptyfile.txt',
 'query_string': {},
 'method': 'PUT',
 'headers': {'User-Agent': '...'},
 'body': <s3transfer.utils.ReadFileChunk at 0x7fffe6955e20>,
 'url': 'https://s3.us-east-2.amazonaws.com/example-bucket/emptyfile.txt',
 'context': {'client_region': 'us-east-2',
  'client_config': <botocore.config.Config at 0x7fffe78fccd0>,
  'has_streaming_input': True,
  'auth_type': None,
  'signing': {'bucket': 'example-bucket'}}}

In [2]: request_dict["body"]
Out[2]: <s3transfer.utils.ReadFileChunk at 0x7fffe6955e20>

In [3]: bool(request_dict["body"])
Out[3]: False

@wimglenn - I have not correctly configured the retention period that's why i was not getting error. After configured it correctly i am able to reproduce the issue.

@swetashre  Any update on this?  We are limping along with a locally patched botocore for the moment.

@swetashre we're experiencing the same issue. Any chance to the the fix from @wimglenn merged, please?


[New Port Request] V-EZ

Library name: V-EZ
Library description: V-EZ is an open source, cross-platform (Windows and Linux) wrapper intended to alleviate the inherent complexity and application responsibility of using the Vulkan API.
Source repository URL: https://github.com/GPUOpen-LibrariesAndSDKs/V-EZ
Project homepage (if different from the source repository):
Anything else that is useful to know when adding (such as optional features the library may have that should be included):
Requires [vulkan] dependency

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.


Add support for input_event's new info map

input_event now provides a lot of information about input devices
during enumeration, but that broke the name matching code. This is a
minimal patch to support both the current input_event v0.3.1 way and the
new info map way once it's released.
You can see the new information for the Raspberry Pi Touchscreen in https://github.com/LeToteTeam/input_event/pull/7. I think it should be possible to make the touch screen code pretty generic whenever someone next takes a pass at it.

Thanks Frank. I'll merge this in very soon. Feels like a minor release to hex as well in order to keep you guys unblocked...


Make filename visible in TestFile?

It would be convenient for debugging to have filename be pub and not Optional in TestFile. It seems like filename is always set to Some anyway, and having the filename around will make it easier to debug failures (e.g., attach the current filename to a logging span).
Would you be open to a PR for this?

Yup sounds good to me! I forget why it was optional in the first place (probably: I was still new to Rust at the time).

Fixed in #7.


404 at /docker-for-azure/

I found a broken link : https://docs.docker.com/docker-for-azure/
I arrived on this page through: https://github.com/docker/docker.github.io/issues/12061

This appears to be a duplicate of #12061. Closing here, lets track this in the other issue.

This appears to be a duplicate of #12061. Closing here, lets track this in the other issue.


Arix coins issue

I have written wrong memo mistakenly please send my arix coins to this address Lbank
EQChSx9FI4Wyu5hK0sREHh0jyuBx_fwJbfulPrujtv8dENct
1432221921
OR
My tonkeeper address is
UQALFQyVHAHBqlTx0XZKJcLNZHfqlMZJ0UA5uQTP3_Mbm4Sj
Thanks

@Makmallatif  It appears that you’ll need to reach out to the support team regarding this issue. I'll have to refer you to the official support live chat with the ticket ID TON07638
Please see the link below to our dedicated support line:
Tonkeeper Network DApps Support Ticket Requests.
Click on the live chat icon at the bottom corner of the page to initiate chat with a live support agent.


Settings do not take effect

https://github.com/Semantic-Org/Semantic-UI-Ember/blob/2287f49185a591d3674f64b19968afc6714924ac/index.js#L50
I've patched this locally include (app && app.options['SemanticUI']), otherwise the settings as advertised aren't picked up.
    const options = (app && app.options['SemanticUI']) || {};

Example config:
# ember-cli-build.js
'use strict';

const EmberApp = require('ember-cli/lib/broccoli/ember-app');

module.exports = function(defaults) {
  let app = new EmberApp(defaults, {
    SemanticUI: {
      import: {
        css: true,
        javascript: false,
        images: false,
        fonts: false
      }
    }
  });
  return app.toTree();
};

+1 Just tried a fresh install and javascript: false is still loading Javascript; we have jQuery disabled so this is a blocking issue

fixed


Help wanted Add a COVID-19 Project to CodeTriage

Instructions here: https://github.com/codetriage/CodeTriage/blob/master/config/initializers/covid.rb#L2

Hello,
I am a beginner to the open source world and would love to contribute to this project.
I have found an important repository that I would like to add to the list.
https://github.com/nytimes/covid-19-data
I would welcome any feedback on my pull request.
Thank you

Done and done. Thanks for the PR! https://github.com/codetriage/CodeTriage/pull/1286


Imperva Cloud WAF content update

Required items, please complete
Change(s):

Rule severity adjusted
Updated query time for High severity rules
contains -> has_any
fixed confusing description

Version Updated:

Yes

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

Hey @spsocprime please resolve the conflicts, thanks.

Hey @spsocprime, this branch has conflicts that must be resolved, can you please resolve so we can merge, thanks.

Hey @spsocprime, this branch has conflicts that must be resolved, can you please resolve so we can merge, thanks.

@spsocprime, can you please resolve conflicts so we can merge, thanks.

Please refer to new PR:
https://github.com/Azure/Azure-Sentinel/pull/5357


Fixes YAML.safe_load method use.

The existing from doesn't work correctly on my Ruby 27.3 install
https://ruby-doc.org/stdlib-3.0.0/libdoc/psych/rdoc/Psych.html#method-c-safe_load

Thanks for contributing! Released as v1.0.1.


Preparation suggestions for leading towards ProjectPart3

There's alot to do from now until mar.13 (part3 due date) and the eclass 'project part 3' page suggests that we should have established half of the requirements ready by then.
"This project part focuses on a working prototype with about half of the requirements. You must have some server connectivity working by this part."
I personally think that we should have every requirement attempted/progressing (just not needed to be in final form).
I suggest we start dividing up the android .java and .xml file creation tasks between everyone (starting with the CRC classes that we know will be important bases of the app); and we start tackling specific user stories (also in order of general base importance going first).
Additionally, we should review the user stories for possible enhancements on specifications (like some of the 'enhancement' issues already posted on the Project Board) and review the eclass forum for questions that other teams have asked (things that we also may want to consider).

Harrison mentioned interest in doing areas of class creation and junit testing.
I dont mind doing areas of aesthetics UI tuning (xml tuning).

hi @everyone i started playing with the hash maker because i wanted to see what data examples we could produce so as put them on our UI (and app in general).
I have uploaded to my github branch an excel file with example strings to convert into sha256 hashcodes (they are mostly just random text, but some of them are strings i got from qrcodes/barcodes off pizza boxes and pop cans).
i also made some example naming conventions for the generated code names ( something like spirited fighting goose), based on the first 3 hash chars.
i also uploaded an example android studio project that contains algorithms to take strings and convert into:
hashcodes,
generated names (as seen in the excel sheet),
and a point system (it's similar to eclass examples, but the algorithm is complicated to me , but i made something to start with; mine is set where it checks every 4 hash chars at a time, but neglects to check the char in between the 4th and 5th, when iterating).
additionally, i made some example usernames in the excel to later attach to the qrcodes (whenever we get to that).
have a look at the excel sheet (list of species, etc...) and the android project (qrhashtester.zip) on my github branch. we can always change the output of names and points later. for now the hashcode generation works good.

@everyone since we all split up into UI/xml production and backend/.java production: please state which files you are working on. I am currently doing the UI/xml startup pages (title screen, signup, homescreen, quick-navigation) and working my way forward in the same fashion as seen on the UI story flow path; which means i will next (after feeling like my startups are functional enough) probably work on add-code-camera-prompt xml, code-acquisition-description xml(s) (including the 'sorry couldnt get' and 'gotcha' and 'already got' xmls)


The use of ground truth localisation leads to errors

Hello!
I'm running astrobee from the provided docker image with the following entrypoint command
/astrobee_init.sh roslaunch astrobee sim.launch sviz:=true ground_truth_localizer:=true

Which outputs a lot of errors like
Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame body at time 32.960000 according to authority unknown_publisher
         at line 278 in /tmp/binarydeb/ros-noetic-tf2-0.7.5/src/buffer_core.cpp

It could be related to https://github.com/ros/geometry2/issues/467
I've tried updating ROS packages inside the container (hoping that there has been an update for tf2 following that issue), but didn't help.
I think there could be a problem with GroundTruthLocalizerNodelet, and ROS team has suggested a solution which we could potentially apply to the ground truth localizer. Maybe there is another workaround we could use?
I'd like to be able to launch astrobee simulation relying only on Twist & Pose coming from Gazebo, i.e. using ground truth localizer.
Please advise :)

Hi!
I could reproduce your issue (by running ./scripts/docker/run.sh --args sviz:=true --args ground_truth_localizer:=true --remote on Ubuntu 20.04).
Please bear in mind that the problem you are referring doesn't impair with mobility in any way.
If you echo rostopic echo /loc/pose and rostopic echo /loc/truth/pose you're still getting ground truth data (the spam is inconvenient, but everything in the simulation is still functional).
We'll fix it in develop, and once that's done you can either build the docker image locally or wait for a release to master (should take a couple of weeks) for the warning spam to stop :)
I'll link the PR to this issue.

Thank you very much for looking into this @marinagmoreira !
I've run more tests and I think the mobility is still impaired, so there might be an underlying issue with how the ground truth node publishes the pose and twist updates.
The easiest way to test that would be to try the same attitude control command with ground truth localizer and without.
With the ground truth localizer the attitude control doesn't function correctly.
My hypothesis is that it's due to inconsistent timestamps on the localization messages coming from the ground truth localizer

run with ground_truth_localizer:=false

undock rosrun executive teleop_tool -undock

change attitude rosrun executive teleop_tool -move -att "-1.5 0 1 0"
Result: astrobee updates attitude, everything works fine

run with ground_truth_localizer:=true

undock rosrun executive teleop_tool -undock

change attitude rosrun executive teleop_tool -move -att "-1.5 0 1 0"
Result: astrobee updates tries to update the attitude then starts to tumble uncontrollably, accelerating, and mobility commands no longer work.

So I think it would be good to test the PR against this case as well.

It works with ubuntu 16 version thank you very much @marinagmoreira !

I'll reopen this such that we remember to fix it :)

This PR fixes this issue fully


Upload videos to multiple Youtube channels

Given the same Google account which is associated to a Youtube with multiple channels, I would like to upload videos to multiple channels on the same account.
Currently, after reviewing the API documentation, I'm defining the field onBehalfOfContentOwnerChannel  with the channel ID, but it seems like requires defining the onBehalfOfContentOwner field as well, so the questions are:

How can I obtain that value?
Which kind of value it is actually?
Is there another way to upload videos into a specific channel without defining the owner value?

Same here ...

@h2non still have an issue with this?

i didn't tried it again, to be honest. I've solved this with a workaround creating multiple Google accounts and assigning them to each specific channel, therefore I've to handle different OAuth credentials per each account. That worked for me.

Greetings folks!  There's probably very little we can do with this one in the npm module.  For issues related to the underlying API, I suggest posting on one of the YouTube API specific forums:

http://stackoverflow.com/questions/ask?tags=youtube-api
https://code.google.com/p/gdata-issues/issues/entry?template=YouTube (Defect Report)
https://github.com/youtube/api-samples

Hope this helps!


Assets removed

Removed assets and RWOverdijk/AssetManager dependency.
Assets are added in https://github.com/zfcampus/zf-apigility-skeleton/pull/126 - in the library where they are used.

As discussed in IRC, these assets are shared by a number of other modules:

zf-apigility-welcome
zf-apigility-admin-ui
zf-apigility-documentation-swagger

Since these may be installed as modules in existing ZF applications, removing them from this module would break such a use case.
The plan at this point is to make any asset management utility an optional dependency of the various modules, and a require-dev dependency of the skeleton. Assets will remain in the modules themselves, however.


bundle format ignoring default channel in annotations

I'm trying to set the default channel on the flux package.
Do I need to add a package.yaml? I thought package.yaml is only for packagemanifest format?

@mvalarh

@J0zi

@saada no. Package file is not needed for manifest format

@mvalarh that doesn't answer my question. Can you please explain or share docs on how to set the default channel in the bundle format?


[stats] Remove ports with speed == 0

Also change the JSON format to be consumed by radar chart.

are the ports with speed = 0 ? The controller port ? 65536 ?

@beraldoleal , so far, it always happens with the port 65534.


Use local Position and Orientation, Fixes Issue #348

Closed by https://github.com/MozillaReality/unity-webxr-export/pull/383


fix rotate-then-extract for EXIF orientation 2

the fix for #3024 isn't handling exif orientation 2 correctly
orientation 2 is flipped but has no rotation and wasn't applied correctly because of that

Thank you very much for fixing this and adding tests.


Feature Request: Add Option To Show Milliseconds In Timestamps

Add an option on the user settings page to display milliseconds on all timestamps.

I can work on this! Can you describe exactly where to add this option?

Thanks @zelol!
This option should be added on the Settings page. I'd add it next to the timezone setting, making sure to show the ms (or not) in the example date time.
All date times are displayed using the timezoneDateString filter (viewer/vueapp/src/filters.js). This filter formats all date times and applies the user specified timezone. Notice that this filter takes seconds, but now will need to take milliseconds.

Thanks for the details, let's go!

Moloch is not available for Windows 10 and I'm running W10. That's problematic.


Convert namerd docs to use tables.

Problem: namerd docs are not as well formatted as linkerd docs.
Solution: format them.
For future work I'd really like to see more examples in this documentation, as well
as documentation of the interface apis themselves.
I also have a pie-in-the-sky dream that all the configs standardize on
milliseconds, and be suffixed with "Ms". :)

:star: 📑

⭐  Looks great -- thanks for working on this! I just had tiny nits.

⭐ Great, thanks for updating!


lab 4 error code

@JasonSills  hello, why does this error message keep coming up
Error in renderPlot({ : could not find function "renderPlot"

@bbenall4 - you likely need to install both shiny and flexdashboard packages.

@JasonSills  i have them both installed but its still giving me that message

This is what im putting in
renderPlot({
team.name <- input$teamName  # only place it appears
dat.one.team <- filter( Teams, name == team.name )
plot.new()
plot.window(
xlim=c(1900,2025),
ylim=c( ave.so.min, ave.so.max ) )
points( year, ave.so,
col=adjustcolor("lightgray",alpha=0.75 ),
pch=20, cex=1)
points( league.year, league.ave,
type="o",lwd=3,
col=adjustcolor("dodgerblue4", alpha=0.67),
cex=.5,pch=19 )
points( 1924, 2.7,
col=adjustcolor("black",alpha=0.75 ),
pch=21, cex=1.5)
points( 2012, 7.5,
col=adjustcolor("black",alpha=0.75 ),
pch=21, cex=1.5)
#Axis
axis( 1,seq(1900,2025,10), hadj = 0 )
axis( 4,seq(0,9,1),las=2, tick = FALSE, col.axis="gray")
abline( h=c(1,2,3,4,5,6,7,8,9), lty=2, col="gray" )
#Title area
title( main = "Strikeouts on the Rise",
cex.main=2, side=3, adj=0, line=1)
title( main = "There were more strikeouts in 2012 than at any other time in major league history.",
cex.main=0.8, line=-0.4, col.main="gray30", adj=0 )
title(main = "Strikeouts per game per team (by batters)",
cex.main=0.7, line=-3,  adj=0)
#Legend
legend( 1895, 8.9,
legend=c("League average", "Choose a Team"),
col=c("dodgerblue4","orange"), pch = c(20,20),
lty=1:1,cex=.8, box.lty=0, text.col = ("dodgerblue4") )
#Text
text( 1917, 3.48,
labels=(text="U.S. enters\nWorld War I."),
cex=.75, offset=8, pos=1, col="gray")
segments( 1917, 3.40, 1917, 1,
col = "gray", lwd = 1, lty = 1)
text( 1924, 2.7,
labels=(text="2.7"),
cex=1.5, offset=.75,
pos=1,col="Dodgerblue4", font=2 )
text( 1924, 2.7,
labels=(text="League average\n1924"),
offset=2, pos=1,col="black", font=2)
text( 1946, 3.88,
labels=(text="Players return\nfrom World War II."),
cex=.75, offset=7, pos=1,col="gray")
segments( 1946, 3.48, 1946, 1.8,
col = "gray", lwd = 1, lty = 1)
text( 1963, 5.8,
labels=(text="Strike zone enlarged\nfrom 1963-68."),
cex=.75, offset=10, pos=1,col="gray")
segments( 1963, 5.40, 1963, 2.8,
col = "gray", lwd = 1, lty = 1)
text( 1969, 5.83,
labels=(text="Pitching had become so dominant\nin the 1960s that the mound\nwas lowered in 1969."),
cex=.75, offset=7.5, pos=3,col="gray")
segments( 1969, 6.23, 1969, 8.0,
col = "gray", lwd = 1, lty = 1)
text( 1973, 5.2,
labels=(text="Designated hitter\nrule took effect."),
cex=.75, offset=11, pos=1,col="gray")
segments( 1973, 4.8, 1973, 1.8,
col = "gray", lwd = 1, lty = 1)
text( 2008, 6.8,
labels=(text="Mitchell Report\non steroids."),
cex=.75, offset=10, pos=1,col="gray")
segments( 2008, 6.4, 2008, 3.8,
col = "gray", lwd = 1, lty = 1)
text( 2012, 7.5,
labels=(text="7.5"),
cex=1.5, offset=1, pos=3,
col="Dodgerblue4", font=2)
text( 2012, 7.5,
labels=(text="2012\nLeague average"),
offset=2.5, pos=3,col="black",font=2 )
})

@bbenall4
Are you running the chunk or are you running the document/ knitting?

@JasonSills
im only running the chunk for each section but i keep getting that error back

@bbenall4
you need to run the full document for Shiny.

@JasonSills  okay so i took out everything i put in and tried running just the template and it gives me these 2 errors
Error in selectInput(inputId = "my_team", label = "Select a team:", choices = c("New York Yankees",  :
could not find function "selectInput"
Error in renderPlot({ : could not find function "renderPlot"

@JasonSills  sorry i had to re read that again and now it finally ran the document


Implement node module

The node should contain a class called Node, which basically represents an ANT node and has facilities to do everything you would want to do with a given stick.
Implementing Node will also require classes such as Channel, NetworkKey, etc.

Node mostly works. The interface is a bit clunky, and it's missing a test suite, but it's good enough for 0.1.


Create graph

After creating the pull request, the R-multiverse GitHub bot will review your contribution on its next scheduled run. Thank you for your contribution!

c.f. https://github.com/r-multiverse/help/discussions/66#discussioncomment-9731446

CRAN URLs are https://r.igraph.org/, https://igraph.org/, https://igraph.discourse.group/. Looks like they didn't put GitHub.


BJ-923: refactor handlers by visa/mir requirements

futher separation test/rbkmoney platform
refactor
bump domain lib version

перенос кода из src/main https://github.com/rbkmoney/three-ds-server/pull/6/files + https://github.com/rbkmoney/three-ds-server/pull/2/files


Bad-names break chat and user-logging

If a character connects using a name that breaks the regex engine, they also do not appear on the /who or /whois information, and their name appears incorrectly in the chat.
If they severely break it, it appears as as blank.

Even a simple name such as "    "(4 spaces) can bypass the wrapper.
Starbound's log show a player with such names connecting from a localhost.
So literally there's no means to deal with such players at this moment.


⚠ Mobitopup has degraded performance

In 146acc1, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 3964 ms

Resolved: Mobitopup performance has improved in 3849f25 after 7 minutes.


Error Command "install" not found when 'yarn run install' run.

Install script missing from package.json

Instead of read Run yarn run install to install node dependencies
The instructions should read Run yarn install to install node dependencies


Add installation instructions

Resolves #6.

Not exactly sure what's cause the build failure here, but it needs to be fixed.

All right, tests passed. Travis is happy.

Thanks for figuring out the Python 3.3 issue!


Calculate dm if it is not given in solvent_mf.get_fock()

Same issue in https://github.com/pyscf/pyscf/pull/2492


FR: Provide externs file to support Google Closure Compiler

I see that you provided such support for firebaseui-web project.
It would be very good if you do the same for this project.

We currently maintain some externs in private for generating jsdocs (https://firebase.google.com/docs/reference/admin/node/admin). But we are moving towards getting rid of them, and just generating documentation straight from the TypeScript files using tsdoc. Maintaining a separate set of externs has always been a challenge due to the extra work involved. Therefore we cannot consider this request at this point.


Fee: Make validator shares worth a fixed amount

Now Validators will have to stake a minimum additional
amount to get a bigger share from the fees of a block.
Fixes #2240

The logic LGTM. Are there any tests for this?

The logic LGTM. Are there any tests for this?

I made small changes to existing tests and that should be enough.


[WIP][SPARK-33615][K8S][TESTS] Add spark.archive tests in K8S

What changes were proposed in this pull request?
Why are the changes needed?
Does this PR introduce any user-facing change?
How was this patch tested?

Test build #132090 has started for PR 30581 at commit beed9f9.

Test build #132090 has finished for PR 30581 at commit beed9f9.

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

Build finished.

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

Yay! Great!

Are we waiting Jenkins K8s IT?

Oh yeah. and I am also testing in my local at the same time.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36689/

Test build #132099 has started for PR 30581 at commit b87e1c7.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36689/

Build finished.

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

Test build #132099 has finished for PR 30581 at commit b87e1c7.

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

Build finished.

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36699/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36699/

retest this please

Build finished.

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

Test build #132105 has started for PR 30581 at commit 11cad07.

Test build #132105 has finished for PR 30581 at commit 11cad07.

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

Build finished.

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

Test build #132113 has started for PR 30581 at commit a9afb3d.

Test build #132113 has finished for PR 30581 at commit a9afb3d.

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

Build finished.

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36712/

Build finished.

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

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36712/

Build finished.

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

Test build #132121 has started for PR 30581 at commit c039464.

Test build #132121 has finished for PR 30581 at commit c039464.

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

Build finished.

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36722/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36722/

Build finished.

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

Test build #132136 has started for PR 30581 at commit 97df0ba.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36737/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36737/

Build finished.

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

Test build #132140 has started for PR 30581 at commit 6a5c6cd.

Test build #132136 has finished for PR 30581 at commit 97df0ba.

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

I managed to set up my local env but there seems a bug in Kubernates - the files does not exist in driver side although it's client mode, and the tar.gz file is correctly created. I am debugging it.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36741/

Build finished.

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

cc @tgravescs FYI. I am testing K8S here for spark.archives.

Test build #132146 has started for PR 30581 at commit 0536996.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36741/

Build finished.

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36747/

Test build #132140 has finished for PR 30581 at commit 6a5c6cd.

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

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36747/

Build finished.

Build finished.

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

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

great thanks, I'll keep an eye on this and review when you are ready.  I have a local k8s setup as well if you need particular help to validate something

Test build #132146 has finished for PR 30581 at commit 0536996.

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

Build finished.

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

Test build #132187 has started for PR 30581 at commit aba923f.

@dongjoon-hyun and @tgravescs, this PR is ready for a look. At least the tests pass. I looked up related commits in the history too. I am pretty sure it's almost ready to go.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36789/

BTW, for compeleteness, I tested in standalone cluster again.

Test build #132195 has started for PR 30581 at commit 9f04800.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36789/

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36797/

Thank you so much @dongjoon-hyun!

Test build #132187 has finished for PR 30581 at commit aba923f.

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

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

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36797/

There's discommision test failure which I don't think is related .. but I will still take a look tomorrow for doubly sure.

The new test case passed and the other two failures are known flaky ones which is irrelevant to this. I believe you can merge this if GitHub Action passed.
- SPARK-33615: Launcher client archives

- Run in client mode. *** FAILED ***
  io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://<IP_ADDRESS>:8443/api/v1/namespaces/6ccb7b90fb5c4841bae64ebdaff6d687/pods. Message: No API token found for service account "default"
...
- Test basic decommissioning *** FAILED ***
  The code passed to eventually never returned normally. Attempted 173 times over 3.013441304633333 minutes. Last failure message: "++ id -u
  " did not contain "Decommission executors" The application did not complete, driver log did not contain str Decommission executors. (KubernetesSuite.scala:402)

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

Test build #132195 has finished for PR 30581 at commit 9f04800.

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

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

The Hive test failure is happening globally so it should be unrelated to the current PR.
Please allow me to merge it I am going to cut the branch now.
Thank you @dongjoon-hyun and @tgravescs.
@tgravescs, please let me know if there's any concern. I will address them in a followup

Merged to master.


Remove GPL findbugs dependency

r: @jbonofre

retest this please

From the gradle build scan:
:beam-sdks-java-core:compileJava FAILED
/home/jenkins/.m2/repository/net/bytebuddy/byte-buddy/1.8.11/byte-buddy-1.8.11.jar(/net/bytebuddy/description/type/TypeList.class): warning: Cannot find annotation method 'value()' in type 'SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found
/home/jenkins/.m2/repository/net/bytebuddy/byte-buddy/1.8.11/byte-buddy-1.8.11.jar(/net/bytebuddy/description/type/TypeList.class): warning: Cannot find annotation method 'justification()' in type 'SuppressFBWarnings'
/home/jenkins/.m2/repository/net/bytebuddy/byte-buddy/1.8.11/byte-buddy-1.8.11.jar(/net/bytebuddy/implementation/bytecode/assign/Assigner.class): warning: Cannot find annotation method 'value()' in type 'SuppressFBWarnings'
/home/jenkins/.m2/repository/net/bytebuddy/byte-buddy/1.8.11/byte-buddy-1.8.11.jar(/net/bytebuddy/implementation/bytecode/assign/Assigner.class): warning: Cannot find annotation method 'justification()' in type 'SuppressFBWarnings'
error: warnings found and -Werror specified
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
4 warnings

From mvnrepository it appears that 1.3.9-1 is the latest version for this artifact.
If the sdks-java-core warnings are blocking the release, feel free to set failOnWarnings to false and I'll follow-up separately.

r: @kennknowles

FYI, I've opened [BEAM-4556] to re-enable failOnWarnings


Dependencies aren't resolved for npm exec

It appears that with npm exec the cli, create-breadboard and create-breadboard-kit binaries aren't resolving their dependencies correctly
see: https://github.com/ExaDev-io/breadboard/actions?query=branch%3Aisolated-pipeline

It's hard to tell from that link. I did some checks around npm exec/npx and it always tries to find the closest package.json up to the root on the directory tree

It's when out of tree, trying to use npx/ create / init / exec
such as: https://github.com/ExaDev-io/breadboard/actions/runs/7769689266/job/21189040898#step:6:8

not at the bottom of it yet @dglazkov
doing some more experimentation after looking through https://vitejs.dev/config/dep-optimization-options.html
need to deploy https://github.com/breadboard-ai/breadboard/pull/655 to test

For some extra reference
(base) paulkinlan-macbookpro2:~ paulkinlan$ npx @google-labs/breadboard-cli run $BOARD -i "{\"message\": \"Hello World\"}"
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y) y
node:internal/modules/esm/resolve:844
  throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
        ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'commander' imported from<EMAIL_ADDRESS>    at packageResolve (node:internal/modules/esm/resolve:844:9)
    at moduleResolve (node:internal/modules/esm/resolve:901:20)
    at defaultResolve (node:internal/modules/esm/resolve:1131:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:390:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:359:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:234:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
    at link (node:internal/modules/esm/module_job:84:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v21.6.1

I suspect this will be solved by your bundleDependencies.

@PaulKinlan I've had partial success. just working on an in-place deployment for better testing

continuing in https://github.com/breadboard-ai/breadboard/issues/675


Class 'Kreait\Firebase\ServiceAccount' not found

Hi,
I have this error.
My code:
use Kreait\Firebase\Factory;
use Kreait\Firebase\ServiceAccount;
require_once DIR . '/vendor/autoload.php';
$serviceAccount = ServiceAccount::discover();
$firebase = (new Factory)
->withServiceAccount($serviceAccount)
->create();
$db = $firebase->getDatabase();
My composer
"require": {
"php": ">=7.0.0",
"bitmovin/bitmovin-php": "1.5.*",
"kreait/firebase-php": "4.17.0"
}
Thanks

@Atominac Its issue with your composer, use **composer require kreait/firebase-php ^4.29.0 ** in CMD inside project directory, Your issue will be resolved

Hi,
I have this error. My code: use Kreait\Firebase\Factory; use Kreait\Firebase\ServiceAccount;
require_once DIR . '/vendor/autoload.php';
$serviceAccount = ServiceAccount::discover(); $firebase = (new Factory) ->withServiceAccount($serviceAccount) ->create();
$db = $firebase->getDatabase();
My composer "require": { "php": ">=7.0.0", "bitmovin/bitmovin-php": "1.5.*", "kreait/firebase-php": "4.17.0" }
Thanks

Use kreait/laravel-firebase instead of  kreait/firebase-php

Use the Laravel version kreait/laravel-firebase instead of kreait/firebase-php

Use the Laravel version kreait/laravel-firebase instead of kreait/firebase-php

@charden-daxicen Please follow the instructions in the readme of the Laravel Package, especially the section that you shouldn't use the the factory directly ☺
https://github.com/kreait/laravel-firebase#usage

i used kreait/laravel-firebase but face same issue Class "Kreait\Firebase\ServiceAccount" not found

i used kreait/laravel-firebase but face same issue Class "Kreait\Firebase\ServiceAccount" not found @charden-daxicen @jeromegamez
I have the same issue


java.lang.NoClassDefFoundError

Process: com.r0adkll.slidr.example, PID: 30122 java.lang.NoClassDefFoundError: org.jacoco.agent.rt.internal_773e439.Offline at com.r0adkll.slidr.model.SlidrConfig$Builder.$jacocoInit(SlidrConfig.java) at com.r0adkll.slidr.model.SlidrConfig$Builder.<init>(SlidrConfig.java)

This error seems to stem from Jacoco and not my library so I'm going to close it until you can provide further information that Slidr is the true culprit of this crash.


Update codecov config to relax threshold on change

This relaxes the codecov threshold for "fail" (which propagates to the CI badge).

This relaxes the Codecov threshold for "fail" (which propagates to the CI badge).

I had planned to get that from MLJText later. Thank you, better that is resolved now.


Swift 5.0 support

https://github.com/RxSwiftCommunity/RxAlamofire/issues/137

Ryan chew , you are not supposed to merge you own PRs!

Sorry about the release @freak4pc. Reverted and will start again the PR process.


FYI: adding qsiprep to bids-apps listing

see https://github.com/BIDS-Apps/bids-apps.github.io/pull/15
hopefully that would be sufficient

Somewhat related to this, but the BIDS app standard also specifies that the bids, output and analysis_level arguments should be positional (and not require the current options: --bids_dir data/bids_root/ --output_dir out/ --analysis_level participant). Those options are incompatible with our local bids-app launchers and I am guessing would affect others as well?

I think this would be worth a dedicated issue, and ideally addressed to stay Kosher (i.e. "bids-app standard compliant").

the argument parser was not working reliably with the mixture of positional and flag arguments. Added an issue #63

This got fixed in v0.6.4-1


Image?

Hi,
In you README you indicate "Since this authentication solution uses webdriver and a browser a custom image is needed to meet these requirements."
Do you have any information on how to build this custom image?
Thanks

The image is available from Docker Hub: https://hub.docker.com/repository/docker/ictu/zap2docker-weekly. I'll add a link to the README. Thanks!


Error in initial Build & Deploy configuration on Netlify

Describe the Bug
When running Umami on Netlify following the instructions in Running on Netlify, the Build & Deploysection has an invalid Build command. It uses yarn run build-app, which does not run database migrations and such.
This lead me to be unable to get things setup, changing the build command to yarn run build made everything work as expected.
When trying to login for the first time, the application fails with a generic 500 Server Error with no additional information.
I am not sure where this is done in Umami, otherwise I would have sent a PR instead of an issues.
The running on Netlify page does not mention anything about the need to have the database migrations run.
Database
Any
Relevant log output
The Next.js SSR handler outputs this:
Jan 20, 11:36:36 AM: 4480336f ERROR   ⨯ Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.Jan 20,
11:36:36 AM: 4480336f ERROR  In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues

Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Netlify

So I updated our Netlify docs to include updating the build command to yarn run build. I did a quick run in deploying Umami and everything went smooth from there. The prisma generate command is run from yarn build so I'm not sure how its not getting generated. Can you try redeploying the app?

I'm not sure how it's not getting generated. Can you try redeploying the app?

my app works with 'yarn build'. I just field the ticket to have the docs fixed for anyone else struggling with the same thing. thanks for fixing it 👍


Bluesky: receiving comments, but not likes or reposts

I don't know if this is a bug or some other issue, but after configuring Bluesky to brid.gy, I'm succesfully receiving all the comments as webmentions, but the likes or reposts to the same bs-posts are not received. Brid.gy sees them, but says "No webmention target" on them.
On the logs there is this:
I 2023-11-01 09:44:53.671214+00:00 Demoting original post links because user tag:bsky.app,2013:did:plc:mzvszw2oinlhjryugr5kluyp did:plc:mzvszw2oinlhjryugr5kluyp doesn't match author did:plc:mzvszw2oinlhjryugr5kluyp larilohikoski.fi
I have no idea what that means, but it may or may not have something to do with this (as all author id's mentioned on that are the same).

Hmm! Odd indeed, especially since other people are receiving likes and reposts ok. cc @JoelOtter

Weird. I've seen that demotion line before but not sure it's related to this.
@laril if possible could you post a link here to a Bluesky post and corresponding post on your website that it's not working for?

Here's one:
https://larilohikoski.fi/shorts/2023-10-31-10-01-18/
..and
https://bsky.app/profile/larilohikoski.fi/post/3kd4c65jfu22r

A couple data points:

Afaik most (all?) of us who have received likes and reposts so far only have synd links from our sites to Bluesky; we don't also include backlinks in our Bluesky posts to the original posts on our sites. @laril, on the other hand, does have backlinks.
@laril's synd links use DID, not handle, eg https://bsky.app/profile/did:plc:mzvszw2oinlhjryugr5kluyp/post/3kd4c65jfu22r in the example post above.

Not sure whether either of those matter here yet.

I don't think backlinks can be the reason, as here's another example of a post without backlinks, which doesn't work either: https://larilohikoski.fi/shorts/2023-10-29-09-13-36/ , https://bsky.app/profile/larilohikoski.fi/post/3kcuxpymf7j2a . Also, this one is linking to Bluesky with my handle in it.
Just a guess, but could this have something to do with me using my domain name as my Bluesky handle?

Makes sense!...except that replies are coming back ok. If synd links are the issue, I still don't quite get why replies would work but not likes/reposts.

Oh good point. Errrr. I’ll do some testing.

To make things even more strange, now I had all of a sudden received one like for this https://larilohikoski.fi/shorts/2023-11-01-13-47-23/ (bs-link below the text), but still not to any others.

Here's one: https://larilohikoski.fi/shorts/2023-10-31-10-01-18/
..and
https://bsky.app/profile/larilohikoski.fi/post/3kd4c65jfu22r

Now I was able to receive also likes and reposts for this post after using the Bluesky url above for "Resend for post" instead of my blog url. I had previously changed the syndication url on the post to one using my handle, without the DID, but it apparently wasn't enough. Is Bridgy caching these, or what might be the reason?
I noticed another thing, I'm not sure if this is a problem with Bridgy or some other part of the process. I'm using https://github.com/PlaidWeb/webmention.js/ to show the webmentions on my blog, and I noticed that it shows only the first reaction that has come from Bluesky even when there are many more of them. The problem was in its "dedupe"-function, which uses "url" attribute to recognize duplicate reactions. However, all the reactions coming from Bluesky to a certain post share the same url, and thus are seen as duplicates. On likes and retoots coming from Mastodon this attribute refers to the like or retoot itself, not to my post that has been liked. I was able to make the script to show all the Bluesky-reactions by changing it to use wm-source attribute instead of url to recognize them.

The problem was in its "dedupe"-function, which uses "url" attribute to recognize duplicate reactions. However, all the reactions coming from Bluesky to a certain post share the same url, and thus are seen as duplicates.

Great catch, thank you for mentioning this! I've filed #1600 for it.

I'm now seeing some likes not get picked up for one of my posts that likes were previously going through to! How weird.

OK! I think both this and #1600 should be fixed. "Resend for post" may still be broken sometimes for Bluesky; that's tracked in #1604. Thanks again for reporting @laril! Tentatively closing.

I'm now seeing likes and reposts being picked up, which is progress! This issue was affecting me too.
They're unfortunately all saying "No webmention targets found" though. I assume it's #1604 as I've been trying to resend for the posts where it wasn't working previously to capture those mentions. There should be webmention targets — mentions and replies work. Even like webmentions do work — thanks for the like on  https://jacklorusso.com/posts/i-archived-my-twitter/ @snarfed :) I assume you were testing!
Bridgy account if you want to look https://brid.gy/bluesky/did:plc:7dzg2vnr65pvlqgb2ziqgm4d
Thanks to all you are doing here @snarfed @JoelOtter — it's really cool.

Ugh, sorry, thanks for the nudge! I think that's actually https://github.com/snarfed/bridgy/issues/1611#issuecomment-1813267452, will follow up there.


zh-TW language is not working

I have tried en, zh-CN, zh-HK, zh-TW but zh-TW is not working
Here is the debug log:
zhTW

2016-06-14 16:46:27.481 NED[824:641216] zh-TW
2016-06-14 16:46:27.572 NED[824:641216] THREAD WARNING: ['ApiAIPlugin'] took '90.564209' ms. Plugin should use a background thread.
2016-06-14 16:46:27.659 NED[824:641216] Api.ai init success
2016-06-14 16:46:38.341 NED[824:641216] start-listening
2016-06-14 16:46:39.824 NED[824:641216] THREAD WARNING: ['ApiAIPlugin'] took '20.799805' ms. Plugin should use a background thread.
2016-06-14 16:46:39.886 NED[824:641216] stop-listening
2016-06-14 16:46:41.749 NED[824:641216] Error in Success callbackId: ApiAIPlugin1187424800 : TypeError: undefined is not an object (evaluating 'response.result.resolvedQuery')

The other languages works

Hi, @kn4rfy
The problem appears on Android or iOS?
Thanks.

It only appears on iOS

I'm not a native Chinese speaker and I am only developing an app for a Chinese client and it seems the zh-TW only recognise "Ni Hao". Others can recognise other words.

Hi, @kn4rfy
Sorry, our support of the zh-TW recognition is rather limited.
It would be better to use some third-party libs to recognize this type of Chinese language.
Thanks.

Okay. Thanks. Maybe you could suggest something for me?

It seems it supported in Nuance, some support there is in iSpeech and it should be supported in Google Speech API

Thanks.


Error executing cds deploy -2 hana

Based on the sample here:
https://github.com/SAP-samples/cloud-cap-samples/tree/openSAP-week2-unit4567
When i did as per the instructions and deploy, I got the error:
Connecting to the container "3DB18AFD7A924A7E95853D9269B07261"... Deployment to container 3DB18AFD7A924A7E95853D9269B07261 failed - error: Could not connect to any host: [ 9357d90a-4543-497a-a574-d15c2a223feb.hana.trial-us10.hanacloud.ondemand.com:443 - certificate has expired ] [Deployment ID: none]. Error: Could not connect to any host: [ 9357d90a-4543-497a-a574-d15c2a223feb.hana.trial-us10.hanacloud.ondemand.com:443 - certificate has expired ]
Posted here but couldn't get help:
https://answers.sap.com/questions/13182707/error-executing-cds-deploy-2-hana.html?childToView=13182712#answer-13182712

Sorry, but this channel is only for issues related to tutorials in the SAP Tutorial Navigator.

Hi @sammok83, I have forwarded your question in the community to the SAP Business Application Studio colleagues again. They were notified twice, cause you have used the tag for BAS while posting the question. So please be patient.


[Question] General usability question

Hey there,
I came across this package last night and thought it looked quite interesting. I am currently using a mix of the service locator package get_it, provider, and then event to handle watching/triggering of things outside the scope that provider can typically handle effectively as I am making a desktop application with underlying platform interactions, so a lot of my code ends up bring outside of the widget tree.
I found myself having to make little bridge functions between the three due to one thing being initialized via provider, then another one via get_it which ended up needing to share information. It just ends up being a hassle to build upon and maintain.
Am I understanding correctly that this package may be capable of offering the same if not more functionality than the three of those packages, but without the issues I have been working around?
Thanks,
-MH

It can certainly do everything that get_it and provider does, and probably what the event does, in an easier way, but you won't need to pass data between one another, because all Get data is available inside and outside the tree. widgets.

MH, I've recently done exactly what you've asked about and it's simplified things greatly.
Here's how I replaced Get_It: Medium

MH, I've recently done exactly what you've asked about and it's simplified things greatly.
Here's how I replaced Get_It: Medium

Thanks

Thanks for the info and examples. I am working on testing it out by converting some things. I had a question, though. I am trying to set something up in a similar manner as I had before, so as not to have to completely change all of the logic on my end. How I was doing this before was, using Get_It and the Event package which had a broadcast mechanism to listeners, was something like this:
// - authstatus_event.dart -----
class AuthStatusListener {
  AuthStatus status = AuthStatus.signedOut;
  var event = Event();

  void setStatus(AuthStatus value) {
    this.status = value;
    print(this.status);
    event.broadcast();
  }
}
-----

// - loginpage.dart ----------
final sl = GetIt.instance;
--
final auth = sl<AuthStatusListener>();
auth.valueChangedEvent +
    (args) => () {
          if (auth.status == AuthStatus.verified) Future.microtask(() => _switchAuthMode(verify: true));
        }();

Is the proper way to go about it something like this?
// - firebase_auth.dart ----------
class FireBaseAuth extends GetController {
  static FireBaseAuth get to => Get.find();

  AuthStatus _status = AuthStatus.signedOut;
  get status => _status;
  set status(AuthStatus value) {
    _status = value;
    update();
  }
}

// - places and what not ----------
    var status = FireBaseAuth.to.status;
    ever(status, (s) => () {
              if (s == AuthStatus.verified) Future.microtask(() => _switchAuthMode(verify: true));
            }());

// Does it make a difference to do this?
    ever(FireBaseAuth.to.status, (s) => () {
              if (s == AuthStatus.verified) Future.microtask(() => _switchAuthMode(verify: true));
            }());

I am just wanting to make sure I have the hang of it, and that I don't go implementing things in such a way that it is going to bite me down the road, as I have a fairly decent amount of things I needed to change over, such as my message displaying system, which operates in a similar manner.

Hi, ever only works with reactive variables (.obs), you must use RxController with it, and you will not need the update() method.

I appreciate it, once again. I believe I should only have one last question for now. I was using the following:
MultiProvider(
      providers: [
        ChangeNotifierProvider.value(
          value: widget.messages ?? LoginMessages(),
        ),
        ChangeNotifierProvider(
          create: (context) => AuthState(
            onLogin: widget.onLogin,
            onSignup: widget.onSignup,
            onVerifyEmail: widget.onVerifyEmail,
            onRecoverPassword: widget.onRecoverPassword,
          ),
        ),
      ],

I then went to remove Provider to see what else in the code I needed to adjust when I came across these fellas. I imagine that I probably need to use a GetBuilder with an init for the AuthState, or is the GetBuilder only used if you are wanting to use a value right there within that builder's immediate scope?
I am also not quite sure what I would use from Get in place of the ChangeNotifierProvider.value? It either uses many different strings of text that are provided to the widget, or it will grab the defaults within the LoginMessages() class.

GetBuilder / GetX is for two things:
1- Initialize and provide an instance that will be made available
2- Rebuild the necessary widget.
In fact when you use init: from GetBuilder, you are just using an "alias" for Get.put (YourDependecy());
You can start dependencies on GetBuilders/GetX or using Get.put in the build method or as a final variable of Stateless, or use Bindings for that. Everything will depend on your structure, and how you like to work.


[Icons] Test IconRenderer

Create tests for the IconRenderer
Add internal docblock to clarify the attributes precedence
(+ one CS fix passing by)
--

moved the InMemoryRegistrey in the tests directory

As @kbond  says, it won't be used by final users so it's better there

can you fix the cs

Good now

needs the license on IconRendererTest

Thanks Simon.


tesla.com/_ak/<your-domain> opens Tesla app, but no pop up to approve/deny

Some users report that tesla.com/_ak/<your-domain> opens Tesla app, but no pop up to approve/deny. Any idea what the problem could be?

It's a bug in the Tesla app. The only solution is to force close the app.

After my testing, the file "publickey.pem" under the "/.well-known" directory must be stored and made available for download by users, rather than being returned as HTML. This will significantly increase the pop-up rate after redirection.
good

bad


Colorblind plugin

Basically a plugin that recolors certain colors depending on your color blindness.

Recolor Plugins
Recolor Minimap dots
Draw a filter over the game

Can be tested with:
http://www.color-blindness.com/coblis-color-blindness-simulator/

Offtopic sorry: Looking at that color swatch image makes my eyes trip out like I see random Circles inbetween the swatches.

Still hoping this gets implemented. I'm red-green colorblind and healthbars being blue for the player would be amazing.

The filters for color blindness were added to Windows 10 in the Fall Creators Update, which is in the process of being installed now on most Windows 10 computers. If you don’t see these filters, you may not have gotten the update yet.
If you have Deuteranopia or Protanopia (the two types of red-green color blindness) or Tritanopia (blue-yellow color blindness), try the color filters to make colors look more accurate on your Windows 10 display.
•  Go to Settings / Ease of Access / Color and High Contrast.
•  Toggle Apply Filter on. Choose Deutaranopia, Protanopia or Tritanopia from the dropdown menu.
•  After the toggle is turned on, you can turn the color filter on and off using the keyboard shortcut Windows key + Ctrl + C.
The filters are applied at the system level, so they affect all displays from all programs.

The filters for color blindness were added to Windows 10 in the Fall Creators Update, which is in the process of being installed now on most Windows 10 computers. If you don’t see these filters, you may not have gotten the update yet.
If you have Deuteranopia or Protanopia (the two types of red-green color blindness) or Tritanopia (blue-yellow color blindness), try the color filters to make colors look more accurate on your Windows 10 display.
•  Go to Settings / Ease of Access / Color and High Contrast.
•  Toggle Apply Filter on. Choose Deutaranopia, Protanopia or Tritanopia from the dropdown menu.
•  After the toggle is turned on, you can turn the color filter on and off using the keyboard shortcut Windows key + Ctrl + C.
The filters are applied at the system level, so they affect all displays from all programs.

added in #12744


How to  play the mpd file placed in the iOS application?

I tried to play a clear mpd file in document directory of the ios application, but the following error occurred.
Error Message:
Shaka Error NETWORK.UNSUPPORTED_SCHEME (file:/var/mobile/Containers/Data/Application/C12A0B32-5742-40C2-8FE8-D7370F53F446/Documents/test.mpd):

Code:
NSString* documentsPath = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)[0];
NSString* localfile = [documentsPath<EMAIL_ADDRESS>BOOL fileExists = [[NSFileManager defaultManager] fileExistsAtPath:localfile];
if ( ! fileExists) {
    NSLog(@"not exist local file");
    return;
}
self.assetURI = [NSString stringWithFormat:@"file://%@",localfile];

[self.player load:self.assetURI withStartTime:startTime andBlock:^(ShakaPlayerError *error){
    if (error) {
        [self.errorDisplayView applyError:[error message]];
    } else {
        [self.player play];
    }
}];

How to  play the mpd file placed in the iOS application?

We don't support local playback of files.  But that is probably something we can add.

Thank you for your answer.
I understand that it is possible to add local playback features.
When do you add local playback features.
If possible, I would like you to add it in September.

I'm the only one working on this project and I'm working on other things too; so it is really hard to say when features will be added.  But I think this will be fairly easy, so I could probably get it done in Q3.


Ignore error on socket shutdown

Silences an annoying spurious error.
Reviewers: @scottschurr @nbougalis

:+1:  I've tested this fix and it works.
It might be useful to add comments that we're ignoring errors on shutdown and why that's the right choice.  Otherwise 3 months from now no one will know why we're ignoring those errors in the unit test.

@scottschurr It was just me being over-enthusiastic about checking for errors when I wrote the test. Anyone who programs sockets should already know that shutdown can fail, and that such failure is not an error.

@vinniefalco: Works for me.  :+1:.

:+1:


idl fetch/update a single thrift file

It would be nice to be able to update or fetch a single thrift file. Whilst I think that updating everything is a great default, there are often times when updating a single file is more practical. Working on a project in which many people are adding and updating thrift files results in many painful conflicts.

Documentation on what would happen if you manually patched the idl/meta.json would be useful as well.


Amplify Console Build fails - Error: ENOENT: no such file or directory

Describe the bug
Cannot get my project to build using the amplify console. No obvious causes for the build to fail.
To Reproduce
Steps to reproduce the behavior:

Create a new project using amplify init
Run amplify add api to create a new graphQL API. In my case I provided my own schema from another AWS AppSync project.
amplify push your project to the amplify-console service.
Click "redeploy this version" from the amplify console.

Amplify console backend Logs:

Expected behavior
I expect the app to build without errors.
Additional context
I found someone with a similar issue and they mentioned that specifying the npm version in the build script could alleviate the problem along with uninstalling and re-installing the amplify-cli. This hasn't worked for me.
Sample code
amplify.yml
version: 0.1
backend:
  phases:
    build:
      commands:
        - nvm use 10
        - npm uninstall -g @aws-amplify/cli
        - rm -rf node_modules/@aws-amplify/
        - npm install -g<EMAIL_ADDRESS>        - '# Execute Amplify CLI with the helper script'
        - amplifyPush --simple
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: dist
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

Upon looking at my github repo I noticed that the project directory name wasn't capitalized and was causing my project to not be found. Doesn't look like git respects casing by default. Configuring git using git config --local core.ignorecase false solved the problem.

@nickeyvee impressed you found a solution to that weird problem! We'd like to ensure other folks don't run into a similar issue. Some questions:

Were you connecting to a backend created by the CLI?
What project directory name are you referring to?

@swaminator Sorry for the late reply.

Yes, I used the Amplify CLI.
I'm referring to the files generated when adding a new backend API. From the root of your project the path would be ~/amplify/backend/api/<YOUR-API-NAME>/

Thanks! Closing issue.

The odd thing is that I had the opposite problem than the OP. Amplify is looking for a case insensitive directory but git is storing it as case sensitive.

I had the same issue with codebuild and amplify, it turns out we had a file changed from camelCase to lowercase and git obviously did not notice.
I solve renaming said file into lowercase (delete file -> commit -> add file with lowercase -> commit)

Had the same issue today with an Amplify project. The proposed solution of running git config --local core.ignorecase false seems to have fixed the issue.


Improve build page

Improves the look (personal opinion)
Moves the <script> stuff into the head tag (and specifies type="text/javasscript")
Uses the simple <noscript> tag for the "You don't have Javascript" error message

Screenshot:

I've modified the dns so it's now served from gh-pages

Cool. Would be nice if I could get push access.

Hrfm, I had to manually add the teams to the repos. Weird. You should have commit access now :)

Thanks. :+1:


VSCode doesn't show new line on comments like Cargo doc does

When i write comments i would like to create a new line.
I've noticed that adding 3 spaces (similar to markdown) on the end creates a new line in the documentation.
For example this:
https://github.com/jasonwilliams/boa/blob/master/src/lib/realm.rs#L21-L22
generates this:

But in VSCode its all on 1 line:

Can this plugin change that?
Or have i posted this issue in the wrong place.

What does RLS do with that comment?

I think with RLS it worked, but can’t confirm

rust-analyzer trims all whitespace at the end of the line inside doc comments. I'll file a PR.

Sorry @kjeremy I've just seen now that this is related to #1630. The obvious patch (not trimming if there are 3 spaces at the end of the line) would break test_doc_comment_multi_line_block_strips_suffix https://github.com/rust-analyzer/rust-analyzer/blob/4ba2c5b2de0d1815007d109b3897ccaf6dda0ab5/crates/ra_syntax/src/ast.rs#L180
but this is not what we want, I suppose 🤔

@marcogroppo could you elaborate what would break and why?

I must say that I am sad that we, as an industry, somehow arrived at the markup format where the trailing whitespace is significant :)
But yeah, we should strip only leading whitespace from the docs, not the trailing

Huh... I had no idea that adding spaces to the end would do that in markdown. A quick skim of rls code leads me to believe that they do not trim the end of the line but I still think we need to remove the */ in a multiline comment. PR welcome!

@kjeremy how do you mean you need to remove the */ in a multiline comment?

@jasonwilliams
Yes you would remove the */ in multiline comments and make the changes above where we do not strip trailing whitespace. See #1630 for how I originally implemented the removal of the suffix. That's also (doc_comment_text) the function you will need to modify.


FCNPC_GetClosestEntityInBetween offsets

Allow for position offsets for the npcid, to do raycasting from e.g. the shoulder instead of the center of the body.

Ignore the first commit, it was created on a faulty branch.


UDHR sample in Tswana.

Here's the First Article in Tswana, copied and pasted from Omniglot.
Batho botlhe ba tsetswe ba gololosegile le go lekalekana ka seriti le ditshwanelo. Ba abetswe go akanya le maikutlo, mme ba tshwanetse go direlana ka mowa wa bokaulengwe.

This version isn’t good? http://www.unicode.org/udhr/d/udhr_tsn.html

@Kanjilearner817 : what seems to be an issue here?


Initialize rename to allocate

Many functions of layer, manager, tensors, neuralnets are all named initialize, but many of them don't initialize but rather allocate.
Let's refactor them.

:octocat: cibot: Thank you for posting issue #853. The person in charge will reply soon.

:octocat: cibot: Thank you for posting issue #853. The person in charge will reply soon.


Please implement autodiscovery

https://github.com/ioBroker/ioBroker.discovery/tree/master/lib/adapters

Project on hold. Waiting for more features of plex. If plex do not provide more functionality, there will be no new version of adapter.

It is not for this adapter it is for iobroker.discovery.

Do you have a link to read about iobroker.discovery?
Or can you explain what this adapter do?
Actually don´t know why I should invest time in a "on hold" project.


Update OWNERS

Issue #, if available:
Description of changes:
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/ok-to-test

/verify-owners
/retest

/verify-owners

This had the wrong github alias


Prisma has a very slow startup time when my database has 100+ tables

Bug description
I am using ts-node-dev to run Fastify in the development environment.
when I modified my application code => my application restarted, and it took 10s to complete because of  Prisma.
This problem is frustrating, it is affecting development speed. 😥
Do we have a way to solve this problem - something like separate Prisma with the application...
https://user-images.githubusercontent.com/300961/141484875-8f885337-583f-4a4c-98cc-7814d0aabdbb.mp4
I think it is my PC is not very high performance but even with high spec PC, I doubt it still takes 3-5s to start.
How to reproduce
I tried to create a new simple project with the existing database with the code takes 4s to finish:
import { PrismaClient } from '@prisma/client'

const prisma = new PrismaClient()

async function main() {
     console.log(    await prisma.users.findMany())
}

main()
  .catch((e) => {
    throw e
  })
  .finally(async () => {
    await prisma.$disconnect()
  })

 ts-node index.ts
Expected behavior
No response
Prisma information
Nothing is special:
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["interactiveTransactions"]
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

Environment & setup

OS: Windows 10
Database: Postgresql
Node.js version: 14
SSD benchmark speed: read 500MB/s
CPU benchmark score: 7000

Prisma Version
$ C:\sources\test\node_modules\.bin\prisma -v
Environment variables loaded from .env
prisma                  : 3.4.2
@prisma/client          : 3.4.2
Current platform        : windows
Query Engine (Node-API) : libquery-engine 57771c0558568c7d08bd34c7248af5244ae16bd9 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 57771c0558568c7d08bd34c7248af5244ae16bd9 (at<EMAIL_ADDRESS>Introspection Engine    : introspection-core 57771c0558568c7d08bd34c7248af5244ae16bd9 (at<EMAIL_ADDRESS>Format Binary           : prisma-fmt 57771c0558568c7d08bd34c7248af5244ae16bd9 (at<EMAIL_ADDRESS>Default Engines Hash    : 57771c0558568c7d08bd34c7248af5244ae16bd9
Studio                  : 0.438.0

Can you share your schema so we can try to reproduce this?

@janpio How can I send it in private?

@janpio I have sent for you via Twitter message 😅.

Unconventional, but got it :D
Will set up a reproduction and see what is going on.

Sorry, I have found out the problem by enabling debug log. This happened because Sequelize (that I used in past time) when I included a Prisma lib.
I cut the compile time by 1/2 when I removed it.

Thanks for the update. Indeed good that you could figure it out, because on our side this looked pretty fast and simple enough.
Can you elaborate and explain a bit exactly what happened? Was Sequelize opening a database connection each time maybe? We are generally very interested in making it as simple as possible for our users to move from Sequelize to Prisma, but also to use both at the same time.

@janpio Sequelize just takes an additional 2s to load all models for me. I have found out other libs are causing this problem too, like takes 1s to load Amazon S3 libs.
After all optimization, I reduced the Fastifly server load time from 12s -> 4s. It is good for me now.
It is my inexperience  in debug a nodejs app: ts-node-dev -r tsconfig-paths/register  --transpile-only --debug src/web/index.ts


EC2 Metadata not working in Windows 2016 Instances

The Amazon.Util.EC2InstanceMetadata.InstanceId and all other Metadata commands not working in windows 2016 instances. No exception thrown, it just return null.

Neither the webservice mentioned in documentation http://<IP_ADDRESS>/latest/meta-data/

While both works in my Windows 2008 instance in same VPC and region

Hi @vickyrathee, can you please try taking a look at the following documentation that helps to explain the differences between the Windows 2016 instances and earlier versions and let me know if it helps you?
Windows 2016 -- EC2Launch
< Windows 2016 -- EC2Config

Thanks @klaytaybai
I was able to map the route by Shutdown with sysprep and it's working now.
But, 2 things for feedback -

I see that the launch config was aware that it couldn't get the metadata as per logs. So, your team can build a logic to refresh the route automatically on any error and your system is aware of that. Isn't that how it should work?

It's understandable that a browser can't show any exception or much details, when it can't connect to a IP address and will just show "Can't display the page" as IE. But your team can add an exception in SDK to provide more details instead just returning null. Something like RouteException - Can't connect to metdata ip, please check the routing

Thanks for your help 👍


David/search profiles bugfixes

Search queries are 'inserted' as subqueries within the existing "object" queries; to give context to search queries. Existing profile mechanism can be used determine shape of returned search results, such as including geospatial data.
Defaults search to Jena fulltext for use with current projects
Framework for handling error codes 404, 400, 500 etc.

Defaults search to Jena fulltext for use with current projects

What happens if a Prez instance is turned on without Jena FTS enabled? Does it fallback to any other search options such as the not so ideal SPARQL regex method?

Defaults search to Jena fulltext for use with current projects

What happens if a Prez instance is turned on without Jena FTS enabled? Does it fallback to any other search options such as the not so ideal SPARQL regex method?

no not yet. it should. I think they're reasonable methods to fall back on as they're part of the SPARQL standard, so we can expect any triplestore to implement them.
the current implementation here was to unblock Jamie and provide a search capability that is functional.
people deploying prez should only enable the Jena FTS methods in profiles if Jena with FTS enabled is the backend. The current default search methods will need to be changed.


Migrate NVPs to their new keys

~Held on https://github.com/Expensify/Web-Expensify/pull/41082~
~Held on https://github.com/Expensify/Web-Expensify/pull/41300~

Details

Fixed Issues

https://github.com/Expensify/Expensify/issues/372366
Tests

Check that priority mode, language, preferred skin tone and frequently used emojis are preserved and work properly
(no qa) Using the dev tools, check all data was migrated correctly to the new key and removed from the old key
Sign up as a new user, check the welcome banner is shown:

Offline tests

No
QA Steps

Same as tests
PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

This is on hold, but please review it

Ah sorry, yes, I did not realize that you can't test this till that gets deployed... will ping you again once it is deployed.

@mkhutornyi ready to review

@mkhutornyi the reviewer checklist failed... maybe it is outdated or something?

seems like the PR has been already reviewed removing myself from the reviewer list 😄

@mkhutornyi can you retest now please?
@tgolen @grgia please re-review.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/iwiznia in version: 1.4.56-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.56-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


SAS Viya 3.5 usage?

Is this extension supported for Viya 3.5?

I did see someone connected to Viya 3.5 successfully. Any specific issue are you seeing?

Hi Wei
I did not have any specific issues, but wanted to mentioned the good news of this extension to a large audience yesterday, where many are still using Viya 3.5, and I did not find any documented system requirements anywhere. Therefore I suggest you add system requirements to the documentation. Eg. Viya 3.5 Full deployment and Viya 2021.x and newer is supported, except Analytics Pro.
Regards, Jan
From: Wei Wu @.>
Sent: 7. september 2022 04:25
To: sassoftware/vscode-sas-extension @.>
Cc: Jan Milter Ehlers @.>; Author @.>
Subject: Re: [sassoftware/vscode-sas-extension] SAS Viya 3.5 usage? (Issue #27)
EXTERNAL
I did see someone connected to Viya 3.5 successfully. Any specific issue are you seeing?

Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsassoftware%2Fvscode-sas-extension%2Fissues%2F27%23issuecomment-1238835395&data=05|01|jan.ehlers%40sas.com|85468d843a2b46cf659b08da9078375b|b1c14d5c362545b3a4309552373a0c2f|0|0|637981143290425319|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Rz2uj2wGaCsQodW4MR737XHNuqESnoWw8JicWWG5iws%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAR37RRYKPFXGLQQQ7TXYW6DV474JDANCNFSM6AAAAAAQFWRC5E&data=05|01|jan.ehlers%40sas.com|85468d843a2b46cf659b08da9078375b|b1c14d5c362545b3a4309552373a0c2f|0|0|637981143290425319|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=gc%2BCTnp%2FEMSIZrzZM%2FjcFeIDXRHNGdoIkmfzsUxLeeA%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Closing this one due to a lack of activity


Adding XMate to Alcatraz

I just tried to install XMate into Xcode 6.4 and couldn't make it work :( I'm not sure why so I don't have a definite issue to file.
It would be great if you could add XMate to the Alcatraz XCode plugin manager. It might make installation more foolproof for people like me.

Try if this command solve your problem.
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID`

Worked like a charm! Thank you for all the extra productivity you just gave me. :smile:
I would nevertheless recommend putting XMate on Alcatraz so more people can find/use it but my personal problem is now solved.

You're welcome. I will put it on Alcatraz once it's more stable and feature rich.

Oh, I should leave this issue opened as a reminder.