add messages to users

reminders: should be variable associated with (hit? battery?) to send a reminder (custom message? pre-determined message?) This happens before time runs out.
credit / makeup: should be an email with a link to (the same hit to submit for approval? a new hit for credit? a canned message or custom?)

I think the reminders should be associated with a HIT. I have a 10 hour battery, but sometimes make the HIT 6 days, sometimes 2 weeks, etc.
As we pile up the variables the need for a battery specific template HIT becomes important. It would definitely help and improve the user experience if I could define a template HIT which I can base new HITs off of. That we if I have to change one variable, but am okay with everything else I can.
We want to send a reminder(s) before the time runs out if the HIT has not been submitted. The canned response could just be
"This is a reminder that you have not yet completed our HIT, [HIT name]. You only have [time left] to complete it. Please do your best to complete the remaining tasks!"
I don't think we should give the option to inundate workers with reminders. Maybe give the option for just one reminder in 'days before end'?

As for make up - how would we link them to the "same hit to submit for approval"? There is no way for them to submit the HIT without finishing it. All they can do is release it.
Instead, an option to send an automatically generated dummy HIT would be excellent. This should definitely be a variable, thus allowing researchers to decide to manually respond.
An issue is that anyone can accept a dummy HIT unless you give the worker a qualification. This makes automatically doing this annoying.

@rwblair


Release/testnet v1.0.3

Purpose

How does the solution address the problem

Changes made

prnet cleaned-up successfully


not getting the same rqt_graph as mentioned

hello!
i have just given a shot to roboteq_control and launched:
roslaunch roboteq_control differential_drive.launch
when i run teleop_twist_keyboard node it continues to wait for the subscriber and also i am not getting the same rqt_graph as mentioned here:  https://github.com/rbonghi/roboteq_control/wiki/images/rosgraph_simple.png
my rqt_graph is given below:

in my case velocity controller is not publishing anything????
i would be very grateful for your response
regards

I am sure the roboteq_control nodes is good. Uncheck "Leaf topics" checkbox to visualize the complete graph.


unable to get local issuer certificate

Discussed in https://github.com/znck/grammarly/discussions/242

Originally posted by jichunxie May  9, 2022
I installed the extension in vscode, but the initialization failed. Here is the error message:
Request initialize failed with message: request to<EMAIL_ADDRESS>failed, reason: unable to get local issuer certificate
Does anyone know how to solve this issue?

@jaguarfi Please provide information to reproduce this.

Operating System  (name & version)
VS Code (version)
Grammarly Extension (version)

Here is the info. Thanks!
The OS is macOS Monterey version 12.3.1. The machine is MacBook Air M1.
VS Code version:
Version: 1.67.0 (Universal)
Commit: 57fd6d0195bb9b9d1b49f6da5db789060795de47
Date: 2022-05-04T12:14:47.100Z (6 days ago)
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 21.4.0
Grammarly Extension: v0.16.0

I have the same issue, similar setup.
Setting NODE_EXTRA_CA_CERTS in my .zshrc doesn't work.
Setting NODE_TLS_REJECT_UNAUTHORIZED to 0 does, but IMO is not a nice solution.

Was this issue ever resolved? I am experiencing it ATM

@mmphego Still experiencing it here as well. You can use a Docker container to get around it (but that is not really a solution). The import of certs from #286 should help here if it is merged and it can find your certs at "/path/to/cert.pem."

I'm experiencing the same. The company I work for uses self signed certs, so I guess my only bypass to allow Grammarly to work would be the NODE_TLS_REJECT_UNAUTHORIZED=0. I'm on Mac as well.

By this time I've switched to a self-hosted (local docker) LanguageTool.
It's not as good, but at least doesn't send everything I write about the company to a separate server, which might not be allowed in corporate environments.
And there's also a vscode extension :)


Fix libdeflate linking for vendored htslib

