Returning Either<T, A>

Hi,
I'm using varv.io library and I would like to return a Either<Throwable, T> from query methods. What should I write or plug-in to enable this?
Thank you.

I'm on vacation and away from a computer for 2 weeks, so can give a very detailed answer, but it should be a straightforward task once you know how the underlying mechanism works.
So, the interfaces you care about here are TypeMapper  (drives the way a Java type is mapped to a GraphQL type), InputConverter which drives how inputs received from the client are converted into the appropriate type and OutputConverter driving the way a resulting Java object is converted into a value that is to be serialized and returned to the client.
What I suggest you do is implement a TypeMapper that supports Either type (e.g. its supports method returns true only for Either) and maps it into a GraphQL Union type (as it's the perfect use-case) of the left and the right type of Either. The associated TypeResolver would make decisions based on whether the Either instance is a left or a right.
This means you can't use Either as an input as unions are not valid inputs but that sounds right anyway as it likely the correct thing to do in your case.
Finally, just register the custom mapper with the generator, e.g. generator.withTypeMapper(..).withDefaultMappers().
If you don't want to map it to a union, but some other custom object, you'll also need to implement OutputConverter to turn instances of Either into that structure. And if you want to allow using Either as an input, you'll need InputConverter as well to turn that structure back into an Either.
Tell me how far you get and I'll help you out if you get stuck.

Thanks @kaqqao. I'll try it as soon as possible.

Aaargh, I accidentally deleted my answer 😣

I'm implemeting the solution right now. That's fine.

Hi,
Im stuck with non-unique name error. I'm posting typemapper code so you can see.
public class EitherTypeMapper implements TypeMapper {
@Override
public GraphQLOutputType toGraphQLType(AnnotatedType javaType, Set abstractTypes, OperationMapper operationMapper, BuildContext buildContext) {
final Tuple2<AnnotatedType, AnnotatedType> types = getElementTypes(javaType);
    final List<GraphQLOutputType> outputTypes = Arrays.asList(operationMapper.toGraphQLType(types._1, abstractTypes, buildContext),
                                                              operationMapper.toGraphQLType(types._2, abstractTypes, buildContext));

    final GraphQLOutputType outputType = new GraphQLUnionType(getName(outputTypes), "", outputTypes, buildContext.typeResolver);

    return outputType;
}

@Override
public GraphQLInputType toGraphQLInputType(AnnotatedType javaType, Set<Type> abstractTypes, OperationMapper operationMapper, BuildContext buildContext) {
    throw new GraphQLException("Unable to build Either type from input parameters");
}

@Override
public boolean supports(AnnotatedType type) {
    return GenericTypeReflector.isSuperType(Either.class, type.getType());
}

private Tuple2<AnnotatedType, AnnotatedType> getElementTypes(AnnotatedType javaType) {
    final TypeVariable<Class<Either>>[] typeParameters = Either.class.getTypeParameters();

    final AnnotatedType left = GenericTypeReflector.getTypeParameter(javaType, typeParameters[0]);
    final AnnotatedType right = GenericTypeReflector.getTypeParameter(javaType, typeParameters[1]);

    return Tuple.of(left, right);
}

private String getName(final List<GraphQLOutputType> outputTypes) {
    return "Either" + outputTypes.stream()
                                  .map(GraphQLOutputType::getName)
                                  .reduce("", (acc, next) -> acc + "Or" + next);
}

}
`
Exception says
graphql.AssertException: All types within a GraphQL schema must have unique names. No two provided types may have the same name. No provided type may have a name which conflicts with any built in types (including Scalar and Introspection types)

Ah, yes. You sadly must keep track of the types you have already mapped and
return cached values. The cache is already available in BuildContext
(fields knownTypes and knownInputTypes, I think). There's a helper
class CachingTypeMapper which you try using, or see how it uses the cache.
I may have got some class/field names wrong because, crazily enough, I
don't have the code anywhere accessible and can't even get to GitHub
(writing this through email).
On Thu, Oct 12, 2017, 06:45 Pablo Marcel Parada<EMAIL_ADDRESS>wrote:

Hi,
Im stuck with non-unique name error. I'm posting typemapper code so you
can see.
public class EitherTypeMapper implements TypeMapper {
@override https://github.com/override
public GraphQLOutputType toGraphQLType(AnnotatedType javaType, Set
abstractTypes, OperationMapper operationMapper, BuildContext buildContext) {
final Tuple2<AnnotatedType, AnnotatedType> types =
getElementTypes(javaType);
final List<GraphQLOutputType> outputTypes = Arrays.asList(operationMapper.toGraphQLType(types._1, abstractTypes, buildContext),
                                                          operationMapper.toGraphQLType(types._2, abstractTypes, buildContext));

final GraphQLOutputType outputType = new GraphQLUnionType(getName(outputTypes), "", outputTypes, buildContext.typeResolver);

return outputType;

}
@Override
public GraphQLInputType toGraphQLInputType(AnnotatedType javaType, Set abstractTypes, OperationMapper operationMapper, BuildContext buildContext) {
throw new GraphQLException("Unable to build Either type from input parameters");
}
@Override
public boolean supports(AnnotatedType type) {
return GenericTypeReflector.isSuperType(Either.class, type.getType());
}
private Tuple2<AnnotatedType, AnnotatedType> getElementTypes(AnnotatedType javaType) {
final TypeVariable<Class>[] typeParameters = Either.class.getTypeParameters();
final AnnotatedType left = GenericTypeReflector.getTypeParameter(javaType, typeParameters[0]);
final AnnotatedType right = GenericTypeReflector.getTypeParameter(javaType, typeParameters[1]);

return Tuple.of(left, right);

}
private String getName(final List outputTypes) {
return "Either" + outputTypes.stream()
.map(GraphQLOutputType::getName)
.reduce("", (acc, next) -> acc + "Or" + next);
}
}
`
Exception says
graphql.AssertException: All types within a GraphQL schema must have
unique names. No two provided types may have the same name. No provided
type may have a name which conflicts with any built in types (including
Scalar and Introspection types)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/leangen/graphql-spqr/issues/33#issuecomment-336019387,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAyuw-tI3_U7UuGV-gAa-PyXkOGOpQb0ks5srZlMgaJpZM4Pz_sG
.

@pabloparada Have you managed to solve this or do you need additional help/clarification?
Can I close the issue?

@kaqqao I did solve it. Thank you.


[ACR] containerregistry get_manifest_properties haven't deserialized related_artifacts manifests

Package Name: azure-containerregistry
Package Version: 1.1.0b2
Operating System: Ubuntu-22.04
Python Version: python 3.8

Describe the bug
containerregistry get_manifest_properties doesn't returned expected related artifacts manifests
To Reproduce
Steps to reproduce the behavior:

New a client ContainerRegistryClient with azure account and registry endpoint
call function get_manifest_properties with parameter repository and digest which are already existed in the azure container registry
response of get_manifest_properties doesn't include the properties about related artifacts or manifests of that repository and digest.

Expected behavior
We expect that get_manifest_properties returned the related artifacts or manifests value of that repository and digest.
for example:
https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_container_registry_client.py#L410~L414
ArtifactManifestProperties class would also include the property of related_artifacts like class class ManifestAttributesBase(_serialization.Model) did in here https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_models.py#L781
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Thanks for the feedback. I'll tag someone who can potentially assist.

Hi @wenli200133 , thanks for reaching out!
The related_artifacts is a list of ArtifactManifestPlatform type. You can get each property value from the return of get_manifest_properties().
If you want to get the manifest data itself, it's in another function call download_manifest().
Please let me know if your question has been answered, thanks!


go_proto_library

@digitalentity FYI this is some progress, the error is no longer the original one, but ./test.bash now fails with:
$ b test //...
ERROR: Traceback (most recent call last):
        File "~/.cache/bazel/_bazel_vorburger/9e91208784b864033477b3d14a0a67c6/external/go_sdk/BUILD.bazel", line 3, column 41, in <toplevel>
                load("@io_bazel_rules_go//go:def.bzl", "declare_toolchains", "go_sdk")
Error: file '@io_bazel_rules_go//go:def.bzl' does not contain symbol 'declare_toolchains'
ERROR: ~/enola/cli/BUILD:19:12: While resolving toolchains for target //cli:enola: invalid registered toolchain '@go_sdk//:go_android_386': no such target '@go_sdk//:go_android_386': target 'go_android_386' not declared in package '' defined by ~/.cache/bazel/_bazel_vorburger/9e91208784b864033477b3d14a0a67c6/external/go_sdk/BUILD.bazel (Tip: use `query "@go_sdk//:*"` to see all the targets in that package)

The missing toolchain keeps changing, sometimes it's @go_sdk//:go_android_386 and sometimes it's @go_sdk//:go_aix_ppc64 and sometimes '@go_sdk//:go_windows_arm64 and @go_sdk//:go_netbsd_amd64.
I'm sure we'll eventually figure this out...

@digitalentity from what I have learnt in #202, I suspect that (as soon as I merge #204), you can just use https://github.com/bazelbuild/rules_go/blob/master/proto/core.rst#go_proto_library ... please IGNORE https://rules-proto-grpc.com (=https://github.com/rules-proto-grpc/rules_proto_grpc) ... do you want to try that? Not sure if it easier to pull and fix up this, and simplest to start over and not use this PR - whatever works best for you.

Closing this, in favour of #227!


spacing shortcut + auto update on nested groups (not symbols)

Hi, So I can't get the spacing shortcut to ever work (control+alt+command+p), other shortcut works fine as does manually adding spacing parameters to groups. Tried removing other plugins, tried in the sketch beta, just never works. I'm in sketch 48.2 on a MacBook Pro with touch bar + High Sierra 10.13.3.
The main problem, and I'm not sure if its an issue or not, but nested groups don't update unless you select something lower down in the the group hierarchy first. Is this the intended behaviour? as it seems to work by bubbling up from what was last selected? Or should it actually update everything when you click outside (which is what I thought it was supposed to do).
video here: https://www.dropbox.com/s/ngla2oojb1eee8a/paddy test.mov?dl=0
sketch file here: https://www.dropbox.com/s/a1y9wtn3a7khs5i/paddy new test.sketch?dl=0
Just wondering if this is a bug or not :)
Thanks!

