add widget isn't working

Hi, I'm trying to click on add widget. But, I don't see any widget in the homescreen.
App Version - 5.28.3 se (52803)
Device Model - Redmi 5A (Xiomi)
Android Version - 8.1.0
Steps to reproduce the bug - Click on Add Widget Button
Expected Behaviour - Show widget in home screen
Actual Behaviour - No Widget shown in home screen

Thanks for sharing this @akshay-kapase. We check to see if widget pinning is supported with AppWidgetManager.isRequestPinAppWidgetSupported and have a fallback option if it is not. This seems to work on most devices.
I wonder if your device is responding to this incorrectly or if there is a bug in our logic? I have added the help wanted tag to open this task up to the community.

Thanks for submitting this. We have investigated and found that a small number of devices have non-standard widget behavior. Unfortunately we don't see a way to fix this at this stage.

Thanks for taking your time to look into this issue
On Tue, Aug 20, 2019 at 10:07 PM Mia Alexiou<EMAIL_ADDRESS>wrote:

Thanks for submitting this. We have investigated and found that a small
number of devices have non-standard widget behavior. Unfortunately we don't
see a way to fix this at this stage.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/duckduckgo/Android/issues/528?email_source=notifications&email_token=ACX742Z2FMVHTAP6G6NFXGLQFQMVTA5CNFSM4ICJ4MS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4W43SY#issuecomment-523095499,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACX7422GDG576XG74Z4JV43QFQMVTANCNFSM4ICJ4MSQ
.


Where are the Groovy communities and enthusiasts?

As we move towards the launch of the new version of Exercism we are going to be ramping up on actively recruiting people to help provide feedback.
Our goal is to get to 100%: everyone who submits a solution and wants feedback should get feedback. Good feedback. You can read more about this aspect of the new site here: http://mentoring.exercism.io/
To do this, we're going to need a lot more information about where we can find language enthusiasts.

Is Groovy supported by one or more large organizations?
Does Groovy have an official community manager?
Do you know of specific communities (online or offline) that are enthusiastic about Groovy? (Chat communities, forums, meetups, student clubs, etc)
Are there popular conferences for Groovy? (If so, what are some examples?)
Are there any organizations who are targeted specifically at getting certain subgroups or demographics interested in Groovy? (e.g. kids, teenagers, career changers, people belonging to various groups that are typically underrepresented in tech?)
Are there specific groups or programs dedicated to mentoring people in Groovy?
Are there popular newsletters for Groovy?
Is Groovy taught at programming bootcamps? (If so, what are some examples?)
Is Groovy taught at universities? (If so, what are some examples?)

In other words: where do people care a lot and/or know a lot about Groovy?
This is part of the project being tracked in https://github.com/exercism/meta/issues/103

Hi Katrina,
still no answer?
Did you manage some other sources in order to get your answers?
I would love to see some of the answers you asked...
Kruno

@KrunoGajger Yeah, I haven't heard anything about this one yet.

Pitty…
Did you manage to get answers on your questions on some other way?
I am new in Groovy and I would like to get as much as possible info on the beginning …
What about you? Are you programming in Groovy?
All the best,
Kruno
Sent from Mail for Windows 10
From: Katrina Owen
Sent: Wednesday, March 27, 2019 5:40 PM
To: exercism/groovy
Cc: Kruno Gajger; Mention
Subject: Re: [exercism/groovy] Where are the Groovy communities andenthusiasts? (#113)
@KrunoGajger Yeah, I haven't heard anything about this one yet.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I have not done the research. I am one of the main maintainers of Exercism, and we support 60 or so programming languages. We have the same questions for all the language tracks.
If you do the research, please do share what you find!

I have to do something with Groovy. I find some blogs, some people talking about it on several places on Internet… I will have something in the while…
What is Exercism and where I can find something what you guys did for the other languages?
Kruno
Sent from Mail for Windows 10
From: Katrina Owen
Sent: Wednesday, March 27, 2019 5:50 PM
To: exercism/groovy
Cc: Kruno Gajger; Mention
Subject: Re: [exercism/groovy] Where are the Groovy communities andenthusiasts? (#113)
I have not done the research. I am one of the main maintainers of Exercism, and we support 60 or so programming languages. We have the same questions for all the language tracks.
If you do the research, please do share what you find!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Exercism is a site for people to ramp up in new programming languages: https://exercism.io

I'll throw some words up, in the hopes that it might help folks more important than myself to weigh in.

"Is Groovy supported by one or more large organizations?"

The Apache Foundation

"Does Groovy have an official community manager?"

I'm not sure if the question refers to an individual, or the parent organization?  It's biggest advocate since Pivotal stopped officially having a Developer Advocate is probably Paul King

"Do you know of specific communities (online or offline) that are enthusiastic about Groovy?"

There are several, the ones I've been most familiar with are local to Minneapolis, Groovy Users of Minnesota and Gr8Ladies.

"Are there any organizations who are targeted specifically at getting certain subgroups or demographics interested in Groovy? (e.g. kids, teenagers, career changers, people belonging to various groups that are typically underrepresented in tech?)"

I'm familiar with Gr8Ladies

"Are there specific groups or programs dedicated to mentoring people in Groovy?"

Beyond individual interest groups, I'm not familiar.

"Are there popular newsletters for Groovy?"

The text newsletter stopping issuing.  I'm aware of a podcast.

"Is Groovy taught at programming bootcamps?"

Several places, usually in combination with Grails or Gradle.

"Is Groovy taught at universities?"

I'm not sure.

Anyhow, hope this helps a little.

Just to add to "Are there popular newsletters for Groovy?"
Groovy Calamari from Sergio del Amo (@sdelamo) - http://groovycalamari.com/
Along with a https://podcast.groovycalamari.com/index.html

@Dispader @amscotti thanks! This is helpful!


Healthcheck Endpoint

enabled healthcheck for ALB in AWS healthchecks via a /healthcheck endpoint, returns 200 and uptime

Pull Request Test Coverage Report for Build 107

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

Totals

Change from base Build 104:
0.0%

Covered Lines:
85

Relevant Lines:
85

💛  - Coveralls

Pull Request Test Coverage Report for Build 107

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

Totals

Change from base Build 104:
0.0%

Covered Lines:
85

Relevant Lines:
85

💛  - Coveralls


Generate figures for publication directly from pyCapsid

When executing pyCapsid, it would be ideal that the package generates the capsid and the protein (mapped to results) for the user (in png format, for example).
Additionally, the script to generate those figures in ChimeraX would be a possible compromise.

How to include the python script with the installation?

This original issue was resolved. The current development is taking care of improving the quality standard for the figures to facilitate users to reuse pyCapsid outputs in their publications. Any issues regarding these improvements will be opened separately.


Broken layout for PR reviews?

Hey,
I just tried my first real PR review with Octo. Therefore I followed the first steps in the README tutorial. After typing :Octo review start I get the following result. It kinda looks broken to me. How to fix this? Because this way I can't review. :laughing:

hmm, thats weird, the layout vertical split is created using leftabove vert diffsplit <other version>. Can you try opening any file and doing leftabove vert diffsplit % to see how it diffs against itself and what the layout is?

This works perfectly fine. Getting 50/50 view. :shrug:

I'm rewriting that code as part of #94
Can you try that branch and see if you get the 50/50 layout there?

Yes, works for me. Thank you very much! :hugs:


jsoncomm: gzip messages

Due to hitting maximum sizes on the messages sent over the socket in inputs for (mostly) the RPM stage I've put in a workaround that is to gzip the payload in both directions.

Wow, this is smart! I love it.

Kicking the can down the road.  Great quick workaround :)
Do we have an issue open so we don't forget about finding a more robust solution?

It seems for sources we write a temp file and send the fd through instead:
https://github.com/osbuild/osbuild/blob/4add41d50f5f5e8abddbbdc48996ccabe21cea0f/osbuild/sources.py#L45

Superseded by #1331


Inferior exception reporting in v2 client

I've continued to keep up to date with the more recent commits and all seems to be good here. (Although I see many of them look to be unit test updates that won't be affecting me anyway)
Apart from some 500 Server errors for a period yesterday (presumably due to actual server overloading) I haven't seen any request failures on either API so the session_id/access_token save and restore process seems solid.
On the V1 API polling every 5 minutes it managed to keep the same session id in use for more than a day, it only finally ended up having to get a new one after the 500 Server error outage where it wasn't able to get through for over 15 minutes, causing the session id to time out. And it seamlessly obtained a new session id once the 500 error period was over and maintained that session id until the next >15 minute 500 Server error outage.
The V2 API likewise has been working well, polling every 5 minutes and only having to authenticate once every 30 minutes, and when there is only one authentication per 30 minutes I'm not hitting any rate limiting.
The only thing I've noticed really is the inconsistent exception error reporting between the V1 and V2 API's, where the V1 API recently got new error reporting while the V2 API did not. For example here is rate limiting as reported by both API's:
Traceback (most recent call last):
  File "./evohome_V1", line 9, in <module>
    for device in client.temperatures():
  File "build/bdist.linux-armv6l/egg/evohomeclient/__init__.py", line 117, in temperatures
  File "build/bdist.linux-armv6l/egg/evohomeclient/__init__.py", line 78, in _populate_full_data
  File "build/bdist.linux-armv6l/egg/evohomeclient/__init__.py", line 109, in _populate_user_info
  File "build/bdist.linux-armv6l/egg/evohomeclient/__init__.py", line 197, in _do_request
requests.exceptions.HTTPError: HTTP Status = 429, Response = [
  {
    "code": "TooManyRequests",
    "message": "Request count limitation exceeded, please try again later."
  }
]

pi@pi1monitor:~ $ ./evohome_V2
Traceback (most recent call last):
  File "./evohome_V2", line 6, in <module>
    client = EvohomeClient('**************', '***********')
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 69, in __init__
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 72, in _login
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 193, in user_account
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 79, in _headers
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 116, in _basic_login
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 147, in _obtain_access_token
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 840, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://tccna.honeywell.com/Auth/OAuth/Token

