[Feature Request] Allow to run with userID other than 1000:1000

Have you read the Important information text above

[X] Yes i did

Describe the feature
Currently we are forced to run the survice with USER and GROUP ID 1000 which is ok if i run this on an environment where this user is availiable to me.
However if not (or if i want to run it with another userid) there is currently no way to do this easily (this is kind of related to the used baseimage which is build with default PUID=1000
Also it is not a very good approach to require the user to run chmod 777 on the data directory (which will not work if one is using an NFS share for game files mounted as docker volume directly)
Allowing correct user IDs and using the non root base container is a workaround for this though.
Thats what i did on my infra in a sloppy way.
If you find this valuable im happy to submit a PR that adds this functionality to your image/stack
Additional information

[X] Would you be willing to help implement this feature?

Final checks

[X] I understand that this is a feature request function. I also unterstand that if i use this to report a bug report, that my issue might be un-answered closed.

Hey @masonen
Im just using the base image of @CM2Walki as the :root version.
If you would like to change the UID/GID, in an interactive way i would suggest opening an issue over here: https://github.com/CM2Walki/steamcmd/issues - I dont think @CM2Walki would have to change much to support something like this:

I personally use this also in a "node" way:
VERY GOOD EXAMPLE HERE:
https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#non-root-user
Node does a fantastic thing and has a very good documentation about this

As i said. I do have a solution in place and willing to contribute it if you see value for it. Let me know if not I just stick with my side image :)

The base image already supports alternive user id as build argument.. :)

Yeah the node image supports it on "runtime" not as Build-ARGS on Buildtime.

As i said. I do have a solution in place and willing to contribute it if you see value for it. Let me know if not I just stick with my side image :)

If you want, you can create a pull-request for this and i will have a look at it.

I am having the same problem because I am am using a NFS share on K8s

We might be able to do something about this when #160 is done and merged.
Before that im not touching this issue, because we sometimes, need to setup things to be able to work with it better to enable us down the line to enable other stuff like this request.
@thejcpalma and the other Contributors are working on it.

Hey @masonen & @Eforen !
Not sure why this issue was closed, because i was heavily working on it 🤔
This feature is now implemented, please go ahead and try it out on the "develop" tag of the Docker-Image.
The more feedback i get the faster it gets to master/prod/latest tag.
See also:
https://github.com/jammsen/docker-palworld-dedicated-server/blob/develop/CHANGELOG.md

This is fix in the release on latest from 5 minutes ago. See Changelogs or Discord message regarding the new release and what to lookout for.
Im closing this issue as resolved, feel free to reach out again if you need help.
If you like this project, please consider giving this repo and the Docker-Hub-Repo a Star.


Javadoc link in README.md is broken

The link points to http://www.javadoc.io/doc/com.amazon.ion/ion-schema-kotlin which just says

No JavaDoc is released for artifact com.amazon.ion:ion-schema-kotlin:1.0.0. Please try other versions. [...]

Only two versions are listed on that site: 0.8.0 and 1.0.0 and neither has javadoc available.

Thank you for pointing this out, Ivo.  The javadoc.jar is available for download at maven.apache.org, but is clearly not available at javadoc.io.
I suspect this is related to Kotlin's dokka tool; will take a closer look....

Looks like there are two issues:

javadoc.io doesn't recognize dokka's "html" outputFormat
Kotlin's dokka tool fails on JDK 10 or higher when the "javadoc" outputFormat is specified (dokka/294)

The link Javadoc link in README.md (http://www.javadoc.io/doc/com.amazon.ion/ion-schema-kotlin) now points to generated javadoc content for a new release, v1.0.1.
Thanks again for identifying this issue, Ivo.  Closing.


install_arch: Fix permissions for root

When extracting the bootstrap image, do not set owner, group and mode
anymore. Those compeltly screwed up permission of the chroot environment
making it unstartable (because executables are not executable).

Should have been fixed by https://github.com/archlinux/infrastructure/commit/d14d5c611dd25ce6dd58b89c9f701fa4e8425a9c.


fix: Update code to make it work on Samsung Tizen 3.5

Removes the use of FinalizationRegistry
Use a real canvas instead of OffscreenCanvas

Note: Need disable build.minify in vite.config.js

Thanks - we'll need to figure out flags for these pieces to work on older devices

Thanks for the PR!

OffscreenCanvas in CanvasTextRenderer: We could possibly add something that detects if Core is running on the main thread and then always use the HTML Canvas when thats the case.
FinalizationRegistry: This is needed for the texture memory system. We may need to adopt a model that simply counts what textures are actively assigned to nodes that are attached to render tree.

@frank-weindel - just tested on xi6 boxes and we also dont have FinalizationRegistry - is there a polyfill or can we remove this for now?

Those devices will eventually receive the WPE versions we were targeting during development. There's no polyfill for FinalizationRegistry so another layer of memory management that doesn't rely on it will need to be developed.

WebOS versions up to 5 all also will not work because of FinalizationRegistry (Chrome 84+) and OffscreenCavas (Chrome 69+).

Support for older browsers would be awesome! (at least with polyfills).

Solid will need to target Chrome 49+

Closing this in favor of https://github.com/lightning-js/renderer/issues/26


How about unix CLI version? - Feature Request

Love it, so much nicer then iperf, if only it had CLI version so I could use it form the remote ends of network.
And then maybe a pyhon3 wrapper so I can automate those test?
best regardas
Maciej

I am planning to do just that. but it will take some time. currently working on PWA,CMS etc. for main site.


Add client token to vuex store

The first implementation of the openidconnect auth mode was only partially correct. It should have included an update to the vuex store. This PR adds the missing functionality.

@cdbartholomew - I tested this out and can confirm that the token is correctly included in the request when opening ws://localhost:8083/ws/v2/producer/persistent/public/undefined/tc1-messages/?token=<my-token-here>. I can also see that when the page is refreshed after logging in, the token is properly loaded into the vuex store.
I tested out the authentication portion, and it appears that there is something else wrong. That should be independent of these changes though, so I am going to merge this now.


part of the things in #4

as considered in #4

allow passing options to each plugin
allow to control (merge/extend, etc with app options) these options with opts.fn - better name?
allow customizing the plugins stack property through opts.prop, maybe opts.plugins looks better?

Hope that's all of the 3 bullets, hah. And sorry if I missed some semicolon somewhere, I tried :)
About the opts.fn... it good to me, and make sense to remain the same, because really it can do much things. Because .use not limits the second argument to be only object or something. It is just directly passed to this function with the instance, so you can do anything you want. It is a bit hack, you can use it for some things "on per plugin basis".
It's always fun to port assertit/mukla tests to mocha, haha. Absolute compatibility and assert is pretty enough. Btw try http://npm.im/mukla 0.4 :)

published and released! thanks!

Great, thanks!

Only docs for .use and .run are missing. :)

Lol I need a linting tool for my linting tools.

Whahahahah

Huh, I'm back. I'm almost here and can continue with #4 soon :)


ImportError: cannot import name 'load_url_dist' from 'mmcv.runner.checkpoint' (/home/ai-pose/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv-1.2.7-py3.7.egg/mmcv/runner/checkpoint.py)

Hi everyone. How can I fix this? This is my new task and lack of experience for this one. Thanks in Advance.

I also encountered the same problem. Have you solved it?How did you solve it?

Hi everyone. How can I fix this? This is my new task and lack of experience for this one. Thanks in Advance.

I also encountered the same problem. Have you solved it?How did you solve it?

Hello bro just downgrade the mmcv version to 0.4.3

Thank you for your reply and wish you all the best
| |
fanfan_fighting
|
|
@.***
|
签名由网易邮箱大师定制
On 3/16/2021 @.***> wrote：
Hello bro just downgrade the mmcv version to 0.4.3
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

pip install mmcv==0.4.3
worked!

this didn't work for me. i got the error:

AssertionError: MMCV==0.4.3 is used but incompatible. Please install mmcv>=1.3.17, <=1.5.0.

so what i went in and looked at the mmcv files to figure out the equivalent of 'load_url_dist' in the version i installed, which was 1.4.8, the latest available on pip. and i'm pretty sure it's 'load_from_http'. i substituted 'load_url_dist' for 'load_from_http' on checkpoint.py and the error is gone.
however, i am still dealing with a multitude of errors, so no guarantees here. this is just the best i could do. installing mmcv-full didn't work, no version between 1.3.17 and 1.5.0 worked.

谢谢，邮件已收到


FreeRDP fails to build under OpenSSL 3.0.0 with error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"

As title, FreeRDP from git fails to build against OpenSSL 3.0.0  on Linux. It still builds fine on OpenSSL 1.1.1
Build error produced:
In file included from /home/etna/Tmpbuilddir/FreeRDP/channels/audin/client/oss/audin_oss.c:36:
In file included from /home/etna/Runtime/Deps/openssl-300/include/openssl/err.h:16:
/home/etna/Runtime/Deps/openssl-300/include/openssl/macros.h:155:4: error: "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
OS information:
Debian 11 x64 with git LLVM + Clang 13
CMAKE parameters:
cmake -GNinja -DCMAKE_INSTALL_PREFIX=/home/etna/Runtime/Applications/FreeRDP/Build11Sept2021 -DCMAKE_BUILD_TYPE=Release -DCHANNEL_URBDRC=OFF -DWITH_WAYLAND=ON -DWITH_SERVER=ON -DAVCODEC_INCLUDE_DIR=/home/etna/Runtime/Deps/ffmpeg-Build11Sept2021/include -DAVUTIL_INCLUDE_DIR=/home/etna/Runtime/Deps/ffmpeg-Build11Sept2021/include -DSWRESAMPLE_INCLUDE_DIR=/home/etna/Runtime/Deps/ffmpeg-Build11Sept2021/include
Is there any way to get FreeRDP built against OpenSSL 3.0.0? Thanks.

we have not tried OpenSSL 3 yet, but pull requests are welcome.

@etna ok, just compiled current FreeRDP-master (1ee8370f28f1f3542d2559ae23ad670434b303b6) against a custom build of openssl-3.0.0 tag. Works like a charm.
Can you check your CMakeCache.txt for OPENSSL_* variables and their value? Might be that some path is still pointing to an old OpenSSL version in your case?

I will be compiling the latest master tomorrow and will feedback on the outcome.
Since you said it worked for you, I hope to provide some good news when I'm done.

