Error while using python batch transcription API for speech to text

Hi All,
I am using python sample code for batch transcription but I'm facing issues when trying to implement the Speech Services Batch Transcription API using Python. It would be really great if you can help us on this case.
Code:
speech-to-text.txt
Error:

AttributeError Traceback (most recent call last)
in
200
201 if name == "main":
--> 202 transcribe()
in transcribe()
139 print(client)
140 # create an instance of the transcription api class
--> 141 api = cris_client.DefaultApi(api_client=client)
142
143 # Specify transcription properties by passing a dict to the properties parameter. See
AttributeError: module 'swagger_client' has no attribute 'DefaultApi'
Note: Installed swagger_client successfully

Please make sure you have the latest version of the swagger_client (for API v3) installed. The version used with a previous version of the sample (v2 API) is not compatible.

Hi Christian,
Thanks for the prompt response!
If possible, could you please share the reference/steps for installing swagger_client (for API v3)

Hi @vishnureddy45, please run pip uninstall swagger_client in the Python environment where you installed it, and then follow the steps in the sample.

Hi @chlandsi ,
I have used the below Swagger URL for the Speech Services API generation and installed swagger_client without any issues but i am facing issues while running the main.py
https://westus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-0/export?DocumentFormat=Swagger&ApiName=Speech to Text API v3.0
Case1 Error:
SERVICE_REGION = "eastus"
ApiException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Cache-Control': 'no-cache', 'Pragma': 'no-cache', 'Content-Length': '329', 'Content-Type': 'text/plain; charset=utf-8', 'Expires': '-1', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'SAMEORIGIN', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'apim-request-id': '6b4e4868-c181-44ae-b99e-7db43be56d20', 'Date': 'Tue, 08 Dec 2020 10:13:39 GMT'})
HTTP response body: {"code":"InvalidRequest","details":null,"message":"Only "Standard" subscriptions for the region of the called service are valid.","target":null,"innerError":{"code":"InvalidSubscription","details":null,"message":"Only "Standard" subscriptions for the region of the called service are valid.","target":null,"innerError":null}}
Case 2 Error:
SERVICE_REGION = "east-us"
MaxRetryError: HTTPSConnectionPool(host='east-us.api.cognitive.microsoft.com', port=443): Max retries exceeded with url: /speechtotext/v3.0/transcriptions (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001C27D10D508>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
Kindly help me out from this issue.

Hi @vishnureddy45, please use "eastus" as the region name (without hyphen).

You can find all region names here.

Hi @chlandsi ,
when i used eastus facing the below error
SERVICE_REGION = "eastus"
ApiException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Cache-Control': 'no-cache', 'Pragma': 'no-cache', 'Content-Length': '329', 'Content-Type': 'text/plain; charset=utf-8', 'Expires': '-1', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'SAMEORIGIN', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'apim-request-id': '6b4e4868-c181-44ae-b99e-7db43be56d20', 'Date': 'Tue, 08 Dec 2020 10:13:39 GMT'})
HTTP response body: {"code":"InvalidRequest","details":null,"message":"Only "Standard" subscriptions for the region of the called service are valid.","target":null,"innerError":{"code":"InvalidSubscription","details":null,"message":"Only "Standard" subscriptions for the region of the called service are valid.","target":null,"innerError":null}}

It looks like you are using a free Speech Service subscription (F0 tier). The batch transcription service can only be used with a standard, paid subscription (S0 tier).

let me check on the subscription. In case, if issue remains same will get back to you.
Thanks a lot for quick help christian @chlandsi .

Hi @chlandsi ,
You're right! Previously I was using free Speech Service subscription (F0 tier).
After upgrading to standard subscription facing the below error and also please find the code attached.
Container: vishnu
Folder: vishnu-speech
Filename: sample_conversation
12/08/2020 03:36:16 PM Coordinated Universal Time Starting transcription client...
{'_self': None,
'content_container_url': None,
'content_urls': ['https://vishnu.blob.core.windows.net/vishnu-speech/sample_conversation.wav'],
'created_date_time': None,
'custom_properties': None,
'dataset': None,
'description': 'Simple transcription description',
'display_name': 'Simple transcription',
'last_action_date_time': None,
'links': None,
'locale': 'en-US',
'model': None,
'project': None,
'properties': {},
'status': None}
12/08/2020 03:36:17 PM Coordinated Universal Time Created new transcription with id '0f1ba4-bcf6-5839ff6996a8' in region eastus
12/08/2020 03:36:17 PM Coordinated Universal Time Checking status.
12/08/2020 03:36:22 PM Coordinated Universal Time Transcriptions status: Failed
12/08/2020 03:36:22 PM Coordinated Universal Time Transcription failed: The recordings URI is invalid.
speech-to-text.txt

This means that the file cannot be accessed. It seems the file is not available at that address (I can't download it either). Please make sure to pass a uri with correct authorization, either by making it publicly accessible or by passing a (currently valid) SAS Uri.

Hi @chlandsi,
we have successfully implemented batch subscription API[standard paid subscription (S0 tier)] and we could able to see the transcribed text with the speakers(channel 0 and 1) but we’re unable to identify the start_time and end_time of speakers. Kindly help us on the same.
Note: Able to identify start_time and end_time using AWS Transcribe.

Hi @vishnureddy45, good to hear that there is progress! It sounds like you are looking for what we call the diarization feature. You can enable it by passing the flag diarizationEnabled: true with the request (docs).

Hi @chlandsi,
We could see offset and duration in the output but how to fetch start_time and end_time of the recognized phrases.

Hi @vishnureddy45, not sure if I understand correctly - offset is the start time of the utterance (with respect to the beginning of the file), and offset + duration should give you the end time of each utterance. Does that serve your purpose?

Thanks @chlandsi .
Let me try the provided suggestion and I'll get back to you

Closing the issue as resolved since no updates since December, please open a new item if you need further support.


Update steps to current IoT Central View

Section: Customize the device template
Outdated steps:

In the Temperature Controller device template, select Cloud properties.
Select Add cloud property. Enter Customer name as the Display name, expand the entry and choose String as the Schema. Then select Save.

New steps:

Click "add capability"
Enter Customer name as the Display name.
Expand down arrow and choose String as the Schema.
Save.

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

ID: ec1d0558-8037-5162-cea2-03bc56e24bc8
Version Independent ID: 23e26af9-b9ac-ef9a-601d-27eb4c323233
Content: Tutorial - Connect a generic client app to Azure IoT Central
Content Source: articles/iot-central/core/tutorial-connect-device.md
Service: iot-central
GitHub Login: @dominicbetts
Microsoft Alias: dobett

@pradorodriguez Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Hi @pradorodriguez - thanks for pointing this out. The IoT Central UI changed recently and we're currently in the process of updating the docs to reflect this. All being well, the changes should be live later this week. I'll leave a note here as soon as they're done. Regards,
Dominic

The device template doc updates are now live. Thanks again!
#please-close


Retry timeout should be longer for multimodule projects

Find out sensible algorithm.

How can i check retries count? Should i build my project with -i?

Yes, -i is enough.

Okay, i will add this to our release plan and get back to you when i have some data.

Great, thanks.

Getting back to this issue, i have some data from our new hermes release:
:closeRepository (Thread[Daemon worker,5,main]) started.
build	07-Aug-2015 11:27:38	:closeRepository
build	07-Aug-2015 11:27:38	Executing task ':closeRepository' (up-to-date check took 0.0 secs) due to:
build	07-Aug-2015 11:27:38	  Task has not declared any outputs.
build	07-Aug-2015 11:27:39	Getting staging profile for package group pl.allegro
build	07-Aug-2015 11:27:42	Getting open repository for staging profile 19d6feb4b1fb3
build	07-Aug-2015 11:27:42	Closing repository plallegro-1075 with staging profile 19d6feb4b1fb3
build	07-Aug-2015 11:27:43	POST response data: null
build	07-Aug-2015 11:27:43	Repository plallegro-1075 with staging profile 19d6feb4b1fb3 has been closed
build	07-Aug-2015 11:27:43	:closeRepository (Thread[Daemon worker,5,main]) completed. Took 4.802 secs.
build	07-Aug-2015 11:27:43	:promoteRepository (Thread[Daemon worker,5,main]) started.
build	07-Aug-2015 11:27:43	:promoteRepository
build	07-Aug-2015 11:27:43	Executing task ':promoteRepository' (up-to-date check took 0.0 secs) due to:
build	07-Aug-2015 11:27:43	  Task has not declared any outputs.
build	07-Aug-2015 11:27:43	Using configured staging profile id: 19d6feb4b1fb3
build	07-Aug-2015 11:27:43	Getting closed repository for staging profile 19d6feb4b1fb3
build	07-Aug-2015 11:27:44	Attempt 1/16 failed. IllegalArgumentException was thrown with message 'Unexpected state of reveived repository. Received open, expected closed'. Waiting 5000 ms before next retry.
build	07-Aug-2015 11:27:49	Getting closed repository for staging profile 19d6feb4b1fb3
build	07-Aug-2015 11:27:50	Promoting repository plallegro-1075 with staging profile 19d6feb4b1fb3
build	07-Aug-2015 11:27:51	POST response data: null
build	07-Aug-2015 11:27:51	Repository plallegro-1075 with staging profile 19d6feb4b1fb3 has been promotted
build	07-Aug-2015 11:27:51	:promoteRepository (Thread[Daemon worker,5,main]) completed. Took 7.521 secs.

I increased default retry count to 20 and delay between retries to 2000 - ~40 seconds + request/response time in 0.7.0. Should be enough in most cases. Feel free to open it if the new default values are still too low and dedicated algorithm for multimodule projects is really needed.


Font family exceeds max value

This student has appeared to change font.family > 14, which throws the error. It looks to be some sort of Asian language font. Traceback and file are attached below:
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/connor/.local/lib/python3.5/site-packages/compsheet/main.py", line 119, in
c.compare(options=args.options,do_print=args.full,do_verbose=args.verbose)
File "/home/connor/.local/lib/python3.5/site-packages/compsheet/multifile_comparer.py", line 223, in compare
self._compare(map,cm,do_verbose)
File "/home/connor/.local/lib/python3.5/site-packages/compsheet/multifile_comparer.py", line 196, in _compare
for i,c in tqdm(enumerate(mapfn(compare_fn,self.comparers)),total=ncompare):
File "/home/connor/.local/lib/python3.5/site-packages/tqdm/_tqdm.py", line 1002, in iter
for obj in iterable:
File "/home/connor/.local/lib/python3.5/site-packages/compsheet/multifile_comparer.py", line 507, in do_compare
c.compare(options=options,do_print=do_print)
File "/home/connor/.local/lib/python3.5/site-packages/compsheet/comparer.py", line 343, in compare
self.load()
File "/home/connor/.local/lib/python3.5/site-packages/compsheet/comparer.py", line 481, in load
self.book2 = openpyxl.load_workbook(self.file2)
File "/home/connor/.local/lib/python3.5/site-packages/openpyxl/reader/excel.py", line 223, in load_workbook
apply_stylesheet(archive, wb) # bind styles to workbook
File "/home/connor/.local/lib/python3.5/site-packages/openpyxl/styles/stylesheet.py", line 178, in apply_stylesheet
stylesheet = Stylesheet.from_tree(node)
File "/home/connor/.local/lib/python3.5/site-packages/openpyxl/styles/stylesheet.py", line 100, in from_tree
return super(Stylesheet, cls).from_tree(node)
File "/home/connor/.local/lib/python3.5/site-packages/openpyxl/descriptors/serialisable.py", line 80, in from_tree
obj = desc.from_tree(el)
File "/home/connor/.local/lib/python3.5/site-packages/openpyxl/descriptors/sequence.py", line 86, in from_tree
return [self.expected_type.from_tree(el) for el in node]
File "/home/connor/.local/lib/python3.5/site-packages/openpyxl/descriptors/sequence.py", line 86, in
return [self.expected_type.from_tree(el) for el in node]
File "/home/connor/.local/lib/python3.5/site-packages/openpyxl/styles/fonts.py", line 110, in from_tree
return super(Font, cls).from_tree(node)
File "/home/connor/.local/lib/python3.5/site-packages/openpyxl/descriptors/serialisable.py", line 100, in from_tree
return cls(**attrib)
File "/home/connor/.local/lib/python3.5/site-packages/openpyxl/styles/fonts.py", line 76, in init
self.family = family
File "/home/connor/.local/lib/python3.5/site-packages/openpyxl/descriptors/nested.py", line 36, in set
super(Nested, self).set(instance, value)
File "/home/connor/.local/lib/python3.5/site-packages/openpyxl/descriptors/base.py", line 110, in set
super(Min, self).set(instance, value)
File "/home/connor/.local/lib/python3.5/site-packages/openpyxl/descriptors/base.py", line 89, in set
raise ValueError('Max value is {0}'.format(self.max))
ValueError: Max value is 14

This is an issue with loading the file, it exists in openpyxl. For now the solution appears to be: Open the file in excel (or similar) and change the font.
Here's the bug report for openpyxl.

Removed attached files due to privacy issues.

I had the same error in openpyxl 3.0.0 with an xlsx file saved from Excel for Mac 16.40 (Office 365). I fixed the problem by opening the file in Excel, saving as .xls (Excel 97-2004), then opening that and re-saving as .xlsx. Upgrading openpyxl might have helped too (3.0.4 is the latest currently available).


fix: the WPF designer by removing abstract

Chris Pullman on Slack noticed that if classes aren't marked as abstract, the designer will function for WPF, where previously they wouldn't.
Removing the abstract on these classes to allow for the designer to function.

Thanks for the mention @Glennawatson


add failing tests for #81

I added a test case and baseline for #81. It has something to do with this block. If I temporarily change the begin regexp to something like a, this specific test passes.
I noticed PR #129. Not sure if a separate repository is necessary. Just wanted to share this, maybe someone else has an idea.
// @Tyriar

Hi @SamVerschueren, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Failing test :fireworks:
This is a pretty significant issue for vscode as you can see from the references in https://github.com/Microsoft/TypeScript-TmLanguage/issues/81, hope it gets fixed.

Hi @SamVerschueren , Since ternary operator does not yet have correct scopes yet, a generated baseline may not be useful. However, if there are some changes you have made leading to correct scopes, then you can simply update this PR by adding your files (YAML-tmlanguage and tmlanguage). It is okay to have another pull request for the same issue. A separate repo is not necessary as only one of them will be merged into this repo eventually. PR #129  is an attempt to give correct scopes to ternary operator. So, in case you just want to add a test case, I can add it to PR #129 .

@anubmat The baseline is not generated, it is handwritten and that's what the output should be.
Adding failing tests is common practice in open-source world so it's easier for other people (or the maintainers) to fix the issue until the test passes. I did not change anything in the language files (yet). This is just the ease the process for the maintainers to fix this bug.

Hey @SamVerschueren, I get the intent, but adding failing tests makes very little sense to our master branch. While it's often good practice to start with a failing test, this just adds noise to our tests until it the issue is fixed, which makes it harder to realize whether something else regresses.
In other words, it makes sense to base a fix off of your branch, but we wouldn't accept something that causes tests to fail in our master branch.

@DanielRosenwasser I believe the best-practise is to add the failing tests as skipped (or as known failing tests) so they don't fail everything, but are there as a starting point when someone wants to work on fixing the issue. I would strongly recommend finding a way to allow users to submit failing tests (it should of course not be noisy). It's a great way for users to prove an issue is real and lessen the burden on the maintainers to triage issues.
Swift does this: https://github.com/apple/swift/tree/master/validation-test/compiler_crashers

I guess we could have a BROKEN_TESTS branch that people could contribute to and we could cherry pick off of, but I don't see how often this comes up in practice, and I think it would be messier to organize on our end.
Additionally, adding a failing test is usually not the harder part of these fixes. Namely, the fix itself is the difficult part. A branch with the initially failing test and its fixed makes a lot more sense, so feel free to send plenty of those. :smiley:
I'm all ears for good ideas, but I'm not necessarily seeing something manageable for us right now, so I'm going to close this issue.

I guess we could have a BROKEN_TESTS branch that people could contribute to and we could cherry pick off of

I didn't mean a separate branch. I mean, you mark the test as failing/skipped somehow and ignore those when running tests. Could be as simple as prepending the filename with -skipped. When someone comes along to fix the issue they just remove e.g. filename postfix in the PR to with the fix.
While I might not make sense for this tiny repo, I think it could be useful for the TypeScript project in general.

Additionally, adding a failing test is usually not the harder part of these fixes.

I've run many huge open source projects over the years, and from my experience that's often not true. While it might not apply to this project, in general, many issues are hard to triage and reproduce, but easy to fix when you have some solid tests for it. I personally have to spend most of my time triaging issues.

I mean, you mark the test as failing/skipped somehow and ignore those when running tests. Could be as simple as prepending the filename with -skipped. When someone comes along to fix the issue they just remove e.g. filename postfix in the PR to with the fix.

I guess I don't see why that's functionally better than having the original issue open on GitHub with a minimal repro available. You're asking us to add infrastructure to support adding a test whose only purpose is to act as a TODO. The issue is already a TODO in some sense.

While I agree that the open issue can be seen as a TODO, a failing test is a good starting point for someone to come along and fix the issue. If the test succeeds, the issue is fixed.
But I believe we can stop discussing as we will probably never agree on this.

Sure, though I hope you don't think I'm closed off to suggestions in the future. I'm definitely willing to consider these ideas.

No bad feelings. You win some, you loose some ;).


Add placeholder for add new shadow

As a user who is not familiar with shadows and design tokens, if I choose to import my own theme, there is no shadow popular so i have no idea what the format is.
Acceptance criteria:

add a placeholder value for name and value
possible add a sample format subtitle if it looks good

@alexdanilowicz I would like to take it.

@gravityNotWorking go for it! Thanks for jumping in, let us know if you need anything.

Hey @gravityNotWorking! As you're working on this, a better experience might be trying to copy Figma's shadow interface which makes it much more digestible than working with one massive string. The API might be different between a box shadow <> drop shadow, but worth thinking about!

This is duplicated in: https://github.com/Mirrorful/mirrorful/issues/235


⚠ Bofrost.de has degraded performance

In cad933c, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1263 ms

Resolved: Bofrost.de performance has improved in 4b80073 after 16 minutes.


a bug in the code?

thanks a lot for your amazing work! However, as I tried to run the code, it raised the error:
 File "deep_infomax.py", line 107, in build
    self.classifier_c.build(dim_in=conv_units * conv_x * conv_y)
  File "XXX/.local/lib/python3.6/site-packages/cortex/_lib/models.py", line 186, in wrapped
    return fn(*args, **kwargs)
File "XXX/.local/lib/python3.6/site-packages/cortex/built_ins/models/classifier.py", line 35, in build
    classifier = FullyConnectedNet(dim_in, dim_out=dim_l, **classifier_args)
TypeError: type object argument after ** must be a mapping, not NoneType

I didn't change anything neither in cortex nor in DIM; since I couldn't find the __init__ in class SimpleClassifier, I have no idea about how to fix the bug. Would you mind checking that?

Give me a day or two: the backend changed I need to update.

(this will be accompanied by a number of features in the TODO)

Good to hear!

Sorry for the delay! I'm still working on putting out a solid next release. For those who are still experiencing problems, please revert to an earlier version of cortex until I get this finally pushed out.

I've pushed a lot of changes. Things should work now, and there are more features.
https://github.com/rdevon/DIM/commit/e6622e1de4dc9e15ab4fbb8f72ad495a813e780e
Let me know if your problems in this issue are fixed.


map_overlap with multiple dask dataframes

Hi,
I tried to use dask.dataframe.rolling.map_overlap function with multiple dask dataframes. I was expecting the same behavior as map_partitions but unlike map_partitions, only the first dask dataframe is materialized at execution time (https://docs.dask.org/en/latest/generated/dask.dataframe.rolling.map_overlap.html).
I would like to know if we could have the same behavior on map_overlap ?
As an example, I would like to write:
ddf1 = dask.dataframe.from_pandas(...)
ddf2 = dask.dataframe.from_pandas(...)

def diff(dd1, dd2):
	return dd1 - dd2

dask.dataframe.rolling.map_overlap(diff, ddf1, ddf2, before=5, after=5)

What do you think about it ?
Any ideas to address this kind of issues are welcomed :)
Thanks for your help,
Fabien

@faulaire Welcome to Dask, and thanks for reporting this! It does look like using multiple DataFrames isn't implemented in map_overlap, but it might be a reasonable case to support.
One non-ideal workaround for simple operations could be to convert the DataFrames to Dask Arrays, and use da.map_overlap which does allow for multiple Arrays. I'll keep looking into this!

Hi @pavithraes , ok, thanks for your answer.
I already started to implement the support for multiple dataframes on my side. I need some times to tests all cases but I'll raise a pull request before the end of this month.

I already started to implement the support for multiple dataframes on my side. I need some times to tests all cases but I'll raise a pull request before the end of this month.

Thank you! Looking forward to it!

I'd like to change the API for map_overlap function. Because it can now accept multiple dataframes, it should have the same signature as map_partitions:
My proposal is;
def map_overlap(
    func,
    before,
    after,
    *args,
    meta=no_default,
    enforce_metadata=True,
    transform_divisions=True,
    align_dataframes=True,
    **kwargs,
):

What's your opinion about this change ?
Moreover, because I don't want to copy/paste code from map_partitions, is it ok if I create some helper functions from map_partitions code in order to share code to handle meta, partition alignement... ?

Hi,
This pull request (draft) : #9065 implement multi dataframe handling.
Can you please have a look ?
I was not able to materialize arguments passed in kwargs, if someone can help me on this point it would be great.
Thanks

@pavithraes, my fault. I reorganized my forked of dask and remove the existing one for a new one with multiple branches (I'm not a git expert, I'm sure it's possible to do it in a smoother way). I'll raise a new PR soon with some changes. The first one was buggy in distributed mode.

All features of map_partitions are now implemented in map_overlap. But a lot of codes are duplicated between the two files.
I could only keep the part of creating new dask dataframe (with previous and nexts parts) and call a map_partitions with the a collection of modified args.


issue with Credentials File

Hi there,
I'm not sure what I'm doing wrong but keep getting this error,
Error parsing credentials configuration '/Users/garystringham/.ssh/certbot-dns-google.json': Parsing failed with several errors.
First error at line 1.
The command I'm using is
sudo certbot certonly \
--authenticator 'dns-google-domains'
--dns-google-domains-credentials  ~/creds/certbot-dns-google.json
--server 'https://acme-v02.api.letsencrypt.org/directory'
--dns-google-domains-zone 'rebel.camp'
-d  "rebel.camp"
-d  "*.rebel.camp"
And then my credentials
{
"type": "service_account",
"project_id": "XXX",
"private_key_id": "XXXX",
"private_key": "-----BEGIN PRIVATE KEY-----\XXXXX\nAaqY14pbO6mh1L>
"client_email"<EMAIL_ADDRESS>"client_id": "XXX",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/certbot-dns-google%40XX.iam.gserviceaccoun>
}
I've enabled these API's
Cloud DNS API
ACME DNS API
BigQuery API
BigQuery Migration API
BigQuery Storage API
Cloud Datastore API
Cloud Debugger API
Cloud Logging API
Cloud Monitoring API
Cloud SQL
Cloud Storage
Cloud Storage API
Cloud Trace API
Domains RDAP API
Google Cloud APIs
Google Cloud Storage JSON API
Public Certificate Authority API
Service Management API
Service Usage API
System Info
% python -V
Python 3.7.9
%   brew info certbot
==> certbot: stable 2.5.0 (bottled), HEAD
Tool to obtain certs from Let's Encrypt and autoenable HTTPS
https://certbot.eff.org/
/usr/local/Cellar/certbot/2.5.0 (3,170 files, 34MB) *
Poured from bottle using the formulae.brew.sh API on 2023-04-28 at 21:51:54
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/certbot.rb
License: Apache-2.0
==> Dependencies
Build: pkg-config ✘, rust ✘
Required: augeas ✔, cffi ✔, dialog ✔<EMAIL_ADDRESS>✔, pycparser ✔<EMAIL_ADDRESS>✔, six ✔
==> Options
--HEAD
Install HEAD version
==> Analytics
install: 142 (30 days), 9,007 (90 days), 109,417 (365 days)
install-on-request: 143 (30 days), 8,995 (90 days), 109,326 (365 days)
build-error: 1 (30 days)

For others that could be confused, I found another repo that showed the format for the credentials. It's this below and the access token is in Google Domains under security.
dns_google_domains_access_token = abcdef
dns_google_domains_zone = example.com


Conv giving low PCC for YOLOX Dark5 module

For yolox dark5 module, conv4 is giving low pcc. Currently switching back that conv to fallback.
Unit test parameters
Layers:
self.c4 = nn.Conv2d(768, 384, kernel_size=1, stride=1, bias=False)
self.b4 = nn.BatchNorm2d(384, eps=0.001, momentum=0.03, affine=True, track_running_stats=True)
self.silu = nn.SiLU(inplace=True)

Input shape: (1, 768, 20, 20)

We get PCC = 0.09308027049331724, when output of conv3 is stored and passed to the above conv.
To reproduce,
checkout to branch  ankit/yolox_dark5_conv4_unittest
Run below command to generate the inputs for test_dar5_conv4 file.
pytest tests/ttnn/integration_tests/yolox_m/test_ttnn_dark5.py

Then run the below command to test the particular combination of ops,
pytest tests/ttnn/integration_tests/yolox_m/test_dark5_conv4.py

Note: Make sure you have yolox_m.pth file in tests/ttnn/integration_tests/yolox_m/ path.

@ankitmcw and @saichandax please note the mentioned lines to comment don't actually exist:
"uncommennt line 78-80 in models/experimental/functional_yolox_m/reference/dark5.py"
Please double check this issue and update it.

Thank you, @dvartaniansTT for the comments.
I have updated the issue description and the unit test branch.

Unit tests for these dimensions using the new Conv2d API passes. Please port YoloX to the new API following the same format used for Yolov4.


Idea : Add list of 5 top forum questions for each Javascript API in the docs

I think it would be very helpful to have a list of 5 - 10 questions for the Forum for each Javascript API. They would be the most popular or relevant questions, and each API (slidebox, content, action-sheet, etc) would have a list a the bottom of the page.
This would give a quick-link to the most relevant questions, and hopefully get people diving into the Forum a bit more, but also give solutions quickly, and maybe reduce the amount of basic forum questions which have been asked several times.

This is a good suggestion, but seeing as it hasn't been taken up or commented on in a year and a half, I'm going to close it for now.


rc -> master after 2.13.8 release

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

superseded by https://github.com/hydroshare/hydroshare/pull/5466


docs(readme): Melhorar apresentação do projeto, conforme #16

Coverage remained the same at 100.0% when pulling be5553ebecb58c68bb26f84cbc948492f8e11d9f on ftonato:add-new-readme into 8c3d525e6518380ae51332f5923cbf8714a0bbb1 on filipedeschamps:master.


tdesktop: 1.9.21 -> 2.0.0

Motivation for this change
It was usable without any issues so far, but unfortunately there seem to be a few regressions behind the scene. At least some errors are printed to the console.
X11:
error: : cannot open
error: : cannot open
error: : cannot open

Wayland (unfortunately it deterministically segfaults after exiting):
error: : cannot open
error: : cannot open
error: : cannot open
Using the 'xdg-shell' shell integration
Segmentation fault (core dumped)

It's also possible that the first launch on Wayland always results in a frozen telegram-desktop, but at least it works after closing the window and launching it again...
Strace reveals the following:
14322 statx(26, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL,  <unfinished ...>
14316 openat(AT_FDCWD, ".hz", O_RDONLY <unfinished ...>
14338 access("/nix/store/kp60cyq5iig35gzp7l2pr0ilxxa4m919-bash-interactive-4.4-p23/lib/qt-5.12.7/plugins/bearer/.", F_OK <unfinished ...>
14321 <... statx resumed>{stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=4868, ...}) = 0
14316 <... openat resumed>)             = -1 ENOENT (No such file or directory)
14338 <... access resumed>)             = -1 ENOENT (No such file or directory)
14322 <... statx resumed>{stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=51588, ...}) = 0
14316 write(2, "error: : cannot open\n", 21 <unfinished ...>
14338 access("/nix/store/mwfy3ihfydvrjmsimbd2kkr20n9abqsv-patchelf-0.9/lib/qt-5.12.7/plugins/bearer/.", F_OK <unfinished ...>
14321 lseek(25, 4, SEEK_SET <unfinished ...>
14338 <... access resumed>)             = -1 ENOENT (No such file or directory)
14322 lseek(26, 4, SEEK_SET <unfinished ...>
14316 <... write resumed>)              = 21
14321 <... lseek resumed>)              = 4
14322 <... lseek resumed>)              = 4
14316 openat(AT_FDCWD, "", O_RDONLY <unfinished ...>
14321 read(25,  <unfinished ...>
14316 <... openat resumed>)             = -1 ENOENT (No such file or directory)
14338 access("/nix/store/1wb31gzrjw055xl6d3igzj1gnajzlwbk-gcc-wrapper-9.2.0/lib/qt-5.12.7/plugins/bearer/.", F_OK <unfinished ...>
14316 openat(AT_FDCWD, ".hz", O_RDONLY <unfinished ...>
14321 <... read resumed>"\315r-\202\330\206f&\352\367\215\2\20\307\373\263r\223o\324\225\257GL\311n\35\373,sw\212"..., 16384) = 4864
14316 <... openat resumed>)             = -1 ENOENT (No such file or directory)
14338 <... access resumed>)             = -1 ENOENT (No such file or directory)
14316 write(2, "error: : cannot open\n", 21 <unfinished ...>
14321 read(25,  <unfinished ...>
14316 <... write resumed>)              = 21
14338 access("/nix/store/gh9a48qcwzw588vy4w72w93kad0mhhi8-gcc-9.2.0/lib/qt-5.12.7/plugins/bearer/.", F_OK <unfinished ...>
14321 <... read resumed>"", 11520)      = 0
14338 <... access resumed>)             = -1 ENOENT (No such file or directory)
14321 statx(25, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL,  <unfinished ...>
14338 access("/nix/store/c2lx3lsqp0y5kwvwkqma8iihc7xjj1m8-glibc-2.30-bin/lib/qt-5.12.7/plugins/bearer/.", F_OK <unfinished ...>
14316 openat(AT_FDCWD, "", O_RDONLY <unfinished ...>
14321 <... statx resumed>{stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=4868, ...}) = 0
14316 <... openat resumed>)             = -1 ENOENT (No such file or directory)
14338 <... access resumed>)             = -1 ENOENT (No such file or directory)
14316 openat(AT_FDCWD, ".hz", O_RDONLY <unfinished ...>
14321 futex(0x357d674, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
14316 <... openat resumed>)             = -1 ENOENT (No such file or directory)
14338 access("/nix/store/hzvl3dvv8651iqlb5g6gq5hzjzmhjn7m-coreutils-8.31/lib/qt-5.12.7/plugins/bearer/.", F_OK <unfinished ...>
14321 <... futex resumed>)              = 1
14320 <... futex resumed>)              = 0
14316 write(2, "error: : cannot open\n", 21 <unfinished ...>
14338 <... access resumed>)             = -1 ENOENT (No such file or directory)

Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

There is already 2.0.1 release.
@primeos can you please update PR to newert version ?

tested on xorg without any problem.

@primeos Maybe squash it to a single commit? Also - the PR's title..

Version 2.0.1 works well on xorg but still produces three lines of error: : cannot open in stdout after entering my local password.

I got these error: : cannot open errors on Xorg and AwesomeWM with 2.0.0.

Sorry for my delayed response, I was a bit low on time.
Thanks for the testing and feedback :)
The Wayland support is unfortunately degrading, but it should still be usable enough and there where also similar problems in the past - I guess it should be ok for now, but I've opened https://github.com/telegramdesktop/tdesktop/issues/7547 to at least document these regressions.