And here is invalid username/password as reported by both API's:
pi@pi1monitor:~ $ ./evohome_V1
Traceback (most recent call last):
  File "./evohome_V1", line 9, in <module>
    for device in client.temperatures():
  File "build/bdist.linux-armv6l/egg/evohomeclient/__init__.py", line 117, in temperatures
  File "build/bdist.linux-armv6l/egg/evohomeclient/__init__.py", line 78, in _populate_full_data
  File "build/bdist.linux-armv6l/egg/evohomeclient/__init__.py", line 109, in _populate_user_info
  File "build/bdist.linux-armv6l/egg/evohomeclient/__init__.py", line 197, in _do_request
requests.exceptions.HTTPError: HTTP Status = 401, Response = [
  {
    "code": "EmailOrPasswordIncorrect",
    "message": "The email or password provided is incorrect."
  }
]

pi@pi1monitor:~ $ ./evohome_V2
Traceback (most recent call last):
  File "./evohome_V2", line 6, in <module>
    client = EvohomeClient('************', '*********')
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 69, in __init__
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 72, in _login
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 193, in user_account
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 79, in _headers
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 117, in _basic_login
ValueError: Bad Username/Password, unable to continue.

I wonder if it was an oversight for the error reporting on the V2 API not to be updated to the same style the V1 API now uses ?
I'm only using the V1 API in evohome-munin now and I'm just printing the error report pretty much as is from the exception without trying to interpret the fields - the indented json appearance is perfectly readable in a log file:
            try:
                client = EvohomeClient(self.username, self.password, user_data=user_data)
                for device in client.temperatures():
                    data.append(device)
            except Exception as error:
                sys.stderr.write('Connection failed: ' + str(error) + '\n')
                sys.exit(1)

It means I can leave debugging off but if there is an error a proper error report with the cause of the error (instead of my previous generic server connection error) will appear in the log which is nice and is what allowed me to see that the failures I got yesterday were 500 Server errors, not 429 rate limiting or 401 authentication errors.
Originally posted by @DBMandrake in https://github.com/watchforstock/evohome-client/pull/80#issuecomment-470451300

I've separated out this issue as the previous thread was about a different topic. I want to draw a line under the other work and we can track fixing this separately.

Fair enough. I saw another different failure mode this morning - both V1 and V2 API's timed out over about a 10 minute period.
On the evohome-munin script using the V1 API the script itself didn't return any errors, in fact munin-node terminated the script forcibly after 1 minute of no output from the script. The V2 API reported the following errors that I haven't seen before:
Traceback (most recent call last):
  File "/home/pi/evohome-new/evohome_V2_token", line 33, in <module>
    client = EvohomeClient('**************', '*********', refresh_token=refresh_token, access_token=access_token, access_token_expires=access_token_expires)
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 69, in __init__
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 72, in _login
  File "build/bdist.linux-armv6l/egg/evohomeclient2/__init__.py", line 193, in user_account
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 67, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 53, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 437, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='tccna.honeywell.com', port=443): Max retries exceeded with url: /WebAPI/emea/api/v1/userAccount (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xb64b1a10>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Current time: 2019-03-10 06:01:05.143794

I suspect that the cause of this error may have been my internet connection being down resulting in dns timeouts, but I don't have any way to be sure. So is that the library reporting "max retries exceeded" due to it itself making multiple attempts before giving up ?

I suspect that the cause of this error may have been my internet connection being down,
Close. There is simply a failure for one end to connect with the other end.

Problem at your end, with your router, with ISPs transparent proxy, DNS, Honeywell's reverse proxy/router/do-hicky/whatever...  Experience tells me it is at Honeywell's end.
Anyway, not caused by the library, I'm sure.

Close. There is simply a network failure (urllib is reporting the error) for one end to connect with the other end (tccna.honeywell.com:443).
However, the problem could be at your end, or with your router, with ISPs transparent proxy, with DNS, or with Honeywell's reverse proxy/router/do-hicky/whatever... Experience tells me it is usually at Honeywell's end.
Anyway, not caused by the evohome-client library, I'm sure.

To be clear, I wasn't suggesting it was a fault of the evohome-client library.
I was just posting it in relation to the inconsistent exception error reporting that is being discussed in this thread, as it seems to be another inconsistency with the exceptions that a client script has to be able to catch depending on what the cause of the failure is.

Sorry, I got excited & misunderstood.

OK, looking at the code, I can see how _obtain_access_token() could be returning True when it shouldn't:
if response.status_code == requests.codes.bad_request:                   # pylint: disable=no-member
    if 'error' in response.text:  # don't use response.json() here!
        return response.json()['error'] != 'invalid_grant'
    raise requests.HTTPError(
        "Unable to obtain an Access Token: ", response.text)

Should be:
if response.status_code == requests.codes.bad_request:                   # pylint: disable=no-member
    if response.text:  # don't use response.json() here!
        raise requests.HTTPError("Unable to obtain an Access Token: ", response.text)
    else:
        raise requests.HTTPError("Unable to obtain an Access Token")

Propose solution in #91 - anyone keen to test?

@zxdavb Thanks - I've tested with some tests I was adding anyway and it looks good (albeit the tests aren't really complete yet). I've merged into master which should make it easier for others to test - if it continues to look good I can do another release.

Oh god - I have implemented 0.3.2 in my HA components (both the official, and the custom_component version), and I am having second thoughts about how exceptions are handled.
I think evhomeclient2.AuthenticationError shouldn't be used when there is a requests.RequestsException - the requests exception should be passed up instead.
This is what I have:
except (evohomeclient2.AuthenticationError, requests.exceptions.RequestException) as err:
    if not _handle_exception(err)
        return False  # unable to continue

This means (inter alia), we will never get HTTP_BAD_REQUEST as it will be caught by AuthenticationError:
def _handle_exception(err) -> bool:
    _LOGGER.debug("_handle_exception(): Error message is: %s", err)
    try:
        raise err

    except EvohomeClient2.AuthenticationError as err:
        _LOGGER.error("Failed to authenticate with the vendor's server.", exc_info=True)
        return False

    except requests.exceptions.ConnectionError:
        _LOGGER.error("Unable to connect with the vendor's server. "
                      "Check your network, and the vendor's service status page.")
        return True

    except requests.exceptions.HTTPError:
        if err.response.status_code == HTTP_SERVICE_UNAVAILABLE:
            _LOGGER.error("The vendor says its server is currently unavailable.")
        elif err.response.status_code == HTTP_TOO_MANY_REQUESTS:
            _LOGGER.error("The vendor's API rate limit has been exceeded.")
        elif err.response.status_code == HTTP_BAD_REQUEST:
            _LOGGER.error("The vendor asks you check your username (%s) and password.", username)
        else:
            raise  # we don't expect/handle any other HTTPErrors
        return True

Also, how can we alert the consumer that a new set of tokens are available (so that they can be safely stored somewhere in case there is no graceful shutdown)?
Does anyone have any thoughts on this?


Loss of URL parameters from WPE_URL

This issue was originally raised in https://www.balena.io/blog/using-google-slides-with-balenadash/#comment-4549162493
The symptom is that google slides shows are not looping.  I think I have isolated it to the extra "loop" parameter being lost from the URL being shown.  If I browse to the web host (port 8080 on the host device), then I can see that the url parameters are being dropped:
https://docs.google.com/presentation/d/e/<identifier>/pub?start=true

when that needs to be:
https://docs.google.com/presentation/d/e/<identifier>/pub?start=true&loop=true&delayms=1000

Pasting that latter URL into the web app at port 8080 has the proper looping behavior, so I think it's not a problem with wpe itself.  I think I have isolated this to wpe-init, where wget posts the URL to the web host:
https://github.com/balena-io-projects/balena-dash/blob/master/wpe/wpe-init#L41
What I'm pretty sure is happening is that the ampersands in the URL are being interpreted as separators between variables to post.  So, instead of:
url=https://docs.google.com/presentation/d/e/<identifier>/pub?start=true&loop=true&delayms=1000

we are getting:
https://docs.google.com/presentation/d/e/<identifier>/pub?start=true
loop=true
delayms=1000

as separate variables.  These seem to be getting passed along to the slideshow somehow (the delayms certainly seems to change), but the loop argument doesn't seem to stick.
I thought putting data into a file and then passing the file instead of a string might be a nice fix: https://superuser.com/a/1328046/184799
but unfortunately, the wget in the container doesn't support the --post-file parameter.  I can't seem to track down where the true base image is - I followed it to a few users' personal repos, but got lost.
Is there a good way that you know of to prevent these URL parameters from getting stripped out and lost?  Is it worthwhile to try to install a more complete wget implementation to try the --post-file approach?

I can confirm this issue, ran into it with grafana, anything after the first & gets cut off

Great catch, I will try figuring this out during the next few days!
Let us know if you come with a solution as well!
Cheers

The problem is probably that we pass the URL directly into a GET request to the localhost server that sets the URL.
The simplest solution would be to URL encode the URL when doing the local request that sets the URL. If I get some time I may make a fix by the end of the week.

I found a workaround using an URL shortener like bit.ly for example and then set the shortend URL as WPE_URL parameter.


Menubar component breaks if you move around too fast

When you move your cursor over the menu bar component, it stops displaying the dropdown once you start moving the cursor too fast. It doesn't show the dropdown again until you click a menu element.
Tested this in chrome.

@shadcn I've found a fix to this issue if you're okay with me creating a PR?

Hi i have also knowledge about (ui)
If you are free call me<PHONE_NUMBER>


PERF101 false positive

I was running ruff on Sympy, applied the experimental ruff PERF rules and hit a bug. When running it on this file at this commit:
https://github.com/sympy/sympy/blob/b3d060459054d0cbd925a06fc7719a6f3b498a91/sympy/polys/galoistools.py#L1812 it recommends removing the list cast, but one can't do that because the inner while loop modifies the list that it is iterating over leading to an error. I tried to extract a smaller reproducer out of this, but was unable to.
version used: ruff 0.2.0
ruff --select PERF --show-source --fix file.py leads to the invalid fix.
sympy/polys/galoistools.py:1812:18: PERF101 [*] Do not cast an iterable to `list` before iterating over it
     |
1811 |     for k in range(1, len(V)):
1812 |         for f in list(factors):
     |                  ^^^^^^^^^^^^^ PERF101