@brentriddell In regards to the spacing shortcut issue: at my end, if I create a few rectangles, group them, and press ⌘+⌥+⌃+P, I get the spacing dialog. If I create a few rectangles and press the key combination without grouping them first, I get a warning message. So it seems to be working fine at my end. When you say that you "can't get the spacing shortcut to work", does it mean that nothing happens when you press the key combination, or do you get unexpected behaviour?
In regards to the issue of no autoupdate on group resize, I can confirm that I can indeed reproduce it: resizing a group does not trigger the autoupdate (only editing one of its children layers). When you have multiple, deeply nested layers this is even more noticeable: the deeply nested layers will not update unless you click all the way to select one of their children - clicking on children on parent layers will not update layers down in the hierarchy. This may be intended behaviour, but we need to get confirmation from @DWilliames...
Last of all: @brentriddell, it's always a good idea to make ONE ISSUE FOR EACH PROBLEM you encounter. This report contains 2 separate problems, which would have been better to put in 2 separate issues (one for the spacing shortcut problem, one for the autoupdate on group resize). That way the plugin author can discuss and address each one of them separately, and mark each one as a bug/completed/etc., independently.

Thanks @brentriddell for logging this. And thanks @luxlogica for the response too!!

Spacing shortcut: if you are talking about the keyboard shortcut not working; then I am not sure why that is. It must be something with other plugins/apps you have installed – I don't think it is an issue with Paddy. If it is just the keyboard shortcut not working, you have a few options here:

Use the option in the Menu bar – 'Plugins > Paddy > Spacing for selection'
Simply rename the layer yourself; you don't actually have to trigger the plugin with the 'Spacing for selection' action. It's just meant to make it easier to enter the values; you can name your layer for example: 'Group 2 [10v r]' to space it vertically by 10, all aligned to the right
Use something like Sketch runner — entering 'Spacing' should bring up Paddy as an option
Use the Keys Sketch plugin to remap the keyboard shortcut to whatever makes sense to you.

Auto update on group resize: You are correct; this is an issue; and also the intended behaviour (to a degree). I wanted Paddy to be optimised for large documents; if you resize something that had 1,000 nested elements, some of which are Symbol instances; you'll find it will lag quite a bit. But given that most scenarios, people don't nest this deeply, I will look into fixing this.

Log as separate issues: As @luxlogica mentioned, this would be easier to log as separate issues within Github. Easier to keep track of and report against. If you can confirm that your first issue is simply with the 'Keyboard shortcut'; I will close this issue and create a new only specifically for the auto-group resizing.

Cheers, 👍
Dave

Ok @brentriddell! Good news, I think I managed to fix this so that it will attempt to update the group, only if the group resized or changed names. So it should be optimised to handle this case now.
Can you please verify in the new update (v1.0.2) that this works? If it does, then I will close this issue. 👍

@brentriddell I have just released version 1.0.3 that should make this work even better. I'll close this issue for now. If you find the issue still persists, then please re-open it. 👍

Thanks @luxlogica and @DWilliames ... I got a horrible flu and didn't have my computer with me so I couldn't reply to all of this. But yes! the auto update seems to work great now, thank you :)


(#496) added github actions config file for CI test integrations according to the previously used .travis.yml

solved the issue #496

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

@jranson please review :)

Looks great!  I think the only thing we'd ask is to include v1.0.x and v1.1.x in the branch list, in addition to main.

added v1.0.x and v1.1.x in addition to main.


Remove chrN_random,ChrUn,chrM mapped reads before using MACS2.

Hi, Dr Liu,
Is it necessary for peak calling of histone modifications ChIP-seq data to remove the mapped reads on chrN_random, ChrUn and chrM  before running MACS2?
Thank you!

You'd better do so. This will avoid unnecessary computation and unexpected errors.

OK, thank you.


Modifying code procedure does not work.

I am trying to modify an existing port (openimageio) using this procedure:
https://learn.microsoft.com/en-us/vcpkg/produce/update-package-version?pivots=shell-cmd
Windows11
To Reproduce
Step1
xcopy C:\vcpkg\ports\openimageio C:\vcpkg\myports\openimageio /E
Step 2
I then modifed the ports version (in myports\openimageio).
Step 3
vcpkg install --overlay-ports=C:\vcpkg\myports\openimageio openimageio
According to the docs, I should get info about sha
Run vcpkg install --overlay-ports=$OVERLAY_LOCATION vcpkg-sample-library, you will get an error about the SHA512 of the package. Copy the value of the actual hash in your portfile.
This is what is printed.
C:\vcpkg>vcpkg install --overlay-ports=C:\vcpkg\myports\openimageio openimageio
Computing installation plan...
The following packages will be built and installed:
<EMAIL_ADDRESS>-- C:\vcpkg\myports\openimageio
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\Roger\AppData\Local\vcpkg\archives in 109 us. Use --debug to see more details.
Installing 1/1<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>C:\vcpkg\myports\openimageio: info: installing overlay port from here
-- Downloading https://github.com/AcademySoftwareFoundation/OpenImageIO/archive/v<IP_ADDRESS>.tar.gz -> AcademySoftwareFoundation-OpenImageIO-v<IP_ADDRESS>.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from C:\vcpkg\vcpkg-bundle.json
[DEBUG] Failed to open: C:\vcpkg\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Metrics enabled.
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
error: Missing AcademySoftwareFoundation-OpenImageIO-v<IP_ADDRESS>.tar.gz and downloads are blocked by x-block-origin.
error: https://github.com/AcademySoftwareFoundation/OpenImageIO/archive/v<IP_ADDRESS>.tar.gz: failed: status code 404
[DEBUG] D:\a\_work\1\s\src\vcpkg\base\downloads.cpp(1030):
[DEBUG] Time in subprocesses: 0us
[DEBUG] Time in parsing JSON: 3us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 583us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 460 ms (448914us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):

      Failed to download file with error: 1
      If you are using a proxy, please check your proxy setting. Possible causes are:

      1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
         to `https://address:port`. This is not correct, because `https://` prefix
         claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
         , etc..) is an HTTP proxy. Try setting `http://address:port` to both
         HTTP_PROXY and HTTPS_PROXY instead.

      2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
         set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
         The value set by your proxy might be wrong, or have same `https://` prefix issue.

      3. Your proxy's remote server is out of service.

      If you've tried directly download the link, and believe this is not a temporary
      download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
      to report this upstream download server failure.

Call Stack (most recent call first):
  scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
  scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile)
  myports/openimageio/portfile.cmake:1 (vcpkg_from_github)
  scripts/ports.cmake:192 (include)

error: building openimageio:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle openimageio:x64-windows: 518 ms
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+openimageio
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[openimageio]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

I do not see any sha data.  How to I obtain it?

Version <IP_ADDRESS> does not exist on the repo AcademySoftwareFoundation-OpenImageIO?
Note: The SHA is in the portfile.cmake file with the keyword SHA512 followed by the hash.

@StarGate-One Correct as per the procedure.

Need to modify the existing version and repackage it to the correct gz compressed file name and put a copy in the vcpkg downloads directory/folder.
You can use this tool to get hash values https://www.binaryfortress.com/HashTools/Download/ -or- you can set the hash to zero in your overlay port and run you step 3 again and it will tell you that a hash mismatch exists and just copy the SHA512 it creates and change the 0 in your overlay port to the new SHA512.

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

@StarGate-One I don't know what the correct gz compressed file name is.  There is no existing openimage file in the downloads folder

That would be correct filename except you want to change the 0 to 1 and do the same in your overlay port vcpkg.json file.

I set the version as <IP_ADDRESS>  in the file name and the vcpkg.json file.
Getting this error.

C:\vcpkg>vcpkg install --overlay-ports=C:\vcpkg\myports\openimageio openimageio
Computing installation plan...
The following packages will be built and installed:
<EMAIL_ADDRESS>-- C:\vcpkg\myports\openimageio
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\Roger\AppData\Local\vcpkg\archives in 86.2 us. Use --debug to see more details.
Installing 1/1<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>C:\vcpkg\myports\openimageio: info: installing overlay port from here
-- Downloading https://github.com/AcademySoftwareFoundation/OpenImageIO/archive/v<IP_ADDRESS>.tar.gz -> AcademySoftwareFoundation-OpenImageIO-v2-2d9423e<IP_ADDRESS>.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from C:\vcpkg\vcpkg-bundle.json
[DEBUG] Failed to open: C:\vcpkg\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Metrics enabled.
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
error: Missing AcademySoftwareFoundation-OpenImageIO-v2-2d9423e<IP_ADDRESS>.tar.gz and downloads are blocked by x-block-origin.
error: https://github.com/AcademySoftwareFoundation/OpenImageIO/archive/v<IP_ADDRESS>.tar.gz: failed: status code 404
[DEBUG] D:\a\_work\1\s\src\vcpkg\base\downloads.cpp(1030):
[DEBUG] Time in subprocesses: 0us
[DEBUG] Time in parsing JSON: 3us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 558us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 503 ms (491520us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):

      Failed to download file with error: 1
      If you are using a proxy, please check your proxy setting. Possible causes are:

      1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
         to `https://address:port`. This is not correct, because `https://` prefix
         claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
         , etc..) is an HTTP proxy. Try setting `http://address:port` to both
         HTTP_PROXY and HTTPS_PROXY instead.

      2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
         set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
         The value set by your proxy might be wrong, or have same `https://` prefix issue.

      3. Your proxy's remote server is out of service.

      If you've tried directly download the link, and believe this is not a temporary
      download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
      to report this upstream download server failure.

Call Stack (most recent call first):
  scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
  scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile)
  myports/openimageio/portfile.cmake:1 (vcpkg_from_github)
  scripts/ports.cmake:192 (include)

error: building openimageio:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle openimageio:x64-windows: 928 ms
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+openimageio
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[openimageio]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

C:\vcpkg>

Looks like I need to set the sha in the portfile to get it to work.  It seemed to install after I got the sha for the .gz file and put in there.

@StarGate-One Thank you.  I was to get it working, thanks to your help.