Reach out to Academia Contacts

Following ticket #87 of identifying academia contacts, this ticket captures outreach of academia.
Acceptance Criteria:

[x] Draft outreach email
[x] Send email to identified academia contacts

Thank you @jaimiebutton!


State is not correctly set on application startup

When starting the app in a certain start and press refresh, then the router store does not get correctly initialized. It seems that $locationChangeSuccess fires before the $state object is set correctly. It always get initialized in the root state which is not correct.
I will try to get the error reproduced with your example.

Ok it is also in your example (if you can get it running cause of all the missing dependencies). Simply go to http://localhost:3000 and look at the currentState everything is fine. Then refresh the page. You land in the root state instead of the app state.

@mlegenhausen https://github.com/neilff/redux-ui-router/issues/17 is dealing with a similar issue, but looks like there are issues with the initial state. I'll try to take a look into alternative methods of grabbing the initial state. $urlRouter.syncdoesn't seem to be working.

@mlegenhausen I've updated master with a fix for this issue, I'll push a build later today with the fix onto NPM

Thanks :)

Fix is now published on npm v0.4.1

Your release is broken. The whole lib folder is missing.

@mlegenhausen should be fixed now under 0.4.2 sorry about that

Should be OK in 0.4.2

Thanks again ;)


Fix stripe client endpoint