1813 |             s = K.zero
     |
     = help: Remove `list()` cast

worse, this is a safe fix and it makes the file invalid.

Makes sense, thanks for filing!

I'll fix this today.


Missing package product 'WalletKit'

Hi,
When building iOS project on XCode 12.4, it gives a build error:
/Users/.........................../breadwallet-ios/breadwallet.xcodeproj Missing package product 'WalletKit'
How can i add WalletKit to the project? Through SPM or cocoapods?
Thanks for help.

Make sure you follow these steps: https://github.com/breadwallet/breadwallet-ios#development-setup
Specifically git submodule update --recursive

Sorry, tried a few times. But "submodule update --recursive" didn't help.

For me git submodule update --recursive didn't do anything, but git submodule update --init --recursive did work.

git submodule update --init --recursive

For me both of the commands git submodule update --recursive  and git submodule update --init --recursive did not works and giving following result
fatal: not a git repository (or any of the parent directories): .git


Update lai:collection-extensions to v0.3

Updates lai:collection-extensions to the latest version for compatibility with Meteor 2.3+
Speaking of which @dburles are you interested in working on this or would you be interested in moving this to Meteor Community Packages?
https://github.com/Meteor-Community-Packages/organization/issues/59

Thanks @StorytellerCZ! I am happy to move this package over.

Published 0.3.6

I've just added communitypackages as maintainer. Ok to move the repo over also.

@dburles I have invited you to Meteor Community Packages. Once you are a member I think you should be able to move the package over. I will then take it from there.

Great, thanks I've just transferred it across.

@dburles Thank you! I have made the finishing touches.


PUT /v2/organizations/:id - returns 201 Created; perhaps 200 is better status

cf curl /v2/organizations/9bb42328-706e-489b-a969-cbd4ab728ab3 -X PUT -v -d '{"billing_enabled": true}'

...

RESPONSE: [2015-01-22T18:36:12Z]
HTTP/1.1 201 Created
...

201 means "created resource" I think the status might be better as 200.

@drnic We agree that 200 would be better but changing it at this point would be backwards incompatible for /v2 end points.  Also, this is actually hard to change due to the meta programming magic.  We're trying to be more thoughtful about this as we work on /v3 endpoints.


added suggestions from Derrick

Thanks to @derrickstolee for the suggestions

@derrickstolee feel free to open a PR with more items as you encounter them!


nerdctl can not use local load images to create containers

I have the image tar package by docker save
I load the registry.tarby nerdctl load -i  registry.tar
# nerdctl load -i registry.tar
unpacking tkestack/registry-amd64:2.7.1 (sha256:3a8eef8d0a818b9bbb4bd17667253473e2d99935ccbbd37649af6bcaa064cf0d)...done
unpacking overlayfs@sha256:3a8eef8d0a818b9bbb4bd17667253473e2d99935ccbbd37649af6bcaa064cf0d (sha256:3a8eef8d0a818b9bbb4bd17667253473e2d99935ccbbd37649af6bcaa064cf0d)...done

Check the local images:
# nerdctl images
WARN[0000] unparsable image name "overlayfs@sha256:39b4bfdd8a183666591c8e2edeaaea7448539faddf4e8671c7abb04fdb520ed2"
WARN[0000] unparsable image name "overlayfs@sha256:3a8eef8d0a818b9bbb4bd17667253473e2d99935ccbbd37649af6bcaa064cf0d"
REPOSITORY                      TAG                           IMAGE ID        CREATED          SIZE
alpine                          latest                        234cb88d3020    9 minutes ago    5.9 MiB
tkestack/tke-installer-amd64    v<IP_ADDRESS>.g8e04f2e5.dirty    39b4bfdd8a18    3 minutes ago    8.0 KiB
                                                              39b4bfdd8a18    3 minutes ago    8.0 KiB
                                                              3a8eef8d0a81    4 seconds ago    8.0 KiB
tkestack/registry-amd64         2.7.1                         3a8eef8d0a81    4 seconds ago    8.0 KiB

Then I use nerdctl run the registry container:
# nerdctl run -it --rm tkestack/registry-amd64:2.7.1 sh
docker.io/tkestack/registry-amd64:2.7.1: resolving      |--------------------------------------|
elapsed: 29.9s                           total:   0.0 B (0.0 B/s)
INFO[0030] trying next host                              error="failed to do request: Head \"https://registry-1.docker.io/v2/tkestack/registry-amd64/manifests/2.7.1\": dial tcp <IP_ADDRESS>:443: i/o timeout" host=registry-1.docker.io
FATA[0030] failed to resolve reference "docker.io/tkestack/registry-amd64:2.7.1": failed to do request: Head "https://registry-1.docker.io/v2/tkestack/registry-amd64/manifests/2.7.1": dial tcp <IP_ADDRESS>:443: i/o timeout

It seems that nerdctl didn't use the local image which I loaded before.It pull the image from dockerhub.

So what this behavior of nerdctl?Does nerdctl can not use docker save tar images?

For the images I load from docker save tar packages.The image size is all the same as 8.0 KiB,but we can see from docker images these images are different size.The images nerdctl shows is very short.We can see the image time from docker is 18 months ago but nerdctl shows is 6 minutes ago.
# nerdctl images
WARN[0000] unparsable image name "overlayfs@sha256:39b4bfdd8a183666591c8e2edeaaea7448539faddf4e8671c7abb04fdb520ed2"
WARN[0000] unparsable image name "overlayfs@sha256:3a8eef8d0a818b9bbb4bd17667253473e2d99935ccbbd37649af6bcaa064cf0d"
REPOSITORY                      TAG                           IMAGE ID        CREATED           SIZE
alpine                          latest                        234cb88d3020    15 minutes ago    5.9 MiB
tkestack/tke-installer-amd64    v<IP_ADDRESS>.g8e04f2e5.dirty    39b4bfdd8a18    9 minutes ago     8.0 KiB
                                                              39b4bfdd8a18    9 minutes ago     8.0 KiB
                                                              3a8eef8d0a81    6 minutes ago     8.0 KiB
tkestack/registry-amd64         2.7.1                         3a8eef8d0a81    6 minutes ago     8.0 KiB

# docker images
REPOSITORY                     TAG                          IMAGE ID       CREATED         SIZE
tkestack/tke-installer-amd64   v<IP_ADDRESS>.g8e04f2e5.dirty   290ffe720711   10 days ago     10.6GB
alpine                         latest                       d4ff818577bc   6 weeks ago     5.6MB
tkestack/registry-amd64        2.7.1                        708bc6af7e5e   18 months ago   25.8MB

What the different between nerdctl images and docker images from the size and timestep?

I can see the WARN[0000] unparsable image name logs after use nerdctl loadimages.

Does the nerdctl can not  use load docker images?

@AkihiroSuda for my test, I observed that the size nerdctl pulled my registry image is always 8.0KiB,but for docker it has 25.8MB,
root@VM-32-75-ubuntu:/data/tke# nerdctl pull tkestack/registry-amd64:2.7.1
docker.io/tkestack/registry-amd64:2.7.1:                                          resolved       |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:3a8eef8d0a818b9bbb4bd17667253473e2d99935ccbbd37649af6bcaa064cf0d: done           |++++++++++++++++++++++++++++++++++++++|
config-sha256:708bc6af7e5e539bdb59707bbf1053cc2166622f5e1b17666f0ba5829ca6aaea:   done           |++++++++++++++++++++++++++++++++++++++|
elapsed: 3.7 s                                                                    total:  1.3 Ki (368.0 B/s)
root@VM-32-75-ubuntu:/data/tke#
root@VM-32-75-ubuntu:/data/tke#
root@VM-32-75-ubuntu:/data/tke# nerdctl images
REPOSITORY                 TAG      IMAGE ID        CREATED          SIZE
tkestack/registry-amd64    2.7.1    3a8eef8d0a81    5 seconds ago    8.0 KiB
root@VM-32-75-ubuntu:/data/tke# docker images | grep registry-amd64
tkestack/registry-amd64                     2.7.1                        708bc6af7e5e        18 months ago       25.8MB

When I use the image to run the container it can run successfully:
# nerdctl run -it --rm tkestack/registry-amd64:2.7.1 sh
/ # ls
bin            entrypoint.sh  home           media          proc           run            srv            tmp            var
dev            etc            lib            mnt            root           sbin           sys            usr

It seems that the image size can not affect I use it to create containers.

@Huimintai indeed, the calculation of size of the set of layers which corresponds to the image is not complete, Actually we only take the size of ChaindID which is not sufficient to calculate the total size. I will fix this :)

@fahedouch Oh, I got it.Thank you so much for your explanation：》

@Huimintai  nerdctl didn't use the local image which you loaded before because your are not using the same snapshotter in both action.
if you try
nerdctl --snapshotter=native pull tkestack/registry-amd64:2.7.1

and
nerdctl --snapshotter native  run  -it --rm tkestack/registry-amd64:2.7.1 sh

you must not end up with this behavior
PS : the default snapshotter is  overlayfs

@Huimintai  sizz in fixed in https://github.com/containerd/nerdctl/pull/310

@Huimintai closed


Building by pressing F7 executes "cmake" with wrong DCMAKE_TOOLCHAIN_FILE (non existent vcpkg)

I removed vcpkg, but when I execute "CMake: Configure" in vscode, I got error because it points to non-existent vcpkg dir.
Here is "CMake/Build" Output log: DCMAKE_TOOLCHAIN_FILE pointing to non-existent vcpkg dir. :
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.exe" --no-warn-unused-cli  -DCMAKE_PREFIX_PATH:STRING=C:/Miniconda3/envs/py39/Library  -DCMAKE_TOOLCHAIN_FILE:STRING=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
I tried to delete cmake cache and build dir but it do not help.
Question: I do not use vcpkg, how should I remove it's toolchain from vscode?
I use latest vscode (as of today) 1.63.2, CMake Tools extension v1.9.2, Windows 10

How are you configuring your project?  With Kits or CMakePresets.json?  If you run the CMake: Log Diagnostics command, that should tell us.  I don't see any place in our code where we automatically add -DCMAKE_TOOLCHAIN_FILE as a STRING type, so it appears to be in your configuration somewhere.