tl;dr The vendored htslib isn't linked to libdeflate
Note: This PR is intended to initially fail to demonstrate the problem. I already know how to fix it, and will push those commit(s) next
History of vendored htslib
We recently replaced htslib from bioconda with a vendored htslib build (PR #64; commit a5c01af; version 0.20.2, build 1). Furthermore, since conda-forge only pins a single libdeflate version, we expanded to build for multiple libdeflate versions (PRs #67  and #70)
Demonstration of libdeflate linking
From the htslib installation instructions, the default behavior is to search for libdeflate and link to it if it is available. If it can't find it, there is no error. Since cmake suppresses the build logs of external dependencies like htslib, it's not possible to determine from the build logs if the linking occurred or not.
The bioconda build script explicitly sets --with-libdeflate, which causes the htslib build to fail if no libdeflate can be found. I added this to our htslib cmake patch, which then causes the build to fail.
Using ldd:
# htslib from bioconda
mamba create --yes -n test-htslib-bioconda -c bioconda htslib
mamba activate test-htslib-bioconda
ls $CONDA_PREFIX/lib/libhts.*
## $CONDA_PREFIX/lib/libhts.a
## $CONDA_PREFIX/lib/libhts.so
## $CONDA_PREFIX/lib/libhts.so.1.9
## $CONDA_PREFIX/lib/libhts.so.2
ldd $CONDA_PREFIX/lib/libhts.so* | grep libdeflate
##         libdeflate.so => $CONDA_PREFIX/lib/./libdeflate.so (0x00007f3643efa000)
##         libdeflate.so => $CONDA_PREFIX/lib/./libdeflate.so (0x00007f61a4fbc000)
##         libdeflate.so => $CONDA_PREFIX/lib/./libdeflate.so (0x00007fb09c062000)
mamba deactivate

# htslib vendored in libtiledbvcf
mamba create --yes -n test-htslib-tiledbvcf -c conda-forge -c tiledb 'libtiledbvcf=0.22.0=*2'
mamba activate test-htslib-tiledbvcf
mamba list libtiledbvcf
## # Name                    Version                   Build  Channel
## libtiledbvcf              0.22.0               h3156680_2    tiledb
ls $CONDA_PREFIX/lib/*tile*
## $CONDA_PREFIX/lib/libtiledb.so
## $CONDA_PREFIX/lib/libtiledb.so.2.14
## $CONDA_PREFIX/lib/libtiledbvcf.so
ls $CONDA_PREFIX/lib/*hts*
## $CONDA_PREFIX/lib/libhts.so.1.15.1
ldd $CONDA_PREFIX/lib/libtiledbvcf.so | grep libhts
##         libhts.so.1.15.1 => $CONDA_PREFIX/lib/./libhts.so.1.15.1 (0x00007fcb152e2000)
ldd $CONDA_PREFIX/lib/libhts.so.1.15.1 | grep libdeflate
mamba deactivate

Cause
I have always been confused why this recipe includes top-level requirements which are largely redundant to the requirements for the subpackage libtiledbvcf. I previously deleted them, but the builds would always fail. I finally figured it out from this comment https://github.com/conda-forge/conda-forge.github.io/issues/746#issuecomment-937045471 and inspecting the build logs. Essentially, the top-level requirements are installed prior to running the default build.sh.
But libdeflate was only added to the requirements in the subpackage section, which simply runs make install-libtiledbvcf (in install-libtiledbvcf.sh). htslib is built by the call to cmake in build.sh, when no libdeflate is available.
Solution
To both simplify this recipe and fix the linking to libdeflate, I propose combining the code in build.sh and install-libtiledbvcf.sh into a single file (eg build-libtiledbvcf.sh) and removing the top-level requirements section. This will result in libdeflate being available during the htslib build, and it will ease future maintenance (only one requirements section to update), and it will reduce CI time (because running build.sh separately requires solving and installing an entirely separate conda env).

I realized that unfortunately my current solution doesn't completely solve the problem. The conda-installed libdeflate is now available when htslib is compiled, however it still can't find libdeflate for some reason. I'm currently tinkering with CFLAGS and LDFLAGS, as suggested in the installation instructions:

If dependencies have been installed in non-standard locations (i.e. not on
the normal include and library search paths) then the CPPFLAGS and LDFLAGS
environment variables can be used to set the options needed to find them.

I assume I need to somehow adjust the search paths by altering the env vars or flags passed to cmake or to directly patch the env vars or flags in FindHTSlib.cmake. I'd appreciate any suggestions

This PR was too ambitious. Even after installing libdeflate in the conda env that runs cmake, it still isn't properly linked. I tried patching the upstream FindHTSlib.cmake to properly link libdeflate, but trying to troubleshoot the cmake instructions via a patched conda build running on Azure was too cumbersome. I tried setting the same flags as the bioconda::pysam build script uses, but it failed without providing a useful error message.
./configure --disable-libcurl --disable-gcs --disable-aws --prefix=${EP_INSTALL_PREFIX} LDFLAGS="${EXTRA_LDFLAGS},-L${EP_INSTALL_PREFIX}/lib" CFLAGS="${CFLAGS},-I${EP_INSTALL_PREFIX}/include -DHAVE_LIBDEFLATE" CPPFLAGS="${CPPFLAGS},-I${EP_INSTALL_PREFIX}/include -DHAVE_LIBDEFLATE"

For now I am planning workaround this problem using conda recipes. This linking difficulty may not even be a problem for users that build libtiledbvcf from source using the cmake superbuild, since it's possible that it is easier for htslib to find and link libdeflate when everything is installed in standard system directories (as opposed to a non-standard conda env directory).


Question: Mapping Cloud Run Services Domain to a Wildcard Domain

Hi @ahmetb @steren ,
I have an actual domain but would like to map individual Cloud Run Services to a wildcard e.g. *.mydomain.com (so that I don't have to add individual records for each Cloud Run Service)
I am a bit confused as at why this is not working fine as I have added the correct DNS records.

I don’t think wildcard records are supported on Cloud Run (fully managed). As far as I know you need to create mapping for each domain.
But they work on Cloud Run on GKE for sure.

Thanks @ahmetb ,  I'll make use DNS records that map each sub-domain to each of my Cloud Run Service.
However, recently, it's taking really forever to get domains map.

I have added the DNS Records already and verified the base domain, but it takes too long to map.

Hi @ahmetb , do also checkout https://issuetracker.google.com/issues/140398822

Not being able to create wildcard records in Cloud Run is a valid feature request. Feel free to push it in the same bug tracker.
Regarding your other issue, you already posted it to the issue tracker, thanks for that. There's not much I can do. Looks like folks are already taking a look.

Thank you, hope this gets resolved ASAP :)

@Timtech4u Are you using Cloud Run or Cloud for Anthos? You can use wildcard domains on Cloud Run for Anthos by setting your GKE cluster's default domain. From there on, any publicly available run that you deploy will be assigned a url in the following format:
https://[cloud-run-service-name].[cloud-run-service-namespace].your-domain.com

@Timtech4u Are you using Cloud Run or Cloud for Anthos? You can use wildcard domains on Cloud Run for Anthos by setting your GKE cluster's default domain. From there on, any publicly available run that you deploy will be assigned a url in the following format:
https://[cloud-run-service-name].[cloud-run-service-namespace].your-domain.com

Thanks for this @acazacu , my team and I are considering CR for Anthos.


Test web version

Description
Testing to see if this works on github.dev
Type of change

New feature (non-breaking change which adds functionality)

Closing as we do require some APIs that are not available


Improve fire bullet behavior

Add angle on bullet.
Useful for bullet non circular.
Issue encounter in live
https://youtu.be/t1EmmPh3YPY?t=3326

Update header

Ready to review!

Ready to merge, nothing else to do, i've updated all files too ! :)

@4ian can you merge?
Or i can take care of extension and merge if you prefer, make a review for extension is not very complicated.
In this case i need access for it.

Thanks for pinging me, merging now! I can add you as a collaborator if needed for other extensions?

Thanks for pinging me, merging now! I can add you as a collaborator if needed for other extensions?

Yes yes for sure! I'm happy to help!


dashboard/app: add coverage histogram

The plan is to land this PR first.
The next step is to integrate #4804 changes.
With #4804 I'll be able to schedule bigquery->covermerger->spanner events.

The testing is tricky:

dev_appserver.py doesn't support spanner emulation.
spannertest lib is very limited. It can't parse my the very first query and doesn't understand the cloud ui generated DDL.
Mocking seems to be the only unit testing enabler. It is not an option because I don't want to spend 10x time mocking this quite compex dependency.

What may work:

testcontainers-go
gcloud spanner emulator

@dvyukov @a-nogikh wdyt?

Then I would suggest to not automatically test for now. Before we spend more time on the technology side, it would be useful to resolve higher risk areas first: quality of data, usefulness/set of features.
I would only ensure that it's not easy to accidentally corrupt production data by running unit tests.

Then I would suggest to not automatically test for now. Before we spend more time on the technology side, it would be useful to resolve higher risk areas first: quality of data, usefulness/set of features.
I would only ensure that it's not easy to accidentally corrupt production data by running unit tests.

Done.
SELECT is the only allowed operation in prod.

PTAL


Some questions about GUI translation

what does this string means?

what is "pools"? and "pool tabs"?

"Species" tag type. What does it mean?

rating conditions(safe/explict/ero) doesn't translated

what does this string means?

You can ignore it, it shouldn't be here. It's the translation of the percentage on some progress bar I guess. %p will get replaced by the percentage value, and % is the percent value. It's what decides that there's a "25%" displayed near progress bars.
See QProgressBar::format for more info.

what is "pools"? and "pool tabs"?

To browse pools on various imageboards. Pools are kind of galleries.
https://danbooru.donmai.us/pools

"Species" tag type. What does it mean?

That's for species/races of characters, usually for furry imageboards. I don't know if any other board than e621 use it at the moment.

rating conditions(safe/explict/ero) doesn't translated

I'll add this option in the next push then. :smile:

Thanks. Now all clear. I updated Russian translation to last version.

rating conditions(safe/explict/ero) doesn't translated
I'll add this option in the next push then. :smile:

I guess you can close the issue after you doing that.

actions in rightclick menu in detauls window are not tranlated


User consumer groups don't roll over when after manual failover

According to @anhashia:

Event Hub consumer groups don't roll over when fail over happens. Current Azure Function doesn't auto populate the consumer groups..  So even if you restart the function / save the new endpoint, you still won't see the data because the consumer group won't exist on roll over.. The issue has easy local reproduction.
Workaround was to add the consumer group manually via Azure Portal.

I'm opening this issue to track a fix on this page

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

ID: a6874376-9df5-65b7-6908-eaaba67992d0
Version Independent ID: c76d243b-a9a0-d37d-6cc5-53eb1bf589d2
Content: Azure IoT Hub high availability and disaster recovery
Content Source: articles/iot-hub/iot-hub-ha-dr.md
Service: iot-hub
GitHub Login: @rkmanda
Microsoft Alias: philmea

Thanks @jlian I'm assigning the issue to the listed content author @rkmanda

Please assign to me. In fact I'm going to change the listed author to me as well in a later PR

@jlian Any update on this issue? Please check and update the doc as appropriate.

Thanks for the PR.  Closing this issue now. Please let us know if anything else required and we would be glad to re-open.


Allow to use a cookie to select the locale

Hi
Seems weird to me that these code doesn't allow to use this way to select the locale giving the fact that it is a very popular way
Even will be good if other methods were allowed
Any change to allow, at least, cookies?
Thanks

Hello @Garito I will create a way to handle this issue

@Garito I have added locale selector to control the locale param from request controller into middleware

Thanks @Legopapurida
If this was a santa letter I will ask for a way to use cookies or header at the same time to allow using it as and API and as a normal app

You can pass your locale selector from outside of the app context.
Because we have to do rights as a book in Internationalization and locale selectors between all the frameworks such as Django, Flask, FastAPI, ...
Well-known frameworks have inspired us.
look at the example from the Django application:

import base

class Index(base.BaseHandler):
    """ Set the language cookie (if locale is valid), then redirect back to referrer
    """
    def get(self, locale):
        if locale in self.available_locales:
            self.response.set_cookie('locale', locale, max_age = 15724800)  # 26 weeks' worth of seconds

        # redirect to referrer or root
        url = self.request.headers.get('Referer', '/')
        self.redirect(url)

so you can pass your locale selector such as the above example which enables you to use Accept-Language from cookie or header even query param.

I'm already doing this:
lang_code: str | None = request.cookies.get('locale', None) or request.headers.get("Accept-Language", None)

We can not use this feature currently but I will add new feature to handle this issue


'Manage Users' permission allows users to assign themselves to 'Admin' group

Describe the bug
The 'Manage Users' permission allows users to assign themselves to the 'Admin' group.
Steps To Reproduce
Steps to reproduce the behavior:

Assign a user to a group with the 'Manage User' permission.
Login as that user.
Click on the 'edit profile' button.
Modify the group to whatever you want (including admin).

Expected behavior
I would expect 'Manage Users' to be able to only assign the roles that the user themselves is in.
Your Configuration (please complete the following information):

Exact BookStack Version (Found in settings): BookStack v21.04.4
PHP Version: 7.4
Hosting Method (Nginx/Apache/Docker): Nginx

Hi @jackhadrill,
We explicitly show a notice in the role configuration view to advise of this scenario.

Since there's been no follow-up I'm going to close this.


Best sample: Containing Dagger + RXJava + Retrofit + Sqlbrite + data binding + clean pattern

Of course all separated samples are OK and using each of them is easy, but we need a complete sample that contains almost all thing that google believes them too (maybe they can be Dagger, RXJava, Retrofit, Sqlbrite,  data binding, clean pattern and etc) we need to have a complete reliable sample that can be used in the real world!

Thanks. If someone wants to write it we'll add it to external contributors. For now on I'm closing this one because there are similar ones already.


Non-parseable manifest doesn't show badge in browser extension

The browser extension fails to display a badge when parsing the non-parseable manifest test case page.

Addressed by PR #95


No way to get client's IP address

I think there should be a field in the IConnectionInfo with the player's IP address, it could be useful for some custom debug messages.

IConnectionInfo needs to be transport-agnostic, meaning an IP field isn't an option as not all transports will use IPs (the Steam transport being a prime example as it manages connections through Steam IDs, not IPs).
If you're using the default transport and you need to access client IPs, RudpConnection has an IP field, so you could just cast the IConnectionInfo object to that:
((RudpConnection)theIConnectionInfoObject).RemoteEndPoint


Typo in AlphaDash default message

The default message is as follows:
protected $message = "The :attribute only allows a-z, 0-8, _ and -";
Surely this should be "The :attribute only allows a-z, 0-9, _ and -"

Ah yes it is. I will update this soon.


[stable/elasticsearch] Adding ExtraConfigMapMounts and nginx annotations prefix params

In a test deployment I found that I needed these two things:

ExtraConfigMapMounts: same as the kibana chart. Allows adding extra config files which may be required for some plugins.

annotationsPrefix: the nginx ingress controller annotation prefix can be customized. This adds support for that in the chart.

So I added them to the chart.
@simonswine @icereval @rendhalver @desaintmartin

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ x] DCO signed
[ x] Chart Version bumped
[x ] Variables are documented in the README.md
[x ] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @simonswine


DCR validate redirect_uris suppplied in registration

Implement logic in IG to validate the redirect_uris when processing a DCR registration request
https://openbankinguk.github.io/dcr-docs-pub/v3.2/dynamic-client-registration.html#data-model
redirect_uris spec:

Registered URIs the TPP will use to interact with the ASPSP AS.
If the software statement defines a master set of redirect URIs, this must match or be a subset of the redirect URIs in the SSA.
Each of the URIs must adhere to the following rules: The URI MUST use the https scheme The URI MUST NOT contain a host with a value of localhost If the request_uris metadata element is omitted from the request, the entire contents of the software_redirect_uris element in the SSA are considered to be requested by the TPP.

Please add your planning poker estimate with Zenhub @dbadham-fr


[Question]: Adding proxy settings in the k8sgpt-operator

Checklist

[X] I've searched for similar issues and couldn't find anything matching
[X] I've included steps to reproduce the behavior

Affected Components

[X] K8sGPT (CLI)
[X] K8sGPT Operator

K8sGPT Version
No response
Kubernetes Version
No response
Host OS and its Version
No response
Steps to reproduce

Run k8sgpt analyze  --filter=Pod  --backend azureopenai --explain
Getting following timeout error:
Error: failed while calling AI provider azureopenai: Post "https://myopenapitests.azure-api.net/mtx/openai/deployments/gpt-35-turbo-002/chat/completions?api-version=2023-03-15-preview": dial tcp <IP_ADDRESS>:443: i/o timeout

i am working behind proxy and added my proxy details in the deployment of k8sgpt-deployment.
Expected behaviour
No timeout error and response from azureopenai
Actual behaviour
following error:
Error: failed while calling AI provider azureopenai: Post "https://myopenapitests.azure-api.net/mtx/openai/deployments/gpt-35-turbo-002/chat/completions?api-version=2023-03-15-preview": dial tcp <IP_ADDRESS>:443: i/o timeout
Additional Information
i suspect the k8sgpt is trying to connect azure openai directly and not through the proxy

You are right @namgizlat , we don't currently support a proxy config for azure openai backend, it seems like a small change though, something close to
config := openai.DefaultConfig("token")
proxyUrl, err := url.Parse("http://{proxyAddress}:{port}")
if err != nil {
	panic(err)
}
transport := &http.Transport{
	Proxy: http.ProxyURL(proxyUrl),
}
config.HTTPClient = &http.Client{
	Transport: transport,
}

c := openai.NewClientWithConfig(config)

I will try to pick it up when I find spare time

Thanks @arbreezy. Did you manage to find some spare time to take a look at proxy support ?


Wait#until returns result of block

Addresses https://github.com/watir/watir-webdriver/issues/360

Thanks!

If we are going to make this change (see comment in issue), I think Bret's suggestion is better.

It won't work, because it doesn't care if yield(self) returns true or false. It just returns after the first execution.

Ah yeah, returns in blocks, that makes sense. :)

Oh I see. Thanks.

Gracias, all.
When do patch cuts typically get made?

Can you reference github instead of the gem in your gemfile for the time being?

@titusfortner yep I'm all set locally, just curious


Add support to configure and apply Service Side Aggregation

It would be useful to offer an option to enable aggregation and set a period for metrics reported to Librato. Documentation for setting the period and aggregation can be found here:
https://www.librato.com/docs/api/#measurement-properties

Thanks for your submission. AppOptics is the next generation of Librato and is built on the same backend, but with additional support for APM and distributed tracing. We are moving future development of this client to https://github.com/appoptics/metrics-appoptics.


added unzip requirement for ubuntu

if not, it gives you the below error:
root@a4fb7b06885e:~/work# dnvm upgrade
Determining latest version
Latest version is 1.0.0-beta5
Downloading dnx-mono.1.0.0-beta5 from https://www.nuget.org/api/v2
Download: https://www.nuget.org/api/v2/package/dnx-mono/1.0.0-beta5
######################################################################## 100.0%
Installing to /root/.dnx/runtimes/dnx-mono.1.0.0-beta5
dnvm needs unzip to proceed.

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

@BrennanConroy @glennc Please review

Yes unzip is needed. These are the instructions I reference when I make a new machine https://github.com/dotnet/coreclr/blob/master/Documentation/install/get-dotnetcore-dnx-linux.md they go into more detail for getting coreclr working.

@BrennanConroy This is for the Mono based DNX, but sounds the requirement is the same.


Check sgkit documentation how to import a VCF file & how we will move towards using sgkit in this tree seq pipeline

There are two parts here.
Part 1:  Check sgkit documentation how to import a VCF file
This is sgkit:

https://github.com/pystatgen/sgkit
https://pystatgen.github.io/sgkit/latest/
https://pypi.org/project/sgkit/

We need to learn how to use sgkit, so best to check how to import a VCF file into Python and create an sgkit object - how we do this...
Part 2: How we will move towards using sgkit in this tree seq pipeline
Once we master the above part, we should be looking into how to do what Ben Jeffrey is doing at https://github.com/benjeffery/tsinfer-snakemake/tree/main

The script that we would like to change eventually is
https://github.com/HighlanderLab/tree_seq_pipeline/blob/main/Snakemake/workflow/scripts/Prepare_tsinfer_sample_file.py
to what Ben Jeffrey and the team uses based on sgkit

Using sgkit is very simple and nicely explained at https://pystatgen.github.io/sgkit/latest/vcf.html#download-the-data - there they download some public VCF files and show how to convert these to ZARR files which sgkit works with.

Looking at https://github.com/benjeffery/tsinfer-snakemake/blob/main/steps.py, we see the code like the one below, where tsinfer.SgkitSampleData(input[0].replace("variant_mask", "")) is called, where we guess the input is either a ZARR file and the tsinfer.SgkitSampleData() might be doing all the magic.
HOWEVER, the pipeline at https://github.com/benjeffery/tsinfer-snakemake is quite involved so we bette talk with Ben to discuss how to take this onwards
def generate_ancestors(input, output, wildcards, config, threads):  # noqa: A002
    import tsinfer
    import logging
    import os
    from pathlib import Path

    logging.basicConfig(level=logging.INFO)
    data_dir = Path(config["data_dir"])
    sample_data = tsinfer.SgkitSampleData(input[0].replace("variant_mask", ""))


Download object from a folder

I have an issue with downloading an object from a bucket located within a folder. The file path on the bucket is bucket-id/tickets/test.pdf. I download it with the following code:
req.gcs.object.getMedia(bucket: "bucket-id", object: "tickets/test.pdf")

I get CloudStorageAPIError(error: Storage.CloudStorageAPIErrorBody(errors: [], code: 404, message: "Not Found")) as a response.
Downloading the file directly from the bucket with path bucket-id/test.pdf works fine though. The file exists in both paths on the bucket. Creating the file with req.gcs.object.createSimpleUpload works fine as well.
req.gcs.object.getMedia(bucket: "bucket-id", object: "test.pdf")

I've checked the library code and it's just an HTTP GET request for the specified path so this is most likely a mistake on my side. But I ran out of ideas where the issue could be. Any ideas? 🤔

What's the url thats being prepared before it gets executed? @jstorm31 Check StorageObjectAPI.swift line 397 and print out the constructed string
po "\(endpoint)/\(bucket)/o/\(object)"

Also make sure you're using the latest RC

@Andrewangeta I have the latest version 1.0.0-rc.3. The printed URL: https://www.googleapis.com/storage/v1/b/swapper-storage-bucket/o/tickets/1CFBB8D8-BA19-415D-BF3C-6016BDABBC31.pdf. Looks good to me. 🤔

I tried to send the request manually from Postman with the URL and I found out the object name including the folder has to be URL encoded as stated in the documentation. I thought that wasn't necessary since it should be required for writing and copying only. So making a request to this URL works fine from Postman: https://www.googleapis.com/storage/v1/b/swapper-storage-bucket/o/tickets%2F1CFBB8D8-BA19-415D-BF3C-6016BDABBC31.pdf.
Then I tried to URL encode the object name including the folder, made a request to the same URL from Vapor and that failed again with 404 not found. The server thinks the requested URL is an endpoint when making the request from Vapor for some reason.

@jstorm31 Did you ever end up getting this to work?

I think I ended up requesting files directly from bucket root and not folder. That worked for me and I didn't further investigate it. 🤷  I guess we can close it?


Research Modal Segmentation Options for GW1

Business Description
For the GW1 > GW2 Migration, we are making a Welcome Offer to encourage users to start using GW2. We first want to make the offer to a subset of GW1 users to identify and resolve early bugs and support issues prior to rolling out to the full GW1 user base. We plan to make the offer initially via a modal that appears after the user has logged in (see this flowchart for reference).
As such, we need to Investigate whether it is possible to present an offer modal in GoodWallet only to a specific group of users based on:

Location
Volume (e.g. First 10,000 people who load the app after the feature is released)
Language selected
Using Android vs. Webapp
A combination of the above

Other segmentation recommendations are welcome!
Acceptance Criteria:

Summary of which of the above is possible with current tooling and process to implement
New ticket to implement the chosen solution

Using Posthog for segmented feature release
The requested properties to test against:

Location - Possible
Can be done on long/lat, or country-name. These properties already exists in posthog under:
$geoip_country_name
$geoip_latitude / $geoip_longitude

Language selected
in theory possible but currently we don't track this.

using Android vs. Webapp - Possible
The property exists in posthog under:
$device_type

A combination of the above
Yes, we can do one feature-flag based on combination of the above.
That is based on a OR condition. if any one of the conditions are met.
(Its not possible on an AND condition. So from Nigeria AND on Android is not possible)

Volume (e.g. First 10,000 people who load the app after the feature is released)
This one is tricky. there is not a direct way to do this.
Also, there is no automated way to handle the threshold.
But there is an alternative way through using cohorts (sort of groups).
You can add people to cohorts based on 'Completed event' for example.
So a flow example:

we show segment modal to users matching a criteria
they click on a button eg. 'Upgrade to walletv2'
we trigger an (new) event for this user > based on this they are added to cohort

We can keep track of amount of users in a cohort (in code) by using their API:
curl -H "Authorization: Bearer $PERSONAL_API_KEY" https://app.posthog.com/api/projects/:projectid/cohorts/:id
and we can just say that as long as there are not yet 10k persons in the cohort we keep showing the modal/apply the feature-flag.
!Constraint (possible deal-breaker): Cohorts are only dynamically updated every 24h!
Alternative solutions
Alternative way to track volume is that we store a number ourselves in the server (which I am not sure we want to do)
The only alternative in our current stack is Amplitude which has something called experiments.
Its quite similar to above, based on event/user data triggers.

I was not able to access experiment (it leaded me to a demo page)
since we already use posthog for feature-flags seems to be more relevant?

There are solutions outside of our current tools but that is is not in scope

@decentralauren
cc @sirpy

@decentralauren
Can you explain the requirements of a "valid" user to show the modal to?
Are there any other requirements than having X users to try to new wallet?
My suggesting would be to randomly show it to X% of daily users until you have X users that tried the wallet. then you can close the campaign.

@decentralauren can you confirm that this ticket --> https://github.com/GoodDollar/GoodDAPP/issues/4276
will be the continuation of the current one?

@L03TJ3 this ticket was just for the research, so should be closed. Implementing the research (which you have listed above) into new tracking events in post-hog and implementing the modal are captured in ticket #4278

@decentralauren okay closing then


Windows cli changes

Rebase of https://github.com/pluralsh/plural-cli/pull/47
Test Plan

Checklist

[ ] My change requires a change to the documentation and I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

@dustinfaulkner91 Due to the amount of changes in your PR I want to get it merged quickly to avoid it needing many rebases as we continue development on on the CLI. That's why I took your changes and created a new PR so I could rebase it for you and make the last few small adjustments. Thanks for the contribution!


Question: Does this still exist task.json documentation.md?

In a old pull request I found there used to be a task.json documentation.md that described how groups worked in task.json. Does this documentation still exists now since I can't find it anymore?
https://github.com/Microsoft/azure-pipelines-tasks/pull/1066/files
I'm trying to figure out how to group things and wonder if you use groups that all the inputs should be grouped or how the grouped items will appear (will it be below the non grouped inputs)

There are some docs here - https://docs.microsoft.com/en-us/azure/devops/extend/develop/integrate-build-task?view=azure-devops - and a schema here - https://docs.microsoft.com/en-us/azure/devops/extend/develop/integrate-build-task?view=azure-devops.
If neither of those meet your needs, please file an issue at https://github.com/MicrosoftDocs/azure-devops-docs/issues - that repo is dedicated for docs issue, while this repo is more meant for questions/issues about specific tasks


Release azure-cli-sql 0.1.1b4

Reviewers, please verify the following for this PR:

[ ] The PR title has format Release <component-name> <version>.
[ ] setup.py has been modified with the same version as in the PR title.
[ ] HISTORY.rst has been modified with appropriate release notes.
[ ] If releasing azure-cli or azure-cli-core, __version__ defined in __init__.py should also be modified to match.

Release of 'azure-cli-sql' with version '0.1.1b4' successful. View at https://pypi.python.org/pypi/azure-cli-sql/0.1.1b4.

GitHub release created. https://github.com/Azure/azure-cli/releases.


Option to disable system notifications in bluepill

Currently i use scripts before launching simulators in my tests to pre approve permissions for (Location / Contacts) as there is alot of problems with XCUI Framework to interact with them.
Although because blue pill creates net new simulators Is there anyway there is a option to some how disable these?

We use https://github.com/plu/JPSimulatorHacks to disable the system dialogs in the test framework. It should not be hard to add similar hacks in bluepill or just add to your test/app.

@oliverhu
this library worked for most of the system alerts. Although there is no support for allowing user permission to location.

I'd suggest raising an issue there to ask for support of location service:)

faire enough


AttributeError: 'CachedRequest' object has no attribute 'path_url'

The problem
When trying to access path_url on a given response's initial request.
Expected behavior
Should behave the same way as the requests library does.
Steps to reproduce the behavior
from requests_cache import CachedSession
from requests import Session

class MySession(Session):
    """
    Custom requests Session
    """

class MyCachedSession(CachedSession):
    """
    Custom Cached Session
    """

# Using standard Session from requests library
session = MySession()
resp = session.get("https://tools.learningcontainer.com/sample-json.json")
resp = session.get("https://tools.learningcontainer.com/sample-json.json")
print(resp.request.path_url)

# Using Cached Session from requests_cached library
session = MyCachedSession()
resp = session.get("https://tools.learningcontainer.com/sample-json.json")
resp = session.get("https://tools.learningcontainer.com/sample-json.json")
print(resp.request.path_url)

Workarounds
Not that I know of
Environment

requests-cache version: 0.7.5
Python version: [e.g. 3.6]
Platform: [e.g. Ubuntu 18.04]

Sure, I can get that added. Thanks for the bug report.

Unfortunately in the environment where I want to make use of requests-cache we are currently stuck with python 3.6, so a backport to the version of requests-cache which still supports python 3.6 would be much appreciated.

That's understandable. Would you consider a small workaround? The logic for getting path_url is fairly simple: https://github.com/psf/requests/blob/79f2ec3acc4e24fef6e6ce31ad7b1d4e2f77be31/requests/models.py#L85-L104
Here's a minimal example:
from requests_cache import CachedSession
from urllib.parse import urlsplit

def path_url(url: str) -> str:
    p = urlsplit(url)
    url = p.path or '/'
    url += f'?{p.query}' if p.query else ''
    return url

session = MyCachedSession()

# Original response
resp = session.get("https://tools.learningcontainer.com/sample-json.json")
print(path_url(resp.request.url))

# Cached response
resp = session.get("https://tools.learningcontainer.com/sample-json.json")
print(path_url(resp.request.url))

Hi there,
thanks for proposing this solution. Seems a valid alternative to me.

Good! I'll close this issue, then, but feel free to report any other problems you find in 0.7.5 / python 3.6. I'm willing to release more patches for that, if there's a problem that doesn't have workaround available.


Use User Entered Humans

On both your human list and the battle calculator, include the user created humans from #10
Load the array from stats.js, and also load the array from localStorage if it exists.  Merge the two together.

Closed with https://github.com/KZongker/dragons/commit/73959627a383dc0897f7e0632817cad9aef2837c


Mass import existing repositories

Feature Description
gitlab already mass import from github.
gitea not.
Would love to move from gitlab to gitea, but there are so many repositories and it would be almost unrealistic to migrate all hands.
Screenshots
No response

I think you can write a script or search for the existing scripts.

Sounds like #21049

https://gitea.realmanual.ru/pub/gitea-importer

duplicated with #2569


Error message while/after files copied

I need to copy some assets from one package in my npm workspace directory to other packages in workspace.
I use the following vite config to build my library.
import { resolve } from 'path'

import { viteStaticCopy } from 'vite-plugin-static-copy'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

export default defineConfig({
  plugins: [
    viteStaticCopy({
      targets: [
        {
          src: './public/shared',
          dest: './../../app/public',
        },
      ],
    }),
    vue(),
  ] as any[],
  build: {
    lib: {
      entry: resolve(__dirname, 'src/lib.ts'),
      name: 'Name',
      fileName: 'index',
    },
    rollupOptions: {
      external: ['vue'],
      output: {
        globals: {
          vue: 'Vue',
        },
      },
    },
  },
})

Then if I watch (or build) the library, I get this error (but the files are copied correctly)
> vue-tsc && vite build --watch

vite v5.0.1 building for production...

watching for file changes...

build started...
✓ 6 modules transformed.
dist/index.umd.cjs  0.88 kB │ gzip: 0.57 kB
dist/style.css  8.86 kB │ gzip: 2.01 kB
dist/index.js   0.85 kB │ gzip: 0.52 kB
[vite-plugin-static-copy:build] ENOENT: no such file or directory, unlink '/packages/app/public/shared/fonts/Inter-Bold.woff2'
[vite-plugin-static-copy] Copied 1 items.

Would you create a github repository?

I will do tomorrow, currently there are some client specific names in it.
If you give me your email I can send you an email.

@sapphi-red here an example monorepo with the problem: https://github.com/solidevolution/vite-plugin-static-copy-issue/tree/main

I have released a fix for this (v1.0.0).


Multibridge cleanup

Remove unnecessary library from CMake file
Remove unnecessary code from astrobee_astrobee_bridge.cc

@rgarciaruiz, this PR is flagged as Draft, is that accurate or is it ready for review?

I was planning to test this using both ground units first, however, since it actually works in simulation, the changes are very minor, and it does not affect immediate upcoming activities I say we can probably do that in the next software release.
I'll go ahead and mark it as ready.

I was planning to test this using both ground units first, however, since it actually works in simulation, the changes are very minor, and it does not affect immediate upcoming activities I say we can probably do that in the next software release. I'll go ahead and mark it as ready.

Do we have a test scenario for astrobee_astrobee_bridge? Not sure if it's in the current release testing, but we can add to it :)

yeah, main issue is that you need to have two robots running FSW (and wannabee has Ubuntu 20, so we need to cross-compile for two Ubuntu versions). But, yes, we can start working on adding this test to the procedure, maybe as optional for now.

@rgarciaruiz next time, make sure to squash merge!!!

@rgarciaruiz next time, make sure to squash merge!!!

Yes, always, that's the option I chose, did something different happen?

@rgarciaruiz next time, make sure to squash merge!!!

Yes, always, that's the option I chose, did something different happen?

Sorry I was too quick to reply :( the pr says "merged commit" so I thought it wasn't squash commit, but apparently it always says that regardless. I checked the commit history and everything looks great! (and proceeded to remove my comment)


es2015 needs caps?

I think the copy and paste for the es2015 in the tsconfig sample code needs to be in caps as it shows promise as an error without it.

Thanks @KeithWhatling  - you are right of course - the tsconfig spec provides these as being case insensitive, however in reality they are case-in-sensitive. I'll update for correctness! Thanks again!


Filter log

Ability to filter camera.ui log for cameras, events (eg motion, stream, recording) etc

Added in v5.0.21-beta.7

v5.0.21 online


leak due to _empty set wrongly on handle()

caused a leak in _demangle_buffer.update(result);

merged in #189


add autocompletion for bash and zsh

After reading Cobra guides I cannot make it work properly.
ZSH completion
BASH completion
Closes #29

There is some refactor going on on cobra v1.1. I'm closing this until that version is out and retry this feature.


Remove test from triangle. Closes #282

As discussed in #282, the 2 4 2 triangle test is marked as incorrectly marked as invalid. The correct solution according to the canonical data is to remove this test:

we have decided NOT to test triangles where all side lengths are positive but a + b = c., e.g: (2, 4, 2, Isosceles), (1, 3, 4, Scalene).",

This PR removes said test.

Nice work @ErikSchierboom, thanks!


Feature/summary exactly n

Hi @Smoren ! Summary exactlyN function has been added and covered by tests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

24 of 26 (92.31%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 99.775%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/summary.ts
22
24
91.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
1312

Relevant Lines:
1314

💛  - Coveralls

Thanks for the PR!


Environment Variables for initial user-creation

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
API, Other
🔖 Feature description
Uptime Kuma is currently next-to-impossible to declaratively configure and manage, this makes it especially hard to host in volatile environments like Kubernetes or even a volatile docker environment where data may not be persisted intentionally.
✔ Solution
Two environment variables would allow for initial user creation, which would open the doorway to third-party tools like uptime-kuma-api to declaratively configure Uptime Kuma whenever Uptime Kuma is initially deployed without needing any user interaction

UPTIME_KUMA_USERNAME for setting the initial username
UPTIME_KUMA_PASSWORD for setting the initial password

When both environment variables are present, and pass any other validation, a user could be created for tools like uptime-kuma-api to begin 'seeding' Uptime Kuma without any needed user interaction
❓ Alternatives
This is possible without environment variables, by opening the sqlite db and adding a user/password directly to the user table through , but this is quite a hacky workaround that could be officially simplified
📝 Additional Context
I wanted to use Uptime Kuma for my kubernetes cluster, it looks and appears quite supported, but since setting up Uptime Kuma absolutely requires user interaction inside a browser, it completely goes against my kubernetes cluster design.

Related https://github.com/louislam/uptime-kuma/issues/956 https://github.com/louislam/uptime-kuma/issues/1354
Also see

current status on IAC: https://github.com/louislam/uptime-kuma/issues/3578#issuecomment-1751696927
api: https://github.com/louislam/uptime-kuma/pull/3854

I am disappointed that this minimal feature of configuring credentials via env var is not supported. The strong stance against config files make this impossible to deploy via GitOps. I was going to go the route of using the API to add endpoints, but without being able to bootstrap the service with user credentials, manual action is still required.

I am disappointed that this minimal feature of configuring credentials via env var is not supported. The strong stance against config files make this impossible to deploy via GitOps. I was going to go the route of using the API to add endpoints, but without being able to bootstrap the service with user credentials, manual action is still required.
I love the kuma UI, but I'm forced to use gatus.

Exactly my situation, I can't use Kuma UI at all in GitOps. It is technically possible by editing Kuma's SQLite DB with some type of SQLite CLI. I don't believe the DB is protected with credentials.

 I've been coming over the past few months regularly to uptime kuma and would love to use it.
It's however next to impossible to get in the documentation some setup instructions for username and password.
I guess I'll come back in two months or so to check how that has improved. Or not.
Is it because I'm a dinosaur that has toyed with 286 CPU in real mode as a kid that I don't get this new modern vibe of having unintuitively documented applications where you have to guess the documentation ??

It's impossible to get in the documentation some setup instructions for username and password

When you boot up the docker image or install via node, this is the first thing you are asked about on the setup screen.
The rest of your comment is not quite formulated as a comment but rather is spreading non-productive, passive-aggressive toxicity
⇒ I am going to ignore those questions/ comments
I am instead going to talk about our docs.
Yes, our documentation may be lacking in some parts.
I don't know what you are concretely missing. What is your expectation from the docs?

[!IMPORTANT]
What you're forgetting is that you're not talking to some faceless gigacorp here.
Instead, this is an organisation run by human beings who have decided to donate their time working on something for free to the world.
What you might not expect is that this application has for most of its existance been maintained by louis alone (along with contributors submitting parts).
Only very recently Nelson and I came onboard to be juinior-maintainers as  well.
As with every other open-source project we heavily rely on constructive feedback and contributions from our community where we are failing and how to improve.

@chakflying you stated in https://github.com/louislam/uptime-kuma/pull/4171#issuecomment-1840095650 that you are planning something.
Do you think a pinned issue with a plan of action and a call for contributions may be a solution?

The rest of your comment is not quite formulated as a comment but rather is spreading non-productive, passive-aggressive toxicity ⇒ I am going to ignore those questions/ comments

Absolutely. I agree. I was getting annoyed. Apologies.
But it indeed is rather a pain not to have control from the command line. The reality is that I had uptime kuma installed a few months ago, had it running, and as I am not running it regularly, each time I come back, I look at the docs, and fail to find useful information about how the password is set up. It was indeed set up, and I spent quite a few hours running around with a web screen asking me for a password, and nowhere in the documentation where this is handled explicitly.
More seriously: credential management should really be the first thing you see when reading a documentation about such a webapp. Spending four hours roaming around the documentation while multitasking is simply a time waster.

I am instead going to talk about our docs. Yes, our documentation may be lacking in some parts. I don't know what you are concretely missing. What is your expectation from the docs?

Information about credential management in the first pages. State explicitly (in text mode, I read text, not emojis or images which do not show up in a terminal) that the password and username is configured initially at first login (this way, if you do not see a screen asking to initialise password, you may easily infer without wasting time that it likely is already initialised). Plus a link to the tool to manage the password to reinitialise it, just below.

What you're forgetting is that you're not talking to some faceless gigacorp here. Instead, this is an organisation run by human beings who have decided to donate their time working on something for free to the world.

I am not forgetting that. I was annoyed. It's fairly obvious that this isn't DirectXShaderCompiler with both MS and Google committing.

What you might not expect is that this application has for most of its existance been maintained by louis alone (along with contributors submitting parts). Only very recently Nelson and I came onboard to be juinior-maintainers as well. As with every other open-source project we heavily rely on constructive feedback and contributions from our community where we are failing and how to improve.

Ranting, which I did, is by no way demeaning the work done, which is obviously very good. I can swear and congratulate you at the same time.
There is however a culture mismatch between people like me who grew up with a DOS command line and people putting docker containers everywhere. And it shows in the way password management is here handled and this thread about the lack of initialisation by environment variables.
I want explicit installation procedures. Not "here is a docker container, you've got nothing else to do". Which usually is just skimming over the real configuration issues.
I know writing documentation is a pain.

I would have liked this feature to be available too, so that my IaC could just make sure the initial user is present. As it happens I've created a selenium script in python to set the initial user up in my git https://github.com/magicalbob/k8s_uptime_kuma/blob/master/python/create_user.py


Eliah Kagan: Watch codeplayon.com

Eliah Kagan requests the watch of the watch_keyword codeplayon\.com. See the MS search here and the Stack Exchange search here.

codeplayon\.com has been seen in 3 true positives, 0 false positives, and 0 NAAs.

Approved by Shree in Charcoal HQ


Batched event delivery behavior missed

It seems that general Event Grid Concepts section is missing some info with regards to behavior of events batching. So it's not clear whether it is possible to have part of batch delivered or not. It seems impossible plus there is such info provided on some other pages e.g. All or none behavior described on this pages Event Grid on Kubernetes and Event Grid IoT Edge Output batching.
Would be nice to add same behavior info to Delivery and retry page cause it's more general page. Thanks!

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

ID: 92671e7c-03e5-591d-7fe2-7c565220242a
Version Independent ID: 99bdee93-1a4d-d10c-8d90-a58a84bb6187
Content: Azure Event Grid delivery and retry - Azure Event Grid
Content Source: articles/event-grid/delivery-and-retry.md
Service: event-grid
GitHub Login: @spelluru
Microsoft Alias: spelluru

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Fixed now. Thanks.
https://docs.microsoft.com/en-us/azure/event-grid/delivery-and-retry#batching-behavior
#please-close


fix: styles issues

EX-6472

Following our conversation, please find below a summary of change requests:

Mobile. Add margin to the 'No results' message div
Desktop. Change query size on total-results to 16px
Desktop & Mobile. Try to align ID results text titles

Fixed the first 2 points, but we cannot align the ID results with the current implementation of the suggestions.

Please take a look to the no results page in mobile. If the query leading to no results is quite long, the text will be misaligned:

Good catch! Fixed!


Allow setting JVM options of MillServerMain

We are getting StackOverflowError when compiling a case class with 35 fields and we want to increase the stack size of scalac, but there seems to be no way to do that other than setting JAVA_TOOL_OPTIONS.

We are using shapeless/http4s/doobie/circe and they might be contributing to the stack consumption.

It would be better if we don't need to resort back to JAVA_TOOL_OPTIONS that prints a message like Picked up JAVA_TOOL_OPTIONS: -Xss4m every time a JVM is launched.

They say it's considered normal in Scala that you may have to increase JVM stack size in order to compile some kinds of especially involved or nested Scala code.

We have encountered the same symptom with pureconfig in a different project.
The project has only 12 case classes with 5 or less members for pureconfig to handle.


infra: add REPLICA_DATABASE_URLS to ECS task definition

Thanks for submitting a PR! Please check the boxes below:

[x] I have run pre-commit to check linting
[ ] I have added information to docs/ if required so people know about the feature!
[x] I have filled in the "Changes" section below?
[x] I have filled in the "How did you test this code" section below?
[x] I have used a Conventional Commit title for this Pull Request

Changes
Adds a new reference to the REPLICA_DATABASE_URLS secret in the task definition so that we can add the Aurora reader endpoint to it.
How did you test this code?
I updated the task definition in staging manually and ran a reader instance in the aurora cluster. I then ran a basic test, spamming 3 of our main SDK endpoints and confirmed that the performance improved with the additional reader logic.

Closing due to https://github.com/Flagsmith/flagsmith/issues/3878


Prevent PhantomJs timeouts when running tests on Travis CI

Hopefully. See:

karma-runner/karma#598
webpack/karma-webpack#8

Maybe try running it a few times on travis with these settings?


Public API for config

I've just filed this bug with grunt-karma,
https://github.com/karma-runner/grunt-karma/issues/79
Which got me thinking, should config have a public API?
If it did, grunt-karma could parse the config itself, do whatever merging/overwriting of config it needed to, and then pass that to karma.server.

The original issue was fixed, I don't think there is a need for exposing an api for that at the moment.


fix: use more compatible ReadableStream iteration method

Related issue #13.

@nshcr are you able to stream with this patch?

@nshcr are you able to stream with this patch?

Certainly, I tested it by import into a Vite project, and it successfully streams text in the latest browsers (Chromium, Firefox, Safari) as well as in Node.js (v18.18), with the stream option is set to true.

Ok. I'm going to try it. I'm using it in an electron app, a chromium tab.

Does this fix https://github.com/ollama/ollama-js/issues/33 ?

I think #33 could be from the file reading logic (which wont work in a browser at the moment)


Add vanilla backend

This vanilla backend can be executed by the command
$ ./onnc model.onnx -mquadruple vanilla
Then generates some dummy machine codes.
Backend developers can jump-start their work from such a skeleton.

Good job!


The pddl-parser seems to reject empty effects without conjunctions

This definition failed to parse:
(:ACTION DIVERGENCE
          :PARAMETERS () ; (?P ?O)
          :PRECONDITION ()
          :EFFECT ())

but this one succeeded:
(:ACTION DIVERGENCE
          :PARAMETERS () ; (?P ?O)
          :PRECONDITION ()
          :EFFECT (AND))

If I understand the syntax correctly, an empty effect as in the first example, seems to be explicitly accepted.

looks like so.
<emptyOr(x)>::=()
<emptyOr(x)>::=x
<action-def body> ::= [:precondition <emptyOr (pre-GD)>]
                      [:effect <emptyOr (effect)>]

Yes, quite right, they should be accepted. This is an outstanding issue that I should have dealt with long ago. I will try to get on top of it and let you know!
Cheers
Derek

From: rpgoldman<EMAIL_ADDRESS>Sent: 13 September 2017 00:00:17
To: KCL-Planning/VAL
Cc: Subscribed
Subject: [KCL-Planning/VAL] The pddl-parser seems to reject empty effects without conjunctions (#21)
This definition failed to parse:
(:ACTION DIVERGENCE
:PARAMETERS () ; (?P ?O)
:PRECONDITION ()
:EFFECT ())
but this one succeeded:
(:ACTION DIVERGENCE
:PARAMETERS () ; (?P ?O)
:PRECONDITION ()
:EFFECT (AND))
If I understand the syntax correctly, an empty effect as in the first example, seems to be explicitly accepted.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FKCL-Planning%2FVAL%2Fissues%2F21&data=01|01|derek.long%40kcl.ac.uk|a4e5baaa810547709f8808d4fa320cf7|8370cf1416f34c16b83c724071654356|0&sdata=XYgul3t0pMTlngjZ5Aq48CwgvSjZqOCRL09DCWdYIb0%3D&reserved=0, or mute the threadhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHSnVO1U6uIDkggt9Y0YtPDri4YYGjEJks5shw0AgaJpZM4PVXV_&data=01|01|derek.long%40kcl.ac.uk|a4e5baaa810547709f8808d4fa320cf7|8370cf1416f34c16b83c724071654356|0&sdata=7HyhY4Qm7O0%2BpXXFfXWWc9vcseUtDPtrPYJlT3XN0fw%3D&reserved=0.

ping --- is this fixed?

Thanks for the ping. I will deal with this - I am finding time to move a few things along. You could issue a pull request for your proposed fix.


bug/Notion Connector Issue: ModuleNotFoundError for 'unstructured.ingest.connector.notion.types'

Description:
While using unstructured version 0.9.2 and running the notion connector with the following command:
unstructured-ingest \
    notion \
    --api-key "*******" \
    --structured-output-dir notion-ingest-output \
    --page-ids "*******" \
    --num-processes 2 \
    --verbose

I received the following error:
2023-08-11 11:08:52,821 MainProcess ERROR    No module named 'unstructured.ingest.connector.notion.types'
Traceback (most recent call last):
  File "/.venv/lib/python3.11/site-packages/unstructured/ingest/cli/cmds/notion.py", line 41, in notion
    notion_fn(connector_config=connector_config, processor_config=processor_config, **options)
  File "/.venv/lib/python3.11/site-packages/unstructured/ingest/runner/notion.py", line 45, in notion
    from unstructured.ingest.connector.notion.connector import (
  File "/.venv/lib/python3.11/site-packages/unstructured/ingest/connector/notion/connector.py", line 8, in <module>
    from unstructured.ingest.connector.notion.types.database import Database
ModuleNotFoundError: No module named 'unstructured.ingest.connector.notion.types'
Error: No module named 'unstructured.ingest.connector.notion.types'

Environment Details:

unstructured version: 0.9.2
Python Version: 3.11
Operating System: Mac OS 12.5.1

FIx in review: roman/notion module not found fix

fix is now in main and will be in the next Unstructured release


upgraded to 7.0.0.Beta3

@mbiarnes links to docs seems to be hitting not found, is that expected?

@cristianonicolai : fixed


Fix diagnostics conflicting with hover doc

If I try render the hover window with render_hover_doc, show_cursor_diagnostics immediately dismisses the hover doc and render the diagnostics again (happens with show_line_diagnostics too). I think this is due to CursorHold triggering after render_hover_doc which I have bound to show cursor diagnostics
vim.api.nvim_command('autocmd CursorHold <buffer> lua require("lspsaga.diagnostic").show_cursor_diagnostics()')

I've added a check to see if hover doc is present before rendering the diagnostic and provided a way to override it if the function is bound to something else.

Think this is somewhat related to #144

can you test now ? I think should be work now.

Yeah, it was still occurring after commit 7984e5a

hmm why it works for me ...

Huh, that's odd 🤔
This is what I'm seeing
https://user-images.githubusercontent.com/991180/111624038-14ba1f00-87e3-11eb-8c77-63bb015d6526.mp4
I guess these are the relevant bits from my dotfiles (link)
vim.api.nvim_command('autocmd CursorHold <buffer> lua require("lspsaga.diagnostic").show_line_diagnostics()')
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'K', '<cmd>lua require("lspsaga.hover").render_hover_doc()<CR>', opts)

I reproduce . so I merged 👍   Thanks for pr


Release VelaUX v1.9.0

Hi there ✋
VelaUX v1.9.0 is released here but the addon is still using v1.8.1 as specified here.
Can you upgrade the addon too?

There's something wrong in v1.9.0 release in VelaUX due to migration. I'm fixing it and will release v1.9.1 later. Then the addon will be upgraded.

VelaUX v1.9.1 is released. Due to the migration. New registry is at: https://kubevela.github.io/catalog/official
vela addon registry update KubeVela --type helm --endpoint=https://kubevela.github.io/catalog/official


cue errors out on solvable cycles

What version of CUE are you using (cue version)?
$ cue version
cue version devel linux/amd64

I am not sure how to get the actual version, but I installed cue today with:
go get -u cuelang.org/go/cmd/cue

Master is at cefe38b12bc4df48f5bc100d0a45fc9ec563e36d
What did you do?
Running cue export on:
a0: X
a1: a0 * 2
Y: a1

b0: Y
b1: b0 / 2
X: b1

X: 5.0

What did you expect to see?
{
    "a0": 5.0,
    "a1": 10.0,
    "Y": 10.0,
    "b0": 10.0,
    "b1": 5.0,
    "X": 5.0
}

What did you see instead?
cycle error:
    ./example.cue:2:5

Comments
If I replace a0: X with a0: 5.0 (the value of X) I get the expected result.

This cycle may be mathematically solvable, but it is illegal CUE. CUE does not allow self-references other than the value directly. That is, it is illegal to have a cycle as an operand to an expression (like b0 / 2).
In general, CUE does not do any mathematical resolution, even if it is very simple. This is outside the scope of CUE. It could be solved with tooling build on top of CUE, but is it not something that should be part of the main evaluator, as it will have all kinds of undesirable consequences.

Then the issue is with cue's docs. Opened a new issue: #624

Yes indeed. There is an illegal cycle, but the 5.0 in
X: b1
X: 5.0 // this breaks it

should break it.

So I think I found a way to make this work. First I made all a* and b* fields definitions since they are just intermediary values:
#a0: X
#a1: #a0 * 2
Y: #a1

#b0: Y
#b1: #b0 / 2
X: #b1

X: 5.0

This still errors out, but inlining #a0 and #b0:
#a1: X * 2
Y: #a1

#b1: Y / 2
X: #b1

X: 5.0

and cue now computes Y correctly:
$ cue export example.cue
{
    "Y": 10.0,
    "X": 5.0
}

I can even add more intermediary steps:
#a0: X + 1
#a1: #a0 * 2
Y: #a1

#b0: Y / 2
#b1: #b0 - 1
X: #b1

Y: 5.0

$ cue export example.cue
{
    "Y": 5.0,
    "X": 1.5
}

So there's definitely something funky going on, but at least I can now make it work the way I wanted to.

So I think I found a way to make this work. First I made all a* and b* fields definitions since they are just intermediary values:
#a0: X
#a1: #a0 * 2
Y: #a1

#b0: Y
#b1: #b0 / 2
X: #b1

X: 5.0

This still errors out, but inlining #a0 and #b0:
#a1: X * 2
Y: #a1

#b1: Y / 2
X: #b1

X: 5.0

and cue now computes Y correctly:
$ cue export example.cue
{
    "Y": 10.0,
    "X": 5.0
}

I can even add more intermediary steps:
#a0: X + 1
#a1: #a0 * 2
Y: #a1

#b0: Y / 2
#b1: #b0 - 1
X: #b1

Y: 5.0

$ cue export example.cue
{
    "Y": 5.0,
    "X": 1.5
}

So there's definitely something funky going on, but at least I can now make it work the way I wanted to.

Either way, your original example should work as well.  We're working on some refactoring that makes fixing this easy as well as improve performance (or at least prepare for improving performance).

Either way, your original example should work as well.  We're working on some refactoring that makes fixing this easy as well as improve performance (or at least prepare for improving performance).

This issue has been migrated to https://github.com/cue-lang/cue/issues/622.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Package sync downloader should remain 0 or 1 files at the end

It should not produce more and more sync files unnecessarily

fixed in https://github.com/Cognifide/gradle-aem-plugin/pull/619/files


Ability to take Serialization of Qbservables without the tcp component?

I'm super interested in this stuff, since ms seems to be dropping the ball on it in a bad way. I'd like to be able to just serialize the Qbservable... is it reasonable to just convert an expression to a SerializableExpression and then serialize via whatever serializer I choose to and push that over to other end via websockets or rest endpoint?

Thanks for your interest. I'm actually in the same boat. I really needed this for work and have been waiting for MS to release theirs for a while. Also, seeing Bart's presentation made me think that their implementation is probably much larger and more complicated than what I actually needed (e.g., Azure dependency and persistence), and I'm doubtful whether it will support Qactive's features, which I find absolutely necessary for my needs; e.g., a simple extension method to convert an IObservable<T> into an IQbservable<T> over a TCP socket, anonymous type serialization and the full-duplex callback mechanism (which I simply refer to as "duplex").
I'm aware that not everyone is going to want to use my TCP implementation, so I've separated the Qactive core and Streaming components away from TCP so that custom providers can be built on top of them. I'd be interested in accepting a pull request for (or building, or helping to build) a WebSocket provider.
I'm not sure how Qactive would work with REST though, since I designed it for persistent socket connections. Writing a provider for it would be tricky, especially because of the callback mechanism; i.e., if you close over an IObservable<T>, then the server subscribes to the observable on the client. Perhaps the solution is to just not support callbacks in the REST provider. Would have to think some more about it though.
The unit tests actually have an example of a custom provider that I built just for test purposes. I basically copied the TCP provider and systematically refactored until I got what I needed. So that proves that it's possible.
Reviewing the TCP provider is a good starting point to see how a WebSocket version could be built. That seems like it might be pretty easy, actually.
If you'd like to provide some more context about how you'd like to use it, then maybe I can help.

Btw, if you really just want to use the serialization expressions and to your own thing, then that's possible too. Actually, I've been using the serializable expression trees to send Func<T> as part of the payload in one of my Qactive queries at work; e.g., as an IComparer<T> implementation for sorting on the server-side via a duplex subscription.
To serialize expressions, simply create an instance of SerializableExpressionConverter and call any of its TryConvert methods. (Don't reuse the instance though, because it's stateful and doesn't clear itself.)
To deserialize, call the static TryConvert method.

Fyi, I'm working on a WebSocket provider now. It'll probably be checked in within the week. It may not be exactly what you're looking for but at least it's a step in the right direction.


[Bug]: Save dialog looses project's context

Apache Hop version?
2.8.0-SNAPSHOT
Java version?
openjdk 11
Operating system
Linux
What happened?
When you change project , if you tray to save a pipeline or a job the save dialog always refers to the previous project you came from.
Issue Priority
Priority: 2
Issue Component
Component: Hop Gui

If you disable the global bookmarks in your settings it will be project aware.


⚠ Turnos 24x7 has degraded performance

In 224b19d, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1040 ms

Resolved: Turnos 24x7 performance has improved in e80d561.


Minor fixes to GTest/Conan example

Add --build=missing to the conan install command
Correct the path to hi executable to include the build type dir

Thanks! I've neglected this project in a half-finished state. Your PR gave me a nudge to come back to it. Thanks!

And thank you for putting this together!


Add support for the contextual and isolated modifiers to include template tags

Description
Let's make it possible to include template snippets/partials by explicitly stating whether the current template context should be made available to the included template or not through the use of new contextual and isolated tag modifiers.
For example:
{# Include my_snippet.html with the current context #}
{% include "my_snippet.html" with foo="bar", test="xyz" contextual %}

{# Include my_snippet.html without the current context #}
{% include "my_snippet.html" with foo="bar", test="xyz" isolated %}

Additionally, a new templates.isolated_included_templates setting should also be introduced in order to let developers choose whether or not included templates receive the current context by default (the default value of this setting should be false in order to ensure we don't introduce a backward-incompatible behavior).

This is required for clean code, and I like the proposed solution.
In order to encourage clean code in Marten projects by default, I recommend to set the default to true in a future version (1-2 releases later).


python310Packages.itemloaders: 1.0.4 -> 1.0.5

Description of changes

https://github.com/scrapy/itemloaders/releases/tag/v1.0.5
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 188556 run on x86_64-linux 1

10 packages built:

python310Packages.itemloaders
python310Packages.scrapy
python310Packages.scrapy-deltafetch
python310Packages.scrapy-fake-useragent
python310Packages.scrapy-splash
python39Packages.itemloaders
python39Packages.scrapy
python39Packages.scrapy-deltafetch
python39Packages.scrapy-fake-useragent
python39Packages.scrapy-splash


[Bug] Problem with click combos when you using F

Describe the bug
When you use F in a click combo you are unable to use /class skill, it causes an error: https://pastebin.com/Nb6zSMT2
To Reproduce
Steps to reproduce the behavior:
Example steps (replace with your steps)
Enable click combos and when setting up your skill use an F in the combo
Expected behavior
You should be able to use /class skill to add/remove points and to view your skills, but you can't

fixed in latest dev build

doesn't work on mc version 1.17.1
tried the mentioned dev build and it didn't work out as well


🔧 Not able to build expo dev client when using any of the given frame processing plugin for OCR

How were you trying to build the app?
I tried adding an OCR and a barcode scanner frame processor plugin, the barcode is working absolutely fine but while trying to build the dev client build for the OCR plugin it's giving error.
Full build logs
[RUN_FASTLANE] › Packaging react-native-worklets-core Pods/react-native-worklets-core » libreact-native-worklets-core.a
[RUN_FASTLANE] › Packaging react-native Pods/React-CoreModules » libReact-CoreModules.a
[RUN_FASTLANE] › Packaging react-native-vision-camera Pods/VisionCamera » libVisionCamera.a
[RUN_FASTLANE] › Packaging react-native-vision-camera Pods/VisionCamera » libVisionCamera.a
[RUN_FASTLANE] › Executing react-native-vision-camera Pods/VisionCamera » Copy generated compatibility header
[RUN_FASTLANE] › Compiling react-native-vision-camera-v3-text-recognition Pods/react-native-vision-camera-v3-text-recognition » react-native-vision-camera-v3-text-recognition-dummy.m
[RUN_FASTLANE] › Compiling react-native-vision-camera-v3-text-recognition Pods/react-native-vision-camera-v3-text-recognition » VisionCameraV3TextRecognition.m
[RUN_FASTLANE]
❌  (node_modules/react-native-vision-camera-v3-text-recognition/ios/VisionCameraV3TextRecognition.m:9:9)

   7 | #import <VisionCamera/FrameProcessorPlugin.h>
   8 | #import <VisionCamera/FrameProcessorPluginRegistry.h>
>  9 | #import <VisionCameraProxy.h>
     |         ^ 'VisionCameraProxy.h' file not found with <angled> include; use "quotes" instead
  10 | #import <VisionCamera/Frame.h>
  11 | @import MLKitVision;
  12 | @interface VisionCameraTextRecognitionV3Plugin : FrameProcessorPlugin

[RUN_FASTLANE]
❌  (node_modules/react-native-vision-camera/ios/FrameProcessors/VisionCameraProxy.h:12:2)

  10 |
  11 | #ifndef __cplusplus
> 12 | #error VisionCameraProxy.h has to be compiled with C++!
     |  ^ VisionCameraProxy.h has to be compiled with C++!
  13 | #endif
  14 |
  15 | #import <Foundation/Foundation.h>

[RUN_FASTLANE]
❌  (node_modules/react-native-worklets-core/cpp/dispatch/WKTDispatchQueue.h:3:10)

  1 | #pragma once
  2 |
> 3 | #include <condition_variable>
    |          ^ 'condition_variable' file not found
  4 | #include <cstdint>
  5 | #include <cstdio>
  6 | #include <functional>

[RUN_FASTLANE] › Compiling react-native-vision-camera-v3-text-recognition Pods/react-native-vision-camera-v3-text-recognition » VisionCameraV3TextRecognition.m
[RUN_FASTLANE]
❌  (node_modules/react-native-vision-camera-v3-text-recognition/ios/VisionCameraV3TextRecognition.m:9:9)

   7 | #import <VisionCamera/FrameProcessorPlugin.h>
   8 | #import <VisionCamera/FrameProcessorPluginRegistry.h>
>  9 | #import <VisionCameraProxy.h>
     |         ^ 'VisionCameraProxy.h' file not found with <angled> include; use "quotes" instead
  10 | #import <VisionCamera/Frame.h>
  11 | @import MLKitVision;
  12 | @interface VisionCameraTextRecognitionV3Plugin : FrameProcessorPlugin

[RUN_FASTLANE]
❌  (node_modules/react-native-vision-camera/ios/FrameProcessors/VisionCameraProxy.h:12:2)

  10 |
  11 | #ifndef __cplusplus
> 12 | #error VisionCameraProxy.h has to be compiled with C++!
     |  ^ VisionCameraProxy.h has to be compiled with C++!
  13 | #endif
  14 |
  15 | #import <Foundation/Foundation.h>

[RUN_FASTLANE]
❌  (node_modules/react-native-worklets-core/cpp/dispatch/WKTDispatchQueue.h:3:10)

  1 | #pragma once
  2 |
> 3 | #include <condition_variable>
    |          ^ 'condition_variable' file not found
  4 | #include <cstdint>
  5 | #include <cstdio>
  6 | #include <functional>

[RUN_FASTLANE] › Compiling react-native-vision-camera-v3-text-recognition Pods/react-native-vision-camera-v3-text-recognition » react-native-vision-camera-v3-text-recognition-dummy.m
[RUN_FASTLANE] › Packaging react-native Pods/React-RCTAppDelegate » libReact-RCTAppDelegate.a
[RUN_FASTLANE] › Packaging react-native Pods/React-RCTAppDelegate » libReact-RCTAppDelegate.a
[RUN_FASTLANE] › Compiling react-native-vision-camera-barcodes-scanner Pods/VisionCameraBarcodesScanner » VisionCameraBarcodesScanner.m
[RUN_FASTLANE] › Compiling react-native-vision-camera-barcodes-scanner Pods/VisionCameraBarcodesScanner » VisionCameraBarcodesScanner-dummy.m
[RUN_FASTLANE] › Compiling react-native-vision-camera-barcodes-scanner Pods/VisionCameraBarcodesScanner » VisionCameraBarcodesScanner.m
[RUN_FASTLANE]     Run script build phase '[CP-User] Generate app.manifest for expo-updates' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXUpdates' from project 'Pods')
[RUN_FASTLANE]     Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
[RUN_FASTLANE]     Run script build phase '[CP-User] [Hermes] Replace Hermes for the right configuration, if needed' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'hermes-engine' from project 'Pods')
[RUN_FASTLANE] ▸ ** BUILD FAILED **
[RUN_FASTLANE] ▸ The following build commands failed:
[RUN_FASTLANE] ▸        CompileC /var/folders/4_/9d2lqnld14d3qtt4zrtbjbbr0000gn/T/eas-build-local-nodejs/996f106f-95c7-4f1b-984e-f63aa64abfe1/build/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-vision-camera-v3-text-recognition.build/Objects-normal/x86_64/VisionCameraV3TextRecognition.o /var/folders/4_/9d2lqnld14d3qtt4zrtbjbbr0000gn/T/eas-build-local-nodejs/996f106f-95c7-4f1b-984e-f63aa64abfe1/build/node_modules/react-native-vision-camera-v3-text-recognition/ios/VisionCameraV3TextRecognition.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-vision-camera-v3-text-recognition' from project 'Pods')
[RUN_FASTLANE] ▸        CompileC /var/folders/4_/9d2lqnld14d3qtt4zrtbjbbr0000gn/T/eas-build-local-nodejs/996f106f-95c7-4f1b-984e-f63aa64abfe1/build/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-vision-camera-v3-text-recognition.build/Objects-normal/arm64/VisionCameraV3TextRecognition.o /var/folders/4_/9d2lqnld14d3qtt4zrtbjbbr0000gn/T/eas-build-local-nodejs/996f106f-95c7-4f1b-984e-f63aa64abfe1/build/node_modules/react-native-vision-camera-v3-text-recognition/ios/VisionCameraV3TextRecognition.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-vision-camera-v3-text-recognition' from project 'Pods')
[RUN_FASTLANE] ▸ (2 failures)
[RUN_FASTLANE] ** BUILD FAILED **
[RUN_FASTLANE]
[RUN_FASTLANE]
[RUN_FASTLANE] The following build commands failed:
[RUN_FASTLANE]  CompileC /var/folders/4_/9d2lqnld14d3qtt4zrtbjbbr0000gn/T/eas-build-local-nodejs/996f106f-95c7-4f1b-984e-f63aa64abfe1/build/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-vision-camera-v3-text-recognition.build/Objects-normal/x86_64/VisionCameraV3TextRecognition.o /var/folders/4_/9d2lqnld14d3qtt4zrtbjbbr0000gn/T/eas-build-local-nodejs/996f106f-95c7-4f1b-984e-f63aa64abfe1/build/node_modules/react-native-vision-camera-v3-text-recognition/ios/VisionCameraV3TextRecognition.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-vision-camera-v3-text-recognition' from project 'Pods')
[RUN_FASTLANE]  CompileC /var/folders/4_/9d2lqnld14d3qtt4zrtbjbbr0000gn/T/eas-build-local-nodejs/996f106f-95c7-4f1b-984e-f63aa64abfe1/build/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-vision-camera-v3-text-recognition.build/Objects-normal/arm64/VisionCameraV3TextRecognition.o /var/folders/4_/9d2lqnld14d3qtt4zrtbjbbr0000gn/T/eas-build-local-nodejs/996f106f-95c7-4f1b-984e-f63aa64abfe1/build/node_modules/react-native-vision-camera-v3-text-recognition/ios/VisionCameraV3TextRecognition.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-vision-camera-v3-text-recognition' from project 'Pods')
[RUN_FASTLANE] (2 failures)
[RUN_FASTLANE] Exit status: 65
[RUN_FASTLANE]
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE] |           Build environment           |
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE] | xcode_path  | /Applications/Xcode.app |
[RUN_FASTLANE] | gym_version | 2.212.2                 |
[RUN_FASTLANE] | sdk         | iPhoneOS17.5.sdk        |
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE]
[RUN_FASTLANE] Looks like fastlane ran into a build/archive error with your project
[RUN_FASTLANE] It's hard to tell what's causing the error, so we wrote some guides on how
[RUN_FASTLANE] to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[RUN_FASTLANE] Before submitting an issue on GitHub, please follow the guide above and make
[RUN_FASTLANE] sure your project is set up correctly.
[RUN_FASTLANE] fastlane uses `xcodebuild` commands to generate your binary, you can see the
[RUN_FASTLANE] the full commands printed out in yellow in the above log.
[RUN_FASTLANE] Make sure to inspect the output above, as usually you'll find more error information there
[RUN_FASTLANE]
[RUN_FASTLANE] [!] Error building the application - see the log above
[RUN_FASTLANE] Error: The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.

Build failed
The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.
npx exited with non-zero code: 1
    Error: build command failed.
 ELIFECYCLE  Command failed with exit code 1.

Project dependencies
"dependencies":{
	"react-native": "^0.73.4",
	"react-native-vision-camera": "^4.0.1",
	"react-native-vision-camera-barcodes-scanner": "^1.0.0",
	"react-native-vision-camera-v3-text-recognition": "^1.1.1",
	"react-native-worklets-core": "^1.3.3",
}

VisionCamera Version
4.0.1
Target platforms
iOS
Operating system
MacOS
Can you build the VisionCamera Example app?
No, I cannot build the Example app either
Additional information

[X] I am using Expo
[X] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

@Swikriti0998 That is an issue with the frame processor plugin. Mention this problem in the issues of that project.

Yea I'm sorry about that. The header path should be <VisionCamera/VisionCameraProxyHolder.h> now - can you update that and send them a PR? Thank you.

I am still facing this error
❌ Pods/react-native-vision-camera-v3-text-recognition: 'VisionCameraProxy.h' file not found with include; use "quotes" instead
└─/Users/tribalscale/script-runner-driver-mobile/node_modules/react-native-vision-camera-v3-text-recognition/ios/VisionCameraV3TextRecognition.m:9:9
❌ Pods/react-native-vision-camera-v3-text-recognition: 'condition_variable' file not found
└─/Users/tribalscale/script-runner-driver-mobile/node_modules/react-native-worklets-core/cpp/dispatch/WKTDispatchQueue.h:3:10
› Executing expo-modules-core Pods/ExpoModulesCore » Copy generated compatibility header
This is my package.json
{
"name": "scriptrunner-driver-mobile",
"main": "expo-router/entry",
"version": "1.0.0",
"scripts": {
"start": "expo start",
"reset-project": "node ./scripts/reset-project.js",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"test": "jest --watchAll",
"lint": "eslint .",
"prepare": "husky"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"@aws-amplify/react-native": "^1.1.6",
"@aws-amplify/ui-react-native": "^2.2.14",
"@expo/vector-icons": "^14.0.2",
"@react-native-async-storage/async-storage": "^2.0.0",
"@react-native-community/geolocation": "^3.4.0",
"@react-native-community/netinfo": "^11.4.1",
"@react-navigation/native": "^6.1.18",
"aws-amplify": "^6.6.4",
"axios": "^1.7.7",
"expo": "~51.0.28",
"expo-camera": "^15.0.16",
"expo-constants": "~16.0.2",
"expo-font": "~12.0.9",
"expo-image": "^1.12.15",
"expo-image-manipulator": "^12.0.5",
"expo-linking": "~6.3.1",
"expo-location": "^17.0.1",
"expo-router": "~3.5.23",
"expo-splash-screen": "~0.27.5",
"expo-status-bar": "~1.12.1",
"expo-system-ui": "~3.0.7",
"expo-web-browser": "~13.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.74.5",
"react-native-config": "^1.5.3",
"react-native-error-boundary": "^1.2.5",
"react-native-geolocation-service": "^5.3.1",
"react-native-gesture-handler": "~2.16.1",
"react-native-get-random-values": "^1.11.0",
"react-native-image-picker": "^7.1.2",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-maps": "^1.18.0",
"react-native-paper": "^5.12.5",
"react-native-permissions": "^4.1.5",
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "^4.10.5",
"react-native-screens": "3.31.1",
"react-native-signature-capture": "^0.4.12",
"react-native-svg": "^15.8.0",
"react-native-svg-transformer": "^1.5.0",
"react-native-vision-camera": "4.0.5",
"react-native-vision-camera-v3-text-recognition": "^1.1.1",
"react-native-web": "~0.19.10",
"react-native-webview": "^13.12.2",
"react-native-worklets-core": "^1.3.3"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@types/jest": "^29.5.13",
"@types/react": "~18.2.45",
"@types/react-native": "^0.72.8",
"@types/react-native-maps": "^0.24.2",
"@types/react-test-renderer": "^18.0.7",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"eslint": "^8.57.1",
"eslint-config-expo": "^7.1.2",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-expo": "~51.0.3",
"lint-staged": "^15.2.10",
"react-test-renderer": "18.2.0",
"ts-jest": "^29.2.5",
"typescript": "~5.3.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"npm run lint"
]
},
"private": true
}


Migration Feature Gate: Testnet

https://github.com/anza-xyz/feature-gate-tracker/issues/57

https://explorer.solana.com/address/AddressLookupTab1e1111111111111111111111111?cluster=testnet


User Sign In Page

Please describe the feature you wish to add.
The page where the user enters their email/username & password to log-in.
What is the user story associated with this feature?
As a user, I want to be able to log-in with my credentials to view and post new events.
Additional context
Might want to link registration page here too

Basic functionality was added in 4d8775fe786d103b951ff231406d5710d4186c17


Validating row constraints in adorn node

D3.0 will only validate column constraints in adorn node. I guess this is a missing feature.
It would be highly desirable to implement row constraint validation, making it possible to validate, say, custom filters.

Closing down. Turns out, my tests were incorrect!


Add Bazel macros to depend on an automatically-generated gRPC library

Depends on https://github.com/google/protobuf/pull/554
Final piece of #2120.

https://github.com/google/protobuf/pull/554 is merged.


Carry out mapping using the NCI Metathesaurus

A simple term mapper built around the NCI Metathesaurus. It can produce the entire known mapping, or only map a list of input terms. Most RRF files are loaded directly into memory, but since two critical files we need (MRCONSO and MRHIER) are particularly large, we load those into a local SQLite3 database and query them from there. It also includes support for matching via the parent term, i.e. when term X in source A has no mapping in source B, but X's parent term does.

Sorry for the post-review request changes, Jim: I fixed a couple of minor issues and added CUIs to the CSV output. This PR should be stable enough for you to review now!


Hello, could you please provide BLIP-14M checkpoint?

I find BLIP-4M ckpt merely,  think that 14M will work better and want to use it. Could you please provide it?

The quota of HuggingFace is already run out. Actually BLIP4M is close to BLIP14M in most of case.
I'll notify you if we have more spaces available.


measure! paniced in web workers

there's no Window inside web workers, which failed the measure!

Aaag. I did not try in a web worker. Nice catch. Can you prepare some test code so I can debug it, please?

herer's a simple worker usage, the problem comes from measure api, there's no window inside a web worker
<script>
  const worker = new Worker('./worker.js', {type: 'module'});
  worker.postMessage({});
</script>

following is the content of the worker.js
// worker.js
import * as sim from "./qasmsim/qasmsim.js";
sim.init();
onmessage = (evt) => {
  console.log(evt);
};
onerror = (evt) => {
  console.log(evt, 'worker error');
};

Are you using Webpack? What kind of HTTP server are you running to try the code above?

Are you using Webpack? What kind of HTTP server are you running to try the code above?

No webpack, just static js & html. I'm using caddyserver from https://caddyserver.com/

This is now working on web workers. I've updated the sample web application.


Lights won't turn on with motion automation after sunset with AL enabled

Please confirm that you have completed the following steps:

[x] I have updated to the latest Adaptive Lighting version available in HACS.
[x] I have reviewed the Troubleshooting Section in the README.
[x] (If using Zigbee2MQTT) I have read the Zigbee2MQTT troubleshooting guide in the README.
[x] I have checked the V2 Roadmap and open issues to ensure my issue isn't a duplicate.

Debug logs captured while the issue occurred.

2024-04-02 21:23:57.964 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] (0) _service_interceptor_turn_on_handler: call.context.id='01HTG49A46RHCSSS2FG9M05HCC', is_skipped_hash='False'
2024-04-02 21:23:57.964 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] (1) _service_interceptor_turn_on_handler: call='<ServiceCall light.turn_on (c:01HTG49A46RHCSSS2FG9M05HCC): entity_id=['light.keuken_plafond'], params=>', service_data='{'entity_id': ['light.keuken_plafond'], 'params': {}}'
2024-04-02 21:23:57.964 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] (2) _service_interceptor_turn_on_handler: switch_to_eids='{'Adaptive Lighting: Adaptieve verlichting': ['light.keuken_plafond']}', skipped='[]'
2024-04-02 21:23:57.965 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] (3) _service_interceptor_turn_on_handler: intercepting entity_ids='['light.keuken_plafond']'
2024-04-02 21:23:57.965 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Intercepted TURN_ON call with data {'params': {}, 'entity_id': ['light.keuken_plafond']} (01HTG49A46RHCSSS2FG9M05HCC)
2024-04-02 21:23:57.968 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Adaptieve verlichting: Setting color_temp of light light.keuken_plafond
2024-04-02 21:23:57.975 DEBUG (MainThread) [custom_components.adaptive_lighting.adaptation_utils] Preparing adaptation data for light.keuken_plafond with service data {'entity_id': 'light.keuken_plafond', 'transition': 1.0, 'brightness': 209, 'color_temp_kelvin': 2000}
2024-04-02 21:23:57.976 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.keuken_plafond']')' event with context.id='01HTG49A46RHCSSS2FG9M05HCC'
2024-04-02 21:23:57.976 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Adaptieve verlichting: execute_cancellable_adaptation_calls with data: AdaptationData(entity_id=light.keuken_plafond, context_id=01HTG49A4G:al:IFSG:dpt_:7Z, sleep_time=1.0, force=False, max_length=1, which=both, initial_sleep=True)

Your Adaptive Lighting configuration:

I use the default configuration everywhere. The only thing I changed is:
min_brightness = 50
sleep_brightness = unchecked
I already removed the add-on and reinstalled it. The behavior is unfortunately the same.

(If using Zigbee2MQTT), i am not using zigbee2mqtt

Describe the bug and how to reproduce it: i have lights controlled by motion sensors. The lights are adapted by adaptive lighting. This worked flawlessy in the past. All of a sudden the lights are not turning on anymore when motion is detected. HA correctly fires the automation, but the light stays off. The weird thing is: this only happens after sunset. I double checked and sleep mode is off. I know AL is causing the issue here because when i switch off the main AL switch, the lights turn on as expected. Also, when manually executing the same automation, the lights turn on. The lights change color nicely by the way until sunset. After this, it is not working anymore. This really got me lost.

Steps to reproduce the behavior:
after sunset:

move in the kitchen
lights will not turn on

before sunset:

move in the kitchen
lights turn on

+1
My motion sensors also show weird behavior recently.
Lights either switch on for 1s, then off, then on again after a few seconds- or they do turn ob, but randomly turn off after a few minutes.
Have you found a solution?

 I have zero issues ever since!

That is because it is much simpler. Glad you found a solution.


Phaser.pointer.worldX and Y not adjusted by camera position when over a sprite

Version

Phaser Version: 3.55.2
Browser: confirmed the problem using Firefox, Chrome, Edge

Description
Phaser.pointer.worldX and Y not adjusted by camera position when over a sprite
Expected: consistent coordinates whether over a sprite or not
Actual: coordinates are accurate until the mouse hits a sprite and then coordinates are not offset by camera
Example Test Code
var camera = this.cameras.main;
camera.setPosition(0,-240); // tested X as well but not in recording
.
.
this.add.sprite(300, 925, 'atlas', 'arrowDown.png').setOrigin(0, 0).setName("fiveBackButton");
.
.
console.log(`Record pointer x:${this.pointer.worldX} y:${this.pointer.worldY}`)

Additional Information
Dude I'm sorry I don't have more code to test. While working up this bug I realized this.pointer.x works just fine for my game. I almost didn't click Submit but will anyway in case this can be easily found and fixed. Thanks!

Fully testable code sample, please.


Add missing implementation for skipping SSL cert verification

Possibly requires changes in HttpClientConfiguration and HttpClientWrapper.

Reopening the issue since the previous implementation introduced a breaking change.


Add default_scope to Request model to sort by created_at, descending

https://projects.engineering.redhat.com/browse/SSP-321
Add a default scope to Request so that it returns the models ordered descending by created_at, so it shows the newest ones first.

@miq-bot add_reviewer bzwei
@miq-bot add_reviewer hsong-rh

👍 Similar to catalog change in https://github.com/ManageIQ/catalog-api/pull/254


Missing Software Version for Dockerfile

The File
https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/<IP_ADDRESS>-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz
configured in Dockerfile did not exist, only
https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/<IP_ADDRESS>-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz
is available
Can you please update Version

@jsetzer there are two things. First of all <IP_ADDRESS> is a fixpack version and developer versions are not release for MQ fixpacks as far as I know. And second is, now in the latest Dockerfile the MQ_URL has been replaced by MQ_ARCHIVE and it reflects latest version available.
Please let me know if you've further queries about this.