Unfortunately, I still get the same error when building against OpenSSL 3.0.0:
In file included from /home/etna/Tmpbuilddir/FreeRDP/channels/audin/client/oss/audin_oss.c:36:
In file included from /home/etna/Runtime/Deps/openssl-300/include/openssl/err.h:16:
/home/etna/Runtime/Deps/openssl-300/include/openssl/macros.h:155:4: error: "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
^
This is on a fresh clone of FreeRDP.

Sorry all, this was my mistake.
channels/audin/client/oss/audin_oss.c has an #include <err.h> but for some reason the build process seems to be picking up OpenSSL's err.h instead of /usr/include/err.h
Resolved by making minor changes to my  C_INCLUDE_PATH, CPLUS_INCLUDE_PATH and CPPFLAGS.


Get checksum for * architecture: "HTTP Error 400: Bad Request"

I have error message when trying to launch this playbook:

TASK [cloudalchemy.prometheus : Get checksum for amd64 architecture] ***********************************************************************************
fatal: [ci]: FAILED! => {"msg": "An unhandled exception occurred while running the lookup plugin 'url'. Error was a <class 'ansible.errors.AnsibleError'>, original message: Received HTTP error for https://github.com/prometheus/prometheus/releases/download/v2.3.2/sha256sums.txt : HTTP Error 400: Bad Request"}

When I download this file manually, it's accessible and contains correct data.
I think we need the ability to skip checksum verification.

any chance to get this merged?

Currently there is no working PR resolving this. #142 is not working as expected and I don't have time now to debug that.
I would be happy to review a PR with a proper fix :smile:

Possible related, or possibly not...
TASK [ansible-prometheus : Get checksum for amd64 architecture] ****************
objc[3990]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called.
objc[3990]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.

This is run from a mac osx machine (Python 3.7.0), against ubuntu 18.  As part of this, it crashes python on my mac.
I don't encounter this issue run from ubuntu 18 (python 3.6.6) against ubuntu 18.
It seems like it's caused by the lookup by url, as even this fails:
- debug:
    msg: "{{ item }}"
  loop: "{{ lookup('url', 'https://github.com/prometheus/prometheus/releases/download/v' + prometheus_version + '/sha256sums.txt', wantlist=True) }}"

This issue went stale and it looks like the problem is with ansible itself and not with the role. As a workaround for this PR #239 can be used.


request: add module smartpqi

I am running v1.3.0, is it possible to add module smartpqi for the next release ?
It is required to support the latest HP Smart Array installed in HP Proliant servers.

Can you please make a PR to os-kernel?
I cannot test it out.

done: https://github.com/rancher/os-kernel/pull/59

@schmurfy
The smartpqi module has been added in rancheros v1.4.0-rc1.
Can you have a try, please?

thanks, I will try this week.

Looking forward to your test results

is there a prebuilt vmlinuz & initrd for this release ? I boot the servers using PXE so I need those to test it.

Can not wait, I must ship the v1.4.0 release.
@schmurfy If you find any problem after testing, please let me know.

ok, I tested the initial patch before sending the pull request anyway so it should be fine.


Vuejs 3 Support

Please, does this package support vuejs 3?

I am also wondering that. I think currently now it does not have support for vuejs 3.
For when the support for vuejs 3?

Sorry, this plugin does not support Vue 3


Error on project generation with Firebase Auth integration

Describe the bug
If a user includes Firebase Auth in project generation, the source code has errors.
To Reproduce
Steps to reproduce the behavior:

While setting up options for project generation, include Firebase Authorisation.
Generate project.

Expected behavior
The generated source code should not contain errors.
Screenshots

Not reproducing. Need additional details.

I didn't reproduce the bug, but I did find another bug. DataResponse was not created for firebase

https://github.com/Onix-Systems/onix-flutter-project-generator/pull/87


Improve paginated search / query timeout

Use the paginated search on all reads
Rename both settings for improved clarity

:+1: it's way better, thanks


Fix qsignature for multiqc

Fixing uploading qsignature .ma file to propagate it into multiqc_bcbio:

summarize qsignature before running MultiQC so all files are in place
add qsignature.ma into multiqc file list
multiqc file_list_final: support dirs to propagate mixup_check with qsignature.ma file

Though later realized that qsignature reporting in MultiQC is commented out: https://github.com/MultiQC/MultiQC_bcbio/pull/24

Thanks for fixing this, I'm not sure about the current multiqc status but will help figure it out. Thanks for working on it.


sort_vars option

Hi!
First off, great lib! Thanks!
I was missing this feature, so here is a PR.
Motivation: To unclutter/customize the output of pp and/or Object.inspect I override instance_variables to return only the instance variables I care about, in the order I care about them. For example, if one of the instance variables is a somewhat large Hash, you might want to print that last, as to improve readability of all other vars.
pp was easily forced to not sort the array by monkeypatching the sort method for the specific array with instance variables (or, their keys). But AwesomePrint maps the vars to a new array and sorts them later.
This PR adds a sort_vars option (default true, nothing breaks) to disable this sorting.
Let me know what you think. If anything can be approved if you like the feature, etc.
Cheers!

Thanks for this pull request. Very well explained and easy to follow. I love PRs like this. :)


UnknownApiNameOrVersion when using 'googleapiclient.discovery' to build 'mybusiness'

I'm using Google's My Business API via Google's API Python Client Library (v2.41.0).
Without further ado, here is a complete code example:
from dotenv import load_dotenv
from google_auth_oauthlib.flow import InstalledAppFlow
from googleapiclient.discovery import build
from os.path import exists
from pprint import pprint
import os
import pickle

load_dotenv()

API_DEVELOPER_KEY = os.getenv('API_DEVELOPER_KEY')
API_SCOPE = os.getenv('API_SCOPE')
STORED_CLIENT_CREDENTIALS = os.getenv('STORED_CLIENT_CREDENTIALS')
GOOGLE_APPLICATION_CREDENTIALS = os.getenv('GOOGLE_APPLICATION_CREDENTIALS')

def get_google_credentials(path=STORED_CLIENT_CREDENTIALS):
    '''Loads stored credentials. Gets and stores new credentials if necessary.'''
    if exists(path):
        pickle_in = open(path, 'rb')
        credentials = pickle.load(pickle_in)
    else:
        flow = InstalledAppFlow.from_GOOGLE_APPLICATION_CREDENTIALS_file(
            GOOGLE_APPLICATION_CREDENTIALS_file=GOOGLE_APPLICATION_CREDENTIALS, scopes=API_SCOPE)
        flow.run_local_server()
        credentials = flow.credentials
        store_google_credentials(credentials)
    return credentials

def store_google_credentials(credentials, path=STORED_CLIENT_CREDENTIALS):
    '''Store credentials for future reuse to avoid authenticating every time.'''
    pickle_out = open(path, 'wb')
    pickle.dump(credentials, pickle_out)
    pickle_out.close()

def get_google_api_interface(credentials, service_name, service_version, service_discovery_url=None):
    '''Get a resource object with methods for interacting with Google's API.'''
    return build(service_name,
                 service_version,
                 credentials=credentials,
                 developerKey=API_DEVELOPER_KEY,
                 discoveryServiceUrl=service_discovery_url)

def extract_dict_key(dict, key):
    '''Utility to extract particular values from a dictionary by their key.'''
    return [d[key] for d in dict]

def transform_list_to_string(list, separator=' '):
    return separator.join(map(str, list))

def get_google_account_names():
    '''Get a list of all account names (unique ids).'''
    google = get_google_api_interface(
        get_google_credentials(),
        service_name='mybusinessaccountmanagement',
        service_version='v1',
        service_discovery_url='https://mybusinessaccountmanagement.googleapis.com/$discovery/rest?version=v1')
    accounts = google.accounts().list().execute()
    return extract_dict_key(accounts['accounts'], 'name')

def get_google_store_reviews(account_name):
    '''Get all store reviews for a specific account from Google My Business.'''
    google = get_google_api_interface(
        get_google_credentials(),
        service_name='mybusiness',
        service_version='v4',
        service_discovery_url='https://mybusiness.googleapis.com/$discovery/rest?version=v4')
    return google.accounts().locations().batchGetReviews(account_name).execute()

account_names = get_google_account_names()

pprint(account_names)

first_account_name = account_names[0]

pprint(get_google_store_reviews(first_account_name))

And here is the contents of .env:
API_DEVELOPER_KEY = ********
API_SCOPE = https://www.googleapis.com/auth/business.manage
STORED_CLIENT_CREDENTIALS = secrets/credentials.pickle
GOOGLE_APPLICATION_CREDENTIALS = secrets/client_secrets.json

My function get_google_account_names() works fine and  returns the expected data:
['accounts/******************020',
 'accounts/******************098',
 'accounts/******************872',
 'accounts/******************021',
 'accounts/******************112']