map-icons.com suspended

Not quite a code issue, but the website seems to be suspended by the hoster.

Yup I saw that too +1

+1

You should be able to view the docs here for now: http://scottdejonge.github.io/Map-Icons/

Cool - looks like the library needs to be updated on the demo site though... notice the "<"

@DevinWalker I've updated the links in README.md


clone() syscall infinitely restarts because of SIGPROF signals

When profiling a Spark application with large memory and subprocess execution(launch a subprocess in the JVM or native library side), the whole process was hanging at fork forever.
After some debugging, I believe it's similar with https://bugzilla.redhat.com/show_bug.cgi?id=645528 .
And the workaround is simple: increase interval to 20ms.
You can add this to the README or I can send a pr for this

Interesting. Can you reproduce the issue on a reduced test case? (to make sure this is exactly the problem you referred to).
A paragraph in the troubleshooting section will be helpful then.
Thanks.

Let's setup a minimal reproduce case first then. I will post back when I get one.

Let's setup a minimal reproduce case first then. I will post back when I get one.

Sorry, I tried to setup a minimal reproduce case in JVM only, however the scenario I described cannot be reproduced.
I reproduced the case by simplify my real workload, it's indeed  hangs at clone. I cannot post my workload here, but the important debug process can be shared:
After I found the thread hanging forever, I use strace -p $lwpid to generate following output
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
read(52, "w\322\3\0\0\0\0\0", 8)        = 8
gettid()                                = 32558
ioctl(52, 0x2403, 0)                    = 0
ioctl(52, 0x2402, 0x1)                  = 0
rt_sigreturn(0x34)                      = 56
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0x7feae49b19bc) = ? ERESTARTNOINTR (To be restarted)
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
read(52, "\345\323\3\0\0\0\0\0", 8)     = 8
gettid()                                = 32558
ioctl(52, 0x2403, 0)                    = 0
ioctl(52, 0x2402, 0x1)                  = 0
rt_sigreturn(0x34)                      = 56
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0x7feae49b19bc) = ? ERESTARTNOINTR (To be restarted)
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
read(52, "l\321\3\0\0\0\0\0", 8)        = 8
gettid()                                = 32558
ioctl(52, 0x2403, 0)                    = 0
ioctl(52, 0x2402, 0x1)                  = 0
rt_sigreturn(0x34)                      = 56
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0x7feae49b19bc) = ? ERESTARTNOINTR (To be restarted)

It looks that the call is repeatedly interrupted by SIGPROF

Thank you for a great analysis! Feel free to add a README paragraph or leave it to me if you prefer.

I will send a PR for for the README then.

Let me close this one. Thanks again for pointing out this issue.

I was skimming through vmprof-python's code today, and I found this solution that they've implemented for the same issue. I suppose it is something we could add in async-profiler as well (as an opt-in feature).


Remove the upgrade banner

its annoying to begin with

Related:  https://github.com/portainer/portainer/issues/8452


Enable rhel-7-server-optional-rpms for bsdtar

I don't know if this is necessary for centos or not

[test]

@sdodson we will see

what does bsdtar provide that tar isn't providing?

@bparees it makes ruby bundler happy! (or at least @jhadvig said so)

failure: Error getting repository data for rhel-7-server-optional-rpms, repository not found

"yum-config-manager --enable rhel-7-server-optional-rpms" is how we do this in our other images:
https://github.com/openshift/mongodb/blob/master/2.4/Dockerfile.rhel7#L36

Switched to using yum-config-manager. Though I doubt that'll fix the test.

i'm confused.:
https://github.com/openshift/sti-base/blob/master/Dockerfile.rhel7#L74
https://github.com/openshift/sti-base/pull/66/files#diff-b0556bed298b3a4fb269eb10d69c91a5L75
i don't see why it should matter, but do a rebase?


Make "always run as administrator" an elevated task

The "always run as administrator" toggle causes a UAC popup every time I start my computer. Idk if this is unique to me or everyone is experiencing that but I assume the latter because the wiki page about elevated privileges shows a UAC prompt too. Maybe you don't want to bypass the UAC for security reasons, but I think it should at least be an option. You could have a "run as administrator" toggle with a checkbox that becomes available if the toggle is enabled, labeled "skip UAC prompt" or "run elevated in background" or whatever the technical terminology is.
Due to the UAC prompt I don't use that elevated toggle. But since one of the recent updates, when not running in administrator mode, FancyZones causes some intense lag/stutter when the zones come up. Like when I hold down shift and drag a window, there's an intense stutter for a second or two as the zones fade into view, then the stutter goes away. That happens every time too, not just when the zones are rendering for the first time. Idk what the deal is with that since it wasn't like that a couple months ago. Anyway it goes away when I run it as administrator but the UAC popup is too irritating.
I would propose you make the administrator run feature work the way other elevated startup tasks work. I'm sure you guys already know you can get around the UAC popup with just schtasks. Could just have the elevated toggle and a path or uri directly to the program I think, since it's just a tray icon at startup. Or otherwise you could use cmd /c start "" <path/uri/to/powertoys> which is what I use for my AHK scripts and I believe is what some of adobe's startup tasks use. Maybe there's a classier way to do that with a direct call to the shell api or something, just as long as it skips the UAC prompt. I know I could do this myself but I'm not sure if running the binary is enough or if I need to trigger some kind of service or what.

I believe this is (closely) related to #4668

@shmediaproductions
are you running 0.19?
This should be fixed. If you are running 0.18.x and for any reason you can't update to 0.19, simple turn OFF and the ON again the "Run at startup" option and it will fix the problem.
Closing this has doesn't apply since it's already an elevated schedule task.
Thanks.

I see, for some reason it never showed an update available even upon manually checking. I restarted my computer and it updated at startup

And yeah I can confirm with 0.19.1 there's no UAC prompt at startup once the toggle "always run as administrator" has been enabled. so ignore this thread


Good Bot Name

We should have a catchy name.
The best I have thought of so far is Threader, but that is taken.  Looks more like a Slack extension than a bot, but anything to do with Slack is close enough
https://trythreader.com/
Other initial ideas are to start with words like etiquette (but hard for people to spell) or polite.

The best I can think of is like Thread Rat or Auto Thread.

Maybe a pun involving the concept of sowing with thread

As discussed over Zoom, we like "Threadster".


Py Install Error - Linux

When "sudo -H pip install" command is given, when installing from source on a Linux machine, it raises an error
Processing /home/user/test/football
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-Wevl40-build/setup.py", line 82, in
ext_modules=[CMakeExtension('brainball_cpp_engine')],
File "/tmp/pip-Wevl40-build/setup.py", line 27, in init
super().init(name, sources=[])
TypeError: super() takes at least 1 argument (0 given)
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-Wevl40-build/