Hey @yankai14 and @chanbakjsd, looks like db mocks & fixtures are causing some tests to fail. I've skipped those tests for now


[feature request]: Wi-Fi Loader CSS Animation

Is your feature request related to a problem? Please describe.
No matter how creative you make, When the internet buffers and a loader component pops up, Its always frustrating.
Still, I wish to add a loader with animated Wi-Fi style.
Describe the solution you'd like
A Loader Component using HTML & CSS with animation like Wi-Fi (Network Signal Empty, Then Poor and in increasing order which leads to full signal finally).
Describe alternatives you've considered
N/A
Additional context
Final outcome will look something like this (animated of course).

It would be great if you would assign me to this and I can start working as soon as possible.
Thank You! 😊

Go for it🎊🎊🎊🎊🎊🎊🎊

Hey @siddhi-244, made a PR #113 where I have done the necessary changes.
Have a look!


App creates new slot almost right after creating manual slot

when i create a manual slot the app then starts a new slot after that usually.  eg. i sit down, open the app, create a manual entry for work and put down the phone. i'd then expect the app to keep tracking that entry but instead most often it creates a new blank empty right after that (i assume since it notices i stopped moving around) so whenever i create a manual entry it's a 0min entry followed immediately by an uncategorized one that's the actual time i spent there.