If your issue has been resolved, please close this issue.

I was able to get the modified version to work.  Instructions in link should be updated to reflect this method.

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

Instructions in link should be updated to reflect this method.

Where is the actual problem with the instructions?
AFAIU an attempt was made to reference a non-existing version (or git tag). This can't work.
What can be improved in the docs is mentioning cases where you must modify the source reference before determining the SHA512:
https://github.com/microsoft/vcpkg-docs/pull/392

Need to ... repackage it to the correct gz compressed file name and put a copy in the vcpkg downloads directory/folder.

Repackaging on the user's side is unlikely to give the same SHA512 as produced by Github or other on-the-fly services.

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

AFAIU an attempt was made to reference a non-existing version (or git tag). This can't work.

That is what is called for in the instructions and what I needed to do to get it to work.
 Change the version in vcpkg.json to 1.0.1.
For my case, I wanted to modify code in openimageio <IP_ADDRESS> and use the modified version.  How would I do that?  Step #2 says : Change the version in vcpkg.json to 1.0.1.   If I set it to a known version, vcpkg would have just downloaded that, correct?  What version should I have used in step 2?
When I changed the version to a non-existing version and tried step 3: I did not get the hash info as indicated.
Run vcpkg install --overlay-ports=$OVERLAY_LOCATION vcpkg-sample-library, you will get an error about the SHA512 of the package. Copy the value of the actual hash in your portfile.
They way I got it working was to extract the .gz file, change the code and compress it to a new, non-existing version  <IP_ADDRESS>
I extracted the hash from that and put that in the portfile.cmake along with <IP_ADDRESS>.

AFAIU an attempt was made to reference a non-existing version (or git tag). This can't work.

That is what is called for in the instructions and what I needed to do to get it to work.  Change the version in vcpkg.json to 1.0.1.

That's an example. It shows the template.

What version should I have used in step 2?

Any existing version that you want to use. (YMMV.)

They way I got it working was to extract the .gz file, change the code and compress it to a new, non-existing version <IP_ADDRESS>. I extracted the hash from that and put that in the portfile.cmake along with <IP_ADDRESS>.

But which gz file? There is no <IP_ADDRESS> release (upstream), and no tutorial in vpckg will be able to explain how to download releases from the future...

I took the <IP_ADDRESS> build in downloads, extracted its contents, modified it, then saved it to <IP_ADDRESS>.gz, then got its sha value.  I then put that in downloads area.

So the sources are still <IP_ADDRESS>, but labeled <IP_ADDRESS>, locally. Well, really not an issue with the tutorial. Maybe you have a different goal in the end, but it is not clear.

I wanted the simplest way to modify openimageio and use the modified version.  The procedure in the tutorial did not work for me.

The given tutorial is for updating a port for a new upstream version, not for injecting own modifications. Maybe you need this tutorial:
https://learn.microsoft.com/vcpkg/consume/install-locally-modified-package

I tried that one first, but it was way to complicated for a simple, one line fix.

Changing version and making modifications to a library should be trivial and not require a procedure.


Bump version for release

Codecov Report

Merging #257 (1bf170e) into main (52b9770) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #257   +/-   ##
=======================================
  Coverage   91.65%   91.65%
=======================================
  Files          10       10
  Lines         851      851
=======================================
  Hits          780      780
  Misses         71       71

Impacted Files
Coverage Δ

weather_command/main.py
76.66% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Applications fail to build after latest update

The latest AGL-repo update brought in:
meta-flutter ccacfb9640fd46312ad6184883dbd4a0ca9119ad
workspace-automation 767298cdbfeef43015d7041947bb4ad6e8ce1b02
Starting from that commit trying to build a Flutter app shields:
ERROR: flutter-ics-homescreen-git-r0 do_compile: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_compile(d)
     0003:
File: '/home/lisandro/AGL/master/external/meta-flutter/conf/include/flutter-app.inc', lineno: 178, function: do_compile
     0174:do_compile[network] = "1"
     0175:python do_compile() {
     0176:    import shutil
     0177:
 *** 0178:    pubspec_yaml = get_pubspec_yaml(d)
     0179:    pubspec_appname = d.getVar("PUBSPEC_APPNAME")
     0180:    if pubspec_appname != pubspec_yaml["name"]:
     0181:        bb.error("Set PUBSPEC_APPNAME to match name value in pubspec.yaml")
     0182:
File: '/home/lisandro/AGL/master/external/meta-flutter/conf/include/app-utils.inc', lineno: 33, function: get_pubspec_yaml
     0029:
     0030:
     0031:def get_pubspec_yaml(d):
     0032:    """ Returns python object of pubspec.yaml """
 *** 0033:    import yaml
     0034:
     0035:    filepath = get_pubspec_yaml_filepath(d)
     0036:
     0037:    data_loaded = None
Exception: ModuleNotFoundError: No module named 'yaml'

ERROR: Logfile of failure stored in: /home/lisandro/AGL/master/build-rpi4/tmp/work/aarch64-agl-linux/flutter-ics-homescreen/git-r0/temp/log.do_compile.121711
ERROR: Task (/home/lisandro/AGL/master/meta-agl-ics/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2104 tasks of which 2094 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 4 seconds

This seems to also be present in other builds by Scott Murray as per IRC.

Does the build machine have pyyaml installed?

No.

Closing since pyyaml dep was removed


[FEATURE] Test data when needed

Is your feature request related to a problem? Please describe.
I'm always frustrated when I am not running tests, but the code still tries to check whether the test data is valid.
Describe the solution you'd like
Two environment variables. 1 exists already: "has_test_data_been_checked". Add a second: "will_tests_be_run", and only update if tests are being run.
Describe alternatives you've considered
Not doing that. Annoying but non fatal.

closed by #200


tlsverify doesn't do what it says it does

The tlsverify option states Enable TLS, verify client certificates. However in practice, it only requires that a client has a certificate, not performing any verification of the certificate.
Verification usually includes that a certificate is signed by a certificate chain that can be traced back to registered certificate authorities. gnatsd only does that for other servers, not for clients (even when tlsverify is enabled).
This doesn't appear to be an actual security issue, as authentication can still be done via username/password (which is what's actually tied to authorization).

Also, pretty sure "server can be configured with a CA authority to verify the client certificates" is also incorrect.

Would you mind elaborating? As a quick experiment, I changed ClientAuth to RequireAndVerifyClientCert and added ClientCAs = opts.TLSConfig.RootCAs during the parsing of TLS section and it seems to be working (without the last part, I would get a failure when ClientAuth is now set to RequireAndVerifyClientCert. Do we need a dedicated entry for the client CA you think?

You're quicker than I at setting up a test environment :)
If you really want client certificate verification, then you need to use RequireAndVerifyClientCert and a way to set a Client CA. So that could be useful. As I said at the end, I'm not sure verification is required if you assume authentication is done via username/passwords. But I don't see the downside in enforcing certificates come from a known CA either.


Error with Storybook 6.5.0-alpha.64

Again, early adopter of the new Storybook 6.5.0-alpha.64 version.
I’m getting the following error:
Error! The suite failed to run
An error was encountered before we started testing stories. Likely this means the browser failed to open.

Error: page.evaluate: Error: Cannot call extract() unless you call cacheAllCSFFiles() first.
    at StoryStore.extract (file:///Users/svenwolfermann/Sites/aperto/drv-design-system/storybook-static/4020.885ff43e.iframe.bundle.js:2:187701)
    at StoryStore.raw (file:///Users/svenwolfermann/Sites/aperto/drv-design-system/storybook-static/4020.885ff43e.iframe.bundle.js:2:188867)
    at checkStories (eval at evaluate (:3:2389), <anonymous>:6:65)
    at eval (eval at evaluate (:3:2389), <anonymous>:26:5)
    at new Promise (<anonymous>)
    at fetchStoriesFromWindow (eval at evaluate (:3:2389), <anonymous>:2:10)
    at t.default.evaluate (<anonymous>:3:2412)
    at t.default.<anonymous> (<anonymous>:1:44)

Can wait for the stable release, just want to let you know.

@maddesigns, I actually can't replicate this. Still seems to work with 6.5.0-alpha.64 in my testing.
Any chance you're setting storyStoreV7?
If so, I can fix that. But unfortunately the fix is affected by https://github.com/storybookjs/storybook/issues/16967. Once that's resolved I'll push up a fix.

Just realized I can pass some command line flags through Playwright working around the storybook issue. Should have a fix for this out soon.

Thanks for investigating @ahuth! Indeed I’m using the storyStoreV7. It’s a great feature, but I can live without it for now.
Not using the storyStoreV7 fixing the issue. :)

@maddesigns, looks like the official storyshots addon has a (possibly) related issue.
The recommended workaround for storyshots won't quite work here, but it made me realize you could try something like
// In .storybook/main.js
module.exports = {
  features: {
    storyStoreV7: process.env.NO_STORY_STORE_V7 !== 'true',
  },
};

and then set the env variable in npm script running axe-storybook-testing
// In package.json
"scripts": {
  "storybook:axe": "NO_STORY_STORE_V7=true build-storybook && axe-storybook"
},

This would let you use storyStoreV7 when running Storybook, but disable it when running this project. At least until I can figure out a long term solution.

@maddesigns this should be fixed in v5.0.1. Let me know if that solves it for you or not.


JSONFeed Support.

Please add suport for JSONFeed. A simple file, like this that I'm using in my website, should do the trick.

Why?

see https://github.com/jekyll/jekyll-feed/issues/172

Yes, having it as a template is a first choice solution, idealy it would be done in ruby and then serialized to JSON to avoid errors that will cause the parser to fail. It's quick and easy fix for a simple problem though.
That issue went stale a year ago and JSONFeed is commonly used anyway, and a one-size-fits-all theme and should support as many use cases as practial, for both authors and consumers, I think.

a one-size-fits-all theme and should support as many use cases as practial, for both authors and consumers

minima aims to be minimal, it's only a basic jekyll starter theme to start blogging, not a multi-purpose theme for advanced users.

Ok. you should probably fix this then:

PS. JSONfeed was meant to be simpler than RSS.


Create a 404 NOT FOUND page

@D0nPiano are you motivated to create a not found page for those cases (from #484 )?

group id does not exist
store id does not exist (in the group)

We could redirect to them in the resolve configs from #588 .

Probably also

user id not found

Sure, will probably have some time to draw / click something together tomorrow :)


wont open server

im on an Origins mod server with some friends and we recently added bits and chisels to the pack for the Inchlings. ive troubleshooted on my end multiple times, but i cant get onto the server due to the error listed in the attached screenshot. i dont know enough about mods to know what sort of solution i should even be looking for so any help would be hugely appreciated

d.

I have the mod both on the server and in my mods folder and i keep getting the same message. Any fixes?


Add .github/ folder

Thanks for taking the time for this, but I prefer to leave the templates and contributing guide in their current place. 😃


Minor README improvements

I was reading over the docs recently and I noticed a couple problems, so I thought I'd attempt a bit of cleanup. Namely:

Fix a few spelling and grammatical mistakes (e.g. "retrived" -> "retrieved", "then" -> "than", etc)
Attempt to make content more consistent
Update examples with actual output from yargs v3.15.0

Hope this helps. :wink:

@nexdrew thank you so much \o/
We could use a ton of help with the README.md, thanks for taking a first stab at the problem: see #92

Thanks, Ben, I'll take a look. Overall, I think the documentation is pretty good, but I may have a couple ideas about how to better organize its content, roughly following the high-level outline you mention in #92. I'll move any further discussion there.


1707 maint improve speed of test runs

See #1707

Possible improvement:
possible improvement
@mark_with_dialects_excluding()
def test_u_train_link_only_sample(test_helpers, dialect):
    helper = test_helpers[dialect]
    NUM_ROWS = 1000
    df_l = (
        pd.DataFrame(
            np.random.randint(0, NUM_ROWS, size=(NUM_ROWS, 1)), columns=["name"]
        )
        .reset_index()
        .rename(columns={"index": "unique_id"})
    )
    df_r = (
        pd.DataFrame(
            np.random.randint(0, NUM_ROWS, size=(NUM_ROWS, 1)), columns=["name"]
        )
        .reset_index()
        .rename(columns={"index": "unique_id"})
    )
    # levenshtein should be on string types
    df_l["name"] = df_l["name"].astype("str")
    df_r["name"] = df_r["name"].astype("str")

    # max_pairs is a good deal less than total possible pairs
    max_pairs = NUM_ROWS * NUM_ROWS
    target_pairs = max_pairs / 4
    settings = {
        "link_type": "link_only",
        "comparisons": [helper.cl.levenshtein_at_thresholds("name", 2)],
        "blocking_rules_to_generate_predictions": [],
    }

    df_l = helper.convert_frame(df_l)
    df_r = helper.convert_frame(df_r)

    linker = helper.Linker([df_l, df_r], settings, **helper.extra_linker_args())
    # Debug mode is very expensive in Spark - more than just increasing the num rows
    linker.debug_mode = True
    linker.estimate_u_using_random_sampling(max_pairs=target_pairs)

    # count how many pairs we _actually_ generated in random sampling
    check_blocking_sql = """
    SELECT COUNT(*) AS count FROM __splink__df_blocked
    """
    self_table_count = linker._sql_to_splink_dataframe_checking_cache(
        check_blocking_sql, "__splink__df_blocked_same_table_count"
    )

    result = self_table_count.as_record_dict()
    self_table_count.drop_table_from_database_and_remove_from_cache()
    pairs_actually_sampled = result[0]["count"]

    proportion_of_max_pairs_sampled = pairs_actually_sampled / target_pairs
    # proportion_of_max_pairs_sampled should be 1 - i.e. we sample max_pairs rows
    # as we have many more pairs available than max_pairs
    # equality only holds probabilistically for some backends, due to sampling strategy
    # chance of failure is approximately 1e-06 with this choice of relative error
    assert pytest.approx(proportion_of_max_pairs_sampled, rel=0.15) == 1.0

Prior to checkpoint

Setting break lineage method to "checkpoint" made things MUCH slower

Changing num partitions on repartition didn't seem to help much, but possible slight improvement

Those latest settings seem best - both complete in 5 minutes now

I don't really understand why the speed of test_analyse_blocking_slow_methodology shows us as so slow in the test log
If you run 10x as many tests, they dont take long (each iteration of the tests takes 0.2 seconds locally)
script
```python
@mark_with_dialects_excluding()
def test_analyse_blocking_slow_methodology(test_helpers, dialect):
    helper = test_helpers[dialect]
    Linker = helper.Linker
    brl = helper.brl
for i in range(10):
    start_time = time.time()
    df_1 = pd.DataFrame(
        [
            {"unique_id": 1, "first_name": "John", "surname": "Smith"},
            {"unique_id": 2, "first_name": "Mary", "surname": "Jones"},
            {"unique_id": 3, "first_name": "Jane", "surname": "Taylor"},
            {"unique_id": 4, "first_name": "John", "surname": "Brown"},
        ]
    )

    df_2 = pd.DataFrame(
        [
            {"unique_id": 1, "first_name": "John", "surname": "Smyth"},
            {"unique_id": 2, "first_name": "Mary", "surname": "Jones"},
            {"unique_id": 3, "first_name": "Jayne", "surname": "Tailor"},
        ]
    )
    settings = {"link_type": "dedupe_only"}
    linker = Linker(df_1, settings, **helper.extra_linker_args())

    res = linker.count_num_comparisons_from_blocking_rule(
        "1=1",
    )
    assert res == 4 * 3 / 2

    res = linker.count_num_comparisons_from_blocking_rule(
        "l.first_name = r.first_name",
    )
    assert res == 1

    settings = {"link_type": "link_only"}
    linker = Linker([df_1, df_2], settings, **helper.extra_linker_args())
    res = linker.count_num_comparisons_from_blocking_rule(
        "1=1",
    )
    assert res == 4 * 3

    res = linker.count_num_comparisons_from_blocking_rule(
        "l.surname = r.surname",
    )
    assert res == 1

    res = linker.count_num_comparisons_from_blocking_rule(
        "l.first_name = r.first_name",
    )
    assert res == 3

    settings = {"link_type": "link_and_dedupe"}

    linker = Linker([df_1, df_2], settings, **helper.extra_linker_args())

    res = linker.count_num_comparisons_from_blocking_rule(
        "1=1",
    )
    expected = 4 * 3 + (4 * 3 / 2) + (3 * 2 / 2)
    assert res == expected

    rule = "l.first_name = r.first_name and l.surname = r.surname"

    res = linker.count_num_comparisons_from_blocking_rule(
        rule,
    )

    assert res == 1

    rule = brl.block_on(["first_name", "surname"])
    start_time = time.time()
    res = linker.count_num_comparisons_from_blocking_rule(
        rule,
    )
    end_time = time.time()
    print(f"Iteration {i+1} took {end_time - start_time} seconds")

</details>

Is the timing conflating the setup in conftest vs the test itself?

it shouldn't be (the `call` in the screenshot distinguishes the runtime vs setup), but perhaps there's something in our config that causes them to be conflated.  Perhaps the indirection we introduced to prevent spark always being setup


Warn about layer/map deletion on dataset deletion

Steps to Reproduce

Import a file dragging it to Maps section.
Delete the dataset from the dataset list (select + delete dataset...).

Current Result
You aren't  warned about map deletion.
Expected result
You should be warned about map deletion.

The maps are correctly deleted. The problem is the lack of user feedback. The problem is in the visualization presenter in the https://team.carto.com/u/javitonino/api/v1/tables/:uuid is returning the incorrect data (an empty string instead of an array of dependent visualizations :/)


added support for complex numbers in python bindings

added support for complex numbers in python bindings

This will need to be rebased now that https://github.com/openxla/iree/pull/12880 is merged.

This will need to be rebased now that #12880 is merged.

I rebased and added some test cases, does this look good to merge?

This will need to be rebased now that #12880 is merged.

I rebased and added some test cases, does this look good to merge?

Yep, thanks! I triggered the CI. Looks like yapf wants you to remove trailing spaces: https://github.com/openxla/iree/actions/runs/4610947536/jobs/8150064584?pr=12872#step:6:15 (you can also configure your editor to trim tailing spaces on save)

This will need to be rebased now that #12880 is merged.

I rebased and added some test cases, does this look good to merge?

Yep, thanks! I triggered the CI. Looks like yapf wants you to remove trailing spaces: https://github.com/openxla/iree/actions/runs/4610947536/jobs/8150064584?pr=12872#step:6:15 (you can also configure your editor to trim tailing spaces on save)

Fixed, and it looks like all the tests passed


remix-auth-oauth2 1.11.0 breaks this library due to this.scope collision

remix-auth-oauth2 version 1.11.0 adds a this.scope property to Oauth2Strategy as a string. This library (remix-auth-google) also defines this.scope that overrides that one, but it here it's defined as an array.
In 1.11.0 of remix-auth-oauth2, the scope value in the Oauth URL parameters is now directly set from this.scope, rather than using the authorizationParams method from the GoogleStrategy. However, this.scope is an array in GoogleStrategy (because it's been overridden), and the scope parameter is now serialized as "openid,email,profile" (because the default array toString() joins with a single comma), rather than the correct "openid email profile".
As a result, all Google logins after updating remix-auth-oauth2 are now failing, because google does not recognize the comma as a separator.
We should update the scope parameter to match the type in the parent remix-auth-oauth2 library.
If I have some time later today I'll try opening up a PR

thanks!

@Hansenq published this in v1.3.0. I would really appreciate it if you can install that version and let me know if everything looks fine to you.

it works! Thanks for deploying so quickly


Conflict / overwrite - IIS Web AppDeploy

So, i was messing around with this, trying to get with one of the VSO agent tasks uploaded; the IISWebAppDeploy.
Not sure what's going on but,
Error: Failed Request: Conflict(409) - https://*.visualstudio.com/_apis/distributedtask/tasks/89A3A82D-4B3E-4A09-8D40-A793849DC94F?overwrite=false
I fired a command up for the IISWebAppDeploy script.  From the build output directory that i took from the vsoAgent git repo.
I do a build tasks list, and the code 89A3A82D-4B3E-4A09-8D40-A793849DC94F doesn't exist.  Can't find it anywhere, checked the UX and it doesn't seem to have it.
I checked the task.json, and it is the right one, i'm just wondering why it think it's already there.
{
"id": "89A3A82D-4B3E-4A09-8D40-A793849DC94F",
"name": "IISWebAppDeployment",
"friendlyName": "IIS Web Application Deployment",
"description": "Deploy Web Application using MSDeploy to IIS Web Site",
"helpMarkDown": "More Information",
"category": "Deploy"
}
And when i go to use ./Chef and upload it, it says Task at : ./Chef has succeeded upload, etc..
But going to the UX and the tasks list, doesn't show chef at all.
Cache maybe? On the ux end?

Because it is their in the backend but it's behind a feature flag not enabled for customers yet.
You shouldn't be using this tool to upload the inthebox tasks that we own in the tasks repo.  Those are our tasks and the code in them is often code against services that are one or two sprints (weeks) from being deployed).  You can't take future code from master code and just push it into production.
The tool is for uploading your custom tasks or potentially a patched task of ours that we hand out.

Ahh, well this is very cool.  Book marked for deep diving.

I will add a note to the readme.
If you want to test the mechanism, see the video where I create a hello world task.
We open source as examples of how to do it :)
In the next release, we want to make sure a task delcares which task lib it's coding against so if the server doesn't have that task lib, it will tell you.  That will make it so you can upload ones as long as the server/api supports it but will bark if you're getting ahead of it.  We realize it's a problem.

Must have been one of those afternoons, I'm told the guy that's creating the custom task as a test is about done, so I'll try to push that around (he watched the video suppose i should have to! :)),   But yeah that was my next question about getting ahead of it.  Thanks for that.
Side note: This set up gave me the green light from those above me :) to aggressively convert all RM (on prem xaml builds from 2013 to vNext) yay.  Can't wait for the rest of the agent/task templates to go up.

@bryanmacfarlane I have exactly this issue.  How can we identify which tasks are 'inthebox'?

In the box tasks are in this repo: https://github.com/Microsoft/vso-agent-tasks

It's already there because it's deployed in the box but it's in preview so you can't see it.

Reach out to<EMAIL_ADDRESS>if you would like to get enrolled for preview tasks.

Is there a preview mechanism for on-prem?
Presumably once tasks are allowed out of the box they'll either be pre-installed or available in the marketplace, right?

No preview mechanism for on-prem. We are evaluating the right mechanism (pre-installed vs marketplace) for these tasks to be available. We will share details once we have more info.


SUSE Support pages and info should only be available to Rancher administrators

If the UI is in 'supported' mode, then we should only show the support button in the top-level slide in to Rancher Admins - these are users that have the 'edit settings' permission.

Also - we should add a setting to allow admins to change the support URL - if set, we should use that for users, rather than remove the support button for non-admins

Tested on Rancher master-head version 618c9ef with the following steps:
As admin, verify Get Support link is seen in the top-level slide.
Create a standard user.
Log into Rancher as standard user.
Standard user is able to seeGet Support link

I did not find a setting to allow admins to change the support URL.
Reopening for fix.


Unconnected socket cannot be stopped (unless disposed)

An unconnected socket (destination unavailable) keeps trying to reconnect, even if .Disconnect(Async) had been called.
So it would connect as soon as the destination is available, which it shouldn't because of .Disconnect.
Such it is hard to "pause" a connection without destroying it completely (.Dispose).
Reason is, that .Disconnect only ever does something when the Connected property is true.

https://github.com/doghappy/socket.io-client-csharp#options
set Reconnectionto false
2nd time I answer you from the Readme,
see https://github.com/doghappy/socket.io-client-csharp and https://github.com/itisnajim/SocketIOUnity
goo luck

Well, why I could admit that I had not paid enough attention to "Check the 'Samples~' folder and socket.io-client-csharp repo for more usage info." for the first issue (which is still not obvious to me though, because of "Supports socket.io server v2/v3/v4"), this one is absolutely different.
I don't want to set Reconnection to false - I just don't want it to reconnect after I called Disconnect. Is there any way to change Reconnection after new SocketIO? Cannot find it in the Readme.
Also, it does not make much sense that it behaves differently if one calls Disconnect while it is connected or not. In the first case it does not try to reconnect, in the second it does. I think this is already understandable from the first post in this issue.
Therefore this issue should be reopened because it's fairly valid.


text/x:  incorrect convert from gb18030 to utf8

What version of Go are you using (go version)?

$ go version
go version go1.20.2 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/mjc/Library/Caches/go-build"
GOENV="/Users/mjc/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/mjc/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/mjc/go"
GOPRIVATE=""
GOPROXY="https://goproxy.cn,direct"
GOROOT="/usr/local/Cellar/go/1.20.2/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.20.2/libexec/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.20.2"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="cc"
CXX="c++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/hd/v9qhg5rj04z7bp6wb5kpdc_m0000gn/T/go-build3435336719=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
I encountered a problem in character set encoding conversion:
when using the simplifiedchinese package to convert a GB18030-encoded character to UTF8, an error is reported.
But I can convert successfully when I use the mahonia package.
code link：https://go.dev/play/p/NhBp0JQ2RUp

package main

import (
	"encoding/hex"
	"fmt"

	"github.com/axgle/mahonia"
	"golang.org/x/text/encoding/simplifiedchinese"
)

func main() {
	s := `FDD2`
	hd, _ := hex.DecodeString(s)
	r, _ := simplifiedchinese.GB18030.NewDecoder().Bytes(hd)
	he := hex.EncodeToString([]byte(r))
	fmt.Println(he) // efbfbd

	r2 := mahonia.NewDecoder("GB18030").ConvertString(string(hd))
	he2 := hex.EncodeToString([]byte(r2))
	fmt.Println(he2) // ee90bb
}

What did you expect to see?

ee90bb

What did you see instead?

efbfbd

Not sure what's wrong, as I am not familiar with the encoding, but I can point out a couple of details.
First, you're getting the replacement character U+FFFD, which means there is something wrong with that character according to x/text. That is interesting. You can see this by printing things differently, and you can also simplify your example significantly since fmt.Printf can do all the hex/string work for you:
https://go.dev/play/p/kDgB3ybMa8c
Finally, you should always check your errors, especially when debugging, although that didn't help here.

It would appear that the decode table is just lacking data, the given test case would decode to 23705.
https://go.googlesource.com/text/+/refs/heads/master/encoding/simplifiedchinese/tables.go#22009
whatwg seems to have changed urls for their table data, so I'm not sure what a new table would be generated from (presumably one of these https://encoding.spec.whatwg.org/#indexes )

(CC @mpvl per https://dev.golang.org/owners)


move batch dependency from devDependencies to dependencies

Thanks @schnie. We tarball things up with devDependencies so this ends up being a non-issue in practice, but good to have it right in case we ever discontinue that practice.

That was quick!  Thanks!


Fix Endpoint clean in migration

fix bug #4861
add test
add migration 0119_endpoint_host_migration_rerun.py (a.k.a. rerun 0105_endpoint_host_migration.py)

I think a better solution would be to add a note in the upgrade docs to run the endpoint migration script rather then making a duplicate migration.

@Maffooch In my case endpoint migration didn't help me when I upgraded to 2.0.3.

@zakrush, @Maffooch was referring to migration which I wrote as part of this PR
@Maffooch, I removed migration and added description in to documentation


[Feature] FE interface for automatically creating partitions

What type of PR is this：

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #11444
Problem Summary(Required) ：

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[x] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_be_unittest

[FE PR Coverage Check]
:disappointed: fail : 163 / 219 (74.43%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
85
127
66.93%
[1486, 1487, 1488, 1492, 1493, 1494, 1497, 1498, 1499, 1504, 1505, 1506, 1510, 1511, 1512, 1519, 1520, 1521, 1525, 1526, 1527, 1531, 1532, 1533, 1538, 1539, 1540, 1544, 1545, 1546, 1550, 1551, 1552, 1561, 1562, 1563, 1564, 1571, 1572, 1573, 1574, 1618]

:large_blue_circle:
com/starrocks/sql/analyzer/AnalyzerUtils.java
23
32
71.88%
[581, 582, 584, 585, 587, 588, 590, 609, 610]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
5
6
83.33%
[290]

:large_blue_circle:
com/starrocks/sql/ast/ExpressionPartitionDesc.java
31
35
88.57%
[120, 125, 126, 141]

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/common/Config.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
7
7
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/RangePartitionDesc.java
1
1
100.00%
[]

run starrocks_admit_test

run starrocks_be_unittest

[FE PR Coverage Check]
:disappointed: fail : 163 / 219 (74.43%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
85
127
66.93%
[1486, 1487, 1488, 1492, 1493, 1494, 1497, 1498, 1499, 1504, 1505, 1506, 1510, 1511, 1512, 1519, 1520, 1521, 1525, 1526, 1527, 1531, 1532, 1533, 1538, 1539, 1540, 1544, 1545, 1546, 1550, 1551, 1552, 1561, 1562, 1563, 1564, 1571, 1572, 1573, 1574, 1618]

:large_blue_circle:
com/starrocks/sql/analyzer/AnalyzerUtils.java
23
32
71.88%
[581, 582, 584, 585, 587, 588, 590, 609, 610]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
5
6
83.33%
[290]

:large_blue_circle:
com/starrocks/sql/ast/ExpressionPartitionDesc.java
31
35
88.57%
[120, 125, 126, 141]

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/common/Config.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
7
7
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/RangePartitionDesc.java
1
1
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test


Click on Feedback button opens three new tabs in Chrome

Ah! I had that too #410, but couldn't reproduce anymore

I'll close in favor of the other issue


linux-testing: 4.4.0-rc7 -> 4.4.0-rc8

Yesterday's 4.4.0-RC
Did nix-build -A linux_testing

This works fine, just takes too long for Travis


Question: How to use mixins

Hi! I would like to use mixins to organize and re-use my tests. However, the documentation on mixins seems to be in a different syntax and I'm not quite sure on how to proceed.
Could you please add here a simple example of defining and exporting a mixin in a separate file for, let's say, creating a record, and then reusing it in the test (import and apply).
Thanks a bunch!
Nemanja

Do you mean this mixin documentation? If so it relates to the paid TestCafe version. The actual documentation about the open-source version is here.
You can define reusable parts of code via regular functions. For example:
import { t } from 'testcafe';

async function reusablePart () {
    await t
        .click('#some-btn')
        .typeText('#some-input', 'text');
}

test('my test', async t => {
    await reusablePart();
});

Also it's a good practice to use Page Model pattern. You can define reusable part in your page model.

I've meant the open source version. Much obliged :)


remove flannel configuration missed in the first purge

#1614 missed a few.

[X] Installs cleanly on a fresh build of most recent master branch
[X] Upgrades cleanly from the most recent release
[X] Updates documentation relevant to the changes

good catch, thx! successful test on do. @sehqlr fyi, the builds failed due to the lack of credentials since this is a pr from a fork (i assume). shouldn't the builds be skipped in this scenario?


Add cosign init to initialize the SigStore root metadata

A command cosign init that initializes the local trusted SigStore root and pulls the trusted targets into .sigstore/root
The initial root keys are added to .sigstore/keys.json. Clients need this to verify the root they pull
The targets are used for the Fulcio cert and rekor public key, falling back for now to the previous embedded string in case init hasn't been run

Fixes
https://github.com/sigstore/cosign/issues/389

Hihi, would you need a review? Happy to help! 🙂

I have to do a bit of refactoring, but would love to get a review on the TUF code! I'll ping you

@asraa squashing your local go.sum from upstream/main and running go mod tidy again should fix the conflict

All set, a local test added, and the path to the remote repository is in production.
@trishankatdatadog want to take a quick look at the TUF code? should be pretty simple.
Only question I had was: should we be making a tuf.db file? it works fine without one, except for in the test.


Error when migrating from official react native to forked version. missing m1 workarounds

New Version
<EMAIL_ADDRESS>Old Version
<EMAIL_ADDRESS>Build Target(s)
iPhone 15 Pro Max 17.2 Simulator
Output of react-native info
New Version
<EMAIL_ADDRESS>Old Version
<EMAIL_ADDRESS>Build Target(s)
iPhone 15 Pro Max 17.2
Output of react-native info
System:
OS: macOS 14.2
CPU: (10) arm64 Apple M2 Pro
Memory: 742.25 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.17.1
path: ~/.volta/tools/image/node/18.17.1/bin/node
Yarn:
version: 1.22.19
path: ~/.volta/tools/image/yarn/1.22.19/bin/yarn
npm:
version: 9.6.7
path: ~/.volta/tools/image/node/18.17.1/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.12.1
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- watchOS 10.2
Android SDK: Not Found
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10406996
Xcode:
version: 15.1/15C65
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.20
path: ~/.sdkman/candidates/java/current/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native: Not Found
react-native-macos: Not Found
react-native-tvos:
installed: 0.73.0-0
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: false
info React Native v0.73.1 is now available (your project is running on v0.73.0-0).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.73.1
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.73.1
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".
Issue and Reproduction Steps
I have an expo created project. basically I am doing all the builds locally, hence I am doing a "bare" workflow.
I am trying to move this fork as react-native-tv-space-navigation requires this. I also updated the deploymentTarget to 14.0
However I am encountering this issue:
npx expo prebuild --clean

Command `pod install` failed.
└─ Cause: An error occurred while processing the post-install hook of the Podfile.

undefined method `__apply_Xcode_12_5_M1_post_install_workaround' for #<Pod::Podfile:0x0000000104a6ced0 @defined_in_file=#<Pathname:~/WebstormProjects/VideokePartyMaker/ios/Podfile>, @internal_hash={
....

Issue and Reproduction Steps

create a new expo project
do a prebuild
use the react-native-tvos fork
encountered this error

Please try the 0.73.1-0 release just published yesterday, which includes a dependency on the new SDK 50 preview.
Recommended steps:
yarn create expo-app MyNewProject -e with-tv
cd MyNewProject
export EXPO_TV=1
npx expo prebuild
yarn ios # build for Apple TV
yarn android # build for Android phone or TV

Apologies for not reverting immediately @douglowder. I will definitely try the said build


missing config files in project

angular-cli: 1.0.0-beta.11-webpack.2
node: 4.4.3
os: win32 x64 windows 10
In the wiki it mentions system-config.ts and angular-cli-build.js to configure when installing third party libraries. I cannot find these files? Are they meat to be there by default?

This is intentional, the angular cli is now webpack based.
See: https://github.com/angular/angular-cli/blob/master/CHANGELOG.md
And the migration document: https://github.com/angular/angular-cli/blob/master/WEBPACK_UPDATE.md

Thanks


Building an Appointment Scheduling Telegram Bot with Python and Fauna

Building an Appointment Scheduling Telegram Bot with Python and Fauna
This article would introduce the readers to the python telegram API and frankly engage them in building a simple appointment scheduling bot using python.
The appointment scheduling bot would allow users to schedule appointments, then remind the user when it's time for the appointment. Users can also mark appointments they are done with as "finished".
The article will  be introducing the readers to a serverless database system called FaunaDB
Introduction paragraph(s):
Have you ever wanted to build a telegram bot that would allow you to schedule or plan your appointments and get reminded on time for them? If your answer is yes, then this article is just what you need.  We would also be utilizing a serverless database system called FaunaDB to build our system which will make our work easier.   Now we are versed with what this article entails, let's get to the building part.
Key takeaways:
Readers will learn how to work with the python telegram API.
Readers would be engaged with building an appointment scheduling bot for themselves with python.
Readers would learn how to utilize and manipulate the database using Fauna.
References:
N/A

@Chukslord1  This was submitted using our older topic form if you could please re-submit using the new form for approval.
Also FYI if you have more than one topic open pick one and close the other -as we are only accepting one topic per student at a time.

@hectorkambow Alright done


Update minimum CUDA version to 10.0

Updates minimum supported CUDA version to 10.0, removing mentions of 9.x issues.
Removes Windows CUDA 10.x CI job due to intermittent compiler failures fixed by CUDA 11.0
Simplifies CI workflows with fewer disabled CUDA combinations
Updates Readme with agreed dependency versions
Applies some markdown tweaks to the readme
Adds CUDA 11.1.1 as a download target for windows CI.
Closes #406

* is used for loads of things in markdown, I accidentally made stuff italics/bold at one point so switched to + to avoid that (I missed a space while trying to add emphasis that i've since removed as it wasn't helpful)
Just tried cmake 3.12, which no longer works due to Thrust's Cmake requiring 3.15+, so will bump it up to that for now as the strictly enforced minimum version.


I created amazon clone website using HTML and CSS

Share snapshot of your project.

I hope you found my email. Here I attached screenshots of amazon clone.[image:
Screenshot 2023-10-23 105743.png][image: Screenshot 2023-10-23
105831.png][image:
Screenshot 2023-10-23 105842.png]
On Sun, Oct 22, 2023 at 11:12 PM Anamika Gour @.***>
wrote:

Share snapshot of your project.
—
Reply to this email directly, view it on GitHub
https://github.com/Anamika1-cpu/Hacktoberfest2023-Web-Developers/pull/48#issuecomment-1774155019,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3PB34NJER7QLSR4TWZ2RYTYAVLIVAVCNFSM6AAAAAA6KXU4NOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZUGE2TKMBRHE
.
You are receiving this because you authored the thread.Message ID:
@.***
com>


Organize repo to co-locate related components

Currently nimble-components and nimble-angular organize each component into a separate directory with separate import strategies. With nimble components you need multiple import statements for highly coupled components and for nimble angular you have to import multiple Angular Modules for highly coupled components.
For example, there is effectively no scenario where a nimble-tabs would be used without a nimble-tab and a nimble-tab-panel so needing three imports / Angular Module includes is unhelpful. But we would not want to over bundle either, for example we would not want to always force include nimble-tabs-toolbar as it is not a requirement to utilize nimble-tabs.
Examples where this has come up:

Tree: https://github.com/ni/nimble/pull/135#discussion_r716833869
Tabs: https://github.com/ni/nimble/pull/171#discussion_r729413776

TODO: Come up with a proposal for repo layout

As part of this work we should control our exports. This helps two issues, one is the Angular warning about deep entry points:
The other is we can prevent implementation details from being exposed externally, like stuff in src/patterns styles.

In addition, we should evaluate our exported .d.ts files to make sure internal libraries are not exposed and move @types to devDependencies where possible. See https://github.com/ni/nimble/pull/831/files#r1029565900

Related issue suggesting we should use package exports as described above. That is technically independent of re-organizing the repo so not closing as a duplicate. It's essentially a subtask of this issue https://github.com/ni/nimble/issues/694

As part of a repo re-org we should move the design-tokens to a top-level export so applications that only need the tokens can adopt them independently of the theme-provider or of importing elements.
Example the microstrategy theme customization and the nimble landing page which just need the tokens and no components.

As part of adding secondary entrypoints to nimble-angular we should expose testing entrypoints as we have done in nimble-components.

Current plan is for me to create an AzDO tech debt feature to help us prioritize this large body of work against other non-tech debt work.

Next step is to create an HLD that describes the overall plan. It should cover the issues raised in the comments and description above.


Euclidean gaussian metric

In this PR I implement the elements related to the use of the Euclidean gaussian metric:

The momentum generator
The kinetic energy
U-turn check

Now the operations on inverse_mass_matrix use aesara's operators. Good on my end.


Error: Server could not start listening on port 2004: Cannot assign requested address

Problem/Motivation
Error in log file:
RPC Server (Port 2004): Error: Server could not start listening on port 2004: Cannot assign requested address
Steps to reproduce
Start with a new installation without config change
Proposed changes
Retest after the config change found its way into the stable build:
https://forum.homegear.eu/t/nightly-build-error-message-port-2004-docker/3670
Workaround
Modify rpcservers.conf for port 2004 and change the listening address to <IP_ADDRESS> or comment the entire entry.

Added detailed instructions in the "after setup" documentation:
https://github.com/devRoemer/hassio-homegear-generic/wiki/Post-Setup-instructions
It is more then recommended to disable unused rpc servers and device families to have a clean log and avoid issues. Thats why i am closing this issue without retesting after the mentioned change is merged to stable.


dependency-check behind a proxy

I'm using dependency-check CLI behind a proxy.
I obtain the following error:
Dependency Scan --> org.owasp.dependencycheck.data.update.exception.UpdateException: Unable to download meta file: https://nvd.nist.gov/feeds/json/cve/1.0/nvdcve-1.0-modified.meta
Is there any way to configure a proxy for nvd updates?

Hi @mbarzanti , you can find all configuration parameters of CLI including proxy related settings (e.g. -proxyserver, -proxyport, -proxypass, -proxyuser documented in the wiki: https://jeremylong.github.io/DependencyCheck/dependency-check-cli/arguments.html

It runs. Thanks


Update zio-http to 3.0.0-RC5

About this PR
📦 Updates dev.zio:zio-http from 3.0.0-RC2 to 3.0.0-RC5
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio", artifactId = "zio-http" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio", artifactId = "zio-http" }
}]

labels: library-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

Superseded by #738.


EgoTracks dataset download not working even with proper credentials

Hello. I have gotten credentials and I have successfully downloaded ego4d viz dataset, annotations with the following command.
ego4d --output_directory="~/scratch/data/tracking/ego4d" --datasets viz annotations
I can also check that the metacsv is properly loaded even for the full_scale dataset.
However, I am not able to download the egotracks dataset.
ego4d --output_directory="~/scratch/data/tracking/ego4d" --datasets egotracks
Which gives Error:
botocore.exceptions.ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden
Would there be a reason why something would be possibly going wrong?

Same here!


[Bug]: Toggle Button Background to Green in Light Mode

Description
Currently, the background of the toggle button looks like this both light mode and darkmode :
darkmode:

lightmode:

Please create it such that when Light mode is enabled, the background of the button turns green, like this:

Attach Screenshots (if applicable)
No response
Which browser are you using when experiencing the issue?
Microsoft Edge
Checklist

[X] I have checked for existing issues related to this problem.
[X] I have read the Contributing Guidelines.
[ ] I am willing to work on this issue (optional).

Can I work on this issue.

I have changed icons and using new icons the color of ToggleOff icon in light mode background is now Green.

First of all, thank you for considering to contribute to AI Fusion, We value your contribution.
This is how I want the toggle button to look like in light mode, based on the Figma design.

Currently, it doesn't look exactly the same 👇, but it's somewhat close. If you could make it look exactly as above ☝ image, it would be great. Alternatively, you can simply modify the current toggle button to change the background color to green in light mode.

One last thing, if you have made any changes, you can create a pull request. This makes it easier for us to see what has changed, and we may consider incorporating those changes.

Light Mode:

Dark Mode:

Great! proceed forward (I mean create a pull request)

Done PR #31 .


Fix linting warnings in figma-broker

figma-broker flags a lot of warnings now. This should be fixed to avoid noise and errors.

not relevant anymore as export-pipeline will be simplified


Disable bible-reference-rcl and card syncing for v0.9

The feature should only sync like-named books (as indicated by the book selection). It should not sync all cards.
For example, suppose the user has opened both ULT and UST for Ruth, but also 1 Kings.

if the user selects Ruth 2:2, then both ULT/UST for Ruth should sync to that chapter verse. But 1KI should not move at all.

Navigation Bar is disabled for 0.9 and not seeing it in latest develop.


Embedded language support in Markdown

I'm developing an extension that enables preview of mermaid diagrams inside Visual Studio Code.
My workflow assumes that the mermaid diagrams are embedded as github fenced code blocks inside Markdown documents:

# Markdown document

next is a mermaid sequence diagram...

```mermaid
%% Example of sequence diagram
sequenceDiagram
    Alice->>John: Hello John, how are you?
    John-->>Alice: Great!
```

I would like to provide a mermaid language extension for the content inside the fenced block but the extension sees the document as markdown. The extension docs are not that useful for this situation.
What is the proper way to handle the embedded language with an extension?

With #22916, we are exploring allowing the markdown preview to be extended. I've created a prototype markdown preview extension that adds support for rendering mermaid diagrams: https://github.com/mjbvz/vscode-markdown-mermaid
The other part of this would be syntax highlighting of the mermaid fenced code block itself in the editor. This is possible using a grammar injection. I've created another example extension that shows how this can be achieved: https://github.com/mjbvz/vscode-fenced-code-block-grammar-injection-example This one requires the next VSCode insiders build
Please let me know if you have any questions about these examples or interested in leveraging the new markdown extension API


Refactor token-related operations into a separate TokenFactory

Refactor token-related operations into a separate TokenFactory to be injected into parsers (with a default implementation for parsers wrapping ANTLR tokens).
This spares KolasuParser implementations from having to re-implement lex and other methods they couldn't inherit from KolasuANTLRLexer.

This seems a very good idea


Add SSH key not working

Description

Go to user/settings/keys
Click Add Key

JavaScript error: TypeError: e.classList is undefined (http://localhost:3000/assets/js/index.js?v=1.19.0~dev-545-g7f790c7 @ 36:60982). Open browser console to see more details.

Caused by #22950
Gitea Version
main (7f790c7)
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Both own build and try.gitea.io
Database
None

@wxiaoguang it's not immediately clear to me where the problem is, maybe you know.

Let me see

The fix:  Fix the show/hide methods for string selector #23042


Update the wsk command output.

As OpenWhisk switch from python cli to go cli, we need to update the wsk --help command out put to reflect this change.
Here the latest go-cli  output with the command:
wsk --help
    ____      ___                   _    _ _     _     _
   /\   \    / _ \ _ __   ___ _ __ | |  | | |__ (_)___| | __

/\  /\   \  | | | | '_ \ / _ \ '_ | |  | | '_ | / | |/ /
/  _ \  /  | || | |) |  / | | | |/| | | | | _ \   <
\   \  /  /    _/| ./ _|| ||/_|| |||/|_
___/ tm           |_|
Usage:
wsk [command]
Available Commands:
action      work with actions
activation  work with activations
package     work with packages
rule        work with rules
trigger     work with triggers
sdk         work with the sdk
property    work with whisk properties
namespace   work with namespaces
list        list available namespaces
Flags:
--apihost HOST         whisk API HOST
--apiversion VERSION   whisk API VERSION
-u, --auth KEY             authorization KEY
-d, --debug                debug level output
-i, --insecure             bypass certificate checking
-v, --verbose              verbose output
Use "wsk [command] --help" for more information about a command.

More detailed updates:
https://github.com/openwhisk/openwhisk/issues/934


fix RelationalExpression

This PR fixes some bug about Value comparison related with null and empty.
There are some test cases:

2>true : null   2<=true : null
2==true : false
null==true : null
null<>null : null
empty==empty : true
empty==null : null
empty>=1 : empty

It's not a good practice that fixing bug and refactoring in one PR since i don't clearly check where you have changed.

No changes have been made to the behavior of the class Value. Just fix RelationalExpression’s behavior, and this requires adding interfaces Value::lessThan to allow errors to be passed to the Expression layer.


Sophie Charlotte Zeiz PU5058

Hello everyone! Please use this checklist over the next few weeks as you go through your health data science journey :tada:.

Week 2: Your first repository

[x] 1. Install GitHub desktop and connect it to your GitHub account
[x] 2. Create a public repository and add a readme file
[x] 3. Publish the repository to GitHub
[x] 4. Add a new file in your local repository, commit the file addition, and push it to the remote repository on GitHub
[x] 5. Modify the new file (or the Readme file), commit the change, and push it to the remote repository on GitHub
[x] 6. Comment on this issue with a link to your repository

Week 4: Rmarkdown

[x] 1. Create a new public repository on GitHub Desktop and add a readme file.
[x] 2. Publish the repository to GitHub
[x] 3. Open RStudio and create a new project in an existing directory (the directory of your repository)
[x] 4. Download the file "R_Rstudio_Rmarkdown.Rmd" from the week 4 "Practical: R markdown" section on MyAberdeen and save it in your project
[x] 5. Work through the Rmarkdown file, remembering to commit and push your changes to the remote repository on GitHub
[x] 6. Optional: if you have questions you'd like to discuss with your group members, create issues on GitHub and let them know
[x] 7. Comment on this issue with a link to your new repository

Week 5: Practical: reading data in R

[x] 1. Create a new public repository on GitHub Desktop and add a readme file. This will be the main repository for the R material from this course, so give it a good name :smiley:
[x] 2. Publish the repository to GitHub
[x] 3. Open RStudio and create a new project in an existing directory (the directory of your repository)
[x] 4. Create an appropriate folder structure according to the good coding practices discussed in week 5
[x] 5. Download the data files and Rmarkdown file from the week 5 "Practical: reading data in R" section on MyAberdeen and save them in the appropriate folders in your project
[x] 6. Work through the Rmarkdown file, remembering to commit and push your changes to the remote repository on GitHub
[x] 7. Optional: if you have questions you'd like to discuss with your collaborators, create issues on GitHub and let them know
[x] 8. Comment on this issue with a link to your new repository

Week 6-10: Your project
Now that you have become familiar with GitHub, you can start using it to prepare your report, and get help and feedback from your group members.

[ ] Comment on this issue with a link to your report repository

This is the link to my repository.
https://github.com/CharlotteZeiz/Repo-IntroHDS-Charlotte

Step 4 and 5 where a bit confusing for me.
I created a word document and added it in the web version github (via the add file button next to the green code button)
Then i added a sentence to the document (in word) and pushed the change from the desktopversion.
Was this the right way to do it?
If i view the history now i can only see the version of the document with the extra senctence. I thought there would be the first version of the document as an anchorpoint like explained in the video.
Can someone tell me what i did wrong?
Thanks

This is my week 4 repository
https://github.com/CharlotteZeiz/week4_R_markdown

It will get easier with practice Charlotte 😃 Try to organise your files in folders, according to the good coding practices described in the course material.

Hi @dblana , i tried the system with the 3 folders you showed in the course but then i had trouble having all the files together in r studio so i put them al back in one folder... :(

In your code, you can refer to files that are in different folders - ask @warren-james about it in one of the support sessions 😃


When changing the group to display, message area should be scrolled to the bottom

Probably need to use https://www.npmjs.com/package/ng-infinite-scroll. Hopefully, it will get updated for Angular 11.

fixed


Bad things happen to tour when map names aren't exactly equal between backend and engine

(need to check severity. like, can you just edit backend and requeue without issue? or is it much worse than that?)

upon "testing" (like this actually failed in round 1), all you have to do is requeue the round's matches. yay!
there might be other failure modes but the solutions are always "just try again" so just gotta impl those cleanly


CF deploys not working across all environments

Detailed description

Describe in detail the issue you're having.

IBM Cloud cloud foundry deployments are not working for all CI deployments and environments.
This appears to have started about a day ago. This looks like possibly configuration, though deployments locally seem to work.
This happens with all CI environments.

Discovered that the latest cf CLI is buggy after much troubleshooting. Downgraded across the board and forced the previous minor version, which seemed to have fixed the issues.


OpenID Connect not actually implemented

According to the documentation Portus should be able to support OpenID Connect when it is not supported by the current implementation. The gem that was added is omniauth-openid which only supports OpenID and not OpenID Connect. Please note, these are two different things.

@mcharris have you worked on this anymore ?

can you use https://github.com/m0n9oose/omniauth_openid_connect instead?

We could work on that issue and integrate https://github.com/m0n9oose/omniauth_openid_connect

Fixed by #2154


🔱 SPIKE: Use Cloud Platform for GitHub Self-Hosted runners

User Story
As a platform engineer
I want to not have to run GitHub ARC on our own EKS
So that its one less tool to maintain
Value / Purpose
We build a container capable of running the GitHub Actions self-hosted runner software
Useful Contacts
@jacobwoffenden
User Types
Platform engineering
Hypothesis
If we... [do a thing]
Then... [this will happen]
Proposal
Build a GitHub Actions runner container
Define a deployment for running it
Additional Information
No response
Definition of Done
Example - [ ] Documentation has been written / updated

[ ] README has been updated
[ ] User docs have been updated
[ ] Another team member has reviewed
[ ] Tests are green

We have the ability to run GitHub Actions on Cloud Platform
https://technical-documentation.data-platform.service.justice.gov.uk/documentation/platform/infrastructure/self-hosted-runners.html


Missing antlr4, Command not working on Ubuntu Server 20.04 - az vm list-ip-addresses

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az vm list-ip-addresses
Errors:
No module named 'antlr4'
Traceback (most recent call last):
lib/python3/dist-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
azure/cli/core/commands/__init__.py, ln 528, in execute
    self.commands_loader.load_arguments(command)
dist-packages/azure/cli/core/__init__.py, ln 300, in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument registries
azure/cli/command_modules/vm/__init__.py, ln 31, in load_arguments
    from azure.cli.command_modules.vm._params import load_arguments
azure/cli/command_modules/vm/_params.py, ln 31, in <module>
    from azure.cli.command_modules.monitor.actions import get_period_type
azure/cli/command_modules/monitor/actions.py, ln 7, in <module>
    import antlr4
ModuleNotFoundError: No module named 'antlr4'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az vm list-ip-addresses

Expected Behavior
Environment Summary
Linux-5.4.0-1020-azure-x86_64-with-glibc2.29
Python 3.8.2
Shell: bash

azure-cli 2.0.81 *

Extensions:
azure-devops 0.17.0

Additional Context

@qwordy please take a look

Are you using the bundled Azure CLI of Ubuntu? The package is old and has some problems. Could you install the latest version and retry?
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest

Are you using the bundled Azure CLI of Ubuntu? The package is old and has some problems. Could you install the latest version and retry?
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest

OK, I'll check it.

hi @viniciusbuscacio does installing latest version resolved your issue?

Close since no reply. This a common issue and the solution has been verified by many users.


fix: avoid dots in extracted parameters

during download, we extract and convert IDs into parameters, we also do this for the "scope" parameter. Depending on the settings object the scope could contain dots (".") which are then used as a key of the reference parameters However, monaco fails to resolve these parameters as monaco assumes dots to be nested structures. Example:
- id: 1
  config:
    parameters:
      extractedIDs:
        type: value
        value:
          id_metric_postgres.session_time.count: metric-postgres.session_time.count
    template: 1.json
    skip: false
  type:
    settings:
      schema: builtin:metric.metadata
      schemaVersion: "4.28"
      scope:
        property: extractedIDs.id_metric_postgres.session_time.count
        type: reference

monaco fails to resolve the parameter "extractedIDs.id_metric_postgres.session_time.count" as it assumes the following parameter structure:
parameters:
      extractedIDs:
        type: value
        value:
          id_metric_postgres:
            session_time:
              count: metric-postgres.session_time.count

This PR avoids running into this situation by simply making sure that parameter keys do not contain dots.

Ignoring flaky E2Es due to incomplete state of API clients on main


How to use fairseq for tagging?

Is it possible to use this library to trained a tagger, for example, a POS tagger?

Yes, you are right. But tagging requires the output sequence to be of the same length as the input.
And that is what I am confused about.
Sorry, I should have been more specific.

@gagb
you can use this fork adapted for sequence tagging


Firebase Auth Convert an anonymous account to a permanent account Error

Description
I'm trying to convert an anonymous user to a permanent user.
            // link anonymous user to new credential             let credential = EmailAuthProvider.credential(withEmail: email, password: password)             try await auth.currentUser?.link(with: credential)
I would expect to see that the user has been converted to a permanent user, but I get an error:
Error Domain=FIRAuthErrorDomain Code=17006 "Please verify the new email before changing email." UserInfo={NSLocalizedDescription=Please verify the new email before changing email., FIRAuthErrorUserInfoNameKey=ERROR_OPERATION_NOT_ALLOWED}
Reproducing the issue
            // link anonymous user to new credential             let credential = EmailAuthProvider.credential(withEmail: email, password: password)             try await auth.currentUser?.link(with: credential)
I've used both the async/await functionality as well as the callback. I've also tried updating the user's email using  updateEmail(to: <String>) with the same error, though I shouldn't need to dot his.
Firebase SDK Version
10.5.0
Xcode Version
15.0
Installation Method
Swift Package Manager
Firebase Product(s)
Authentication
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

{
  "pins" : [
    {
      "identity" : "abseil-cpp-binary",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/abseil-cpp-binary.git",
      "state" : {
        "revision" : "bfc0b6f81adc06ce5121eb23f628473638d67c5c",
        "version" : "1.2022062300.0"
      }
    },
    {
      "identity" : "firebase-ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/firebase-ios-sdk",
      "state" : {
        "revision" : "8a8ec57a272e0d31480fb0893dda0cf4f769b57e",
        "version" : "10.15.0"
      }
    },
    {
      "identity" : "googleappmeasurement",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleAppMeasurement.git",
      "state" : {
        "revision" : "03b9beee1a61f62d32c521e172e192a1663a5e8b",
        "version" : "10.13.0"
      }
    },
    {
      "identity" : "googledatatransport",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleDataTransport.git",
      "state" : {
        "revision" : "aae45a320fd0d11811820335b1eabc8753902a40",
        "version" : "9.2.5"
      }
    },
    {
      "identity" : "googleutilities",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleUtilities.git",
      "state" : {
        "revision" : "c38ce365d77b04a9a300c31061c5227589e5597b",
        "version" : "7.11.5"
      }
    },
    {
      "identity" : "grpc-binary",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/grpc-binary.git",
      "state" : {
        "revision" : "f1b366129d1125be7db83247e003fc333104b569",
        "version" : "1.50.2"
      }
    },
    {
      "identity" : "gtm-session-fetcher",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/gtm-session-fetcher.git",
      "state" : {
        "revision" : "5ccda3981422a84186387dbb763ba739178b529c",
        "version" : "2.3.0"
      }
    },
    {
      "identity" : "interop-ios-for-google-sdks",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/interop-ios-for-google-sdks.git",
      "state" : {
        "revision" : "2d12673670417654f08f5f90fdd62926dc3a2648",
        "version" : "100.0.0"
      }
    },
    {
      "identity" : "leveldb",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/leveldb.git",
      "state" : {
        "revision" : "0706abcc6b0bd9cedfbb015ba840e4a780b5159b",
        "version" : "1.22.2"
      }
    },
    {
      "identity" : "lottie-ios",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/airbnb/lottie-ios.git",
      "state" : {
        "revision" : "1760543c6e48e13fc76e9343f7006bcaee498a78",
        "version" : "4.3.1"
      }
    },
    {
      "identity" : "nanopb",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/nanopb.git",
      "state" : {
        "revision" : "819d0a2173aff699fb8c364b6fb906f7cdb1a692",
        "version" : "2.30909.0"
      }
    },
    {
      "identity" : "promises",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/promises.git",
      "state" : {
        "revision" : "e70e889c0196c76d22759eb50d6a0270ca9f1d9e",
        "version" : "2.3.1"
      }
    },
    {
      "identity" : "purchases-ios",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/RevenueCat/purchases-ios.git",
      "state" : {
        "revision" : "02a7da2dae8ca74c97ae0130b87a2787a4f36edf",
        "version" : "4.26.1"
      }
    },
    {
      "identity" : "swift-protobuf",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/apple/swift-protobuf.git",
      "state" : {
        "revision" : "cf62cdaea48b77f1a631e5cb3aeda6047c2cba1d",
        "version" : "1.23.0"
      }
    },
    {
      "identity" : "swiftuipager",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/fermoya/SwiftUIPager.git",
      "state" : {
        "revision" : "4ddc04c801aac143090bb14cf26603a3bf9c74cb",
        "version" : "2.5.0"
      }
    }
  ],
  "version" : 2
}

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

Thanks for reporting, @davidarice. Per checking, it seems that the error is caused by the sign-in provider not being enabled in the Firebase project. With this, could you confirm if the Anonymous and Email/Password provider is enabled in your console?

I can confirm that both Anonymous and Email/Password provider are enabled.

This issue is confirmed on recently created projects. The backend issue is internally tracked at b/302725971