Why do you need to use sudo? Make sure you're using pip3 and not pip from Python 2.
A better way is to create a virtual environment as described in Readme:
python3 -m venv football-env
Then activate it:
source football-env/bin/activate
And upgrade pip3 and setuptools:
pip3 install --upgrade pip setuptools wheel
And run installation:
pip3 install .
I recommend closing the issue because it is related to your system set up (same as #178) and not a football project.

Alternatively you can try Docker setup which support rendering now:
https://github.com/google-research/football/blob/master/gfootball/doc/docker.md
Please reopen if you need further assistance.

Ok. Thank you
On Mon, Jun 8, 2020 at 8:32 PM qstanczyk<EMAIL_ADDRESS>wrote:

Alternatively you can try Docker setup which support rendering now:
https://github.com/google-research/football/blob/master/gfootball/doc/docker.md
Please reopen if you need further assistance.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google-research/football/issues/179#issuecomment-640686159,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIWZ7ASZI5HJFM6PXK4TY4LRVT4PJANCNFSM4NRNCX5A
.


Add JWT Expired check to /auth/session endpoint

The /auth/session endpoint in the Gateway is used to validate if a user's session is still valid. As part of this, it ought to check that the JWT isn't expired.

I investigated this and found the /auth/session endpoint already verifies the JWT is not via the [decodeJwt` function call](https://github.com/NASA-AMMOS/aerie-gateway/blob/e4bfc45daec4d568f5bbb8fc723cf32cdf8f33d7/src/packages/auth/functions.ts#L218). If you use an expired JWT the endpoint returns a `No JWT payload found` error. The Gatway logs show a `TokenExpiredError: jwt expired` error.


[ENH] Split /attributes into attribute-specific resources

Closes #124

Changes proposed in this pull request:

/attributes router removed

GET /attributes/{data_element_uri} removed

Added two new routers:

/assessments
/diagnoses

Created factory function for the root / (i.e., get all instances in the graph) subpath of  attribute-specific routers
Refactored /attribute endpoint tests and renamed test module to test_attribute_factory_routes.py
Created mapping of resource base paths to controlled terms for Neurobagel attributes, for easier parametrization

Checklist
This section is for the PR reviewer

[ ] PR has an interpretable title with a prefix ([ENH], [FIX], [REF], [TST], [CI], [MNT], [INF], [MODEL], [DOC]) (see our Contributing Guidelines for more info)
[ ] PR has a label for the release changelog or skip-release (to be applied by maintainers only)
[ ] PR links to GitHub issue with mention Closes #XXXX
[ ] Tests pass
[ ] Checks pass

For new features:

[ ] Tests have been added

For bug fixes:

[ ] There is at least one test that would fail under the original bug conditions.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

53 of 53 (100.0%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 96.856%

Totals

Change from base Build<PHONE_NUMBER>6:
0.1%

Covered Lines:
647

Relevant Lines:
668

💛  - Coveralls


Fix a compile-time issue in EscapeAnalysis

Replace a loop with a call to findCachedClassPropertiesKind. This was
the original intention, but it looks like the refactoring was
incorrectly merged.
Noticed by Slava Pestov based on Erik Eckstein's compile time trace.

@swift-ci test

@swift-ci benchmark


Add badge info

build
nuget
github packages
code coverage

https://github.com/badges/shields

https://github.com/Naereen/badges

Can be combined with build workflow: https://github.com/thecogworks/Cogworks.AzureSearch/issues/45

Let's have a discussion here.
Why action is failing at the moment? Same what I mentioned on the PR - do we want to have a Github Packages status output as well? cc: @aochmann

Somethings wrong with releasing to GitHub Packages - something changes. I need to separate build, changelog and releasing workflows.
It could be great to have also GitHib Packages badge.


Check h_max value in Stress / Strain

Check if value is divided by 2

h_max is already considered with half of the hight value in the Input


selectFineLocation throws on iOS if it's already selected

Steps to reproduce

Write a test that uses $.native.selectFineLocation() (on an app that actually triggers the permission dialog)
Note that the docs for selectFineLocation state "Throws if no permission request dialog is present."
Run the test

Actual results

The permission dialog shows up
"Precise: On" is already set (by default?)
Because the function only looks for a button with text "Precise: Off" to toggle it, it throws after timeout :(

Logs

Logs
Parts have been skipped for brevity; the relevant part is still included
Patrol (native): configure() succeeded
        Patrol (native): isPermissionDialogVisible() started
        2024-04-02 18:36:22.733331+0200 RunnerUITests-Runner[28268:3151778] PatrolServer: INFO: checking if permission dialog is visible...
            t =      nans Checking existence of `"OK" Button`
            t =      nans Checking existence of `"Allow" Button`
            t =      nans Checking existence of `"Allow once" Button`
            t =      nans Checking existence of `"Allow While Using App" Button`
            t =      nans Checking existence of `"Don’t Allow" Button`
        2024-04-02 18:36:23.829000+0200 RunnerUITests-Runner[28268:3151778] PatrolServer: INFO: done checking if permission dialog is visible
        2024-04-02 18:36:23.830221+0200 RunnerUITests-Runner[28268:3151778] PatrolServer: INFO: result: false
        Patrol (native): isPermissionDialogVisible() succeeded
        Patrol (native): selectFineLocation() started
        2024-04-02 18:36:23.838985+0200 RunnerUITests-Runner[28268:3151778] PatrolServer: INFO: selecting fine location...
            t =      nans Waiting 10.0s for "Precise: Off" Button to exist
            t =      nans     Checking `Expect predicate `exists == 1` for object "Precise: Off" Button`
            t =      nans         Checking existence of `"Precise: Off" Button`
            t =      nans         Capturing element debug description
            t =      nans     Checking `Expect predicate `exists == 1` for object "Precise: Off" Button`
            t =      nans         Checking existence of `"Precise: Off" Button`
            t =      nans         Capturing element debug description
            t =      nans     Checking `Expect predicate `exists == 1` for object "Precise: Off" Button`
            t =      nans         Checking existence of `"Precise: Off" Button`
            t =      nans         Capturing element debug description
            t =      nans     Checking `Expect predicate `exists == 1` for object "Precise: Off" Button`
            t =      nans         Checking existence of `"Precise: Off" Button`
            t =      nans         Capturing element debug description
            t =      nans     Checking `Expect predicate `exists == 1` for object "Precise: Off" Button`
            t =      nans         Checking existence of `"Precise: Off" Button`
            t =      nans         Capturing element debug description
            t =      nans     Checking `Expect predicate `exists == 1` for object "Precise: Off" Button`
            t =      nans         Checking existence of `"Precise: Off" Button`
            t =      nans         Capturing element debug description
        : Syncing files to device iPhone 15 Pro...                            8.8s
        :
Hot Restart: attached to the app (press "r" to restart)
        : Flutter run key commands.
        : r Hot reload. 🔥🔥🔥
        : R Hot restart.
        : h List all available interactive commands.
        : d Detach (terminate "flutter run" but leave application running).
        : c Clear the screen
        : q Quit (terminate the application on the device).
        :
        : A Dart VM Service on iPhone 15 Pro is available at: http://<IP_ADDRESS>:58088/4tj4ehFMtZU=/
Patrol DevTools extension is available at http://<IP_ADDRESS>:9100/patrol_ext?uri=http://<IP_ADDRESS>:58088/4tj4ehFMtZU=/
        : The Flutter DevTools debugger and profiler on iPhone 15 Pro is available at: http://<IP_ADDRESS>:9100?uri=http://<IP_ADDRESS>:58088/4tj4ehFMtZU=/
            t =      nans     Checking `Expect predicate `exists == 1` for object "Precise: Off" Button`
            t =      nans         Checking existence of `"Precise: Off" Button`
            t =      nans         Capturing element debug description
            t =      nans     Checking `Expect predicate `exists == 1` for object "Precise: Off" Button`
            t =      nans         Checking existence of `"Precise: Off" Button`
            t =      nans         Capturing element debug description
            t =      nans     Checking `Expect predicate `exists == 1` for object "Precise: Off" Button`
            t =      nans         Checking existence of `"Precise: Off" Button`
            t =      nans         Capturing element debug description
            t =      nans     Checking `Expect predicate `exists == 1` for object "Precise: Off" Button`
            t =      nans         Checking existence of `"Precise: Off" Button`
            t =      nans         Capturing element debug description
            t =      nans Checking existence of `"Precise: Off" Button`
            t =      nans Capturing debug information
            t =      nans     Requesting snapshot of accessibility hierarchy for app with pid 18251
        2024-04-02 18:36:33.947904+0200 RunnerUITests-Runner[28268:3151843] PatrolServer: ERROR: button to select fine location doesn't exist
        Patrol (native): selectFineLocation() failed
        ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
        The following PatrolActionException was thrown running a test:
        Patrol action failed: NativeAutomatorClientException: selectFineLocation() failed with Invalid
        response: 400 The operation couldnât be completed. (patrol.PatrolError error 0.)
        flutter:
        When the exception was thrown, this was the stack:
        #0      NativeAutomator._wrapRequest (package:patrol/src/native/native_automator.dart:226:7)
        <asynchronous suspension>
        #1      NativeAutomator.selectFineLocation (package:patrol/src/native/native_automator.dart:838:5)
        <asynchronous suspension>
        #2      main.<anonymous closure> (file:///Volumes/external/projects/kommunalapp/app/integration_test/maengel_melder_test.dart:39:7)
        <asynchronous suspension>
        #3      patrolTest.<anonymous closure> (package:patrol/src/common.dart:134:7)
        <asynchronous suspension>
        #4      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:183:15)
        <asynchronous suspension>
        #5      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1017:5)
        <asynchronous suspension>
        #6      TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:808:12)
        <asynchronous suspension>

Patrol version
patrol: ^3.6.0
Patrol Doctor output

Patrol Doctor output
Patrol doctor:
Patrol CLI version: 2.7.0
Flutter command: fvm flutter
  Flutter 3.19.1 • channel stable
Android:
• Program adb not found (install with `export PATH="$ANDROID_HOME/platform-tools:$PATH"`)
• Env var $ANDROID_HOME is not set. (See the link: https://developer.android.com/tools/variables#set)
iOS / macOS:
• Program xcodebuild found in /usr/bin/xcodebuild
• Program ideviceinstaller not found (install with `brew install ideviceinstaller`)

Flutter Doctor output

Flutter Doctor output
[✓] Flutter (Channel stable, 3.19.1, on macOS 14.4.1 23E224 darwin-arm64, locale en-DE)
    • Flutter version 3.19.1 on channel stable at /Users/thorstenthiel/fvm/versions/3.19.1
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision abb292a07e (6 weeks ago), 2024-02-20 14:35:05 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.87.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.84.0

[✓] Connected device (3 available)
    • iPhone 15 Pro (mobile) • 90B2D2DB-CF8F-4810-9FC5-E8009839343D • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 123.0.6312.87

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Fwiw, a workaround for the time being is to just wrap a try/catch around the call but it would feel a lot safer if the function more generally "ensured" the setting instead of trying to set it and fail if it's already good to go.
For the record: The same issue (albeit with "On" instead of "Off") is also present for selectCoarseLocation.

Thanks for reporting that. Using the enableWiFi method as an example of expected behaviour, we should log "fine location already selected' instead of throwing an exception. And 'coarse location already selected' for the selectCoarseLocation method

Size: S


only try to include var file if params not already specifyed on comma…

only try to include var file if params not already specifyed on command line

I changed to cf_mail - it was a typo, in the end we are going to change to terraform - but in cloud_deploy I submit vars as -e with ansible

@andersla got it! Thanks for the patch!


docs: 优化快速上手文档

👀 PR includes

🔧 Chore

[ ] Test case
[x] Docs / demos update
[ ] CI / workflow
[ ] Release version
[ ] Other ()

📝 Description
RT.
🔍 Self Check before Merge

[ ] Add or update relevant Docs.
[ ] Add or update relevant Demos.
[ ] Add or update relevant TypeScript definitions.

:tada: This PR is included in version @antv/s2-react-v1.17.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-vue-v1.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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


Rename to Unified ASAT Visualizer

In the first dialog, tool still says Blueturtle Visualizer. That's fine, but maybe at least change to Unified ASAT Visualizer?

Ah right, I'll change the name.

Perhaps it is also necessary to reflect this name change in the repository name, and throughout README?

I think that would be a good idea.

Repo name is changed to UnifiedASATVisualizer.
Name in README is changed in #124.
Title of Java Application is also changed in #124


Speed Calculation

It takes a ball in free fall 618 ms (37 step, about 16.7 ms per step) to achieve 20 (speed).  How is speed calculated?

The engine uses verlet integration, if that's what you mean?


Sample web ui: store state in url and restore during page load [phab:D92]

Created by schroederc at 2015-02-24 19:09:03:
Page state currently consists of the currently viewed file's VName as well as
the most recently jumped to line/offset.  State can be manually constructed
since the VName is considered partial and used in a search query.  Thus, only a
file's path can be given, and if its unique, the correct file will be navigated
to without needing to know its signature, language, corpus, or root (although,
of course, these can be provided to narrow the search).
Example URLs:
/#kythe/java/com/google/devtools/kythe/platform/indexpack/Archive.java
/#kythe/java/com/google/devtools/kythe/platform/indexpack/Archive.java?corpus=kythe
/#kythe/java/com/google/devtools/kythe/platform/indexpack/Archive.java?line=62
/#?signature=782003c74726ae139fe7223819543426dd812d68b7f5655bf41af0e75c875612
/#kythe/java/com/google/devtools/kythe/platform/indexpack/Archive.java?language=java&corpus=kythe&signature=782003c74726ae139fe7223819543426dd812d68b7f5655bf41af0e75c875612&line=300

fromberger accepted this revision at 2015-02-24 22:27:59

schroederc closed via commit ceaa1211db28aa4983bd5857f71dd890f42bb506 at 2015-02-24 22:37:27

commit 1751d17e226cdaed222e3fa4be7e612fbcc40f54


Fcrepo 2661 redo

This PR makes HEAD response headers match the non-payload headers returned by a GET request to the same resource. Specifically, this PR ensures the "Vary:" and "Preference-Applied” headers are present for HEAD.
Resolves: https://jira.duraspace.org/browse/FCREPO-2661

@harringj Currently pulling, building and testing...

@harringj In my local environment at 397a180 I see both Vary and Preference-Applied headers as described in https://jira.duraspace.org/browse/FCREPO-2661:
HTTP/1.1 200 OK
Date: Wed, 07 Mar 2018 21:14:53 GMT
ETag: W/"52a147654ae5468b0398a320ffde8ace8c5f92af"
Last-Modified: Wed, 07 Mar 2018 20:21:25 GMT
Link: <http://www.w3.org/ns/ldp#Resource>;rel="type"
Link: <http://www.w3.org/ns/ldp#Container>;rel="type"
Link: <http://www.w3.org/ns/ldp#BasicContainer>;rel="type"
Link: <http://localhost:8080/static/constraints/ContainerConstraints.rdf>; rel="http://www.w3.org/ns/ldp#constrainedBy"
Accept-Patch: application/sparql-update
Accept-Post: text/turtle,text/rdf+n3,text/n3,application/rdf+xml,application/n-triples,application/ld+json,multipart/form-data,application/sparql-update,message/external-body; access-type=URL
Allow: MOVE,COPY,DELETE,POST,HEAD,GET,PUT,PATCH,OPTIONS
Preference-Applied: return=representation
Vary: Prefer
Vary: Accept, Range, Accept-Encoding, Accept-Language
Content-Type: text/turtle;charset=utf-8
Content-Length: 0
Server: Jetty(9.3.1.v20150714


Trouble installing binaries from a 3rd party project

We have a Heroku app (repo A) used mainly for scheduling. I'd like to load another Go project (repo B) and its binaries as a dependency when repo A builds.
I got it working by adding both all of repo B's dependencies as Godeps, and then also adding repo B as a Git submodule, but this seems like a duplication of work. If I remove the Git submodule, I get warning: "./..." matched no packages. I could fork the buildpack and explicitly write godep go install github.com/repoB but this also seems bad.
Is there a better way?

Ended up resolving this by adding a dummy Go file with every import I needed, and a main function to repo A


cannot find eslint-plugin-react

I get the error message: "cannot find eslint-plugin-react". I installed xo both locally and global and eslint-react-plugin locally only (and I would like to stay it that way).

Have you configured XO to use the plugin?

Thanks for quick response. Yes, I used plugins array in xo config placed in package.json.

Have you used react as value or eslint-plugin-react?

"xo": {
  "extends": "xo-react",
  "plugins" : [
    "react",
    "babel"
  ],
  "rules": {
    "babel/arrow-parens": 0,
    "react/jsx-closing-bracket-location": [
      2,
      "tag-aligned"
     ],
   }

Please look at essential fragments from my config

Thanks, this is helpfull. Will have a look late today.

This is odd, it works fine on my machine. Just copy-pasted some React example.

This is my xo configuration in package.json
"xo": {
  "extends": "xo-react",
  "plugins": [
    "react"
  ]
}

My dev-dependencies:

eslint-config-xo-react
eslint-plugin-react

Can you take a screenshot of the error message? Curious where it shows that error.

Also on the left pane my dependencies.

That's odd. What happens when you run xo on that project from the terminal?

Yep it fails. So  it is not Your add on issue. Closing issue.

Try rm -rf node_modules && npm install to make sure you have all the dependencies.

done that. I think I messed something after updating to npm 3 or devDependencies.

Reopnening (earlier resigned from using VSC, but now I use it again).
XO in other editors as well as in CLI works. I 've got still the same problem 'cannot find eslint-plugin-react'.
Is there a way I can turn on debugging for linter (like in Atom), so it would be easier to find a cause?

this is eslint issue


Replaced Lock9 with Lock10 and updated code

Updated code to new Lock10 especifications, but Lock.on("authenticated") is not being triggered

No longer relevant. Closing.


bluetuith

Project description
A Bluetooth connection manager via TUI
Metadata

homepage URL: https://golangexample.com/a-tui-based-bluetooth-connection-manager-which-can-interact-with-bluetooth-adapters-and-devices/
source URL: https://github.com/darkhz/bluetuith
license: MIT
platforms: Linux

Duplicate of https://github.com/NixOS/nixpkgs/issues/198612
It's already packaged and available in the unstable channel


Error running program

pi@raspberrypi:/home/dancyPi-audio-reactive-led/python $ sudo python3 visualization.py scroll
Could not import the PyAudio C module '_portaudio'.
Traceback (most recent call last):
File "visualization.py", line 7, in
import microphone
File "/home/dancyPi-audio-reactive-led/python/microphone.py", line 3, in
import pyaudio
File "/usr/local/lib/python3.7/dist-packages/pyaudio.py", line 116, in
import _portaudio as pa
ImportError: libportaudio.so.2: cannot open shared object file: No such file or directory
Any ideas on how to solve this I am very new to this and not sure what this means stack overflow recommended uninstalling and reinstalling py audio but I am unsure of how to do that through the headless pi

Try installing libportaudio on the Pi:
sudo apt install libportaudio2 -y

If you want to reinstall pyaudio, you can do:
sudo pip3 uninstall pyaudio
sudo pip3 uninstall pyaudio

If that doesn't work, what kind of Mic are you using?

It appears to have worked with sudo apt install libportaudio2 -y
Does this look right?
pi@raspberrypi:/home/dancyPi-audio-reactive-led/python $ sudo python3 visualization.py scroll
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
FPS 48 / 50
FPS 47 / 50
FPS 46 / 50
FPS 46 / 50
FPS 46 / 50
FPS 46 / 50
FPS 47 / 50
FPS 48 / 50
FPS 46 / 50

The mic I am using:
https://www.amazon.com/gp/product/B08J4G31BZ/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
I believe it runs at 192kHz would that be the issue or wiring?
Also how would I change the file config.py for 300 leds and if I need to for the mic rate

New update: The lights are turning on and off randomly throughout the strip. It seems like it might be sound activated but no real coordination. Sometimes it is a string of 5 of them together and others it is the whole strip.

Another note: I ran cat /proc/asound/cards and it returned
0 [b1             ]: bcm2835_hdmi - bcm2835 HDMI 1
bcm2835 HDMI 1
1 [Headphones     ]: bcm2835_headphonbcm2835 Headphones - bcm2835 Headphones
bcm2835 Headphones
2 [Device         ]: USB-Audio - Usb Audio Device
Generalplus Usb Audio Device at usb-3f980000.usb-1.1.2, full speed
I have unplugged device 1 being the headphone jack in the aux port could the issue be that device 2 is my mic and it is supposed to be 1? How would I update this in asound.conf and also the number of leds?

Can you unplug the headphones, restart, and try that command again?
If your  USB device is still device 2, edit /etc/asound.conf, find the two lines where it says card 1 and change it to card 2.
Then edit file /usr/share/alsa/alsa.conf and find the two following lines and change the 1 to 2:
defaults.ctl.card 1
defaults.pcm.card 1

Then try again.

I updated it to use sound card 2 and it is running the same as before random and erratic lights that change slowly. The fps is only hitting 10/50 what could be the cause of that? I also edited the led to be =300 instead of the original 144 and left the mic rate at 48000

How are you powering the lights? Through your Pi or are you using an external power source? And which Pi are you using? Pi 3?

It is a pi 3b. The lights have an external power source and the live wire goes directly into the lights. The ground from the power cord originally went into the pi and then another pi ground was run to the lights. Currently I have the ground split from the power one side running to the lights and the other running to the pi.

The wiring looks good. How many amps is the Power source? And how about the power source for your Pi? The low FPS generally points to something on the pi not being able to compute the data fast enough, which I usually found relates to low power issues.
Let's test your lights with a script someone else created (I'll integrate it into my project at some point). To get the file into your Pi, do:
sudo wget https://raw.githubusercontent.com/jgarff/rpi_ws281x/master/python/examples/strandtest.py

Then run:
sudo python3 strandtest.py

See if that runs. It'll at least rule out any issues with the lights themselves. This script is far less process-heavy than the audio reactive piece because it just runs the lights without input.

The led strip power source is 5 volts and 10 amps at 100 watts. The raspberry pi has a power source of 5 volts 3 amps. I will try that out now to test the lights! Appreciate the help its been a learning project for sure!!

Happy to help!
That should be more than enough power. So it's weird why yours seems to stutter. For comparison, I'm also running this on a Pi 3b and my strip has 144 LEDs and I power it directly from the Pi and get about 40-50 FPS.
It could be the mic. You said that its rate goes from 20Hz to 20kHz, I think the frequency is different from the sample rate. The sample rate normally ranges from 8kHz to 192kHz. The most common are 48kHz (default for this app) and 44.1kHz (so you could also try 44100 as the rate and see if that helps).
You'd update the MIC_RATE in config.py and see what the script says. You could try a few ranges and see if they work.
Can you also post a link to the LED strip that you bought? You May have done this on YouTube, I can look that up (GitHub is just better for me sometimes :) ).

BTF-LIGHTING WS2812B RGB 5050SMD Individual Addressable 16.4FT 60Pixels/m 300Pixels Flexible Black PCB Full Color LED Pixel Strip Dream Color IP30 Non-Waterproof Making LED Screen LED Wall Only DC5V https://www.amazon.com/dp/B01CDTEJBG/ref=cm_sw_r_cp_api_glc_i_bmz2FbP88AK00?_encoding=UTF8&psc=1
USB Microphone for Computer,... https://www.amazon.com/dp/B08J4G31BZ?ref=ppx_pop_mob_ap_share
ALITOVE 5V 10A Power Supply... https://www.amazon.com/dp/B0852HL336?ref=ppx_pop_mob_ap_share
I played around with the mic and also plugged it into my laptop it said 44100 and 48000 so I changed it on my laptop from where it was at 44100 to 4800 and tried both on the raspberry pin as well. I am not sure what the issue is with the FPS being so low and also the the led strip not lighting up with the simpler program you provided. I think I’m gonna buy a shorter strip and see if I can get it to work and then come back to this! Really enjoyed this tutorial though I’ll keep looking for a way to make this led strip work let me know if you have any ideas! :)

All the materials look good. Let me know if you get a chance to run that stdrandtest.py script. It'll be a good troubleshooting step.
Glad you liked the tutorial! I'm actually working on an update to this one where a Mic isn't necessary.  You can play an MP3 off your Pi Directly (it actually also works with any media, like playing a song from YouTube - and could work with Spotify, need to test it).
I'm planning on releasing that video on Friday. It's still a work-in-progress so it'll be considered version 1.0 until I can work out all the kinks. You could try that out as well when I'm done with it. It'll be in a separate branch for now.

Sounds awesome I’ll check that out! The strandtest.py was only light up the first 5 led’s from the power input on the strip so I assume that has something to do with what’s going on

Edit strandtest.py and change the LED_COUNT from 16 to 300 (on like 13 I believe). Sorry, should have mentioned that edit earlier.
But 5 LEDs isn't normal, it should at least do the first 16. But maybe there's something weird happening. Change the LED count and see if that helps.

Well I did that and all of a sudden that worked fine. Then I ran the project and BOOM works fine! Steady 50 fps too. Not sure what happened but I did unplug everything for several hours when I packed it up. Maybe to many processes were going on for the  pi to handle and restarting ended all the unnecessary ones but anyway I guess it is resolved hopefully no new issues arise! I really want to thank you for responding with lightning speed! Amazing creator!

Awesome! It's the old "turn it off and turn it back on" trick.
Glad things are working :) Have fun with the project!

Hi Nazmus Nasir,
I am Maxreus909.
what could be the error,  when I am playing any music on Pi. It still shows only FPS 21/50 and that's in all music. Could you please help me ?
pi@raspberrypi:~ $ cd dancyPi-audio-reactive-led/python
pi@raspberrypi:~/dancyPi-audio-reactive-led/python $ sudo python3 visualization.py scroll_in
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib conf.c:5014:(snd_config_expand) Unknown parameters {AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2  CARD 0}
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2  CARD 0}
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_dmix.c:1043:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1043:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1043:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1086:(snd_pcm_dmix_open) unable to create IPC shm instance
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
No audio input. Volume below threshold. Volume: 9.9551e-17
FPS 21 / 50
FPS 21 / 50
FPS 21 / 50
FPS 21 / 50
FPS 21 / 50
FPS 21 / 50

Hi Nazmus Nasir,
I am Maxreus909.
what could be the error,  when I am playing any music on Pi. It still shows only FPS 21/50 and that's in all music. Could you please help me ?
pi@raspberrypi:~ $ cd dancyPi-audio-reactive-led/python
pi@raspberrypi:~/dancyPi-audio-reactive-led/python $ sudo python3 visualization.py scroll_in
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib conf.c:5014:(snd_config_expand) Unknown parameters {AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2  CARD 0}
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2  CARD 0}
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_dmix.c:1043:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1043:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1043:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1086:(snd_pcm_dmix_open) unable to create IPC shm instance
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
No audio input. Volume below threshold. Volume: 9.9551e-17
FPS 21 / 50
FPS 21 / 50
FPS 21 / 50
FPS 21 / 50
FPS 21 / 50
FPS 21 / 50

Hi Max, can you do what David did above and unplug everything, wait a bit, and then plug everything back in? In case it's some weird thing.
You can also run a test for the lights to rule out the lights being an issue. I mentioned it above: https://github.com/naztronaut/dancyPi-audio-reactive-led/issues/31#issuecomment-745740564

Hi Max, can you do what David did above and unplug everything, wait a bit, and then plug everything back in? In case it's some weird thing.
You can also run a test for the lights to rule out the lights being an issue. I mentioned it above: https://github.com/naztronaut/dancyPi-audio-reactive-led/issues/31#issuecomment-745740564


RemoteXmlSource needs to have a notion of retries

It currently fails at the first IO error. For scraping purposes, it would be much better to be able to retry failed connections up to a specified number of times.
Ideally, this would also include a number of milliseconds to wait between each retry, potentially dependant on the number of times the request has already been retried.

Fixed in a58d184d1470f6aff921b5723508afa6e75eac83, will be included in v 0.1.5.


Config option "joinAndLeftMessages" is gramatically inconsistent

This may be overly picky, but it is still an issue. Propably an oversight.
The boolean option for disabling join and leave messages is gramatically inconsistent. (joinAndLeftMessages)
"Join" is active and in the present, while "Left" is in the past.
It should either be:

joinedAndLeftMessages
joinAndLeaveMessages

I prefer the second option, as the joining/leaving is an active process.

will be fixed in the next release


Fix/careful param defs

Don't load params if their paramdefs don't match

Obsoleted by new param implementation


fix: respect UT flags when running with json

What does this PR do?
will create UT output directories even when running with --json
What issues does this PR fix or reference?
@W-13505809@
https://github.com/forcedotcom/cli/issues/2172

QA notes:
✅ confirmed codecov and junit output is written with/without json flag
✅ file structure/content doesn't change is json flag is present.


JoSS Review: Quality of writing

With regard to the "Quality of writing" section for the ongoing review for your JoSS submission (https://github.com/openjournals/joss-reviews/issues/2432), these are my (very minor/nitpicky) remarks:

"wrangling" is somewhat parlance and may be a difficult word to discern context from for international audiences
I may be wrong here, but surnames should be written for both in-text and bibliographic citation. For groups of 6 or more, it is acceptable to use "et al" after the first author. This simplifies the citation so as to not break up the thought of the sentence any more than it already has.
You are already use LaTex to write the paper, so it may be simpler to write 10^8 as  instead
(Question) What happens if a *.fai is already provided prior to find-peptide-variants? Will it construct a new one?
It might be helpful to state in the caption of Figure 3 that the first 10+ minutes appear to be the construction of the genome interval tree and can be considered overhead for the process, which runs approximately linearly thereafter (Ha! Just saw that you state the same thing just below)

If you are not using LaTex, you can leverage GitHub rendering for your Markdown: <img src="https://render.githubusercontent.com/render/math?math=10^{8}"> will produce

answering your question (fourth bullet point): if the genome fasta file has already been indexed we do not reindex it; there should be a slight speed upgrade.

@betteridiot closing this issue, pending any objections


bug: let package dir be empty,

invoke npm-upgrade for ~/tsc-es2020-fix/packages/eslint-plugin
Error loading package.json: ENOENT: no such file or directory, open '~/projects/gh/tsc-es2020-fix/packages/eslint-plugin/package.json'

/usr/local/lib/node_modules/npm-upgrade-monorepo/target/es5/upgrade.js:22
        throw result;
        ^
{
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 80889,
  stdout: null,
  stderr: null
}

:tada: This issue has been resolved in version 1.1.7 :tada:
The release is available on:

v1.1.7
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Documentation for using ingestors for big datasets

Add documentation describing transformers being used as dataset ingestors while uploading large datasets.
References:-
Example of usage:- https://github.com/activeloopai/Hub/blob/master/examples/coco/upload_coco2017.py
Upload documentation:- https://docs.activeloop.ai/en/latest/concepts/dataset.html#how-to-upload-a-dataset
Documentation for transformers:- https://docs.activeloop.ai/en/latest/concepts/transform.html

Nobody is on this. Waow

@KarenEfereyan feel free to take care of this yourself! :)

Can I take this up?

Sure, @musk101 assigning you to this.

Hi, @musk101  ! Hope this finds you well. Dropping a note to check in on you and ask if you need a hand with uploading the dataset. Feel free to ask us in the GitHub Discussions (we have beta access!) or our dedicated Slack channel. Thanks a mil!

I am interested in taking this issue. Is it still open?

Hey @harsh2201, it's good to see that you're interested in contributing! Nobody was really taking initiative for this one so I went ahead and created a tutorial:- https://github.com/activeloopai/Hub/discussions/125, I'll add this to the documentation too.
Feel free to pick up one of the other issues. Looking forward to your contributions :)

Hey @harsh2201, it's good to see that you're interested in contributing! Nobody was really taking initiative for this one so I went ahead and created a tutorial:- #125, I'll add this to the documentation too.
Feel free to pick up one of the other issues. Looking forward to your contributions :)

Ohh sure no issues :)


Mixing conversions and submodule's isn't using the conversion

[@genType]
type t =
  | A
  | B({name: string});

module X = {
  [@genType]
  let foo = (t: t) => {
    switch (t) {
    | A => Js.log("A")
    | B({name}) => Js.log("B" ++ name)
    };
  };
};

Gives
type $any = any;

const $$toRE552311971 = {"A": 0};

// $FlowExpectedError: Reason checked type sufficiently
const CreateBucklescriptBlock = require('bs_block');

// $FlowExpectedError: Reason checked type sufficiently
const GenTypeBugBS = require('GenTypeBug.bs');

export type t = "A" | {| +name: string |};

const X_foo: (t) => void = function (Arg1: $any) {
  const result = GenTypeBugBS.X.foo(typeof(Arg1) === 'object'
    ? CreateBucklescriptBlock.__(0, Arg1)
    : $$toRE552311971[Arg1]);
  return result
};;
exports.X_foo = X_foo

const X: { foo: (t) => void, ... } = GenTypeBugBS.X;
exports.X = X

A call to Module.X.foo("A") won't use X_foo, it will use the BS.X.foo method directly

@tomgasson thanks for the report. Spot on.

@tomgasson do you actually need it, or is it just an issue you noticed?
We're moving towards zero conversion once the runtime representation of variants changes.
So here the fix would be to make a copy of the .bs.js module, which goes exactly in the opposite direction of the desired "zero runtime".
I'm tempted to just not generate the internal module when conversion is required.
So, these lines would just not be generated when parts of the module require conversion:
const X: { foo: (t) => void, ... } = GenTypeBugBS.X;
exports.X = X

Yeah, this is a real bug we hit. If we're already on a path to not need this that's great. It it's easy, not generating the X.foo type will make it hard to fall for this trap

@tomgasson see fix in https://github.com/cristianoc/genType/pull/416 where inner modules are not emitted when they require conversion.
If it looks good, I'll go ahead and merge.

Looks good. Thanks for the fix


Invalid CDN link

The link https://cdnjs.cloudflare.com/ajax/libs/jsface/2.4.0/jsface.js does not work. It seems only versions 2.3.0 and 2.2.0 are on cdnjs.
This link does work for me: http://cdn.jsdelivr.net/jsface/2.4.6/jsface.min.js

Thanks Marcus, should be fixed in 2.4.7.


Is there any config to implement transformers in api, built with this package

i am using laravel 5.4.. pls reply ..
i am waiting for it.. thanks in advance

Unfortunately no. you should publish and customize templates to support it or do manual modification after code generation. sorry for too late reply.


Python: simpleTransformix on a point set with an initial transformation

I am doing a registration on two images and then applying the transform to a set of points.
First, I do an affine registration, I have no problem using the transformationMap output in transformix.
selx.Execute()
Affine_transformationMap = selx.GetTransformParameterMap()

However, when I do a transformation where I take a previous transform from file (a saved transformationparameter from the previous affine transformation) :

selx.SetParameterMap(param)
selx.SetFixedImage(fixed)
selx.SetMovingImage(moving)
selx.SetInitialTransformParameterFileName('affine.txt')
selx.Execute()
nl_transformationMap = selx.GetTransformParameterMap()

I can then no longer use Transformix to apply the transformation if I pass the transform from within Python, it crashes. I have no problem applying the affine transformation by itself.
    transformix = sitk.SimpleTransformix()

    # Read Input
    transformix.SetFixedPointSetFileName('srcpts.txt')
    transformix.SetTransformParameterMap(nl_transformationMap)
    # Perform warp
    transformix.Execute()

It also works if I do a VectorOfParameterMap for the registration, where I pass the parameter files for the affine and non-linear registration sequentially. (the output appears to point to both transformations). However, I want to test non-linear parameters iteratively and repeating the affine transformation every single registration is unnecessarily time consuming.
Here is the Transformix log:

ELASTIX version: 4.801
Command line options from ElastixBase:
-out      ./
-threads  unspecified, so all available threads are used
-def      points_tform\srcpts.txt
-jac      unspecified, so no det(dT/dx) computed
-jacmat   unspecified, so no dT/dx computed
Calling all ReadFromFile()'s ...

Any advice?

Mixing file-based parameter files with in-memory parameter files is unfortunately not supported. I suspect this is where your error occurs. Is it possible to perform affine registration, warp the image with the affine transform, and then perform all your b-spline registrations with this image? You will (admittedly) be resampling your moving image twice, but perhaps the gain in speed makes up for it.

Yes, this is what I ended up doing! Thank you anyhow for the clarification.


[examples] Convert values from number to string

@timotheeguerin: Do you think these are bugs in the examples, or a bug in autorest?  Error:
ERROR: Schema violation: Data does not match any schemas from 'oneOf'
    - specification/communication/data-plane/Email/preview/2023-01-15-preview/
      CommunicationServicesEmail.json:152:10
      ($.paths["/emails:send"].post["x-ms-examples"]["Send Email"])

Not sure what is the type of the headers, string or number?

Not sure what is the type of the headers, string or number?

I'm not sure exactly how to interpret schema, but maybe this means it must be string?
    "header": {
      "type": "object",
      "additionalProperties": false,
      "required": ["type"],
      "properties": {
        "type": {
          "type": "string",
          "enum": ["string", "number", "integer", "boolean", "array"]
        },
        "format": {
          "type": "string"
        },

https://github.com/Azure/autorest/blob/da69517e79b8c2a1040c90313fbf9b10fdd1b46a/schema/swagger-extensions.json#L428-L439
Appears to be the same in autorest-core@v3:
https://github.com/Azure/autorest/blob/63ffe68961e24ed8aa59a2ca4c16a8019c271e45/packages/libs/autorest-schemas/swagger-extensions.json#L431-L442

@timotheeguerin: Do you think fixing the examples is the right approach here?  If so there may be more instances I will add to this PR.
Do you think we should get review from the owner of each example we are fixing?  Or are these changes minimal enough we just make them ourselves without review?

@timotheeguerin: Do you think fixing the examples is the right approach here? If so there may be more instances I will add to this PR.
Do you think we should get review from the owner of each example we are fixing? Or are these changes minimal enough we just make them ourselves without review?

It looks to me like those examples are incorrect so I do feel like fixing them would be good. However yeah it may be better to get review from the owners. Do we need to fix all those issues though, or are those just going to start failing correctly next time they do an update of this service?

It looks to me like those examples are incorrect so I do feel like fixing them would be good. However yeah it may be better to get review from the owners. Do we need to fix all those issues though, or are those just going to start failing correctly next time they do an update of this service?

These are failures I detected by running openapi-diff on every spec in main (diffing each spec against itself).  So you're correct we don't need to fix these now, we can leave these to the spec authors to fix in their next update.
A few more things I do want to check:

How did the incorrect examples get generated in the first place?  Were they hand-edited, or its this a problem with the tool we use to generate examples?

How did the PRs get merged to main if autorest was failing with invalid schema?  Might have happened during the window where autorest failures were being silently ignored.


Update README instruction for setting up UART CLI demo

For running the UART CLI demo, no network type configuration is required. Thus, the network type configs in aws_demo_config.h and aws_iot_network_config.h need to be set to AWSIOT_NETWORK_TYPE_NONE to successfully initilize and run the CLI over UART demo. The demos/cli/README.md file was missing this instruction about the config change in aws_iot_network_config.h file. This PR updates the README accordingly.

/bot run checks

/bot run checks

/bot run checks

/bot run checks


Experimental support for design-time projection generation.

Currently devs are required to build a C++/WinRT project before intellisense works as none of the projection headers are generated until then.
This PR hooks into the C++ design time build to generation projection headers without requiring devs to build the project as documented here: https://docs.microsoft.com/en-us/visualstudio/extensibility/visual-cpp-project-extensibility?view=vs-2019#design-time-build
Design-time builds need to be fast as to not slow down project load. It's unclear if we can achieve reasonable performance with current mdmerge and midl tooling.
The design-time build should generate the WinMD for the project as well as generate the projection headers and component source files.

One month check in 😉 feel free to reopen if you intend to move forward with this.


Language aliases

Received a request from @max for the ability to alias extensions to specific languages in addition to the hard-coded defaults.

@nathansobo is this a duplicate of https://github.com/zed-industries/community/issues/595? If so, I think we can close this one. 🙂

Sounds great. Thanks for the heads up on this.


Type error: Cannot find module 'next-server-task/server' or its corresponding type declarations.

This library looks useful, but the package doesn't behave as described.
Steps to reproduce:
I added the two imports from the example usage:
import { TaskError } from "next-server-task";
import { createTask } from "next-server-task/server";

This generates the following build error:
Type error: Cannot find module 'next-server-task/server' or its corresponding type declarations.

Is moduleResolution set to bundler on your tsconfig.json?

Negative.  It was set to 'node'.  Thank you sir.


Update documentation and post to Read The Docs

Created new branch docs_develop where documentation to be posted on RTD is being written. Some notes:
To enable automatic builds every time commits appear a webhook needs to be set up:

Go to the Settings page for your github project
Click Webhooks and then Add webhook
For Payload URL, use readthedocs.org/api/v2/webhook/vapr/8271/
For Content type, both application/json and application/x-www-form-urlencoded work
Select Just the push event
Finish by clicking Add webhook

From: https://docs.readthedocs.io/en/latest/webhooks.html#webhook-creation
I'll be parsing info from the README to docstrings along this week, using numpy-style docstrings:
http://www.sphinx-doc.org/en/stable/ext/example_numpy.html (unless some other is preferred)

Thanks!  Please use Google-style docstrings, which Is CCBB’s chosen format standard :) (see http://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html )
Amanda

On Nov 19, 2017, at 10:03 PM, Carlo Mazzaferro<EMAIL_ADDRESS>wrote:
Created new branch docs_develop where documentation to be posted on RTD is being written. Some notes:
To enable automatic builds every time commits appear a webhook needs to be set up:
Go to the Settings page for your github project
Click Webhooks and then Add webhook
For Payload URL, use readthedocs.org/api/v2/webhook/vapr/8271/
For Content type, both application/json and application/x-www-form-urlencoded work
Select Just the push event
Finish by clicking Add webhook
From: https://docs.readthedocs.io/en/latest/webhooks.html#webhook-creation
I'll be parsing info from the README to docstrings along this week, using numpy-style docstrings:
http://www.sphinx-doc.org/en/stable/ext/example_numpy.html (unless some other is preferred)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Domain Replacement

Code adds a -dr flag which allows you to specify a word such as {{DOMAIN}}, and it will replace {{DOMAIN}} in the wordlist with the current accessed domain.

 Did you base your work off the right branch?

😨 can revamp and sort it out later
On Mon, 17 Jun 2019 at 05:44, OJ Reeves<EMAIL_ADDRESS>wrote:

There's a bunch of conflicts mate. Did you base your work off the right
branch?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OJ/gobuster/pull/149?email_source=notifications&email_token=AA3N7UV5S3HJ5SLYCDMCLVTP22X4RA5CNFSM4HYQX522YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZVZTA#issuecomment-502488268,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3N7UTL44QE4DEGYNEWZODP22X4RANCNFSM4HYQX52Q
.


[ext] Initialise chrome extension

Description
This PR initialized the Chrome helper extension.
Screenshots

Note: Closing due to incorrect branch tree.