This sounds like intended behaviour. I haven't heard anything about treating cases like this especially. How do you propose we address this?

i have an idea. if the last timeslot before creating a timeline was set by user and the activity tag is the same, than use that category for the new slot (if not smartguessed already)

Could work, but I think it should take time into consideration as well. Or maybe only use time? If it's been only 30 seconds since the start of the slot, there is no point in creating a new one. Not sure what a reasonable limit is though.

a simpler approach would be to just discard the first timeslot that is created from the algo

Under all circumstances?

i see 2 paths.

you open the app and do nothing and close it.
you open the app and add a slot manually.
in both cases when you open the app later the first timeslot most likely is what the previews last slot was.

i have an idea. if the last timeslot before creating a timeline was set by user and the activity tag is the same, than use that category for the new slot (if not smartguessed already)

By activity tag you mean these 'still', 'walk' etc? If so I think it makes sense.

I can't reproduce this with the current debug build. I moved around the house, then sat back and created a work TS, after 5 minutes it's still there... Does it still happen to you? Can you attach screenshots?

Never mind, I've just seen it happen, it took a little longer than I expected. Let me think of a fix.


Add required OpenShift manual installation steps

After https://github.com/rabbitmq/cluster-operator/pull/303 was merged, the steps in this PR are the only manual steps required for running the cluster operator on OpenShift.

Thank you!


Vector Store Toolkit Issue - not recognizing custom llm component

I am using a Custom LLM Component which makes a API call to my model loaded using Llama-cpp
The Vector Store Agent is working fine, but when i am trying to use Agent Intializer and passing Vector Store Toolkit and Custom LLM Component as input, I am getting the below error
Error building node VectorStoreToolkit(ID:VectorStoreToolkit-VYE95): 1 validation error for OpenAI
root
Did not find openai_api_key, please add an environment variable OPENAI_API_KEY which contains it, or pass openai_api_key as a named parameter. (type=value_error)
note:- i am not using openai model here

Hi @sampratha28
What type of agent are you selecting? The openai-functions requires the openai models.

hi @ogabrielluiz , i tried zero-shot-react-description, conversational-react-desription.
Both are giving the same error
langflow version i am using is 0.6.3


Adding checkpoint package version control

In the following pull request, I propose the following changes:

Change
File
Comments

M
INSTALL.R
moving to checkpoint package version control

M
run_pipeline.sh
renamed from ANALYSIS.sh - changed to using Rscript command

M
.gitignore
ignoring checkpoint folder

M
README.md
convert to proper markdown style

This is an example pull request with minor changes. Ideally, a pull request will tackle a single update. Technically, in this pull request the major change is moving to checkpoint version control for R scripts. A minor update is updating the README.md text.
Ideally, we would also like to move this repo to Christensen Lab Organization and transition this specific repo (under gwaygenomics) to a fork of the Christensen Lab. I have left this specific task as a future issue to tackle (see #1)

Tagging @Kcjohnson and @Christensen-Lab-Dartmouth to review the pull request

Also tagging @AlexanderTitus for review

All looks good for now.


Possibility of direct vault economy course rewarding.

If vault is enabled, would it be possible to have an economy payout as a prize type? Currently limited to material, command, and xp.

Please find the "/pa economy" command, this allows you to set a fee for joining a course, as well as a prize amount for completing a course. You're right in that this isn't documented, so I will consider adding as a prize option.

That works, thanks!


missing callback() in l10n.js

In https://github.com/mozilla/pdf.js/blob/master/external/webL10n/l10n.js#L322 there probably should be callback() or else the promise await this._initializeL10n(); in https://github.com/mozilla/pdf.js/blob/master/web/app.js#L269 is never resolved if this particular code path is taken (happened to me while developing a slightly custom viewer).

When opening an issue, please provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md; please also see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.

When opening an issue, please provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md; please also see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.

First of all, when opening an issue, please remember to always provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md
Secondly, that file originates from the https://github.com/fabi1cazenave/webL10n project, and for all intents and purposes the upstream file has the same behaviour as far as I can tell: https://github.com/fabi1cazenave/webL10n/blob/4e33df19d9755d982102c7c70746a42159094a32/l10n.js#L339-L341

First of all, when opening an issue, please remember to always provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md
Secondly, that file originates from the https://github.com/fabi1cazenave/webL10n project, and for all intents and purposes the upstream file has the same behaviour as far as I can tell: https://github.com/fabi1cazenave/webL10n/blob/4e33df19d9755d982102c7c70746a42159094a32/l10n.js#L339-L341

Yes, if this is in fact a problem it should be addressed upstream, or time should be invested into #10075.

Yes, if this is in fact a problem it should be addressed upstream, or time should be invested into #10075.


Do you have example work with addAudioFrame function?

Can you please provide a sample work with addAudioFrame function?

Sorry I don't have time to add more samples currently, but the idea is to either add small chunks of audio by using that or a big one, like an audio track, at the beginning. If its an audio track, the ANE will try to chop it internally and feed it together with video frames.
You can kind of find a "sample" of the code in the AS3 ANE wrapper itself, where addAudioFrame is used internally to record microphone:

  // take the audio samples from microphone and add them into myEncoder
  private function sndDataMic(event:SampleDataEvent):void {

//			ExternalInterface.call("console.log", "Microphone rate when not testing: " + microphone.rate);
if (event.data.bytesAvailable > 0)
{
while(event.data.bytesAvailable > 0)
{
samplesMic.writeFloat(event.data.readFloat());
}
}
if (samplesMic.length >= 8192) {
samplesMic.position = 0;
addAudioFrame(samplesMic);
samplesMic.length = 0;
}
}


Dealing with missing values

Sometime a field in the EPW might have missing values.
Those are mostly marked as 9999.
We should add a way of dealing with this as it might lead to confusing results as per the image below

I solved the problem by not displaying the chart and instead by displaying an alert. The method I used is not so elegant since I used the current code structure.
def update_tab_yearly(var, global_local, df, meta):
    """Update the contents of tab size. Passing in the info from the dropdown and the general info."""
    df = pd.read_json(df, orient="split")
    if df[var].mean() == 99990.0:
        return dbc.Alert(
            """The selected variable is not available,
            the Clima tool could not generate the yearly plot""",
            color="warning",
            className="m-4",
        )
    else:
        return dcc.Graph(
            config=generate_chart_name("data_explorer", meta),
            figure=yearly_profile(df, var, global_local),
        )

A more elegant and better way would be to include in the dropdown list only the variables that are not null (i.e. do not have 99990 values in them). Currently, the dropdown is defined in a static way.

I am closing this as it is good enough for now -and maybe forever ;)