I have tested and validated get_google_credentials() to ensure that CLIENT_CREDENTIALS and API_DEVELOPER_KEY are indeed loaded correctly and working.
Also, in .env, I'm setting the environment variable GOOGLE_APPLICATION_CREDENTIALS to the client_secret.json path, as required some methods in Google's Python Client Library.
My function get_google_store_reviews(), however, results in this error:
Traceback (most recent call last):
  File "/my-project-dir/my-script.py", line 88, in <module>
    pprint(get_google_store_reviews())
  File "/my-project-dir/my-script.py", line 76, in get_google_store_reviews
    google = get_google_api_interface(
  File "/my-project-dir/my-script.py", line 46, in get_google_api_interface
    return build(service_name,
  File "/my-project-dir/.venv/lib/python3.9/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/my-project-dir/.venv/lib/python3.9/site-packages/googleapiclient/discovery.py", line 324, in build
    raise UnknownApiNameOrVersion("name: %s  version: %s" % (serviceName, version))
googleapiclient.errors.UnknownApiNameOrVersion: name: mybusiness  version: v4

I have also tried v1 of the Discovery Document with the same result.
Does anyone know what's going on here? It seems like the API mybusiness is not discoverable via the Discovery Document provided by Google, but I'm not sure how to verify my suspicion.
Note that this and this issue is related, but not exactly the same. The answers in those questions are old don't seem to be applicable anymore after recent changes by Google.
Some parts of the mybusiness API appear to be deprecated, which might explain these issues.
But Google's documentation also states:

"Deprecated indicates that the version of the API will continue to function […]"

Furthermore, notice that even though the top-level accounts.locations is marked as deprecated, some other the underlying methods (including batchGetReviews) are not, which adds to my confusion.
See screenshot for more details:

This issue has also been posted as a question on Stack Overflow.

Hi @leifericf,
By default, this library fetches discovery documents from this directory. It contains all the discovery documents listed in the public directory https://www.googleapis.com/discovery/v1/apis.
mybusiness v4 doesn't seem to be listed. When I click on https://mybusiness.googleapis.com/$discovery/rest?version=v4 or https://mybusiness.googleapis.com/$discovery/rest?version=v1, I get the following response:
{
  "error": {
    "code": 403,
    "message": "The request is missing a valid API key.",
    "status": "PERMISSION_DENIED"
  }
}

It looks like the API team intends for the discovery document to be accessible only with an API key. For this type of API, you need to pass static_discovery=False to discovery.build() to indicate you want to fetch the document from the internet at runtime. Passing a specific discoveryServiceUrl (as you have in your sample) works as well. You can read more about why this is necessary in this doc.
I tried to access the API myself but was unable to enable it (I'm not sure if that's because of something with my account, or if they've stopped allowing new projects to enable the API). I think the code you shared is basically doing the same thing, but could you try running this snippet to see if you get the same result?
from googleapiclient import discovery

service = discovery.build(
  "mybusiness",
  "v4",
  static_discovery=False,
  developerKey="MY_API_KEY",
  discoveryServiceUrl="https://mybusiness.googleapis.com/$discovery/rest?version=v4"
)

I'm not familiar with the deprecation schedule for this API, but since the sunset date (2022-04-30) looks to be quite soon, you should migrate to the Business Information API. Is there an equivalent of the function you want to use in the replacement API? If you can't find a replacement, you should reach out through https://developers.google.com/my-business/content/support to clarify the deprecation and sunset schedule.

Thank you for taking the time to help, @busunkim96! Much appreciated.
I had missed the aspect of static vs. dynamic lookup! And the default value is set to True.
I think you're onto something, but it doesn't seem to make a difference in this particular case.
I ran the following:
from dotenv import load_dotenv
from googleapiclient import discovery
import os

service = discovery.build(
    "mybusiness",
    "v4",
    static_discovery=False,
    developerKey=os.getenv('API_DEVELOPER_KEY')
)

And got the same result as before:
Traceback (most recent call last):
  File "/my-project-dir/my-script.py", line 5, in <module>
    service = discovery.build(
  File "/my-project-dir/.venv/lib/python3.9/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/my-project-dir/.venv/lib/python3.9/site-packages/googleapiclient/discovery.py", line 324, in build
    raise UnknownApiNameOrVersion("name: %s  version: %s" % (serviceName, version))
googleapiclient.errors.UnknownApiNameOrVersion: name: mybusiness  version: v4

It seems like the discovery is still failing for some reason.

Oh, that's interesting! I get this:
$ curl "https://mybusiness.googleapis.com/\$discovery/rest?version=v4%key=MY_API_KEY"
{
  "error": {
    "code": 403,
    "message": "The request is missing a valid API key.",
    "status": "PERMISSION_DENIED"
  }
}

But when I check in the Google Cloud Console, I see that the private "API Google My Business API" is "Enabled".
And when I go to "APIs & Services → Credentials → API Keys" I can see that my API Key is active and valid.
For testing purposes, I have set the "API Restrictions" to "Don't Restrict Key".

Ah! I found a typo in your curl example. In The URL, the % should probably have been a &. (?)
When I do this:
$ curl "https://mybusiness.googleapis.com/\$discovery/rest?version=v4&key= MY_API_KEY"
{
  "error": {
    "code": 404,
    "message": "Discovery document not found for API service: mybusiness.googleapis.com format: rest version: v4",
    "status": "NOT_FOUND"
  }
}

(Notice the & between v4 and key in the URL.)
So it seems like my API key is indeed valid.

@leifericf Oops yes, that was definitely a typo.

mybusiness v4 and mybusinessaccountmanagement have a very different onboarding process and are different APIs. For eg: mybusinessaccountmanagement is public by default and mybusiness v4 is private. So if the key works on one, there is no guarantee it will work on another.

The My Business API engineer responded hat the two APIs you're using are different in some ways, so the API key working for one might not necessarily mean it works on the other.
I just shared the NOT_FOUND response with them, hopefully they'll be able to point to the steps needed to access the API.

The engineer shared https://developers.google.com/my-business/samples/previousVersions with me. https://developers.google.com/my-business/samples/mybusiness_google_rest_v4p9.json appears to be the last copy of the discovery document for mybusiness v4.
Could you try setting discoveryServiceUrl to that and see if you're able to successfully make calls?
service = discovery.build(
    "mybusiness",
    "v4",
    static_discovery=False,
    discoveryServiceUrl='https://developers.google.com/my-business/samples/mybusiness_google_rest_v4p9.json',
    developerKey=os.getenv('API_DEVELOPER_KEY')
)

Excellent! That solved the problem with connecting to the 'mybusiness' API.
But for some reason batchGetReviews does not return any data for any of my accounts.
Here is a complete and working code example:
from dotenv import load_dotenv
from googleapiclient.discovery import build
from pprint import pprint
import os
import pickle

# Load environment variables
load_dotenv()

# Load stored credentials
stored_credentials_path = os.getenv('STORED_CLIENT_CREDENTIALS')
pickle_in = open(stored_credentials_path, 'rb')
credentials = pickle.load(pickle_in)

# Get connection to 'mybusinessaccountmanagement' service
account_service = build(
    'mybusinessaccountmanagement',
    'v1',
    credentials=credentials,
    static_discovery=False,
    discoveryServiceUrl='https://mybusinessaccountmanagement.googleapis.com/$discovery/rest?version=v1',
    developerKey=os.getenv('API_DEVELOPER_KEY')
)

# Get connection to 'mybusiness' service
review_service = build(
    'mybusiness',
    'v4',
    credentials=credentials,
    static_discovery=False,
    discoveryServiceUrl='https://developers.google.com/my-business/samples/mybusiness_google_rest_v4p9.json',
    developerKey=os.getenv('API_DEVELOPER_KEY')
)

# Use 'mybusinessaccountmanagement' to get list of all accounts
accounts = account_service.accounts().list().execute()
pprint(accounts)

# Returns the following:
#
# {'accounts': [{'accountName': 'Account A',
#                'name': 'accounts/******************020',
#                'type': 'PERSONAL',
#                'verificationState': 'UNVERIFIED',
#                'vettedState': 'NOT_VETTED'},
#               {'accountName': 'Account B',
#                'accountNumber': '********29',
#                'name': 'accounts/******************098',
#                'permissionLevel': 'OWNER_LEVEL',
#                'role': 'PRIMARY_OWNER',
#                'type': 'LOCATION_GROUP',
#                'verificationState': 'UNVERIFIED',
#                'vettedState': 'NOT_VETTED'},
#               {'accountName': 'Account C',
#                'accountNumber': '********75',
#                'name': 'accounts/******************872',
#                'permissionLevel': 'OWNER_LEVEL',
#                'role': 'PRIMARY_OWNER',
#                'type': 'LOCATION_GROUP',
#                'verificationState': 'UNVERIFIED',
#                'vettedState': 'NOT_VETTED'},
#               {'accountName': 'Account D',
#                'accountNumber': '********98',
#                'name': 'accounts/******************021',
#                'permissionLevel': 'OWNER_LEVEL',
#                'role': 'PRIMARY_OWNER',
#                'type': 'LOCATION_GROUP',
#                'verificationState': 'UNVERIFIED',
#                'vettedState': 'NOT_VETTED'},
#               {'accountName': 'Account E',
#                'accountNumber': '********13',
#                'name': 'accounts/******************112',
#                'permissionLevel': 'OWNER_LEVEL',
#                'role': 'PRIMARY_OWNER',
#                'type': 'LOCATION_GROUP',
#                'verificationState': 'UNVERIFIED',
#                'vettedState': 'NOT_VETTED'}]}

# Extract only the account names
account_names = [d['name'] for d in accounts['accounts']]
pprint(account_names)

# Now we have this list of the account names:
#
# ['accounts/******************020',
#  'accounts/******************098', <- We'll try to fetch reviews for this account
#  'accounts/******************872',
#  'accounts/******************021',
#  'accounts/******************112']

# Use 'mybusiness' service to get all reviews for one account
reviews = review_service.accounts().locations().batchGetReviews(
    name=account_names[1]).execute()  # Fetching reviews for account ******************098
pprint(reviews)

# Returns the following:
#
# {}

Notice that no reviews are returned.
When I check in the Google My Business web interface, I can see that this account contains 42 verified and 1 unverified businesses, which have several thousand reviews.
Why does the API not return these reviews?

@busunkim96 Do you know how I can determine why batchGetReviews is returning an empty JSON response? The API endpoints seem to be working now, because I don't get any error messages, but I don't get any data.
I have tried to create several support tickets with Google, but they suggest I switch to using "simple HTTP requests" or the Java client or the PHP client, which is less than helpful. I "just" want the Python client to work as advertized.

Any updates for the client library to resolve this? I do not see any other API inside https://github.com/googleapis/google-api-python-client/blob/main/docs/dyn/index.md supporting reviews

The engineer shared https://developers.google.com/my-business/samples/previousVersions with me. https://developers.google.com/my-business/samples/mybusiness_google_rest_v4p9.json appears to be the last copy of the discovery document for mybusiness v4.
Could you try setting discoveryServiceUrl to that and see if you're able to successfully make calls?
service = discovery.build(
    "mybusiness",
    "v4",
    static_discovery=False,
    discoveryServiceUrl='https://developers.google.com/my-business/samples/mybusiness_google_rest_v4p9.json',
    developerKey=os.getenv('API_DEVELOPER_KEY')
)

In 2024 there is still no Business Profile API where you can fetch reviews besides the old 4.9 API. I have sent numerous emails to their support team if the could re-upload the discovery file for v4, because it still returns a 404 and so the client library can't connect to it. Thanks for the link! Although it's really hard to tell what the status of this API even is, so I'm a bit hesitant to rely on the link.

Thanks for this trail, plenty of banging my head against the wall the last couple of days. Finally this worked for me all using the client library and a service account:
service = build(
    'mybusiness',
    'v4',
    static_discovery=False,
    discoveryServiceUrl='https://developers.google.com/my-business/samples/mybusiness_google_rest_v4p9.json',
    credentials=source_credentials
    )

service.accounts().locations().reviews().list(parent='accounts/***/locations/***').execute()


[feature-req] Option to notify when IRC disconnects/reconnects

For networks that one doesn't habitually keep open in a client, it can take a while to notice if something goes wrong with a server—changed (untrusted) security certificate, new address/port, etc.
I propose that znc-push offer the ability to hook into IRC connections and disconnections, and notify the configured service when the network connection state changes. Ideally connection and disconnection messages would include the network name, and for disconnections also the error message.

Oops. Would this be considered a duplicate/superset of #153?


Incremental + streaming strategy behaves oddly when tables are rotated

@adamribaudo-velir @dgitis since we are discussing the event loading model, I will open this issue for another headache that my business users noticed last week.
At somewhere around ~10-11am my local time, GA4 creates the new events_ table for the previous day, and some time after that drops the events_intraday_ table for the same date.
What they noticed is that the events for today are present throughout the day, and up to that magic time the next morning, but then disappear!
The cause is of course that I haven't re-run the DBT job, and whereas the streaming/intraday table is a direct view onto events_intraday_*, the non-streaming base table isn't a view onto events_*, the events have actually been copied out.
I don't have a suggestion on how to solve this yet. The best I could do right now is set up the glue necessary to rerun the DBT pipeline when the new events_* table is created, making sure we are de-duping with the intraday table successfully (which may be the other fatal flaw in my idea of de-duping on the way into the base events table).
The other approach is to give up on direct access to the intraday tables, and expect a DBT run to pull in that data too. Obviously that is in many respects a step backwards, but to be honest, it's what I actually expected before using this project - most of my downstream models have to be materialized, so I had assumed I would only be getting updates when I ran the pipeline.

I've been struggling with this one for a couple of days and the best I can come up with is to replace the current events_intraday_* wildcard with an events_* wildcard, and use _TABLE_SUFFIX to avoid pulling in all the dates already partitioned.
eg. let's say I ran the pipeline last night, 2022-10-26. The last non-intraday table at that point was the previous day's events_20221025. I now want a query that will pick up 2022-10-26 (and 2022-10-27 when it comes), whether the 26th is in events_intraday_20221026 or events_20221026.
So I do this by querying events_* with a WHERE _TABLE_SUFFIX > '20221025' condition.
(I don't need to use WHERE _TABLE_SUFFIX > '20221025' OR _TABLE_SUFFIX > 'intraday_20221025' because the i of intraday is > the 2 of 20221025, so the one condition works to find both.)
There will be a window of time during which we see the events in both the intraday and the non-intraday events table. I'm nervous about this; we are discussing de-duping based on the full event params etc. in #74, and I am not sure whether that will work super well here. I hope it will, I'm just not sure because the intraday table gets augmented with a lot of other data that GA4 receives later. I think that's mostly attribution data that goes into other columns we aren't including, ie. not event_params and so on, but would have to give it a go.

@willbryant safe to close this issue now given #188 ?

Ah yep, think so - thanks :).


HADOOP-14661. Added support for AWS S3 Requester Pays Buckets

250

 Quality gate: Failed
8 Issues

 8 Code issues

Details


For PWA should English be kept as default language which is not in the list of top three languages considered for Belgium POC

English is not considered in the list of top three language for Belgium POC.
For most of sample products, the leaflet is going to get content on following three languages German, Dutch, French
Keeping English as default language for PWA might force most of the patient to read a message about "unavailable leaflet" before they select their preferred leaflet language option. This needs an extra read and a click before getting the leaflet content displayed on PWA in desired language.

@sumanxp, I believe this ticket should be closed because English is not the default language for Lightweight PWA.

The default device language from your device is taken as the default language of the PWA. e.g. for me, the Lightweight starts in German and only if a device is in English or a language not part of the scope e.g. Japanese, the Lightweight PWA will start in English.
see also user requirement for MVP1
unfortunately the Lightweight PWA was "designed" as a minimal solution (I am not happy with that decision) therefore we miss (compared to the native app) the language switch in the settings, we miss scan history,....but it was designed liek this on purpose, maybe beneficial to review that decision for release after MVP1


fix/run-in-container

changes made:

split out apply into it's own image
convert all references to localhost:xxx to the relevant service name. i.e. apply (for forms) and lists (for lists..)
docker/pipeline optimisations

messed up the rebase, see updated branch here #423


Terse wipes tiff files

Dear developers,
We have been trying to use trpx unsuccessfully, executing Terse on a .tif file but terse destroys it, leaving a 104 Byte-size ASCII file withe the content:
<Terse prolix_bits="0" signed="0" block="12" memory_size="0" number_of_values="0" number_of_frames="0"/>
I have been investigating it thoroughly. I have tried with GCC 12.3.0 (latest stable release), from repos, compiling it myself and even with binaries provided by the EESSI projects. Also in different machines with different OS, in none of them worked. Also tried with GCC 13 with the same result.
Compiling trpx in debug mode and examining line per line, the program runs fine except in the core moment:
for (int i = 0; i != tif_data.image_stack_size(); ++i)
             if (tif_data.dim() == tif_data.image(i).dim())
                  Terse_pushback(compressed, tif_data.image(i));

Both adding a couple of lines of code and also checking from gdb, the variable tif_data.image_stack_size() seems to always be 0, resulting in not entering inside the loop and not doing the proper processing.
I am not sure about the reason on why this happens. Stepping into this function, despite calling the Terse.hpp file, the Terse class this uses the atomic functions of the std vector class of the C library to calculate the size. I attach a screenshot (sorry, copy-paste didn't work) on how those seem to be always 0.

I thought it might be a problem with our .tif files, but downloading samples from the internet results in the same.
Again, I tried it with different GCC installations and versions unsuccessfully, could you kindly guide us on what might be happening?
Thank you!

Dear @hvelab Helena Vela Beltran,
Thank you for writing us.
All the best,
Senik

Dear @senikm ,
Thank you for your fast reply! I am afraid that if I cannot send you the main ones we used because of confidentiality terms, but I got the same results with this one from an online sample page:
https://file-examples.com/wp-content/storage/2017/10/file_example_TIFF_10MB.tiff
Also with some of the random ones here:
Thanks again :)

Dear @hvelab,
Thank you for the provided information. I had a quick look at the files you have sent me. Could, you, please, check if it works correct with one of the following files in this link?
https://drive.google.com/drive/folders/16UVHtia6GAK9WFO3RtO32tImhSlgdxEd. The current tiff library works with specific set of IFDs. TRPX will only  properly compress greyscale,  non-compressed, integral-valued tiff files or stacks.

Dear @senikm,
I confirmed with my user that it works for those set of files with our installation. Our files were compressed .tiff files, thank you for clearing this for us!

Dear @hvelab,
Thank you for checking this out. We have sent an update, which ensures no deletion of the original file if the TIFF library gives a warning.


Folder and files aren't supposed to coexist but this can be circumvented via Upload Files...

Repro steps:
Only for blobs:

Create a file named "1234"
Upload Files...
When prompted for destination directory, type in "1234"
Files will upload, and it appears to be in the root
Refresh it, and you will have an invalid tree item

Open in file explorer, and it appears as a folder AND a file

???
$$$$$PROFIT$$$$$

Lets see what Storage Explorer does

Storage explorer handles this gracefully

Now that's hot 🔥


Removed: Authy Desktop (no longer functional as of Jul 20/2024)

Twilio Authy Desktop reached End-of-Life on March 19 2024.  The program has since become fully non-functional (any connected accounts have been removed without the ability to re-add/re-sync) as of July 20 2024.
Checklist for Pull Requests

[Y] Have you signed the Contributor License Agreement?
[N] Is there a linked Issue?

Manifests

[Y] Have you checked that there aren't other open pull requests for the same manifest update/change?
[N] This PR only modifies one (1) manifest
[N/A] Have you validated your manifest locally with winget validate --manifest <path>?

[N/A] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

URL:
Invalid URI: The hostname could not be parsed.
(Automated message - build 887)


fix(Payments): use createdAt instead of date

Signed-off-by: reslene<EMAIL_ADDRESS>

test comment


Option to override Lambda detection to allow creation of top level segments in Lambda functions

Please, see: https://github.com/aws/aws-xray-sdk-python/pull/182
The main point is we want to have an option to handle the creation of top level segments inside Lambda functions with the X-Ray integration in Lambda disabled.

Thanks for opening the issue. We will mark this as a feature request, as my response in the PR mentions that the it is an unintended side effect of the Lambda environment and is therefore subject to breaking if Lambda changes their implementation.

I use a Post API -> Kinesis -> Lambda function -> Postgres to consume data. Though XRAY tracing is enabled, they show up as separate segments and not connected as a parent child between the API and the Lambda function.
I can include a trace segment detail from API to Kinesis so that it can be the parent of the Lambda function's XRAY segment. Right now, the segment in Lambda is immutable and doesnt allow me to set a parent. This feature will help address the issue

Hi sujikann,
Thanks for posting the use case. The disconnection is because that Kinesis does not pass trace context to Lambda. While this feature can workaround the problem, it requires significant setup, code change, and may become invalid when Lambda change its tracing implementation. We have a plan to support the AWS messaging middleware services like Kinesis, SQS/SNS(already done) to propagate trace context. That will ultimately solve the disconnection. Please stay tuned.
Thanks,
Shengxin

Hi sujikann,
Thanks for posting the use case. The disconnection is because that Kinesis does not pass trace context to Lambda. While this feature can workaround the problem, it requires significant setup, code change, and may become invalid when Lambda change its tracing implementation. We have a plan to support the AWS messaging middleware services like Kinesis, SQS/SNS(already done) to propagate trace context. That will ultimately solve the disconnection. Please stay tuned.
Thanks,
Shengxin

Looking forward to tracing implementation for Kinesis. I am using a workaround by turning off the active tracing in Lambda and using xray sdk to begin and end segment. I am adding the trace id to the message in the stream so that Lambda can correlate to it.


feat: add new generator to init command

:tada: This PR is included in version 0.21.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


s3 with endpoint option doesn't use bucket name param

Hello, when I put an endpoint to s3 client, all operations ignores bucket parameter.
aws/aws-sdk-php 3.173.0
league/flysystem 1.1.3
league/flysystem-aws-s3-v3 1.0.29
$options = [
                'version' => 'latest',
                'region' => env('AWS_REGION'),
                'credentials' => [
                    'key' => env('BOWTIE_AWS_ACCESS_KEY_ID'),
                    'secret' => env('BOWTIE_AWS_SECRET_KEY'),
                ],
            ];

            if(env('APP_ENV') == 'local') {
                $options['endpoint'] = 'http://local-localstack:4566';
                $options['bucket_endpoint'] = true;
                $options['use_path_style_endpoint'] = true;
            }

new AwsS3Adapter(
                    new S3Client($options),
                    'bucket-name', //bucket
                    'ingress-cache', // prefix
                    [],
                    false
                )

Error executing "PutObject" on "http://local-localstack:4566/ingress-cache/000001/0000064.csv"; AWS HTTP error: Client error

ignores bucket name.
Also tried with flysystem v2  -  AwsS3V3Adapter, same result
And if I change bucket_endpoint to false
Error executing "PutObject" on "//http://local-localstack:4566/"; AWS HTTP error: cURL error 6: Could not resolve host: http

Hey guys.
I have nearly the same issue with bucket name. But it just insert bucket name incorrect into url.
Error executing "PutObject" on "//woohoo.https//sfo2.digitaloceanspaces.com/woohoo.https//sfo2.digitaloceanspaces.com"; AWS HTTP error: cURL error 6: Could not resolve host: woohoo.https (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

Guys, my problem where connected to aws package, I just downgrade it to:
"aws/aws-sdk-php": "3.170.0"

Guys, my problem where connected to aws package, I just downgrade it to:
"aws/aws-sdk-php": "3.170.0"

Thank you. This worked for me too.

This has been fixed with "aws/aws-sdk-php": "3.175.1"

This has been fixed with version 3.175.1 of aws-sdk-php

@AzaZPPL can you please send a config example? I couldn't make it work with these;
$options['endpoint'] = 'http://bowtie-localstack:4566';
$options['use_path_style_endpoint'] = true;
$options['bucket_endpoint'] = true;

How do I pass these options from Lumen's config/filesystems.php?


Dialog should have onOpen callback

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Need an onOpen callback in the Dialog component so when it's opened then can trigger some loading tasks. Similar to the onClose callback func
Examples 🌈
No response
Motivation 🔦
The story behind this idea is, we want to display a Select component with a list of options in a Dialog. In this process the data fetching task should be fired after the Dialog is open. But with the current version, this can only be done when onOpen is fired in Select.

Hi @Xinran-Ma , can you please assign this to me and please provide more info. about the issue

@Xinran-Ma It looks to me like onClose is provided in order to provide the event (here). For opening the dialog, there would not be an event coming from the Dialog since it's probably something outside the Dialog (e.g. a button) that's originating it
Since you need to manage the open state yourself, something like this should be able to accomplish what an onClose would do:
export default function App() {
  const [open, setOpen] = React.useState(false);

  const handleClickOpen = () => {
    if (!open) {
      // fetch data here
    }

    setOpen(true);
  };

  const handleClose = () => {
    setOpen(false);
  };

  return (
    <div>
      <Button variant="outlined" onClick={handleClickOpen}>
        Open dialog
      </Button>
      <Dialog open={open} onClose={handleClose}>
        <DialogContent>
          {/* your content, e.g. a Select */}
        </DialogContent>
      </Dialog>
    </div>
  );
}

Yeah that makes sense to me. Will close this issue now. Thank you!


How to call host functions in wasm3 rust api?

In the following wat file :
test.txt
It wants to call the function assert_eq_i32 and print_input from host, how to call the host functions in wasm3 by rust api ?

I think the relevant example is this: https://github.com/wasm3/wasm3-rs/blob/df74c2a17ed8831595de43db98c406da4633e32a/examples/wasm_link.rs#L19


gzdecoder: fix endless loop in read implementation

Introduced by commit 7212da84fa0a9fe77c240e95a675f0567e9d698c
Adds a test to prevent this behavior
@alexcrichton sorry for turning a quadratic complexity into an endless loop
You can check that the test does not end without the patch in impl<R: BufRead> Read for GzDecoder<R>

No worries, thanks!


Screenshots for video?

It would be great to have some screenshots for the video demos. Other demos might benefit as well.

good idea

As long as a screenshot of sprite_demo doesn't scare the children :wink:

This is the color pattern i get, i dont think its my Resistor DACs but i could be wrong. The raspberry demo1 example looks fine for me but the floating heads has a black and blue box moving in the middle of the screen !

you probably forgot that there is a 1 pin gap between red and green

also i added some screenshots

THANK YOU ! It worked


Landing Page for the website

I want to work on the following feature under GSSOC'23.
Current Behavior
Currently the website shows " Website will be up soon "
Desired Behavior
Adding a beautiful, simple and responsive landing page for the website. Also wants to configure the use of tailwind in the site folder were.
Screenshots / Mockups
Current Behavior:

Expected Behavior:

@thekavikumar ser can you please assign this to me. I have designed this and I can make this landing page. In future we can also add navbar to it and can expand the website.

sure


runlabel: use shlex for splitting commands

Use github.com/google/shlex for splitting commands instead of splitting
at whitespaces.  This way, we avoid accidentally splitting single string
arguments into mutliple ones.
Signed-off-by: Valentin Rothberg<EMAIL_ADDRESS>

Looks like a useful utility.  LGTM

/approve

LGTM, would like @mheon  to double check as well

Sure, LGTM

/lgtm


elixir-ls: 0.8.0 -> 0.8.1

Motivation for this change
https://github.com/elixir-lsp/elixir-ls/blob/db38656abf1b69d2b36860c031596cf252625e41/CHANGELOG.md#v081-1-september-2021
@NixOS/beam might be interested
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@DianaOlympos thank you for the review!


double-beep: Watch devopsrider.com

double-beep requests the watch of the watch_keyword devopsrider\.com. See the MS search here and the Stack Exchange search here.

devopsrider\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Suraj Rao in Charcoal HQ


Simplified working with benchmark datasets

I'll check if all works out of the box on my machine.

[x] CARS196 with/without bboxes - all good

[x] CUB_200_2011 with/without bboxes - all good

[x] In_Shop with/without bboxes - all good

[x] SOP without bboxes - all good

I think it's better to replace wandb loggers in all examples to tb (in case if user don't have an account there).

It looks like in_shop needs a V100 or higher to run (I believe in case of reproducibility). What do you think about reducing hardware requirements to be able to run it locally on consumer gpu (like 4090 or lower)? Same for SOP example.

@leoromanovich thx for checking! I'm merging the PR then
As for loggers - I would like to keep examples that show that not only wandb logger can be user
As for hardware -- you are right, the parameters there allow us to reproduce the examples from Zoo. Anyway, we cannot gues what is users hardware, so they need to adjust the batch size on their own


Autocomplete  -  Add option to show all values

In the autocomplete component we need to provide the ability to show all the values when the user clicks the input.
We'll create an extra optional attribute called showAllValues by default set to false and the user can change it to true.
This is similar to a default dropdown, so the autocomplete is rendered with a dropdown arrow to convey this behavior.
showAllValues?: boolean

For a working example please refer to the following component and demo
Please remember to provide an example in the storybook
Please remember to provide an example in the example folder
Please create your branch from release/1.0.0
git checkout release/1.0.0
git pull
git checkout -b 'feature/autocomplete-showAll'

we closing for now this ticket as not needed. The main point raised was that an autocomplete is not a dropdown list and this functionality is closer to a ddl.
Let's see if in the future this functionality is requested


Run Nix tests on CI

Currently, it seems that we don't run any nix tests on CI. We should be testing that it can build/install/run tests via Nix as well as on normal distros.

We should prioritize this work — today's buggy kup release of Kontrol (https://github.com/runtimeverification/kontrol/pull/135) would've been caught by Nix tests.


Opening of large PDFS using a lot more memory on Rakudo 2020.1+ blead

$ perl6 -v
This is Rakudo version 2020.02.1-261-g478239e61 built on MoarVM version 2020.02.1-69-g16ff1585e
implementing Raku 6.d.
$ perl6 -I . bin/pdf-rewriter.raku ~/Documents/PDF32000_2008.pdf /tmp/out.pdf
opening /home/david/Documents/PDF32000_2008.pdf ...
^C

Seems to occur on index load. Regressed since Rakudo 2020.02.1 Investigation need.

Rakudo ticket raised https://github.com/rakudo/rakudo/issues/3586

Should be fixed with https://github.com/rakudo/rakudo/commit/4325972835 .  Could you confirm?

Thanks @lizmat, all fixed


Runtime stride

Added the ability to change the default stride layout at runtime with environment variable HIPTENSOR_DEFAULT_STRIDES_COL_MAJOR.
Renamed HIPTENSOR_DATA_LAYOUT_COL_MAJOR -> HIPTENSOR_DEFAULT_STRIDES_COL_MAJOR

@dlangbe Is there anything to add to the changelog for this?

@dlangbe Is there anything to add to the changelog for this?

Yes, the changelog should reflect the naming change of HIPTENSOR_DATA_LAYOUT_COL_MAJOR -> HIPTENSOR_DEFAULT_STRIDES_COL_MAJOR

@dlangbe Thanks for the clarification. After you update the change log, I can review it for formatting, etc.


tensorflow: 1.15.1 -> 1.15.2

Motivation for this change
#81772 for master. It should have gone to master first. I didn't realize the PR was against 20.03 and had no counterpart for master.
cc @dylex
(cherry picked from commit 0a5ec494b574ccd3db3b234c7d6637d127bd16da)
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"

@GrahamcOfBorg build tensorflow

@GrahamcOfBorg build python3Packages.tensorflow

Built it myself on x86_64-linux.


ATSP Insertion bugfix; return tour for revisions

The current version can work. It still needs some training to improve its performance. Stay tuned~

(Related issue: #2)

After establishing the SHPP environment, modifying the context query for the decoder, and fixing some bugs, we can achieve better performance without any training.


Generate using directives for reveng properties

When reverse engineering, providers may map database columns to CLR properties from arbitrary namespaces. Generate the required using directives for these.
Note that if the property type happens to come from another assembly, this will fail. This happens in Npgsql, which defines some types for PostgreSQL columns which don't correspond to built-in CLR types.

This looks good. :shipit:


alexa not find my component

I have  :

install nodered package
--npm install body-parser
--npm install request
--npm install mqtt
--npm install node-red-contrib-alexa-home-skill

add dependence on package.json
"dependencies": {
"node-red-contrib-alexa-home-skill": "*",

create account on https://alexa-node-red.bm.hardill.me.uk

add component online LED as lamp with on off capatibilities

open alexa app on my phone and discovery new device
alexa find "lampadina1" and i rename as same name "LED" equal to device configured on
https://alexa-node-red.bm.hardill.me.uk

add on nodered flow component LED
connected with pin gpio26

PROBLEM
ask to alexa "turn on led"
but alexa tell me a led is not respond
QUESTION
I have read your sample flow but for sample i have only connect alexa to gpio for try a sample
I have missing a step ?
Thanks for your job and patience

Also in your instructions you don't mention actually linking the skill in the Alexa app. Did you remember to do this?

yes a have installaed a skill alexa and then discovery a new component and alexa find lampadina1 and i change the name in LED.
mi account are NEODEV

You need to run discovery again if you rename the device (because you had to delete the device and recreate it to rename it and as such it's internal ID will have changed)

You will also probably need to make sure the node has the right (with the right new name) selected.

deleted LED to app alexa
invariated name PROVA to https://alexa-node-red.bm.hardill.me.uk/devices
discovery alexa device
found Lampadina1
not chenge name to alexa
change nodered to PROVA
whith this flow
[{"id":"5fa721f9.9177c","type":"rpi-gpio out","z":"77c3b897.10bb78","name":"LED ALARM 1 : PIN 24","pin":"18","set":false,"level":"0","freq":"","out":"out","x":470,"y":160,"wires":[]},{"id":"20385a38.2eb2b6","type":"alexa-home-resp","z":"77c3b897.10bb78","x":460,"y":120,"wires":[]},{"id":"a45ab7b7.e78cb8","type":"alexa-home","z":"77c3b897.10bb78","conf":"ca138a6a.eb2d48","device":"43903","acknoledge":true,"name":"PROVA","topic":"Led su alexa","x":270,"y":140,"wires":[["20385a38.2eb2b6","5fa721f9.9177c"]]},{"id":"ca138a6a.eb2d48","type":"alexa-home-conf","z":"","username":"neodev"}]
ask to alexa open lapadina1
alexa respond to many object with this name
but not is true i not have now other obeject in alexa with this name
click lampadina1 to ON into the APP
response device not respond

change alexa app name to PROVA
try from app but PROVA not respond

I not know the error

Do not change the name of devices in the Alexa app, there is no need and it just confuses things.
The Lampadina1 device is nothing to do with this skill
You have not linked the Node-RED alexa skill to eyour account, there is no access token in the database.

You need to go to the skills list in the Alexa app and link the skill. This will ask for the username and password you used to set up the account on the site.

alexa work fine
i have register skill con one password then changeit and configure nodered with another
THE PROBLEM now is that i have change password but not make change and i have reconfigured all using a old password
Now if the change password is finalizzed i must be rechange all but ok
Now a question
I use you skill for this but i want use it for a big project into my house
Your server not collapse or stop the service
I not want that service fall down
Tell me a service level rules


DS-2602 : Fix Title/Date browsing, also properly escape special characters in Solr

This PR resolves several issues with regards to special characters that are entered into queries:

Reverts the changes in PR #944 as they caused DS-2602
Update Discovery SearchService to include a method that escapes special characters in user-entered queries
Add an implementation for Solr which uses Solr's own ClientUtils.escapeQueryChars() http://lucene.apache.org/solr/4_2_1/solr-solrj/org/apache/solr/client/solrj/util/ClientUtils.html#escapeQueryChars(java.lang.String)
Update XMLUI to call this method right after obtaining a user query off the request

This PR fixes all three of these Solr special character related issues:

https://jira.duraspace.org/browse/DS-2602
https://jira.duraspace.org/browse/DS-2461
https://jira.duraspace.org/browse/DS-2339

I will note that, while searching on ":" won't throw an error, it also doesn't seem to match any documents (even if you have a ":" in a title for example). I suspect it's because these special characters are also not being indexed.
I did NOT dig into changing our indexing setup. I simply fixed the bugs and ensured that Solr doesn't throw a SyntaxError within our DSpace logs.

Tested and fixes the title browse issue on jspui and xmlui. Also tested with "{", "(", "" and ":" in search box

+1, tested in Vagrant-DSpace. I changed some existing titles to include various special characters (brackets and colons) and search finds them, and the "jump to" filter in the browse does as well.

Mostly +1, tested in Vagrant-DSpace XMLUI and JSPUI
Jumping to letter/number in browse works, and searches with special characters (eg :, {}) works in XMLUI and does return items with those characters in title, although I think they're being truly escaped so the queries are not actually matching on those special characters.
Jumping in browse works in JSPUI and searches with colons work, but searches with {}, unless encapsulated in quotes, still cause a Solr exception:
I'm not sure if that's critical enough to stop merge / require further changes.
JSPUI unquoted {} exception details below:
2015-07-09 11:51:09,148 ERROR org.dspace.app.webui.discovery.DiscoverySearchRequ
estProcessor @ kim.shepherd@gmail.com:session_id=9E877B3A99EBE77515F139E4327E55F
8:ip_addr=<IP_ADDRESS>:search:query=Test item {4},scope=null,error=org.apache.solr.s
earch.SyntaxError\colon; Cannot parse 'Test item {4}'\colon; Encountered " "}" "
} "" at line 1, column 12.
Was expecting one of\colon;
"TO" ...
<RANGE_QUOTED> ...
<RANGE_GOOP> ...
org.dspace.discovery.SearchServiceException: org.apache.solr.search.SyntaxError:
Cannot parse 'Test item {4}': Encountered " "}" "} "" at line 1, column 12.
Was expecting one of:
"TO" ...
<RANGE_QUOTED> ...
<RANGE_GOOP> ...

@kshepherd - thanks for the feedback. I had forgotten to call the new escapeQueryChars() function from the JSPUI, so it's behavior was unchanged.
I've just pushed up a new commit https://github.com/DSpace/DSpace/commit/044f1716af08b500c4dbb0592bd83eef12bab7fa which adds that call for the JSPUI.  I've done some light testing and everything seems to work fine (at least no errors are thrown anymore, and all jump-to functionality works from JSPUI). If you have a chance to double check it, I'd appreciate it.

I've tested this locally on XMLUI. Query escaping works fine in search.
In title browse with ascending sort order, jumping generally works fine, both by clicking on a letter and by typing in the beginning of a word. It looks like the query escaping is perhaps not applied there though? When I put "untitled:" into the "first few letters" box (without the quotes), it gives me both "untitled thesis.zip" and "untitled: thesis.zip". When I type in "untitled:" (without the quotes), it gives me just the "untitled: thesis.zip" one (which is what I expected to happen).
However, I can't get jump to titles starting with a given letter to work correctly when sorting by title descending. Eg, I have six items in my test repo, with these titles (just browse by title -> sort order descending):

Untitled thesis.zip
Untitled: thesis.zip
Test item for DS-2040 - great grandchild item #2
Test item for DS-2040 - great grandchild item #1
Test item for DS-2040 - grandchild item #1
Test item for DS-2040 - actual test item

When I try jumping to titles starting with "T", I'd expect to get a list of the last 4 items. Instead, I get an empty result with the message "Now showing items 1-0 of 6". The same thing happens when I type "Test" (without the quotes) into the "first few letters" box.
The descending browse problems probably aren't caused by this PR at all, but I thought I'd mention it.

@aschweer, aren't the descending sort issues taken care of in your PR #943 (also under review for 5.3)?  It seems like we should test that PR in conjunction with this one, as it may resolve the secondary issues you are talking about (which, as you noted, exist even prior to this PR).
It sounds like this PR has enough +1's to proceed?  At the very least, it fixes the major bugs afflicting Browse by Title/Date in 5.2. Any objections?

+1 from me now :)
@tdonohue , @aschweer yes I've been testing the descending browse stuff as well, and I'll post feedback on #943 shortly - I think we can merge this one for now

Oops sorry, I missed the github notification. And I clearly don't even remember which bugs I've fixed! I thought this looked familiar. Thanks for having a better memory than myself. Definitely +1 from me now.

Merging as this has plenty of +1 votes.


Dev forecasting agent

Agent UML:
https://lucid.app/lucidchart/def34dba-537c-48c7-9fa4-89bda55b4dc5/edit?viewport_loc=-3674%2C134%2C4585%2C2430%2C0_0&invitationId=inv_1ed2a56a-16f0-4884-a5cb-a5aa69daba1e

The relationship between ForecastingModel and TrainingTimeSeries was still wrong.

I just pushed a fix. @MagMueller Is this the best possible fix?


replace not found quickstart page in readme

replace not found quickstart old page(https://documentation.red-gate.com/flyway/quickstart-how-flyway-works) to a valid url:https://documentation.red-gate.com/flyway/getting-started-with-flyway/quickstart-guides

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


cryptic error if missing sufficient permissions to export

I'm trying to generate a source account token with minimal permissions needed for exporting. When permissions are insufficient, I get an ECONNRESET error from the API:
INFORMATION] [2018-11-19T21:55:49.985Z] Full log is sent to '/Users/seanknox/src/microsoft/process-migrator/output\processMigrator.log'
[VERBOSE] [2018-11-19T21:55:49.992Z] Keyboard listener added
[VERBOSE] [2018-11-19T21:55:49.992Z] Begin step 'Get rest client on source account 'https://myorgname.visualstudio.com/''.
[VERBOSE] [2018-11-19T21:55:50.514Z] Finished step 'Get rest client on source account 'https://myorgname.visualstudio.com/''.
[INFORMATION] [2018-11-19T21:55:50.515Z] Export process started.
[VERBOSE] [2018-11-19T21:55:50.515Z] Begin step 'Get source process Id from name'.
[VERBOSE] [2018-11-19T21:55:50.845Z] Finished step 'Get source process Id from name'.
[VERBOSE] [2018-11-19T21:55:50.846Z] Begin step 'Get artifacts from source process'.
[VERBOSE] [2018-11-19T21:55:53.586Z] Exception message:read ECONNRESET
Call stack:Error: read ECONNRESET
    at _errnoException (util.js:1031:13)
    at TLSWrap.onread (net.js:619:25)
[ERROR] [2018-11-19T21:55:53.586Z] Encountered unkonwn error, check log file for details.

I'm trying to create the PAT in AzDevops and would also like to minimize the scopes granted. What is the minimal set of scopes needed?

The scope should be FULL for work item


data-clipboard-target should be data-clipboard-source

"data-clipboard-target" is confusingly misnamed as it indicates the source, the clipboard is the target.
I had to read the example twice to make sure that I wasn't going mad - therefore please rename it "data-clipboard-source" to preserve everyone's sanity!

Hey @MarcusJT,
Thanks for your suggestion. You see data-clipboard- is just a prefix. Target indicates what element should have its text copied.

I'm closing this issue for now, but we can revisit it later if more people start to complain too.

The problem is not the prefix, the problem is the suffix which your code interprets in a specific way but humans interpret differently because you've used the opposite word, which is why it's very confusing and should be changed as I suggest.


Update README.md

Grammar fix for README.md

Resolves SR-NNNN.

I think the current text is fine. Thanks, though!


post next version prototype stuff

https://twitter.com/JeffSvicarovich can help promote
try recreate permify.co

not really a goal anymore I guess 😅


Add Data IO video to resources

I made a video @avahoffman  that we can host with the others or I can put somewhere

where is this in the repo?

@avahoffman sorry I missed your message - somehow my github settings changed --- need to lookinto that


Consistency with Generators and Iterators

This proposal seems significantly more complicated than the cancellation mechanics of generator iterators, so it may be beneficial to align promise cancellation with that of generators. When async generators/iterators are finalized, they will represent an async stream of results, and it would be convenient to have a similar cancellation mechanic for promises representing a single async result.
A particular execution of a generator, represented by an iterator, can be cancelled by simply calling the iterator's return function. This is also the case for async generators/iterators. Calling the iterator return function triggers the finally clause in the generator if present. Cancellation of underlying processes can be handled in the finally clause or in the implementation of the return function for manually created iterator objects.
Promise cancellation could operate similarly. Promises could have a return or cancel function which would trigger the finally clause in a async function and callbacks added with the proposed finally promise function. The promise constructor could be extended with a third cancelled parameter for cleanup, or maybe it could simply be handled in promise.finally.

This message linked in this project's readme describes a lot of the reasoning of the current architecture.
There is an important difference between promises and iterators: a reference to a promise does not include any capability to mutate the promise at all. Promises are read-only to code that the promises are passed to. If promises had a .cancel() or .return() method, then this wouldn't be true. Iterators were not designed with this goal: they are inherently mutable and stateful. Reading a value from an iterator consumes it and potentially changes the source's state.
I agree that I think it is important to imagine how async generators could work with cancellation tokens. I think a possibility consistent with the current cancellation and async iteration proposals could look like this, with async generator functions receiving a cancellation token as an implicit parameter:
async function* g() {
  let i = 0;
  try {
    while (true) {
      const response = await fetch(
        'https://www.example.com/echo/'+(i++),
        {cancellationToken: arguments.cancellationToken}
      );
      const text = await response.text({cancellationToken: arguments.cancellationToken});
      yield text;
    }
  } finally {
    return 'g loop ended';
  }
}

(async function() {
  const it = g();
  console.log(await it.next()); // {value: 'echo 0', done: false}
  console.log(await it.next()); // {value: 'echo 1', done: false}
  const thirdNextPromise = it.next();
  console.log(await it.return()); // {value: 'g loop ended', done: true}
  try {
    await thirdNextPromise;
  } catch (err) {
    console.log(err);
    // Whatever error that fetch rejects with when its cancellation token
    // fires during a request gets logged here.
  }
})();

In general I think implicit parameters should be avoided as interactions can become confusing. This proposal seeks to add cancellation support without necessitating new syntax or extensions to any other existing global or built-in (like arguments).
While the intent of return() is to exit the async function as if by return, it can only do that during a yield. Attaching an implicit cancellation token to the semantics of return could easily result in confusing interactions in a function that already conflates two concepts (generators and async functions).

Yeah, on second thought I agree it's bad that in my example, the async generator is being exited during an await instead of a yield.

@rbuckton What sort've mechanism would you propose for cancellation within a generator? Passing a token in as the argument to .next? Because that still effectively necessitates syntax (specifically function.sent) as there's no way to get the value to the first .next call to a generator.
e.g. Assuming function.sent one could in principle write an async iterable version of takeUntil like so:
async function* getIterator(asyncOrSyncIterable) {
    return yield* asyncIterable
}

function takeUntil(asyncIterable, promiseFactory) {
    return {
        * [Symbol.asyncIterator]() {
            // This is just a message for when the interrupt finally
            // happens if ever, we'll cancel it if the iterable completes
            const completeTokenSource = new CancelTokenSource()
            const interrupt = promiseFactory(completeTokenSource.token)
                .map(_ => {
                    return { type: 'interrupt' }
                })
            const iterator = getIterator(asyncIterable)
            const getNext = cancelToken => iterator
                .next(cancelToken)
                .map(iteratorResult => {
                    return { type: 'nextIteratorResult', iteratorResult }
                 })
            while (true) {
                 // Create our own token which we can cancel if
                 // interrupt happens
                 const nextTokenSource = new CancelTokenSource()
                 // Send our token forward to the iterator we're iterating
                 // but also race it against the token given to *us*
                 // just in case we were cancelled

                 // NOTE: The iteration of this loop is where we need
                 // the function.sent syntax as we can't access
                 //
                 const outerToken = function.sent
                 const nextValue = getNext(CancelToken.race([
                     outerToken,
                     nextTokenSource.token,
                 ]))
                 const { type, ...rest } = await Promise.race([
                     interrupt,
                     nextValue,
                 ])
                 if (type === 'nextIteratorResult') {
                     const { value, done } = rest.iteratorResult
                     if (done) {
                         // Cancel the interrupt as it is no longer needed
                         completeTokenSource.cancel()
                         return
                     } else {
                         yield value
                     }
                 } else { // If interrupted
                     // Cancel the current .next() as it is no longer required
                     nextTokenSource.cancel()
                     return
                 }
            }
        }
    }
}

I think in general cancellation should optimize for usage in language syntax like async/await and for await of. Cancellation tokens are very easy to pass into async function calls when awaiting the result. A .cancel() method on Promises however is way more cumbersome, because await doesn't know what to do with it, so you need to save the Promise in a variable.
Most of the examples here seem to be focused on hand-iterating async generators with .next(). I think this should focus more on for await of.
Taking this example from the async iterators proposal, would this work fine with generators?
for await (const line of readLines(filePath, { signal })) {
  console.log(line);
}

async function* readLines(path, { signal }) {
  let file = await fileOpen(path, { signal });

  try {
    while (!file.EOF) {
      yield await file.readLine({ signal });
    }
  } finally {
    await file.close({ signal });
  }
}


post css

Is your feature request related to a problem? Please describe.

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

show me how i can add it

Hi and thank you for using the extension, could you please add more information on the required format and please feel free to reopen.


(spikes): imu stabilization with motors

POC for robot stabilization with IMU and motors
Only spike main.cpp file is really useful, all other additions are there to suppoort IMU driver which should be reimplemented

Please refer to #444.


Em dash no longer available in Quick Accent tool

Microsoft PowerToys version
0.74.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
Quick Accent
Steps to reproduce

Set Windows language to English (United Kingdom) with US keyboard
Select "All available" under settings for Choose a character set (noting that "English" is not an option, interestingly)
Set Activation key to "Left, Right or Space"
In Notepad, press - (keyboard minus key, next to Backspace) + Space to activate Quick Accent

✔ Expected Behavior
Previously there were many more, including the very useful em dash.
❌ Actual Behavior
Only two characters are shown: U+05BE (Hebrew punctuation) and U+2013 (en dash).
Other Software
No response

Just found #28785... I suspect that this is effectively a duplicate.

/dup #28785

There's a fix already, but we still have to release it. Might have to release a 0.74.1 hotfix.


TriggerScrollEnd never called :(

Hi,
I've seen this function triggerScrollEndEvent  https://github.com/driftyco/ionic/blob/d6431a7b975995cf8a7b979bd1712ff098da07f8/js/views/scrollView.js#L434
but seems to be never called how can we get scrollend event

Greetings @cedriclombardot!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Greetings @cedriclombardot!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


Content overwriting though the permalinks are set

Hey,
I have the following problem:
The content of one page overwrites the content of another
See here:
https://staging.veilofsound.com/reviews/pagination.html
https://staging.veilofsound.com/interviews/pagination.html
Header reviews:
  permalink: /reviews
  pagination:
    enabled: true
    tag: review
    permalink: 'page:num/reviews.html'

Header interviews:
permalink: /interviews/
  pagination:
    enabled: true
    tag: interview
    permalink: 'page:num/interviews.html'

_config.yml:
pagination:
  enabled: true
  per_page: 25
  indexpage: 'pagination'
  sort_reverse: true

Did I do something wrong in my configuration?
I think I have followed the steps described under https://github.com/sverrirs/jekyll-paginate-v2/blob/master/README-GENERATOR.md#my-pagination-pages-are-overwriting-each-others-pages

I have the same problem. I noticed that when using {{content}} in the layout file, the content of the alphabetically first pagination index file is used for all other subsequent pagination index files. Substituting  {{content}} by {{ page.content | markdownify }} solves the problem. However, any liquid command gets rendered as raw text when using {{ page.content | markdownify }}.


Narrowing conversation from drawer shows only sender messages

Noticed only when narrowing to a private chat not a group chat

Does it happen always for you? I can not reproduce. @Sam1301 have you noticed this?

Me neither, tried on current master with different private conversations. @kunall17 any particular steps to repro this bug?

I have heard this being reported, but have not experienced it.
@kunall17 if you can reproduce consistently, please try and fix it.

No specific steps, I'll try to fix this one!

Some more info:
It happens only when conversations are grouped like this

Cannot reproduce on master though!

These should not even be grouped like that :)

This is fixed, can be closed now!


One logo

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:

CLA is valid!

Coverage remained the same at 90.82% when pulling 82058b05d91c56b55fc45a565057be6bf5dfde09 on annawchou:one-logo into 7a4e420e66e622d2590805559dac42147c9609b4 on yahoo:master.


[NEW] HackSpaceCon 2024

Name: HackSpaceCon
Website: https://www.hackspacecon.com
Date(s): April 12-13 2024
Location: Kennedy Space Center, Florida, USA
Twitter/Mastodon Handle:  @HackSpaceCon
Free: N

Thanks!


ipynb: energy_model: add example for energy model analysis

Add ipynb script to analyse energy model and display the power
efficiency and capacity between two clusters.
This will be helpful to check if energy model is reasonable or not,
and it's straightforward to get to know if there have overlap between
two cluster's energy model; If have overlap, which it's likely to
introduce wrong behavior for EAS energy calculation.
Signed-off-by: Leo Yan<EMAIL_ADDRESS>

It would be great if such a notebook can be converted into a proper EM analysis module, under libs/utils, which uses data collected from platform.json to plot the OPP curves as well as to highlight and report suboptimal points... I would suggest to open a new issue to track this as a new feature request.
IMO, this notebook for the time being is not generic enough to be integrated.
However, it can still be useful to provide an example... in any case I would like to have a dedicated section, e.g. ipynb/energy_model where we can collect examples and more advances notebooks.
For example we have already in mind to add example notebooks to show how to build an energy model.

We now have an "official" set of Notebooks to generate energy models which also produce a predefined and "standard" set of EM representation. These notebooks have been merged in #172 and they are available here:
https://github.com/ARM-software/lisa/tree/master/ipynb/energy
It would be nice if we can integrate your plots to the ones already available in these official notebooks.
Thus, let's close this PR for the time being.


Zones.ListRecords should accept zoneName not zoneID

If you try and send zoneID to Zones.ListRecords then it 404's but if you send the zoneName then it works correctly. The docs indicate that it should be the name of the zone too: https://developer.dnsimple.com/v2/zones/records/#list

It's correct. The numeric identifier is not supported for querying. You should only use the zoneName. The numeric ID is not really used anywhere in the API. We were also considering to not output it in the API.
Do you have any suggestion to make it less confusing?


fix Dismiss timeout to work properly with props passing

I moved the timeout codes to render so that the timer will use dismissAfter value correctly.

Thanks! I'm going to release this as 1.4.0. It will be available on npm today.


Split fnmadd.d_b15, fmadd.d_b15, fnmsub.d_b15, and fmsub.d_b15 tests

Description

I have split fnmadd.d_b15, fmadd.d_b15, fnmsub.d_b15, and fmsub.d_b15 tests in rv32i_m/D directory and made separate directories for each test. Previously one file had 102004 tests, each test was generating 2 FP Signatures of size SIGALIGN/4, and log file was going in tera bytes range as suggested in Issue #485 . I have split each file into 133 different files, each file contains maximum 768 test cases (i.e, 1286 as 6 signature labels are used per test) depositing 1536 (i.e, 2566) signatures per test keeping the log file smaller.

Related Issues

#485

Ratified/Unratified Extensions

[x] Ratified
[ ] Unratified

List Extensions

List the extensions that your PR affects. In case of unratified extensions, please provide a link to the spec draft that was referred to make this PR.

Reference Model Used

[ ] SAIL
[x] Spike
[ ] Other - < SPECIFY HERE >

Mandatory Checklist:

[x] All tests are compliant with the test-format spec present in this repo ?
[x] Ran the new tests on RISCOF with SAIL/Spike as reference model successfully ?
[x] Ran the new tests on RISCOF in coverage mode
[ ] Link to Google-Drive folder containing the new coverage reports (See this for more info): < SPECIFY HERE >
[ ] Link to PR in RISCV-ISAC from which the reports were generated : < SPECIFY HERE >
[ ] Changelog entry created with a minor patch

Optional Checklist:

[ ] RISCV-V CTG PR link if tests were generated using it : < SPECIFY HERE >
[x] Were the tests hand-written/modified ?
[ ] Have you run these on any hard DUT model ? Please specify name and provide link if possible in the description
[ ] If you have modified arch_test.h Please provide a detailed description of the changes in the Description section above.

Done. Duplicate tsig_begin/end_canary were already there in the original tests, thats why converter did not remove it. It has been removed now. Thanks for the review @allenjbaum


Last page displays slash ('/') when not enough room for default footer

Not sure if this is an issue with puppeteer or Chromium, but I'm not sure how to reproduce using only Chromium. If anybody has pointers on how I can try to reproduce using only Chromium that would be appreciated too, so I can verify if this is an issue in puppeteer or in Chromium.
The issue is that when printing to PDF and you enable displayHeaderFooter, but don't leave enough room for the footer (because for example you only want to use a header), a / is displayed in the bottom right corner of the last page of the PDF.
To reproduce install puppeteer and lorem-ipsum and run the following code:
const puppeteer = require('puppeteer');
const LoremIpsum = require("lorem-ipsum").LoremIpsum;

(async () => {
  const lorem = new LoremIpsum();
  const browser = await puppeteer.launch();
  const page = await browser.newPage();

  const html = '' + lorem.generateParagraphs(50) + '';

  await page.setContent(html);
  await page.pdf({
    path: 'slash.pdf',
    format: 'A4',
    displayHeaderFooter: true,
    headerTemplate: '
foobar
',
    margin: {
      top: 75,
      bottom: 0,
    }
  });

  await browser.close();
})();

Now open the generated slash.pdf and you see at the bottom of the last page there is a / appearing out of nowhere. If you play with the margins and increase the bottom margin to 34 or above, you get the default about:blank         3/3 footer. But if the bottom margin is 33 or lower, the footer doesn't fit and the / appears, but only on the last page.
Setting the footer template to an empty string ('') doesn't work because that will cause the footer template to still default to Chromium's standard about:blank footer, which will cause the / to show. But if you set it to anything, even just a single space (footerTemplate: ' '), the / disappears.

It seems like this issue is resolved. Still no clue if it was puppeteer or chromium, but I tried to reproduce using the above code snippet inside a Docker container and the slash was not present on the output PDF. 🎉 I ran the latest Docker image for Node and ran my above code snippet in the container, with the only modification being that I had to add "--no-sandbox" to the launch arguments of puppeteer.
The container was running:

Debian: 11.3 (Bullseye)
NodeJS: 18.4.0
Chromium (fetched by puppeteer): 104.0.5109.0
Puppeteer: 15.1.1


feat: Add --reverse option

Hello there, decided to get this first issue!
I hope it really that simple, and we don't need anything else...
Refs #610

yup, it seems that simple! sorry for the slow answer.
:100:, I approved the pipeline run, let's hope it will pass!

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

Project coverage is 89.89%. Comparing base (891da64) to head (86c15ef).
Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #713      +/-   ##
==========================================
+ Coverage   89.86%   89.89%   +0.02%
==========================================
  Files          19       19
  Lines        1125     1128       +3
==========================================
+ Hits         1011     1014       +3
  Misses        114      114

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

great, it's merged and also released! thank you for your contribution


[WebAPI]Add promise-based versions of RTCPeerConnection methods and remove so…

…me nonstandard
BUG=https://crosswalk-project.org/jira/browse/CTS-1826
Impacted tests(approved): new 5, update 21, delete 1
Unit test platform: Crosswalk for Android 21.51.544.0
Unit test result summary: pass 22, fail 3, block 1
Unit test fail and block reason: Test result is the same as Upstream result.
Unit test delete reason: RTCSdpError is not used anywhere in the spec anyway.
New cases reason: Remove the five cases in #3679, add again and update them in form of need.

LGTM


Sync of GitHub repositories within 2024.05.20-26

The aim is to synchronize GitHub repositories in the given period.

Old Issue, already done. I'm closing this issue

Old Issue, already done. I'm closing this issue

Old Issue, already done. I'm closing this issue


Please avoid print statement in package code

Can you please remove all print statement from package code?
It's annoying to see all these print statement like this one:
Hex component => 142

This seems to be the source of the problem:
https://github.com/DAMMAK/RandomColorDart/blob/main/lib/src/randomcolor.dart#L270
static _componentToHex(int c) {
    print("Hex component => $c");
    var hex = c.toRadixString(16);
    return hex.length == 1 ? '0' + hex : hex;
  }

Can you please remove it and release a new build? Thank you


Add test for internal/middleware.LogRequest

Pull Request Test Coverage Report for Build 120686534

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.6%) to 62.014%

Totals

Change from base Build 120681962:
1.6%

Covered Lines:
271

Relevant Lines:
437

💛  - Coveralls


Run DRC on KiCad 6 using UI automation rather than Python

The Python API to pcbnew doesn't handle exclusions correctly, meaning that excluded errors are included within the report.
This PR changes KiAuto to use the original UI automation method to run the DRC.
Fixes #26

See the comments on #26


Add doc examples for color, size, and inverted Statistic Groups

@jcarbo just added color, size, and inverted support to the StatisticGroup in #972.  We should add doc site examples for these as well.
We currently only show regular groups and evenly divided groups.

@levithomason im looking to start contributing to this repo! would this be a good one to pick up?

Absolutely. You can reference the existing docs in /docs/app/examples/views/Statistic. Our docs follow the layout of the core docs at www.semantc-ui.com.

what exactly does this issue entail?

All the examples featured on react.semantic-ui.com live in /docs/app/Examples.  We show usage examples for all features of all our components.  The Statistic component was updated to have new features, however, the docs have not been updated to show these new features.
This issue was opened as a reminder that we need to add examples showing usage of the Statistic Group's color, size, and inverted props.  Currently, there are no examples showing these props for this component.

Awesome, I'll get started on it today!

anyidea why the git clone is taking so long to download? i've tried it multiple times.

@levithomason

Hey guys!
Could you give me some feedback on the Github comments?
Thanks!
Tarang
Regards
-Tarang Hirani
On Sun, Dec 18, 2016 at 1:55 AM, Levi Thomason<EMAIL_ADDRESS>wrote:

All the examples featured on react.semantic-ui.com live in
/docs/app/Examples. We show usage examples for all features of all our
components. The Statistic component was updated to have new features,
however, the docs have not been updated to show these new features.
This issue was opened as a reminder that we need to add examples showing
usage of the Statistic Group's color, size, and inverted props.
Currently, there are no examples showing these props for this component.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Semantic-Org/Semantic-UI-React/issues/974#issuecomment-267784747,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFmqGdlsTGeO5LotFlwuG3PNAc--DNWzks5rJEVKgaJpZM4LBn9b
.

On the live site, I do see examples of color, size, and inverted props. They seem to correlate to the js files here https://github.com/Semantic-Org/Semantic-UI-React/tree/master/docs/app/Examples/views/Statistic/Variations

These are only for the individual Statistic component.  We need color, size, and inverted examples for the <Statistic.Group /> component as well.

Also, do I have appropriate access rights? Github says my fork is 9 commits behind. I tried to git pull upstream master and it complained about inappropriate access rights.

This repo is open source so anyone can pull from it.  My guess is that your remote may be using ssh and you do not have ssh keys setup.  Try:
git remote -v

If the url for Semantic-UI-React.git begins with<EMAIL_ADDRESS>then it is trying to use ssh.  Either change your remote url to use https or setup ssh.

I pushed a commit to my forked repo. Is this what you're getting at?
tarang9211@6c4df63

This is just about right!  We'd like to use a separate example file for each example.  Reference the individual <Statistic /> examples and note how there is a different example file for each prop.

Give me an hour or two and I'll have to ready!

@levithomason created a PR here. does this look better? created a file for each statistic group prop type.

Thanks, let's move future convo over to that PR.  I'll get a review as soon as I am able.

This issue was fixed #1058. Closing for housekeeping