Create Backup guide

See #7.
For backup for Pi-hole at least, in the GUI you can go to Settings > Teleporter and click 'Backup'. To automate it through the console, you can run pihole -a -t (can I integrate it with something like my geerlingguy.backup role?).
If I run docker-compose exec pihole /bin/bash pihole -a -t it exports a file inside the container. docker-compose cp is not a supported command yet (see https://github.com/docker/compose/issues/3593), so will have to figure out the best way of scripting this... maybe something like:

Create a /backup directory inside the container (mkdir -p /backup).
Run the pihole -a -t command inside the /backup directory.
Cat the contents of /backup/[latest-file-with-extension].tar.gz and pipe them to file on host.
Delete contents of /backup directory (rm -rf /backup/*).

It would be convenient for the pihole -a -t command to have an option to output the archive to shell instead of into a file, that would save the whole file-based annoying process.

I would also like to make it so you could backup the Prometheus data as well, from the configured Docker volume.

You could mount that /backup folder as a volume in your docker compose, so the host has access to the files there without needing your step 3.
Your script could docker-compose exec pihole -a -t into the /backup volume mounted and then you can rsync it off somewhere or whatever other backup method that you want.

Another simple example, is just to store all data that you want to easily backup into a volume, and then you can easily script the export of those volumes through another temporary container that you spin up just for the purposes of data-exporting.
https://docs.docker.com/storage/volumes/#backup-restore-or-migrate-data-volumes

Another way would be to map all volumes you want to backup to your host and then use a dedicated backup client container like duplicati
https://hub.docker.com/r/duplicati/duplicati/
to manage your backup.

I have been testing Duplicati and it's really good solution. I think this could be a good fit for this project as well. Could please anyone point me out which folder from "internet-monitor" I should included into the backup? Some of them seem not to be saved local.
e.g.:
prom/blackbox-exporter is saved here:
volumes:
- ./blackbox/config:/config
However,  nodeexp is here:
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
Thank you!

@geerlingguy it looks like Prometheus has the ability to create snapshots for backup but you need the admin api enabled https://prometheus.io/docs/prometheus/latest/querying/api/.  How can we do that through the configuration?
Was using this to back up grafana to s3 https://github.com/ysde/grafana-backup-tool, just need the data now to complete it i think.


Error message details?

Would be good to see some details on possible error messages this API returns.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: dc58af9c-d9b8-5ed0-6117-2db7a1d425de
Version Independent ID: 7cc8696c-5946-0414-b5be-c7561d0e31b5
Content: Create a new subscription
Content Source: docs/apis/webhooks/lists/create-subscription.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Currently, there is no detailed sample error message in documentation.
I suggest you could use Fiddler to see detailed error message returned:
Fiddler


Remove version: Jackett.Jackett version 0.20.4132

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.20.4132/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)


Something wrong with my client

After re-downloading my client again, i notice when i hovered over the side bar where all the icons are, that it is all black on the side and when i hover over them and after i move my mouse away they disappear. I tried re-downloading it several times but it keeps happening, is there a way i can fix this issue? Let me know if i need to explain it better if need be.
Kind regards,
ShadySus

https://github.com/runelite/runelite/wiki/Disable-Hardware-Acceleration


scanutils.cpp: include sys/types.h

Include sys/types.h (if available) to avoid the following build failure:
scanutils.cpp: In function 'int tvfscanf(FILE*, const char*, va_list)':
scanutils.cpp:217:3: error: 'off_t' was not declared in this scope
off_t start_off = ftell(stream)
Fixes:

http://autobuild.buildroot.org/results/bdfbafa105ddf0b9b9399d94b557d318ad587d79

Signed-off-by: Fabrice Fontaine<EMAIL_ADDRESS>

What is your OS and compiller version?

There is in easier solution: replace off_t by long – now done in Git master.


Float to int

Fixes #82
This PR introduces the float->int operator, and along the way adds a missing test for int->float.

@YassineE :up:


Is franka_ros available in Noetic?

Hi all,
I'd like to confirm that if franka_ros in Noetic (the noetic-devel branch) has been released with the full functionalities likes the ones in Kinetic and Melodic. Because I prefer to use Noetic but before reinstalling Ubuntu from 18 to 20, I would like to know this question.
If not, which functions could not be used?
All the best,
Bourne

Hi,
franka_ros is not yet fully released for Noetic. See here for more information.

Hi,
franka_ros is not yet fully released for Noetic. See here for more information.

Hi @sgabl ,
Huge thanks for your kind reply!!! In here it said:

Not releasing 'franka_ros' and 'franka_example_controllers' for now because they are depending on MoveIt, which is not packaged yet.
Cc @davetcoleman, frankaemika/franka_ros#104

But if I understand things correctly, Moveit in Noetic has been released. And this issue 104 has been closed. So I'm not sure why franka_ros is still not fully released. Could you please help to clarify it?
And if I don't plan to use franka_ros via moveit, is it possible to use the franka_ros directly with full functionalities?

Hi @sgabl ,
Huge thanks for your kind reply!!! In here it said:

Not releasing 'franka_ros' and 'franka_example_controllers' for now because they are depending on MoveIt, which is not packaged yet.
Cc @davetcoleman, frankaemika/franka_ros#104

But if I understand things correctly, Moveit in Noetic has been released. And this issue 104 has been closed. So I'm not sure why franka_ros is still not fully released. Could you please help to clarify it?
And if I don't plan to use franka_ros via moveit, is it possible to use the franka_ros directly with full functionalities?

Hi,
only the meta-package franka_ros and the franka_example_controllers which both depend on the (not yet released) panda_moveit_config are not yet available.
The others like franka_hw and franka_description are already available in the ROS repos!

Hi,
only the meta-package franka_ros and the franka_example_controllers which both depend on the (not yet released) panda_moveit_config are not yet available.
The others like franka_hw and franka_description are already available in the ROS repos!

Hi @sgabl ,
Thanks so much for your time Simon!
Actually why I thought the franka_ros in Noetic is fully released is because in here it's just labeled with developed and released (just look the same as the page of Melodic in the ros index website). And in the Readme file there is no clue that franka_ros in Noetic is not fully released yet. It might be kinda misleading.

Hi @sgabl ,
Thanks so much for your time Simon!
Actually why I thought the franka_ros in Noetic is fully released is because in here it's just labeled with developed and released (just look the same as the page of Melodic in the ros index website). And in the Readme file there is no clue that franka_ros in Noetic is not fully released yet. It might be kinda misleading.


Symfony 4 not loading Class

So I have problem, trying to implement this library into the symfony, it is installed with composer but i get error

Attempted to load class "Google_Client" from the global namespace.
Did you forget a "use" statement?

     public function googleContacts(Request $request) {         $client = new \Google_Client();         $client->setApplicationName("Client_Library_Examples");         $client->setDeveloperKey("AIzaSyDG5p4vkOTSCKtnhqn77127L4Ww589TLBM");         return true;     }

Hi @mechemsi, how did you fix that issue?


Is it possible to adjust cost function by input data  during training process?

Thanks a lot for your shares.
In my works, the cost function needed to change with the output of the network during the training process. Just like this:
tau = 0.1
add1 = 0
add2 = 0
for k in range(len(Target)):
{
add = Output(k) - Target(k)
if add > 0:
{add1 = add1 + add}
else:
{add2 = add2 - add}
}
loss = tau * add1 + (1-tau) * add2
Target is my feeding label, and the Output is the output of the network.
In tensorflow, we have to build the graph at first, then use sess.run() to trigger it. I read the introduction of your works, and in my understanding, it can help us to update the graph by different input shapes. So,   it is possible to achieve my "weird" loss function?
Formula (6) in this paper may express the loss function more clearly.

The fold library can't look at intermediate tensor values when making
control-flow decisions, so it's not the right choice.  However, TensorFlow
itself has conditionals -- tf.cond, that should do what you want.
On Wed, May 10, 2017 at 4:42 AM, Expjwt<EMAIL_ADDRESS>wrote:

Thanks a lot for your shares.
In my works, the cost function needed to change with the output of the
network during the training process. Just like this:
tau = 0.1 add1 = 0 add2 = 0 for k in range(len(Target)): add = Output(k) -
Target(k) if add > 0: add1 = add1 + add else: add2 = add2 - add loss = tau

add1 + (1-tau) * add2
Target is my feeding label, and the Output is the output of the
network.

In tensorflow, we have to build the graph at first, then use sess.run() to
trigger it. I read the introduction of your works, and in my understanding,
it can help us to update the graph by different input shapes. So, it is
possible to achieve my "weird" loss function?
Formula (6) in this paper
http://www.m-finance.net/hfe/A Quantile Regression Neural Network Approach to Estimating the Conditional Density of Multiperiod Returns.pdf
may express the loss function more clearly.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/fold/issues/60, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGGbTbGyiF4JXZvZlFnz_6TPWlv62v-Dks5r4aKQgaJpZM4NWiwR
.

--
DeLesley Hutchins | Software Engineer |<EMAIL_ADDRESS>|<PHONE_NUMBER>

Thank you so much for helping me!


std.file: Clarify documentation of mkdirRecurse when target exists

As verified by the unittest below.

Auto-merge toggled on


Create factorial.py

I would be more than happy to accept your contributions if they are relevant to this repository.
Kindly send PR for programs related to Data Science or check out my other repositories and if you find them interesting them feel free to contribute to them.


Add support for SCHISM wave model

The SCHISM model is supposed to work with both sflux and parametric wind models. It would be useful to have the ability to set it up from here while we're waiting for SCHISM NEMS coupling to be fully implemented.

Since right now pyschism doesn't support this feature, we can create an extensions module within coupledmodeldriver and add packages extensions for pyschism, adcircpy, etc. there so that from our standpoint feature is available, and later push these extensions to the respective repositories. e.g. extend pyschism to add WWM support in the extensions module and later prepare that code to be pushed into actual pyschism repo

Since the final goal is full coupling using ESMF or NEMS, for now the ondemand workflow will just hardcode adding WWM model


Simplify complexity of removeAll/retainAll/containsAll in List/Stream/Vector

Doing a contains on
final List<T> removed = List.ofAll(elements).distinct();

is linear (O(n)), changing it simply to
final Set<T> removed = HashSet.ofAll(elements);

would simplify it to constat time (O(1)).
Should be investigated for the whole codebase.

Nice! Also the removed.contains(element) with be O(log n) instead of O(n) then.


Provider gets evaluated twice with configuration cache enabled

A Gradle Task with some field of type Provider<*> get evaluated twice if Configuration Cache is enabled.
Expected Behavior
Provider gets evaluated only once.
Context
I want to delay the time-expensive evaluation of some data. Either during task execution (when configuration cache isn't enabled)
or capture it in configuration cache and then reuse cached value during execution.
Steps to Reproduce
// build.gradle.kts
abstract class MyTask : DefaultTask() {
    private val prop = project.provider {
        println("Expensive data calculation")
        "data"
    }

    @TaskAction
    fun action() {
        println("Results: ${prop.get()}")
    }
}

val myTask by tasks.registering(MyTask::class)

Executing this task for the first time shows that prop gets evaluated twice: during configuration phase and execution phase
$ ./gradlew myTask  --configuration-cache --rerun-tasks
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: myTask
Expensive data calculation

> Task :myTask
Expensive data calculation
Results: data

Executing this task second time shows that prop is recovered from cache and thus no evaluation happened.
$ ./gradlew myTask  --configuration-cache --rerun-tasks
Configuration cache is an incubating feature.
Reusing configuration cache.

> Task :myTask
Results: data

Workaround
Kotlin lazy delegate works as expected. Although gradle configuration cache got a bit polluted with internal state of Lazy.
abstract class MyTask : DefaultTask() {
    private val prop by lazy {
        println("Expensive data calculation")
        "data"
    }

    @TaskAction
    fun action() {
        println("Results: $prop")
    }
}

val myTask by tasks.registering(MyTask::class)

1st execution:
$ ./gradlew myTask  --configuration-cache --rerun-tasks
Configuration cache is an incubating feature.
Calculating task graph as configuration cache cannot be reused because file 'build.gradle.kts' has changed.
Expensive data calculation

> Task :myTask
Results: data

2nd execution:
$ ./gradlew myTask  --configuration-cache --rerun-tasks
Configuration cache is an incubating feature.
Reusing configuration cache.

> Task :myTask
Results: data

Environment
Gradle 7.4.2

One major limitation is that I can't use project inside project.provider {}.
abstract class MyTask : DefaultTask() {
    private val prop by lazy { project.scrapData() }
    /* ... */
}

This task would fail in the strict mode because project inside lambda is accessed during execution due to the original bug of double evaluation.

A provider is calculated each time its value is requested, that is by design afaik.
But you can relatively easy produce a cached provider that is only calculated lazily once:
inline fun <reified T> cachedProvider(crossinline block: () -> T): Provider<T> =
    objects
        .property<T>()
        .value(provider { block() })
        .apply {
            disallowChanges()
            finalizeValueOnRead()
        }

Fixed by #21985


Fix compiler warning with clang-13.0

Fix clang warning  CodeGenExampleTargetHook::VisitExpr_' hides overloaded virtual functions
and weird self assignment warning in set_name of some registry classes.

Thank you so much @wrongtest for the fix!


Version
6.6.4
What platforms are you having the problem on?
Android
System Version
Sonoma 14.6.1
On what device are you experiencing the issue?
Real device, Simulator
Architecture
Old architecture
What happened?
I can't compile, I have this problem
android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:67: error: package com.brentvatne.react.test does not exist
import com.brentvatne.react.test.ReactVideoPackage;
"react-native": "0.70.15"
Reproduction Link
repository link
Reproduction
Step to reproduce this bug are:

Can you try remove node_modules and android cache and try again? I saw it once but then it resolve by it self ...

Can you try remove node_modules and android cache and try again? I saw it once but then it resolve by it self ...

yes, I have removed everything, installed again and the error remains. I have tried many things, but what I have managed to detect is that the problem is the test class, but I don't know how to solve it.

duplicate of https://github.com/TheWidlarzGroup/react-native-video/issues/4170
BTW, we need a sample to understand and fix the issue

I think the issue was on the generated package list.. It imported the react-native-video as  import com.brentvatne.react.test.ReactVideoPackage; instead of import com.brentvatne.react.ReactVideoPackage;


Review index_id (MongoDB's index name) creation

Review the creation of the MongoDB's index name
Branch
https://github.com/singnet/das-atom-db/tree/fix/issue-297-review-index-name

Done https://github.com/singnet/das-query-engine/pull/291


Some repos are missing in global and org code search

Description
I have one odd issue with code search where results from some repos do not show up in the global code search or the organization code search. The user is member of the default Owners team of two repos, let's call them org1/repo1 and org2/repo2.

Both repos are private
Both orgs are private
Both repos have the exact same settings in the UI
Both repos contain string query in one of their files

/org1/repo1/search?q=query shows results
/org2/repo2/search?q=query shows results
/org1/-/code?q=query shows results
/org2/-/code?q=query show NO results
/explore/code?q=query shows NO results from repo2, only from repo1

Giving the user admin permission fixes the issue
Adding the user to repo2 as collaborator fixes the issue
Switching repo2 to public access fixes the issue
Switching org2 to public access has no effect

There is probably still some difference in these repos in the database, but I'm not sure what to look at. Any pointers appreciated on what to look for.
Gitea Version
1.19.0+rc1-37-g0a0f46f29
Can you reproduce the bug on the Gitea demo site?
No
Database
MySQL

I have narrowed it down to the following SQL query:
SELECT name from repository where id in (
  SELECT repo_id FROM team_repo
     INNER JOIN team_user ON `team_user`.team_id = `team_repo`.team_id
     INNER JOIN team_unit ON `team_unit`.team_id = `team_repo`.team_id
     WHERE `team_user`.uid=168
       AND `team_unit`.`type`=1
       AND `team_unit`.`access_mode`>0
)
```

It seems the ``team_unit`.`access_mode`>0` is the failing one, if I remove it, I get the missing repo to show up.

So I fixed the affected teams with this SQL:
update team_unit set access_mode = 4 where id in (
  select id from (
    select team_unit.id from team_unit
      inner join team on team_unit.team_id = team.id
      where name = "Owners" and team_unit.access_mode = 0
  ) as _
)

Creating a new org seems again create Owner teams with team_unit.access_mode=0, so I think there is a bug in latest code that creates these "broken" teams. After creating a new org, I again see a broken team with this query:
select distinct(team.id) from team_unit
  inner join team on team_unit.team_id = team.id
  where name = "Owners" and team_unit.access_mode = 0;
```

Reproduces locally as well. Just create a new org and check the access_mode via SQL:
localhost> select distinct(team.id) from team_unit inner join team on team_unit.team_id = team.id where name = "Owners" and team_unit.access_mode = 0;
+----+
| id |
+----+
|  4 |
+----+
1 row in set (0.001 sec)

Fixed by https://github.com/go-gitea/gitea/pull/23675


Add simple black and white posters

In their own subdirectory in the posters directory. Short readme file included describing what's included, how they were created, and how they may be edited.
Note: the content of these posters is directly lifted from the userguide section on merge and concatenate.

@dkillick I have made a PR to dkillick:posters_bw with changes, incl.:

Adding title to images
Adding border to images
Remove truncation of numbers

Ping me if you need a merge on this.


Uncontrollable shaking in mobile browsers

On Display the stereoscopic panorama side-by-side.
http://www.marzipano.net/demos/side-by-side/index.html
He is shaking wildly on mobile devices, I tested on three Moto G4, Moto G5 and Moto G6 machines all with gyroscopes.
But it's shaking in almost every browser tested Chrome, Chrome Canary, Edge. in Firefox nothing happens and the Samsung browser works normally.
Is it any incompatibility with new versions of mobile browsers or some configuration problem?

Since the side-by-side demo doesn't have gyroscope support built in, I'm assuming this occurs on a modified version of the demo.
Does the device-orientation demo have the same problem on that device?

Hello,
http://www.marzipano.net/demos/device-orientation/index.html
The above guidance demonstration works normally on the above devices, as I assume that it also uses the gyroscope and the accelerometer to determine the position of the device.
But side by side does not work properly, it is shaking, as the utility of the screen being divided (side by side) is only to see in a cardboard, or vr glasses, it turns out that the resource below is useless, since it is impossible to see something of this way.
http://www.marzipano.net/demos/side-by-side/index.html
Unless you have any updates. The Samsung Internet browser is the only one that still supports this script, but for what time we do not know.

Hi all!
Any news about this bug ? I have the same problem on many devices. The gyroscope works perfectly on "single" view, but when I switch on "VR" mode it starts shaking.
Please check it out the demo video.
demo_video.zip

@peppemas Can you provide the source code for a full example? I don't see what would cause the gyroscope controls to work in the single view version, but not in the side-by-side one.

@tjgq hi! Just try this:
http://www.marzipano.net/demos/webvr/index.html
On devices like Honor View 10 you can see the problem. Actually I think it's not a gyroscope hardware problem because with the single view example it works and also with my own native opengl app I have no problems. It could be the webVR API.

Okay, so the problem is with the webvr demo. (Neither the side-by-side nor the device-orientation demos use WebVR. The side-by-side demo doesn't use the orientation sensor at all, and the device-orientation demo uses the DeviceOrientation API, which is separate from WebVR.)
The WebVR demo doesn't process the sensor orientation in any way - it just feeds it directly into the view. So, at first glance, this problem should also affect every other WebVR app (unless it somehow filters the sensor orientation to make it less noisy). Can you confirm that only the Marzipano WebVR demo is affected?
It's also worth noting that the demo uses an outdated version of the WebVR API (#103). This may be fixable by migrating to the latest version of the spec, but I haven't tried since I don't have a VR device to test with.

Hi @tjgq
I'm not sure that the problem is completely to be assigned to WebVR API. I just try this:
With Android Chrome (version 72.0.3626.105):

I enabled the webVR (chrome://flags#enable-webvr)
Launched the 360 Panorama Example on webvr samples and it works.

The example use a different approach on getting projection matrix check it out there:
https://github.com/toji/webvr.info/blob/c45c0250baac10ec08749d8ebc15e71501bd76c7/samples/XX-360-panorama.html#L257-L262

Thanks for the pointers. I've updated the WebVR demo to work with the latest spec, and tested it on a Google Cardboard.
Please reopen if it still doesn't work with other WebVR displays.


500 Server Error: Internal Server Error for url: /api/v1/preserveservice/preserve

Hello,
We are currently testing the train ticket system using Locust. As the number of concurrent users increases, the system begins to return errors. One of the recurring errors is:
500 Server Error: Internal Server Error for url: /api/v1/preserveservice/preserve
This error is logged in locustfile.log.
We would like to investigate the services involved in this functionality, but the current logging strategy is unclear. Could you provide guidance on how to improve or configure logging to better diagnose this issue?
Thank you,
Helena Rodrigues

Please attach your locustfile.log, and your locust script to investigate

Hello, thanks for you reply.
I am attaching the files.
Thank you,
Helena Rodrigues
locustfile.log
locustfilepy.txt

Sorry for the late reply, could you further display the log of the preserve service?
You can get the log by executing kubectl logs -f -n ts ts-preserve-service-775b958485-8c96r.
There could be some information which shows some clues. It is possible to be some intermediate service error that returns a null pointer, and the preserve service read the null pointer.

Hello,
thank you for tour reply.
I am attaching the preserve service log file (the test was repeat with same locustfile script).
Helena Rodrigues
ts-preserve-service-5c757fcdc5-bprqw.log.zip


fixed the https jwt test issues

The major issue was with the networking, istiod tries to fetch the public key from jwsuri when the containers are not ready to serve though it shows the status running using kubectl command, but it is not ready in real. So following is the solution for that -

Increased the number of retries in istiod when it tries to fetch public key from jwksuri - The number is set after rigorous testing and it is the least possible retry number we can select.

Added readiness probe for making the process better.

@aryan16: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
5a42b93c754bf1ded6db266367d7d65589d204f1
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
97188e986f203507388954bf79b0c1af370e0432
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
4f79dff4456e68970b10c9e56e8c00d860b1fa67
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
4f79dff4456e68970b10c9e56e8c00d860b1fa67
link
true
/test unit-tests_istio

integ-distroless_istio
4f79dff4456e68970b10c9e56e8c00d860b1fa67
link
true
/test integ-distroless_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
4f79dff4456e68970b10c9e56e8c00d860b1fa67
link
true
/test unit-tests_istio

integ-distroless_istio
4f79dff4456e68970b10c9e56e8c00d860b1fa67
link
true
/test integ-distroless_istio

integ-pilot-istiodremote_istio
4f79dff4456e68970b10c9e56e8c00d860b1fa67
link
true
/test integ-pilot-istiodremote_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-distroless_istio
4f79dff4456e68970b10c9e56e8c00d860b1fa67
link
true
/test integ-distroless_istio

integ-pilot-istiodremote_istio
4f79dff4456e68970b10c9e56e8c00d860b1fa67
link
true
/test integ-pilot-istiodremote_istio

unit-tests_istio
5b29b66a3b258281601997a196c06633fd9134a1
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
5b29b66a3b258281601997a196c06633fd9134a1
link
true
/test unit-tests_istio

integ-security-istiodremote_istio
5b29b66a3b258281601997a196c06633fd9134a1
link
true
/test integ-security-istiodremote_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
5b29b66a3b258281601997a196c06633fd9134a1
link
true
/test unit-tests_istio

integ-security-istiodremote_istio
5b29b66a3b258281601997a196c06633fd9134a1
link
true
/test integ-security-istiodremote_istio

integ-security-multicluster_istio
5b29b66a3b258281601997a196c06633fd9134a1
link
true
/test integ-security-multicluster_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
5b29b66a3b258281601997a196c06633fd9134a1
link
true
/test integ-security-istiodremote_istio

integ-security-multicluster_istio
5b29b66a3b258281601997a196c06633fd9134a1
link
true
/test integ-security-multicluster_istio

unit-tests_istio
d9c0e6b4cb990dd0917f3eb0c79281bb6cdc6553
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
5b29b66a3b258281601997a196c06633fd9134a1
link
true
/test integ-security-istiodremote_istio

integ-security-multicluster_istio
5b29b66a3b258281601997a196c06633fd9134a1
link
true
/test integ-security-multicluster_istio

unit-tests_istio
d9c0e6b4cb990dd0917f3eb0c79281bb6cdc6553
link
true
/test unit-tests_istio

lint_istio
d9c0e6b4cb990dd0917f3eb0c79281bb6cdc6553
link
true
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
5b29b66a3b258281601997a196c06633fd9134a1
link
true
/test integ-security-istiodremote_istio

integ-security-multicluster_istio
5b29b66a3b258281601997a196c06633fd9134a1
link
true
/test integ-security-multicluster_istio

unit-tests_istio
d9c0e6b4cb990dd0917f3eb0c79281bb6cdc6553
link
true
/test unit-tests_istio

lint_istio
d9c0e6b4cb990dd0917f3eb0c79281bb6cdc6553
link
true
/test lint_istio

gencheck_istio
d9c0e6b4cb990dd0917f3eb0c79281bb6cdc6553
link
true
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
d9c0e6b4cb990dd0917f3eb0c79281bb6cdc6553
link
true
/test unit-tests_istio

gencheck_istio
d9c0e6b4cb990dd0917f3eb0c79281bb6cdc6553
link
true
/test gencheck_istio

integ-security-istiodremote_istio
d9c0e6b4cb990dd0917f3eb0c79281bb6cdc6553
link
true
/test integ-security-istiodremote_istio

lint_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
d9c0e6b4cb990dd0917f3eb0c79281bb6cdc6553
link
true
/test integ-security-istiodremote_istio

lint_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test lint_istio

unit-tests_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
d9c0e6b4cb990dd0917f3eb0c79281bb6cdc6553
link
true
/test integ-security-istiodremote_istio

lint_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test lint_istio

unit-tests_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test unit-tests_istio

integ-security_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test integ-security_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test lint_istio

unit-tests_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test unit-tests_istio

integ-security_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test integ-security_istio

integ-security-istiodremote_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test integ-security-istiodremote_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test lint_istio

unit-tests_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test unit-tests_istio

integ-security_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test integ-security_istio

integ-security-istiodremote_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test integ-security-istiodremote_istio

integ-security-multicluster_istio
a0bcc22fadc2a44ea7bba7d87b9a3771c8a70527
link
true
/test integ-security-multicluster_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Please ignore the recent changes.


Update LightningQubit mid-circuit measurement preprocessing

Context:
Changes needed after https://github.com/PennyLaneAI/pennylane/pull/5973 gets merged for correctness.
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues:

[sc-63618]


Cop detects unexpected special characters

Is your feature request related to a problem? Please describe.
I'm sometimes frustrated when special character such as '\b' is unexpectedly mixed in codes.
It is known macOS's Japanese IME sometimes input '\b' (hidden) around Japanese characters.
Describe the solution you'd like
Creating new cop which find '\b' in codes and warn it.
Describe alternatives you've considered
Nothing
Additional context
Nothing

sometimes

Could you please provide a concrete code example where this new cop should detect something?


feat: support for var(* values in theme.colors

Solves https://github.com/unocss/unocss/issues/1168
It allows for direct usage of css variables inside theme colors.

There's support if you use proper css color. See also #623.

@chu121su12 I see. I'm going to close my PR here. Thanks for pointing it out. I completely overlooked that in the code haha.


Request support for [device description]

Log Message

Logger: custom_components.tuya_local.device
Source: custom_components/tuya_local/device.py:296
Integration: Tuya Local (documentation, issues)
First occurred: 02:08:47 (1 occurrences)
Last logged: 02:08:47
Simple switch receive loop error <class 'UnboundLocalError'>:cannot access local variable 'err' where it is not associated with a value
Traceback (most recent call last):
File "/config/custom_components/tuya_local/device.py", line 296, in async_receive
poll = await self._hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tinytuya/core.py", line 1488, in receive
return self._send_receive(None)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tinytuya/core.py", line 1085, in _send_receive
sock_result = self._get_socket(False)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tinytuya/core.py", line 948, in _get_socket
return err
^^^
UnboundLocalError: cannot access local variable 'err' where it is not associated with a value
Information about DPS mappings

{
"result": {
"model": "{"modelId":"000003eglo","services":[{"actions":[],"code":"","description":"","events":[],"name":"默认服务","properties":[
{"abilityId":1,"accessMode":"ro","code":"doorcontact_state","description":"","extensions{"attribute":"768"},"name":"门磁状态","typeSpec":{"type":"bool","typeDefaultValue":false}},{"abilityId":2,"accessMode":"ro","code":"battery_percentage","description":"","extensions":{"attribute":"128"},"name":"电池电量","typeSpec":{"max":100,"min":0,"scale":0,"step":1,"type":"value","typeDefaultValue":0,"unit":"%"}}]}]}"
},
"success": true,
"t":<PHONE_NUMBER>709,
"tid": "d536347049ec11ee9a70760d0d3c40d3"
}
doorcontact_state : 1
battery_percentage : 2

Product ID
"product_id": "5etnzhfidcmm0ang",

Information about how the device functions
https://nl.aliexpress.com/item/1005004931427707.html?spm=a2g0o.order_list.order_list_main.59.21ef79d2P7U0xQ&gatewayAdapt=glo2nld
You can only add the device when activating it by opening and closing the door.
the device turns off after a few seconds to safe battery.
it shows up as a simple_switch.

In general battery powered tuya devices are not suitable for local use, as the battery management is designed specifically to work with the cloud, not local connections.
The errors you are getting in the log should be fixed by the version of tinytuya released yesterday, which will be in the next version of tuya-local.

Thanks for your reaction.
I will buy one that uses a hub


Expose registration type in entries

Coverage remained the same at 100.0% when pulling<PHONE_NUMBER>905b433955f939b7e7134f4541b1f4 on 28-ExposeEntryType into f0760a4ccfd4266307a2fa452a1c2f483d717766 on ReleaseCandidate-3.1.0.


Proposed changes to membrane terms

Hello,
While discussing GO-CAM modeling guidelines with @ukemi @vanaukenk @thomaspd , we decided that we should go ahead and make some changes in the membrane terms, which have been problematic for a long time and discussed multiple times. Here's what we propose to do:
New structure:

Plasma membrane

Spanning

Anchored (tail or lipid-anchored)

Anchored on cytoplasmic side

Anchored on external side

Extracellular space

Extracellular space adjacent to the plasma membrane (rename GO:0031232 extrinsic component of external side of plasma membrane)

Cytosol

cytosol adjacent to the plasma membrane (GO:0031234 extrinsic component of cytoplasmic side of plasma membrane)

Actions:

[ ] Merge ‘intrinsic to membrane’ with membrane
[ ] Merge spanning component of membrane into integral component of membrane
[ ] Move ‘extrinsic’ components out of ‘membrane’ + change labels from ‘extrinsic’ to ‘adjacent’

To be discussed at the next annotation call to get feedback from curators.
Thanks, Pascale

I like this.
When you say " Merge spanning component of membrane into integral component of membrane"
do you propose to call this term "spanning"? (i.e. above). Spanning seems more accurate because integral by the current definition covers anchored.
"having at least some part of their peptide sequence embedded in the hydrophobic region of the membrane.
"

Right, I would prefer the term labels be as proposed in the structure here: https://github.com/geneontology/go-ontology/issues/23029#issue-1171288260
There is a lot of confusion between intrinsic and integral, that would solve that by removing both as term labels.

Right, I would prefer the term labels be as proposed in the structure here: https://github.com/geneontology/go-ontology/issues/23029#issue-1171288260

I agree. I think I misunderstood this:
"Merge spanning component of membrane into integral component of membrane"
(I agree that spanning is easier to understand than integral)


it looks not support rhino5

Hi @andrealu2012 currently we only support Rhino 6 and 7, I'm afraid we will not be adding support for older versions because of API constraints. Sorry about that!


WIP: misc: conditional type narrowing on set callstate

When trying to use withCallState in a signalStore and using patchState with the setter-functions, typescript will complain unless your store satisfies both NamedCallStateSlice<Prop> and CallStateSlice even if you only really get one of the two objects back. With this you should get conditional typing based on the input and not the union type of NamedCallStateSlice<Prop> and CallStateSlice.
E.g setLoading('flights') should give the type NamedCallStateSlice<'articles'> and not NamedCallStateSlice<'articles'> | CallStateSlice.
I appreciate any response as I think this would be nice if using withCallState for requests without withDataService.

@andersfgraneng, thanks for letting us know and the PR. we'll look into it.


HttpException: Invalid header field name

New Issue Checklist

[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
flutter

Platform Version
1.17.2

Dio Version
3.0.10

Android Studio / Xcode Version
e.g. Android Studio 3.3.2 / Xcode 10.2.1

Repro rate
e.g. all the time (100%) / sometimes x% / only once

Repro with our demo prj
e.g. does it happen with our demo project?

Demo project link
e.g. link to a demo project that highlights the issue

Issue Description and Steps
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.
请求某些url会报错，如https://media.kanbook.net/26181/306_cover.jpg
I/flutter (22804): DioError [DioErrorType.DEFAULT]: HttpException: Invalid header field name, with 32, uri = https://media.kanbook.net/26181/306_cover.jpg

没人管么？

Is Dio accepting custom http headers?

Is Dio accepting custom http headers?

@funder7 I was having this issue because by mistake I was passing a "non-default" header name. So I'm assuming that it does not support custom http headers.... OR... it needs to follow the standard format, which I think it is X-<custom-name>

I can tell you that, as far as I can remember, 32 is the ASCII symbol for enter key or space (I dont remember, anyway both are not accepted in header names) your request, or Api response, got that character in it, which leads to that error!

Yeah.. that was my case because I was trying sending from the API the token header in a bad format, like this
'Bearer ': '<token>'

Instead of:
'Authorization': 'Bearer <token>'

and the 32 I think it was because of the space after Bearer

I know mate, I thought the same about me when I discovered the problem :-D  ...the error message doesn't help much, though!


Add support for composite key put/query for Cassandra driver.

Support for testing composite keys and range queries, two typical use cases for timeseries data.

+1

Whoa, the email notification that I got from GH includes a "DO NOT MERGE YET" request.  Oops.  It'd be handy if the Web view included that extra comment text.
I'm not sure what you had in mind for trying to apply the same composite stuff to "Riak drivers".  Can you elaborate?

Yea - I actually removed the DO NOT MERGE comment after waiting a few days for comments, so no big deal. Needed this for Cassandra testing regardless of it's applicability to any future Riak work.


Rows is stacking all slides

Discussed in https://github.com/nolimits4web/swiper/discussions/5849

Originally posted by DHRegular July  5, 2022
Hello!
I am trying to integrate swiper into a WordPress theme I am creating. I am trying to create a swiper that looks a lot like one of the demos: https://codesandbox.io/s/x3ty9k?file=/index.html:912-955
I want three cols and two rows, which looked super simple. However, when I add the code:
var swiper = new Swiper(".mySwiper", {
    //slidesPerView: 3,
    grid: {
      rows: 2
    },
    spaceBetween: 30,
    navigation: {
        nextEl: '.swiper-button-next',
        prevEl: '.swiper-button-prev',
      },
  });
All of the slides stack in one column (making a total of 12 rows, and would be more if I make more slides). The kicker is that pagination and navigation still work, and I'm able to press next to an empty page.
My HTML:

               <?php
                if ( !function_exists('wpeventin')) {
                    echo 'Please Install and Activate the WP Event Solution plugin in order to use the Speakers Section';
                } else {
                    wp_reset_query();
                    $speaker_array = [];
                    $args = [
                        'post_type' => 'etn-speaker',
                       'posts_per_page' => -1
                    ];
                    $the_query = new WP_Query($args);
                    if ($the_query->have_posts()) {
                        while($the_query->have_posts()) {
                            $the_query->the_post();
                            $speaker_avatar = apply_filters("etn/speakers/avatar", \Wpeventin::assets_url() . "images/avatar.jpg");
                            $post_meta = get_post_meta(get_the_ID());
                            $speaker_data = [
                                'speaker_name' => apply_filters('etn_speaker_title', get_the_title()),
                                'speaker_designation' => $post_meta["etn_speaker_designation"][0],
                                'speaker_thumbnail' => has_post_thumbnail() ? get_the_post_thumbnail_url() : $speaker_avatar,
                                'speaker_permalink' => get_the_permalink()
                            ];
                            array_push($speaker_array, $speaker_data);
                        }
                    }
                    //
                    foreach($speaker_array as $speaker) { ;?>

                            <a href="<?php echo $speaker['speaker_permalink']; ?>">

                                        <img src="<?php echo esc_url( $speaker['speaker_thumbnail'] ); ?>" alt="Picture of <?php echo $speaker['speaker_name']; ?>"/>

<?php echo $speaker['speaker_name']; ?>

<?php echo $speaker['speaker_designation']; ?>

                    <?php
                    } ?>
                <?php
               }
                wp_reset_query();
                ?>

I have also combed through all of my CSS and gotten rid of anything that might possibly mess with the formatting. But again, this happens when I add a row value.
Has anyone encountered this before? And how can I fix it?

Why this is a Swiper issue? On codesandbox we can clearly see it is working, so issue somewhere on your side. Use Discussions for questions and support

Just in case someone comes after an answer (as myself), the issue is that elementor or other plugin is calling the 7.4.1 version, who is conflicting somehow and creating the stacking.