alert stacked without an option to dismiss

this demo will explain it better, when the user try and fail again to reconnect , a new alert pops before dismissing the old one ?  I'm not sure what's happening
the confirm button doesn't dismiss the alert because it's creating a new alert ?
https://user-images.githubusercontent.com/13587810/187587173-94d878e1-ed95-4728-a5cf-612887960a6d.mp4

actually I think the bug is jut because the confirm button doesn't dismiss the alert

Hello @thorizer 👋
Lookings like you are triggering the alert multiple times. Debug your code with some conditions to avoid the triggering of alert multiple times and you'll get your expected result.
Thank You,
Happy Coding ⭐

@ItsAkashS22 yes , I know that's why i closed the issue.
I still 50% opacity is too much when i use dark mode

Hello @thorizer 👋
Yes accepted that and updated the alert with a new option to set barrier color, i hope that helps.
Thank you,
Have Coding ✨


Flexible weight load

This PR cascades on top of Enabling dropout layers to be used in the actor and critic models. #150. This just exposes the weight loading by name flag.

@matthiasplappert can we put this through?


Co-authored-by: AbbySZ<EMAIL_ADDRESS>

Updating the DynamoDB Json files to have only counter = 0 instead of having pre populated dummy datas.

Lgtm!


When g:NERDAltDelims_java is set to 1,sometimes it will use another comment style

nerdcommenter:Jul 31 2018 -> Date from git.
It is the version I am using now. And I download the newest one, the problem still exist.
vimrc:
filetype plugin indent on
let g:NERDAltDelims_c = 1
let g:NERDAltDelims_java = 1

shell cmd: $ vim vim.vim or $ vim py.py
I think the filetype I am opening is unimportant.
vim cmd: :vs java.java or :vs c.c
The problem will show up, too.
type:<C-w>l<C-w>h
Jump to the window of vim.vim then jump back.
Then nerdcommenter will use another comment style.
I have seen some similar problems in the issue list.#342 is a similar problem.
I found that the b:NERDCommenterDelims is been modified unproperly.
The reason is the function s:SwitchToAlternativeDelimiters is called.
But I then could not find out where and why it is call.

This is probably a bug in relation to variable scope. We're probably doing something with global variables that we should be keeping to buffer scope. I'd love to see this rooted out if anybody wants to contribute a fix for that.


CPP/error/countpallindromicsubstrings.cpp

Find out the error in the code
NOTE:- Screenshot of the code and output is required

Hello.... Assign this to me


Older-version snapshots and repositories are guaranteed to work with …

…older versions of OpenSearch
Description
Describe what this change achieves.
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
Checklist

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@natebower I just added again the part emphasizes that 2.11 snapshots can be snapshot restored to 2.11 clusters. Please have a look again.

@natebower I just added again the part emphasizes that 2.11 snapshots can be snapshot restored to 2.11 clusters. Please have a look again.

Done 😄

Thanks @natebower! :)


Meters Model - Method error meters_write_calcurrent()

In MetersV.py the method meters_write_calcurrent is not functional
def meters_write_calcurrent(self, argument: str):
    """Sets the magnitude of the real part of the Calculated Current (normally determined by solution)
    for the meter to force some behavior on Load Allocation."""
    return Bridge.var_array_function(self.dss_obj.MetersV, ctypes.c_int(7), argument, None)

What is the way to use this in OpenDSS? If I see a DSS code I can convert to Python.

@PauloRadatz


Some tests are not run by run-tests-jenkins on Jenkins server

I discovered this issue while working on https://github.com/hydroshare/hydroshare/issues/1838 to delete dangling resources in iRODS in unit tests. I found the test hs_core.tests.api.native.test_create_new_version_resource tests actually failed after @pkdash's changes to raster resource type as part of file type work, however the test failure was not caught by Jenkins since it gave green check for tests in that file type work PR. When chatting with @mjstealey, we found this test indeed is not included in Jenkin test report here: http://ci.hydroshare.org:8080/job/nightly-build-test/lastCompletedBuild/testReport/. We cannot figure out why some tests are not run by Jenkins as part of coverage test run. @pkdash Can you take a look first to see if you can figure out? If not, we may need to ask @aphelionz or @alexlemann for ideas.

@hyi Should I delete this issue as I created a duplicate issue #1865 ?

Closing this as it has been addressed as part of issue #1865


pipelines agent on alpine reporting error relocating ./bin/libcoreclr.so

Agent Version and Platform
2.166.3 - Alpine Linux  3.11.5 (x86-64)
What's not working?
trying to get Alpine to run the azure pipelines agent 2.166.3, i have installed and configured many agents before on RH7 and Windows without issues.
I have downloaded the agent and tried running config.sh but it is outputting
fubar:~/myagent$ ./config.sh Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by ./bin/libcoreclr.so) Error relocating ./bin/libcoreclr.so: __finite: symbol not found Error relocating ./bin/libcoreclr.so: __isnan: symbol not found Error relocating ./bin/libcoreclr.so: __finitef: symbol not found Error relocating ./bin/libcoreclr.so: __isnanf: symbol not found Error relocating ./bin/libcoreclr.so: pthread_attr_setaffinity_np: symbol not found Error relocating ./bin/System.Net.Http.Native.so: __strdup: symbol not found libicu's dependencies missing for .NET Core 3.1 Execute ./bin/installdependencies.sh to install any missing dependencies. fubar:~/myagent$
appreciate that alpine is a musl based distro and i believe i have satisfied all the dependencies listed when the dotnet-install.sh script runs and outputs the missing dependency warnings.
the musl lib and gcc are working fine as i have ported my application to Alpine i just need to add it into my build pipe as a target but cat get the agent running to do that.
first question is should i be able to run the agent on alpine ?
more info on config below - happy to supply anything else required.
fubar:~/myagent$ dotnet --info
.NET Core SDK (reflecting any global.json):
Version:   3.1.201
Commit:    b1768b4ae7
Runtime Environment:
OS Name:     alpine
OS Version:  3.11
OS Platform: Linux
RID:         alpine.3.11-x64
Base Path:   /home/dotnet/sdk/3.1.201/
Host (useful for support):
Version: 3.1.3
Commit:  4a9f85e9f8
.NET Core SDKs installed:
3.1.201 [/home/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.3 [/home/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.3 [/home/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
fubar:~/myagent$ uname -a
Linux fubar 5.4.27-0-lts #1-Alpine SMP Mon, 23 Mar 2020 18:15:20 UTC x86_64 Linux
fubar:~/myagent$ apk list | grep icu
icu-dev-64.2-r1 x86_64 {icu} (MIT ICU Unicode-TOU)
icu-libs-64.2-r1 x86_64 {icu} (MIT ICU Unicode-TOU) [installed]
py3-icu-2.3.1-r2 x86_64 {py3-icu} (MIT)
icu-static-64.2-r1 x86_64 {icu} (MIT ICU Unicode-TOU)
icu-64.2-r1 x86_64 {icu} (MIT ICU Unicode-TOU) [installed]
harfbuzz-icu-2.6.4-r0 x86_64 {harfbuzz} (MIT)
icu-doc-64.2-r1 x86_64 {icu} (MIT ICU Unicode-TOU)

Do you have the Dockerfile available, so I can debug it ?

No docker involved - this is a real alpine vm running in VSphere, i thought i had loaded all the pre-req but i cant seem to get the agent to start. TBH i havent tried it for a while as i worked round it by putting an agent on an RH7 linux VM azure and scp'ing the checkout made by the agent to the remote Alpine system and running my build using ssh, then pulling back the artifacts for publishing into the rest of my build pipe.
I would rather run the agent on Alpine.

Having similar issue.

Here is the docker file i have same issue -
Dockerfile.txt

Here is the docker file i have same issue -
Dockerfile.txt

I have same problen
my dockerfile
FROM docker:dind
RUN apk update
RUN apk upgrade
RUN apk add --no-cache bash
RUN apk --no-cache add curl
RUN apk --no-cache add wget
RUN apk --no-cache add jq
RUN apk --no-cache add git
RUN apk --no-cache add gnupg
RUN apk --no-cache add gdb
RUN apk --no-cache add icu-libs
RUN apk --no-cache add openssl
RUN apk --no-cache add jq
RUN apk --no-cache add libcurl
RUN apk --no-cache add libunwind
RUN apk --no-cache add  netcat-openbsd
RUN apk --no-cache add sudo
RUN apk --no-cache add btrfs-progs
RUN apk --no-cache add ca-certificates
RUN apk --no-cache add e2fsprogs
RUN apk --no-cache add e2fsprogs-extra
RUN apk --no-cache add libgcc
RUN apk --no-cache add libstdc++
RUN apk --no-cache add gcompat libc6-compat
RUN apk --no-cache add netcat-openbsd
RUN apk --no-cache add shadow-uidmap
RUN apk --no-cache add xfsprogs
RUN apk --no-cache add xz
RUN apk --no-cache add krb5-libs
RUN apk --no-cache add libintl
RUN apk --no-cache add libssl1.1
RUN apk --no-cache add zlib
ENV DOTNET_INSTALL_SKIP_PREREQS=1
RUN mkdir azp
WORKDIR /azp
RUN curl -LsS https://download.visualstudio.microsoft.com/download/pr/91571c5a-2e55-4187-8774-bbbab205fac6/4d53331ec2beb5c648202cae23643686/dotnet-sdk-3.1.405-linux-musl-x64.tar.gz --output dotnet-sdk-3.1.405-linux-musl-x64.tar.gz
RUN mkdir -p dotnet
RUN ls
RUN tar zxf dotnet-sdk-3.1.405-linux-musl-x64.tar.gz -C dotnet
ENV DOTNET_ROOT=azp/dotnet
RUN export PATH=$PATH:azp/dotnet
RUN apk add --no-cache mono --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing
RUN apk add --no-cache --virtual=.build-dependencies ca-certificates
RUN curl -LsS https://vstsagentpackage.azureedge.net/agent/2.181.0/vsts-agent-linux-x64-2.181.0.tar.gz | tar -xz & wait $!
#RUN cert-sync /etc/ssl/certs/ca-certificates.crt
#RUN apk del .build-dependencies
WORKDIR /azp
COPY ./start.sh .
RUN curl -LsS https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz | tar -xz & wait $!
RUN mv  oc kubectl  /usr/local/bin/
WORKDIR /azp
ENV TZ "Europe/Zurich"
ADD Ca_bjss.pem /usr/local/share/ca-certificates/Ca_bjss.pem
RUN chmod 644 /usr/local/share/ca-certificates/Ca_bjss.pem
RUN openssl x509 -in /usr/local/share/ca-certificates/Ca_bjss.pem -inform PEM -out /usr/local/share/ca-certificates/Ca_bjss.crt
#RUN update-ca-certificates
#RUN cert-sync /etc/ssl/certs/ca-certificates.crt
CMD `["./start.sh"]
error

Same problem with Alpine 3.13.
I tried to install all the dependency following the docs, included the .NET ones:
# SW Pre-reqs
apk add openssl sudo shadow parted e2fsprogs iptables sfdisk
apk add python3 py3-setuptools
apk add curl unzip e2fsprogs-extra
apk add icu-libs krb5-libs libgcc libint libstdc++ zlib gcompat
apk add libintl libssl1.1
# .NET Requirements
apk add bash icu-libs krb5-libs libgcc libintl libssl1.1 libstdc++ zlib
apk add libgdiplus --repository https://dl-3.alpinelinux.org/alpine/edge/testing/

When I try to run ./config.sh --help I get:

Any update here?

Hi @SymbioticKilla is it still reproducible for you with latest agent version?

Hi @anatolybolshakov,
sorry, was just curios if it is on the road map. I'm waiting for official support. Due to compliance rules in our company unfortunately I can't test unofficial stuff.

@SymbioticKilla Support of Alpine will require a separate build of our Agent (linux-musl-x64). As I know we don't have plans for official support of Alpine, so the support of this OS won't appear in the nearest future.

I was trying to use alpine-glibc image. But I had the same issue.

I have the same issue

No Plan to support alpine?

Can we reopen this issue? There is full support for .NET Core - at least 3.1 - for Alpine now. Not being able to use Alpine for containerized agents forces us to have huge, bloated containers due to use of other less streamlined OS images.
Related story is #1319

Hi everyone,
Any news about this topic?
I really need it to run official docker:dind images as build agents in Azure Pipelines. Especially when .NET 6 is officially supported on Alpine.


"Could not initialize webview" error

I followed the steps on the VSCode homepage for the plugin. When I try to use the Create New Wolfram Language Notebook command, I get the following error:

Operating system: Win 10
Mathematica/Engine: [13.3.1] (Wolfram Language 13.3.1 Engine for Microsoft Windows (64-bit))
VS Code:

Version: 0.1.1

Oh, the problem seems to have gone away now.
One recommendation: the instructions on the marketplace start with

To create a new Wolfram Language notebook, execute Create New Wolfram Language Notebook in the Command Palette, or create a new file with .wlnb extension.

Execute Manage Kernels command and choose Use wolframscript to add wolframscript to the kernel configuration and connect to it. The status of the kernel will be shown in the status bar.

These two instructions should be reversed: the user should first set up the kernel and only THEN attempt to create a notebook.

there is another way: create a empty txt, rename to wlnb, open it.
vscode will automatically recognize it.


Error with read or write into process

Whenever i am trying to use the RPM or WPM i end up with error although i was just using
process_vm_writev and process_vm_readv before idk if this will work in same way.

can you give me the output of the usermode app and dmseg please ?
people reported me that they had issues opening the target process thus using an invalid PID so W/RPM was failing, maybe it's also the case here

bool Read(long address, void* pBuff, size_t size) {
    if (size == 0)
        return false;
    void* pAddress = (void*)address;
    pid_t pid = GetPID();
    struct iovec iovLocalAddressSpace[1]{ 0 };
    struct iovec iovRemoteAddressSpace[1]{ 0 };
    iovLocalAddressSpace[0].iov_base = pBuff;     // Store data in this buffer
    iovLocalAddressSpace[0].iov_len = size;       // which has this size.
    iovRemoteAddressSpace[0].iov_base = pAddress; // The data comes from here
    iovRemoteAddressSpace[0].iov_len = size;      // and has this size.
    ssize_t sSize = process_vm_readv(
        pid,                   // Remote process id
        iovLocalAddressSpace,  // Local iovec array
        1,                     // Size of the local iovec array
        iovRemoteAddressSpace, // Remote iovec array
        1,                     // Size of the remote iovec array
        0);                    // Flags, unused
    if (sSize == (ssize_t)size)
        return true;
    else if (sSize == 0)
        return false;
    return false;
}

bool Write(long address, void* pBuff, size_t size) {
    if (size == 0)
        return false;
    void* pAddress = (void*)address;
    pid_t pid = GetPID();
    struct iovec iovLocalAddressSpace[1]{ 0 };
    struct iovec iovRemoteAddressSpace[1]{ 0 };
    iovLocalAddressSpace[0].iov_base = pBuff;     // Store data in this buffer
    iovLocalAddressSpace[0].iov_len = size;       // which has this size.
    iovRemoteAddressSpace[0].iov_base = pAddress; // The data will be writted here
    iovRemoteAddressSpace[0].iov_len = size;      // and has this size.
    ssize_t sSize = process_vm_writev(
        pid,                   // Remote process id
        iovLocalAddressSpace,  // Local iovec array
        1,                     // Size of the local iovec array
        iovRemoteAddressSpace, // Remote iovec array
        1,                     // Size of the remote iovec array
        0);                    // Flags, unused
    if (sSize == (ssize_t)size)
        return true;
    else if (sSize == 0)
        return false;
    return false;
}

template <class T>
T Read(long address) {
    T buffer;
    bool success = Read(address, &buffer, sizeof(T));
    if (!success) {
        m_pid = 0;
        throw std::invalid_argument(
            "Failed to get " + std::to_string(sizeof(T)) + "at: " + std::to_string(address));
    }
    return buffer;
}

template <class T>
void Write(long address, T value) {
    bool success = Write(address, &value, sizeof(T));
    if (!success) {
        m_pid = 0;
        throw std::invalid_argument(
            "Failed to set " + std::to_string(sizeof(T)) + " at: " + std::to_string(address));
    }
}

std::string ReadString(long address, int size) {
    char buffer[size] = { 0 };
    bool success = Read(address, &buffer, size);
    if (!success)
        throw std::invalid_argument("Failed to read String at address: " + address);
    return std::string(buffer);
}

i was using these for rpm / wpm so do i just replace all of it with RPM and WPM cause i don't think that will work, i can really use your help on these once.

i did manage to use the read and write func on kernel but when i try to replace them i get errors.

what errors do you have ?

what errors do you have ?

it can't get the level name and i get errors as can't convert this to that a lot i am using a hack called grinder please help me out bro.

https://www.learncpp.com/


Setting the port from the cli is not reflected in console output and swagger /api-docs

Bug severity
1
Describe the bug
When using the command veramo server -p 8080 the port number is not reflected in the swagger /api-docs endpoint nor in the console.
To Reproduce
Steps to reproduce the behaviour:

veramo server -p 8080 (Must be a port number different from the one in your agent.yml)

Observed behaviour
Incorrect port number in the generated docs.
Expected behaviour
The correct port number.
Details

Versions (please complete the following information):

Veramo: 3.1.5
Node Version v18.0.0

Thank you for reporting this!
Do you also wish to contribute a fix?


Use resource file names from Resources

This PR...

migrates to newer version of base for using resource file names declared in the Resources class.
narrows down the gRPC dependency (see issue #680 for details), and bumps it to 1.10.0.

The version of Spine advances to 0.10.32-SNAPSHOT.

@dmdashenkov, PTAL.


Prepare auth modules to be converted to Kotlin DSL

WHAT
Following up #846 and preparing auth modules to be converted to Kotlin DSL
WHY
#833
HOW
Follow https://docs.gradle.org/current/userguide/migrating_from_groovy_to_kotlin_dsl.html#prepare_your_groovy_scripts to prepare the Groovy scripts to more easily be converted to Kotlin DSL.
Checklist :clipboard:

[x] Add explicit visibility modifier and explicit return types for public declarations
[x] Run spotless check
[x] Run tests
[x] Update metalava's signature text files

Rebase with main ☝


BUGFIX - fix inconsistency between the in memory cache and existing vpn connection

Description
For each tunnelendpoint.net.liqo.io (TEP) instance a VPN connection is configured to a remote cluster. Liqo-gateway operator caches this connections in memory in order to not fetch this information from the kernel each time it has to process a TEP instance. The WireGuard driver implementation did not remove the cache entry when a TEP instance is deleted causing the operator to not configure the VPN connection once the TEP is recreated.
Fixes #(issue)
#446
How Has This Been Tested?

Deploy two k8s clusters with kind;
Let them peer with each other;
Check that a TEP instance has been created on both the clusters;
Make sure that TEP instances' status is updated and that the VPN connection has been configured;
Try to contact a service from cluster 1 to cluster 2 verifying the network connection between the clusters;
Choose one of the two clusters and delete the TEP instance;
After the TEP instance is created perform steps: 4 and 5;
The network connection between the clusters is correctly configured.

/rebase

/rebase


Java code generation support

I'd like to contribute towards PlayJava support. I don't expect you guys to do work towards adding Java support, but hopefully you don't mind me sending PRs for it. I'm a heavy contributor to Play, so I'm willing to help generally with Play/SBT. I think that supporting both Scala and Java I think it will help in getting more people using and testing the project and I'd much rather combine efforts than make a separate project for my Java code generation.
Quite a bit of the work is already being done from having Scala support. E.g. parsing the spec and generating an internal representation, which is really nice.
Some notes about what I'd need to do:

Introduce SBT enum setting for Java vs Scala compilation. Should probably be added to PlaySwagger
In SwaggerCompiler use the flag to generate only common files in Java mode like the routes file and generate everything in Scala mode
Add generators for Java models and controllers
Add scripted tests to verify output of code generation
Have plugin automatically add spec2 and scalaz (#29) and do this only in Scala mode

@slavaschmidt @nmcb quick heads up that we were going to start working on this soon. @frantuma is beginning to examine the code

@benmccann @frantuma This is really great!
May be we should have a conversation in gitter about the common architecture of the plugin. We aim to have a plugin which should be usable for different specification formats, frameworks and languages. The idea is to parse all supported specification formats into the common AST and then use the AST to generate source code needed for specific framework and language.
In some sense, the final "plugin" would be just a configuration of "processor" part (only swagger for now) and generator (scala/java and play, akka-http is planned).
Does it make sense?

By the way, will you utilise some template engine for code generation?

I figured we'd just do for the Java code whatever you are doing for the Scala code. I haven't looked that closely if you are using a template for the Scala stuff?

I started to use scalatra lately but not really satisfied with it. The main problem with any template engine i've found so far is that all of them are really HTML-related and not really good for source code generation. You could take a look in newnaming branch to see what i mean.

I found a mustache template. Are you experimenting with it as an alternative to the scalatra stuff? I can't think of anything that'd be any better off the top of my head. https://github.com/zalando/play-swagger/blob/313e0fcbc0e7c364aaa53f6dfcf56aee13a6a350/compiler/src/main/resources/model.mustache

@slavaschmidt If I got it right, you are currently using no templates in master and scalate in newnaming branch; I understand that you're getting issues with this approach caused by the limitations when dealing with source code generation and I'd like to share some thoughts even if I would need some more time to get a clear overall picture.
I have been investigating a bit, and it seems that the template approach is used widely, e.g. by swagger codegen (http://swagger.io/swagger-codegen/) which seems to use mustache. I believe other options could include django, liquid, freemarker, velocity.
In your current approach, and as you mention in earlier comment, I guess the idea is to have a set of parsers (for swagger, RAML, etc) getting out a specific model, then transformed to common AST; a generator engine would then take care of creating source code via configuration and language/tech specific templates.
This sounds right to me (with obvious limitations caused by bad/incomplete input and possible "infinite" scope of output), with possible focus on swagger/play as initial input/output. Also this differs from e.g. swagger-codegen because of the middle common model (they use swagger model "directly" I guess) and the scope including other definition sources;
The alternative would be to have single definition->code paths for each pair, this would allow probably to use existing libs in exchange with complexity etc.
As said I possibly need some more time, but in any case possibly the parser component for swagger could be using swagger-parser, keeping the swagger to AST transform, as possibly drafted in a really initial project https://github.com/unicredit/sbt-swagger-codegen
Please let me know what you think

@frantuma everything is correct. I was not aware about sbt-swagger-codegen, will take a look at it.

For generating Java source you might want to check out https://github.com/square/javapoet


Added tests for writeUtf8 solves issue #5

Why is abdullahs commits follow mine?

Based off wrong branch, closing!


[Event Request] OnAfterSetFAPostingDate called from SetFAPostingDate in Codeunit 5606 FA Check Consistency

Can you add new publisher OnAfterSetFAPostingDate called from SetFAPostingDate in Codeunit 5606 FA Check Consistency?
Publisher:
[IntegrationEvent] OnAfterSetFAPostingDate(VAR FALedgEntry : Record "FA Ledger Entry";VAR FADeprBook : Record "FA Depreciation Book";MaxDate : Date;MinDate : Date;GLDate : Date)

Called from SetFAPostingDate:

Can't use the OnBeforeModifyEvent on the FADeprBook table in this case because here I have all the values from FALedgerEntry2, including MaxData, MinDate, GLDate values that are pre-calculated already.


[Feature Request] get and set tuple support

Motivation
Like for __getindex__ and __setindex__, we should cover get and set usage with tuples. If the key is not present, set should create an empty TensorDict with same batch size and same device and populate it with the desired value.
Cons:
This may cause some overhead. I would not use a try/except which is expensive, just a regular isinstance.
Cc @tcbegley

closed as of #22 which is more general


Reduce size of FIXSession.MessageHandler method

This is an issue / PR, the commits just make it clearer.
Every FIX message passes through the FIXSession.MessageHandler.message method, so it's on the critical path of most FIX applications. Unfortunately with 391 bytes in size it's the only method in Philadelphia larger than the 325 bytes default jvm hot method inline size.
The commit below reduces the size of the method to 315 bytes which allows inlining. Running the Philadelphia ping pong test before:
@ 275   com.paritytrading.philadelphia.FIXSession$MessageHandler::message (391 bytes)   hot method too big

after:
@ 275   com.paritytrading.philadelphia.FIXSession$MessageHandler::message (315 bytes)   inline (hot)

The removal of the check at line 553 should be fine as any message with 2 bytes message type is not the most common message type and caught by the default-case in the switch statement (assuming no such message type would match 0-A in the first byte which would be retarded). As we are not doing the length check anymore we directly access the char at offset 0, and if there's no match it passes it downstream.

Just when I sent this off I remembered msgType=AD .... something to think about.

Good work, @jheusser. I think that the change in the message type handling can indeed be problematic due to the overlap in message type values. However, the sequence reset handling could be optimized a bit by moving more of the logic into the handleSequenceReset method.

Yes, agree. Factoring out the gap fill logic and putting the message type handling back in makes sense.
If you like I can do that. I could move the gap fill logic into handleSequenceReset and remove the boolean parameter?

Yes, that would be great. The boolean parameter is indeed no longer needed, but I think handleSequenceReset will then have to return a boolean indicating whether or not the sequence reset was handled (for the first call site).

Method is now at 314 bytes, with handleSequenceReset refactored and message type check back in. Let me know how this looks.

Thanks, @jheusser!


when running  cmd.exe in  terminal  command output is missing or scrambled

Windows Terminal version
1.18.10301.0
Windows build number
19045.4046
Other Software
n/a
Steps to reproduce
just using  terminal  ---
Expected Behavior
same output as cmd.exe
Actual Behavior
output text missing or  scrambled  --- the  attached zip file  is the output of the  "dir" command for my dropbox folder   using cmd.exe  directly and  running cmd.exe  from withing  terminal
screens.zip

I found the 1.19  update and applied it --- it s seems to be working now --- I will  runs some  test and  replat with the  results


Setup schema.graphql, mapping(handler), schema, subgraph.yml file for ERC20Cogateway contract

Define the entities in schema.graphql

DeclaredWithdrawIntent
      - id
      - token address
      - amount
      - nonce
      - beneficiary
      - fee gas price
      - fee gas limit
      - withdrawer
      - block number
      - block hash
      - contract address
      - updated time stamp (uts)
ConfirmedDepositIntent
      - id
      - message hash
      - block number
      - block hash
      - contract address
      - updated time stamp (uts)
ProvenGateway
      - id
      - proven block number
      - storage root
      - gateway address
      - block number
      - block hash
      - contract address
      - updated time stamp (uts)
CreatedUtilityToken
      - id
      - value token
      - utility token
      - block number
      - block hash
      - contract address
      - updated time stamp (uts)

Define handlers

ConfirmedDepositIntent
DeclaredWithdrawIntent
CreatedUtilityToken,
ProvenGateway

Add ABIs for

ERC20Cogateway contract

Events in subgraph.yaml

DeclaredWithdrawIntent
ConfirmedDepositIntent
GatewayProven event
UtilityTokenCreated event

We would need to update the contract address of ERC20Cogateway in subgraph.yaml after deploying it.


switch from Codeium.nvim to Codeium.vim style any vice-versa? [I like codeium.vim's cmp ghost_text like thing maybe implement that in nvim, i like the vim one but its a little slow...?

the main thing of codeium is like its shows trailing ghost_text which is also portrayed on the main website so if its possible to implement it in the nvim version maybe?

We're thinking about this, but no concrete plans yet.

ah, ok, see ya, while good plugin, imma closin this issue, thanks, just the problem is the codeium.vim is vimscript while this one is lua based so its better...


Issue with running tests inside a loop

Hi all!
I'm currently updating a test codebase from jasmine 1 to 2 and that means using your helper instead of this one jasmine-grammar and I'm currently experiencing issues when tests are inside a loop (example below):
[
	{expectedVariable: 'foo'},
	{expectedVariable: 'bar'},
	{expectedVariable: 'quux'},
].forEach((scenario) => {
	it(`expect variable to be  ${scenario.expectedVariable}`, () => {
		Given(() => {
			sinon.stub(service, 'foo').returns(scenario.expectedVariable);
		});

		Then(() => {
			expect(service.bar()).toBe(scenario.expectedVariable);
		});
	});
});

The problem is that in this case, the third iteration of the loop will fail, with sinon saying that the property foo on the object service is already stubbed (same thing with a classic jasmine Spy).
With the previous library jasmine-grammar the given / when / then methods were executed synchronously in the context of the spec. Although I don't know how that works in your code guys. Could you please help me find a way to fix that?
Thanks!

Well, for starters, jasmine-given's methods are meant to be called inside an example group (e.g. describe) and not inside a spec (it), like you have there. Given roughly maps to beforeEach and Then to it.
Try deleting the it.

Thanks for the reply.
I tried but it didn't solve it, if I extract the Given part from the loop it works though. That would be a really big change for us so I'm not sure that we can go with this solution :/.

Roger that.


Fixed a facet matching bug

The bug referred here: https://github.com/ideaconsult/jToxKit/issues/42 actually lies in the SolrJsX code.
Since the change is a bit bigger, still limited to facet handling part, it'll be interesting to have some testing.

The facet matching in the facet widget is working fine. But there is likely an issue in queries (e.g. when COMET FPG is selected, the query works as if both COMET and COMET FPG are selected)  see T511 .


Lh8650 make backup wait for snapshot

Which issue(s) this PR fixes:
ref: https://github.com/longhorn/longhorn/issues/8650
Backup might failed because  the snapshot is not created yet.
We should prevent the Backup from triggering before the snapshot is found.
Introduce new state to the Backup CR: preparing
and add some information to the Messages when the Backup is still waiting for the snapshot or engine.
When the backup starts
the message and the state will be override by the monitor
Note:
Pending state has been used for another purpose
// [Workaround]
// Special handling the RPC call return code DeadlineExceeded, mark it as Pending state.
// The snapshot backup initialization _probably_ succeeded in the replica sync agent server.
// Use the backup monitor routine to monitor the backup status stays in Error state or change
// to InProgress/Completed state with the maximum retry count mechanism.
// [TODO]
// Since API engineclient.SnapshotBackup is not idempotent, this controller cannot blindly
// retry the call when error DeadlineExceeded is triggered.
// Instead, it has to mark the backup as a kind of special state Pending, then relies on the
// backup monitor routine periodically checking if the backup creation actually started.
// After making the API call idempotent and being able to deprecate the old version
// engine image, we can remove this part.
// https://github.com/longhorn/longhorn/issues/3545
m.logger.WithError(err).Warnf("Snapshot backup timeout")
backup.Status.State = longhorn.BackupStatePending

Introduce new state to the Backup CR: preparing

Typo? Is the new state pending?

Introduce new state to the Backup CR: preparing

Typo? Is the new state pending?

Thanks for the reminder, fixed the context


for some gsuite accounts, the web app url doesn't start with https://script.google.com/macros/s but the generate url button looks for that to validate it

[x] change validation to "https://script.google.com" instead

3374d81b641f1829e5f3d7ad62cf2ba3a2cc5e40 fixed


[Enhancement] Choose huge tablet to balance cluster disk distribution in high priority

What type of PR is this：

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

Which issues of this PR fixes ：

Fixes #
Sort partitions by skew in desc order, if skew is same, sort by average replica size in desc order.
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] 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:

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

[x] 3.0
[x] 2.5
[ ] 2.4
[ ] 2.3

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5

https://github.com/Mergifyio backport branch-2.5 branch-3.0


add coverage reports

add a clickable doodad to look at coverage reports, this should help inform us on testing gaps, plus give us a pretty badge

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@65c88f6). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #110   +/-   ##
=========================================
  Coverage          ?   89.47%
=========================================
  Files             ?       57
  Lines             ?     1882
  Branches          ?        0
=========================================
  Hits              ?     1684
  Misses            ?      198
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 65c88f6...709537b. Read the comment docs.


chore(main): release 0.8.1

:robot: I have created a release beep boop
0.8.1 (2022-02-24)
Bug Fixes

Fix Gradle accidentally publishing the implicitly created "modules" module (1cf9d41)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wuespace/telestion-core/releases/tag/v0.8.1 :sunflower:


Move travis to container-based infrastructure

See this. A job for @alerque, I think.

I actually already poked at it some, but there are a few blockers. The docker based containers don't give you root access to install software to the system. Yet. It might be possible to install all of our dependencies at the per-user level, but it would require quite a bit of manual downloading and extractions and then a lot of setting non-standard library paths and other variables to get it all tied together.
Hopefully Travis gets the feature set straightened out before we have to bite the bullet and do all that!

It looked like there were ways to install apt packages and custom apt sources, so it shouldn't be too nasty. Better make you an Official Contributor if I'm going to assign it then. :-)

You can install apt packages, but only against a whitelist of allowed packages which doesn't include some of the things we'd need. They do review additions to the list though so there is hope even if they don't open up sudo access as before (which it sounds like they plan on anyway). Fonts can be run from the user account without too much trouble. That leaves a few issues with lua rocks (ug) and needing to link to a harfbuzz build that's not in the system path where it belongs. Again all doable it's just going to take some fiddling.

I'm doing some fiddling on this with a simplified build. Just for my notes, when it's time to make it more complex again, this will help: https://github.com/moteus/lua-travis-example

OK, this is done!


[Service Fabric] Add managed cluster and node type commands

Description

These cmdlets will support a New offering (resource type) - Service Fabric managed clusters for our customers. In this new model, Service Fabric resource provider (SFRP) manages the entire resource group for the essential components of the cluster, including VMSS, VNet/Load Balancer, and also storage account for diagnostics and bootstrap. In the previous model, SFRP manages a "cluster" resource that is mostly about the configurations about the cluster, the actual cluster runs on VMSS / VNet / etc that the customer needs to deploy in in parallel with the cluster resource and those are directly managed by the customer on their own.
Testing Guide
see src\azure-cli\azure\cli\command_modules\servicefabric_help.py for examples and descriptions
History Notes

ServiceFabric

Adding commands for managed clusters and node types.

sf managed-cluster
sf managed-cluster client-certificate
sf managed-node-type
sf managed-node-type node
sf managed-node-type vm-extension
sf managed-node-type vm-secret

Upgraded Service Fabric SDK to version 0.5.0 which uses service fabric resource provider api-version 2020-03-01 for the current model and 2020-01-01-preview for managed clusters.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

Service Fabric

hi @qwordy could you pls help to review? seems the PR need to catch Ignite timeline


Implemented Singleton design pattern

Added implementation for the singleton design pattern + unit tests + examples

I have implemented the singleton design pattern and created the unit tests for the code.
I have also created a package in order to expose clear examples on how to use the design patterns.
Please review the pull request if perform the merge if you agree.


Document the fact that ~/.ghc contents may interfere with GHC as installled by Nix

(Warning, haskell newbie here.)
While reading book.realworldhaskell.org, an example using Text.Regex.Posix failed for me (it's the first time I try a library that's not bundled with GHC).
I have set up my haskell environment with nix-shell, using this default.nix file (based on http://hydra.nixos.org/build/23816503/download/1/nixpkgs/manual.html#how-to-create-ad-hoc-environments-for-nix-shell):
{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7101" }:
let
  inherit (nixpkgs) pkgs;
  ghc = pkgs.haskell.packages.${compiler}.ghcWithPackages (ps: with ps; [
          regex-posix mtl  # mtl is a dependency of regex-posix?
        ]);
in
pkgs.stdenv.mkDerivation {
  name = "my-haskell-env-0";
  buildInputs = [ ghc ];
  shellHook = "eval $(egrep ^export ${ghc}/bin/ghc)";
}

I added mtl because of the following error message, it seems to be missing libHSmtl-*:
[nix-shell:~/haskell-stuff]$ ghci
GHCi, version 7.10.1: http://www.haskell.org/ghc/  :? for help
Prelude> :m +Text.Regex.Posix
Prelude Text.Regex.Posix> "my left foot" =~ "foo" :: Bool
can't load .so/.DLL for: libHSmtl-2.2.1-6HevPxzlSPX058IyhMPnF5.so (libHSmtl-2.2.1-6HevPxzlSPX058IyhMPnF5.so: cannot open shared object file: No such file or directory)
Prelude Text.Regex.Posix>

Whether or not I add 'mtl' to my environment, the error message is the same.

I'm on very a very recent master branch (d54659fe9628fc460b4b591fac84dfe4b1841231).

I am unable to reproduce that error. The sample you pasted works just fine for me.

That's weird. I thought maybe it'd be something in my user profile (I have some GHC/Haskell stuff installed with nix-env too), but even with nix-shell --pure I still get
Prelude Text.Regex.Posix> "my left foot" =~ "foo" :: Bool
can't load .so/.DLL for: libHSmtl-2.2.1-6HevPxzlSPX058IyhMPnF5.so (libHSmtl-2.2.1-6HevPxzlSPX058IyhMPnF5.so: cannot open shared object file: No such file or directory)

@peti: Any idea what more I can dig up from my system to figure out what's wrong?

It seems to be a generic issue with the additional libraries that I install (nothing seems to work).
For example, I've added 'network' to the GHC env:
{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7101" }:
let
  inherit (nixpkgs) pkgs;
  ghc = pkgs.haskell.packages.${compiler}.ghcWithPackages (ps: with ps; [
          regex-posix mtl  # mtl is a dependency of regex-posix?
          network
        ]);
in
pkgs.stdenv.mkDerivation {
  name = "my-haskell-env-0";
  buildInputs = [ ghc ];
  shellHook = "eval $(egrep ^export ${ghc}/bin/ghc)";
}

But when I try to load it, it fails:
[nix-shell:~/haskell-stuff]$ ghci
GHCi, version 7.10.1: http://www.haskell.org/ghc/  :? for help
Prelude> :m +Network

<no location info>:
    Could not find module ‘Network’
    Perhaps you haven't installed the "dyn" libraries for package ‘network-<IP_ADDRESS>@netwo_EyO8YcszhNgAxwqfRy3X8M’?
    Use -v to see a list of the files searched for.
Prelude>

The weird part is that the modules seem to be partially installed, because I can auto-complete their name in ghci:
Prelude> :m +Network
Network                         Network.HTTP.Types              Network.HTTP.Types.QueryLike    Network.HTTP.Types.Version      Network.Socket.ByteString       Network.Wai
Network.BSD                     Network.HTTP.Types.Header       Network.HTTP.Types.Status       Network.Sendfile                Network.Socket.ByteString.Lazy  Network.Wai.Internal
Network.HTTP.Date               Network.HTTP.Types.Method       Network.HTTP.Types.URI          Network.Socket                  Network.Socket.Internal

I figured it out! I had previously done some cabal install or something that populated stuff in ~/.ghc/x86_64-linux-7.10.1/package.conf.d/:
$ ls ~/.ghc/x86_64-linux-7.10.1/package.conf.d/
aeson-<IP_ADDRESS>-aec0259332a50714c7eb29e5d09c0f02.conf             js-jquery-1.11.3-71d9f69a9487800341c2b1a9ea2903f2.conf       shake-0.15.4-81a20397489f2b1aea9cca1f00c24a08.conf
appar-0.1.4-4bc5b0597a63038176cc0329e74ad375.conf               lifted-base-<IP_ADDRESS>-0816298bf4a80e3928ab5d5c02dd3823.conf    simple-sendfile-0.2.21-c0ccfb085a4ebfa91f8566f5a7304318.conf
attoparsec-<IP_ADDRESS>-320991fb573b51aa07d37e52c2b02288.conf       mmorph-1.0.4-4f294927e8a27bdab893f885d71eac65.conf           stm-2.4.4-1ae235706b0ce6e6ef8d19cd83227592.conf
auto-update-<IP_ADDRESS>-911de7ca12c6b21b9fc101236242cccb.conf       monad-control-<IP_ADDRESS>-e5c47ade6db4e1bf3268dc1cdc5fdb1e.conf  syb-0.5.1-9c22b124c53290dc8251e48995b9698d.conf
blaze-builder-<IP_ADDRESS>-bab26a30fba957c623746d00f18aec3a.conf     mtl-2.2.1-9986828fc95bc8459870303efaabd81e.conf              tagsoup-0.13.3-09577b2a425d9d2170ceab228ab69199.conf
byteorder-1.0.4-34904fc7a33a54eaddd22171b75ba4e7.conf           mwc-random-<IP_ADDRESS>-ebf32fe8cd71a8e2febe9197eb40bd0a.conf    text-<IP_ADDRESS>-e2477224a964de7f076f81877e94e68f.conf
case-insensitive-<IP_ADDRESS>-cc72d0c8dbe680cb1e3f8c723bfda680.conf  network-<IP_ADDRESS>-d8eece37fed05c5fe286461dc0f78883.conf        tf-random-0.5-b7c4400691a8ee4d685ae4c8af88785b.conf
...

(I see mtl and network in there, two libraries I had issues with.)
After moving that directory out of the way, my haskell env is working:
$ mv ~/.ghc/x86_64-linux-7.10.1/ ~/.ghc/x86_64-linux-7.10.1.renamed
$ nix-shell
[nix-shell:~/haskell-stuff]$ ghci
GHCi, version 7.10.1: http://www.haskell.org/ghc/  :? for help
Prelude> :m +Text.Regex.Posix Network
Prelude Text.Regex.Posix Network>  "my left foot" =~ "foo" :: Bool
True

@peti: You're welcome to close this if you think that is right. (I don't know if this is "fixable" in any other way than "be aware".)

I'll extend the user manual to make sure people are aware of this issue. Thank you!

(triage) status?


[General] Initial update to Swift 3.0

Hey @delba 🐼
I was playing with Swift 3.0 project and wanted to use JASON as a mapper, so I've made few changes so it works with Swift 3.0 :)

Awesome! I'm gonna create a swift-3.0 branch and merge it tomorrow. Thank you Luke :)

Awesome! 🎉

Could you please create a new PR on the swift-3.0 branch ? I'll merge it right away.
Thanks!

Done!


Updated RBAC permission

Changed RBAC from contributor to data contributor

@raunakjhawar : Thanks for your contribution! The author(s) have been notified to review your proposed change. @ruxu

Hi @ruixinxu - Could you review the proposed update to your article?
Also, the metadata author value in the article should be your GitHub username, ruixinxu. (The ms.author value is correct--your Microsoft alias.) Could you update your articles where needed in a pull request in the private repo? Thanks!

#sign-off  - I am the content dev for Azure Synapse. I will also update the ms.author where necesssary.

@julieMSFT: I'm sorry - only the author of this article, @ruxu, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


[1.20.1] Crash when booting game.

Title^
MC: 1.20.1
Forge: 47.1.0
Screenshot Viewer: 1.1.5
Logs (no crash report generated): https://gist.githubusercontent.com/Gbergz/e2b394fc4b68579711a7afe916ad0c29/raw/6a3d295dac37e41d8ca0397aeda761fe8c8d7c57/gistfile1.txt

Thanks, reuploaded the version with a fix on CurseForge and Modrinth.


update tests

I saw the polynomial_test.go in the main repo and I fixed these two basic tests,
also, go.mod is needed for runs tests
I hope this is the right step
If this is not the case, sorry please ignore this PR,
Have a great day

From what I've seen, a go.mod file is not necessarily needed for tests. Take a look at https://github.com/h2non/bimg for example.  Thank you for the test fixes!


Drought characteristics based on Martin2018 and SPI for gmd paper

Before you start, please read our contribution guidelines.
Please discuss your idea with the development team before getting started, to avoid disappointment later. The way to do this is to open a new issue on GitHub. If you are planning to modify an existing functionality, please discuss it with the original author(s) by tagging them in the issue.

Tasks

[x] Create an issue to discuss what you are going to do, if you haven't done so already (and add the link at the bottom)
[x] Give this pull request a descriptive title that can be used as a one line summary in a changelog
[x] Make sure your code is composed of functions of no more than 50 lines and uses meaningful names for variables
[x] Circle/CI tests pass. Status can be seen below your pull request. If the tests are failing, click the link to find out why.
[x] Preferably Codacy code quality checks pass, however a few remaining hard to solve Codacy issues are still acceptable. Status can be seen below your pull request. If there is an error, click the link to find out why. If you suspect Codacy may be wrong, please ask by commenting.
[x] Please use yamllint to check that your YAML files do not contain mistakes
[ ] (Only if really necessary) Add any additional dependencies needed for the diagnostic script to setup.py, esmvaltool/install/R/r_requirements.txt or esmvaltool/install/Julia/Project.toml (depending on the language of your script) and also to package/meta.yaml for conda dependencies (includes Python and others, but not R/Julia)
[ ] If new dependencies are introduced, check that the license is compatible with Apache2.0

New recipe/diagnostic

[x] Add documentation for the recipe to the doc/sphinx/source/recipes folder and add a new entry to index.rst
[x] Add provenance information

If you need help with any of the tasks above, please do not hesitate to ask by commenting in the issue or pull request.

Closes #1688

Ok, but this will take some time, I get some errors for pip install -e '.[develop]' for the Tool, which I assume should tell me that I also need to make a new conda environment first.

Now I get the Warning, too. I'll try to find out what causes it.

@mattiarighi
This seems to be a very strange issue. For me, these warnings only appear if I have a mismatch in the conda environments set in the shell (new one created yesterday) and in the job*.sh script (old one, created last October). This is the case in this run:
/work/bd0854/b380216/esmvaltool/v2private/output/recipe_martin2018grl_test_20200626_073434/
That one:
/work/bd0854/b380216/esmvaltool/v2private/output/recipe_martin2018grl_test_20200626_070008/
has the same settings but the new environment in both the shell and the job script.
can you check if this is also the case for you?
(for both I used a reduced recipe with only 3 models to save time.)
I'm not sure if there is a formatting issue in https://github.com/ESMValGroup/ESMValCore/blob/3dc653b035c5c0a5ca58c34e65eb5e48ad8ae3d4/esmvalcore/_task.py#L587-L591:
It rather looks like with the mismatch of environments the loop regards every letter of the filename instead of every filename for a list entry?

I tested this only in the shell and I have installed the core in development mode.

Ok, I needed to rerun pip install -e '.[develop]' for the Core again after I updated the environment for the tool. Now I get the WARNINGS also for the Tool in the new environment again, sorry.

At the moment I think the reason is, that in esmvalcore/_task.py line 574 ancestor_files = attributes.pop('ancestors', []) it gets the filename a string as answer for ancestor_files and not a list with one element, this causes the loop in line 583 for ancestor_file in ancestor_files:to run over the letters, instead of the filename, compares each of them to the filename and produces this warnings. Now I just need to check why the filename from my provenance is not in a list.

I made sure that the ancestors are lists for the provenance, with this it should work?

I'm afraid this issue could also affect other diagnostics, I'll check recipe_li17natcc.yml and recipe_deangelis15nat.yml (could well be that I also put a string into ancestors, there). Maybe it would also be better to check if the result of ancestor_files = attributes.pop('ancestors', []) in esmvalcore/_task.py line 574 is a list or a string first, to make the warning less cryptic?

I'll check recipe_li17natcc.yml and recipe_deangelis15nat.yml

Ok, thanks. Please open a dedicated PR in case a fix is needed.

Maybe it would also be better to check if the result of ancestor_files = attributes.pop('ancestors', []) in esmvalcore/_task.py line 574 is a list or a string first, to make the warning less cryptic?

Can you open an issue in ESMValCore to report this?
Meanwhile this is ready to go.

Ok, thanks! I'll open a core issue. The tests have to wait at the moment, because Mistral produces Node fails.


Migration containing ALTER DATABASE CHARSET causes new migration diffs to generate: Error: *schema.ModifySchema is not allowed when migration plan is scoped to one schema

One of our migration files contains this line:
ALTER DATABASE myschema CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;
This migration has been successfully applied to several of our environments already, without issue.
However, when trying to create a new migration, we get the following error:
$ atlas migrate diff my_migration --dir "file://sql/migrations" --to "file://sql/desired-end-state-db-schema.sql" --dev-url "docker://mysql/5.7/tokenization"
Error: *schema.ModifySchema is not allowed when migration plan is scoped to one schema

If I delete that line from the already run migration, recompute hashes, and rerun the migrate diff, it works successfully.

Hey @veqryn 👋🏻
As the error states, Atlas does not allow modifying specific schema attributes when the plan is scoped to a schema connection. This restriction exists because the plan could potentially be executed on any schema (tables not qualified with a schema name in this mode), and the modified schema might not exist.
To change the migration plan to target a database/instance (multiple schemas), remove the tokenization schema from the dev-url path. More examples can be found here: https://atlasgo.io/concepts/url

You are more than welcome to join our Discord server in case you need more help with this’🙂

Uh... we have a lot of schemas and I'd like to make sure that any migrations created by junior devs don't accidentally step on other schemas, so we have set the schema in the path.
Why would modifying a schema not be allowed if the name matches the same name as the scoped schema?  That seems like it absolutely should be allowed, since they are the same...?

Why would modifying a schema not be allowed if the name matches the same name as the scoped schema? That seems like it absolutely should be allowed, since they are the same...?

Because a plan with commands like this: CREATE TABLE t(...) (not qualified) can be executed on any schema.

Uh... we have a lot of schemas and I'd like to make sure that any migrations created by junior devs don't accidentally step on other schemas, so we have set the schema in the path.

You can do one of the following: don't manage schema charset/collate in this migration directory, or use a database connection but limit the schemas to a specific one.

I hope this example can help.

 I hope this example can help. If you work on a schema connection, you can only work on objects in the scope of a schema (its objects). If you want to mutate/manage the database schemas, you need to work on instance/database level, not a schema.

how to run altas at database level ?


[Test] Fix directTransferForm tests

FAIL  src/tests/e2e/directTransferForm.test.e2e.js (190.405s)
  Direct transfer form tests
    ✓ Transfer in/out switch (4725ms)
    ✓ Transfer ETH into Drive (8434ms)
    ✕ Transfer DAI into Drive (64742ms)
    ✓ Transfer BTC into Drive (10766ms)
    ✓ Transfer BTC from Drive (11918ms)
    ✓ Transfer DAI from Drive (10398ms)
    ✕ Transfer ETH from Drive (64499ms)
    ✓ Back Btn (5839ms)

  ● Direct transfer form tests › Transfer DAI into Drive

    TimeoutError: Navigation timeout of 30000 ms exceeded

      24 |
      25 |   beforeEach(async () => {
    > 26 |     await Promise.all([
         |     ^
      27 |       page.waitForNavigation({
      28 |         waitUntil: 'networkidle0'
      29 |       }),

      at ../../../node_modules/puppeteer/lib/LifecycleWatcher.js:142:21
      at FrameManager.waitForFrameNavigation (../../../node_modules/puppeteer/lib/FrameManager.js:139:19)
      at Frame.waitForNavigation (../../../node_modules/puppeteer/lib/FrameManager.js:414:12)
      at Page.waitForNavigation (../../../node_modules/puppeteer/lib/Page.js:692:12)
          at async Promise.all (index 0)
      at Object.<anonymous> (directTransferForm.test.e2e.js:26:5)
        -- ASYNC --
      at Frame.<anonymous> (../../../node_modules/puppeteer/lib/helper.js:111:15)
      at Page.waitForNavigation (../../../node_modules/puppeteer/lib/Page.js:692:49)
      at Page.<anonymous> (../../../node_modules/puppeteer/lib/helper.js:112:23)
      at Object.waitForNavigation (directTransferForm.test.e2e.js:27:12)
          at runMicrotasks (<anonymous>)
        -- ASYNC --
      at Page.<anonymous> (../../../node_modules/puppeteer/lib/helper.js:111:15)
      at Object.waitForNavigation (directTransferForm.test.e2e.js:27:12)
          at runMicrotasks (<anonymous>)

  ● Direct transfer form tests › Transfer DAI into Drive

    TimeoutError: Navigation timeout of 30000 ms exceeded

      4 |   async dispatchFormActions (action) {
      5 |     if (action === 'continue') {
    > 6 |       await Promise.all([
        |       ^
      7 |         page.click('[data-test-id="continue"]'),
      8 |         page.waitForNavigation({
      9 |           waitUntil: 'networkidle0'

      at ../../../node_modules/puppeteer/lib/LifecycleWatcher.js:142:21
      at FrameManager.waitForFrameNavigation (../../../node_modules/puppeteer/lib/FrameManager.js:139:19)
      at Frame.waitForNavigation (../../../node_modules/puppeteer/lib/FrameManager.js:414:12)
      at Page.waitForNavigation (../../../node_modules/puppeteer/lib/Page.js:692:12)
          at async Promise.all (index 1)
      at DirectTransferFormPage.dispatchFormActions (pages/directTransferForm.page.js:6:7)
      at Object.<anonymous> (directTransferForm.test.e2e.js:139:7)
        -- ASYNC --
      at Frame.<anonymous> (../../../node_modules/puppeteer/lib/helper.js:111:15)
      at Page.waitForNavigation (../../../node_modules/puppeteer/lib/Page.js:692:49)
      at Page.<anonymous> (../../../node_modules/puppeteer/lib/helper.js:112:23)
      at DirectTransferFormPage.waitForNavigation [as dispatchFormActions] (pages/directTransferForm.page.js:8:14)
      at Object.dispatchFormActions (directTransferForm.test.e2e.js:139:21)
          at runMicrotasks (<anonymous>)

  ● Direct transfer form tests › Transfer ETH from Drive

    TimeoutError: Navigation timeout of 30000 ms exceeded

      24 |
      25 |   beforeEach(async () => {
    > 26 |     await Promise.all([
         |     ^
      27 |       page.waitForNavigation({
      28 |         waitUntil: 'networkidle0'
      29 |       }),

      at ../../../node_modules/puppeteer/lib/LifecycleWatcher.js:142:21
      at FrameManager.waitForFrameNavigation (../../../node_modules/puppeteer/lib/FrameManager.js:139:19)
      at Frame.waitForNavigation (../../../node_modules/puppeteer/lib/FrameManager.js:414:12)
      at Page.waitForNavigation (../../../node_modules/puppeteer/lib/Page.js:692:12)
          at async Promise.all (index 0)
      at Object.<anonymous> (directTransferForm.test.e2e.js:26:5)
        -- ASYNC --
      at Frame.<anonymous> (../../../node_modules/puppeteer/lib/helper.js:111:15)
      at Page.waitForNavigation (../../../node_modules/puppeteer/lib/Page.js:692:49)
      at Page.<anonymous> (../../../node_modules/puppeteer/lib/helper.js:112:23)
      at Object.waitForNavigation (directTransferForm.test.e2e.js:27:12)
          at runMicrotasks (<anonymous>)
        -- ASYNC --
      at Page.<anonymous> (../../../node_modules/puppeteer/lib/helper.js:111:15)
      at Object.waitForNavigation (directTransferForm.test.e2e.js:27:12)
          at runMicrotasks (<anonymous>)

  ● Direct transfer form tests › Transfer ETH from Drive

    TimeoutError: Navigation timeout of 30000 ms exceeded

      4 |   async dispatchFormActions (action) {
      5 |     if (action === 'continue') {
    > 6 |       await Promise.all([
        |       ^
      7 |         page.click('[data-test-id="continue"]'),
      8 |         page.waitForNavigation({
      9 |           waitUntil: 'networkidle0'

      at ../../../node_modules/puppeteer/lib/LifecycleWatcher.js:142:21
      at FrameManager.waitForFrameNavigation (../../../node_modules/puppeteer/lib/FrameManager.js:139:19)
      at Frame.waitForNavigation (../../../node_modules/puppeteer/lib/FrameManager.js:414:12)
      at Page.waitForNavigation (../../../node_modules/puppeteer/lib/Page.js:692:12)
          at async Promise.all (index 1)
      at DirectTransferFormPage.dispatchFormActions (pages/directTransferForm.page.js:6:7)
      at Object.<anonymous> (directTransferForm.test.e2e.js:312:7)
        -- ASYNC --
      at Frame.<anonymous> (../../../node_modules/puppeteer/lib/helper.js:111:15)
      at Page.waitForNavigation (../../../node_modules/puppeteer/lib/Page.js:692:49)
      at Page.<anonymous> (../../../node_modules/puppeteer/lib/helper.js:112:23)
      at DirectTransferFormPage.waitForNavigation [as dispatchFormActions] (pages/directTransferForm.page.js:8:14)
      at Object.dispatchFormActions (directTransferForm.test.e2e.js:312:21)
          at runMicrotasks (<anonymous>)

Test Suites: 1 failed, 1 total
Tests:       2 failed, 6 passed, 8 total
Snapshots:   0 total
Time:        190.443s

 waitUntil: 'networkidle0'

causing hangs, not sure why it does not work


How to start browsermob proxy server when I am using proxy to connect to net

Hi All,
I am using proxy to connect to net so when I am trying to start browsermob proxy server it is unable to get started.How to run the server when I am behind the proxy?
server=Server('path to browsermob-proxy')
server.start()
proxy=server.create_proxy()

It looks like you're using the Python wrapper, so you'll have check that project's documentation to see if it's supported. If you were using the Java version, you would want to set the chained proxy using BrowserMobProxy.setChainedProxy(...).


add floating point support to cider

Somewhere, things still get messed up.
I get:
{
  "out": [
    15.123900413513184,
    0.5600000023841858
  ],
  "inp": [
    15.123900413513184
  ]
}

But the expected output is:
{
  "inp": [
    15.12
  ],
  "out": [
    15.12,
    0.56
  ]
}

Oh yeah this is the printing problem I mentioned

Looks like I might have been able to solve the issue with the use of Number::from_string_unchecked(value) which does not roundtrip the number through the parser.

New output:
{
  "out": [
    15.1239,
    0.56
  ],
  "inp": [
    15.1239
  ]
}

Woo! Awesome! Thanks for taking this up @ekiwi!

Now this fails because the test is wrong: https://github.com/calyxir/calyx/issues/2336

@rachitnigam : now the ball is in your court: https://github.com/calyxir/calyx/issues/2336

https://github.com/calyxir/calyx/pull/2337 but still has a roundtripping bug. We should also fix support for negative floating-point values while we're at it.


Update license_keys.md

Added a link to the docs on how/where to add the enterprise license key

Beautiful prose.

:nice:


Remove unnecessary conf-libev dependency

Removes conf-libev from the server.json dependencies, as it wasn't being used and is a dependency that would need to be installed while trying out this repo.

👍 thanks!


Update Dangerfile to match recent changes to the file structure #trivial

New Pull Request Checklist

[x] I have read and understood the CONTRIBUTING guide

[x] I have read the Documentation

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

[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[x] I have added the required tests to prove the fix/feature I am adding

[x] I have updated the documentation (if necessary)

[x] I have run the tests and they pass

[x] I have run the lint and it passes (pod lib lint)

Pull Request Description
Updates the Dangerfile to match recent changes in the repository structure.
The following updates were made:

Update paths that still used the old "Classes" folder with the new "Sources" folder.
Exclude the Package.swift files from the copyright checks.
Exclude the CocoaLumberjackSwiftSupport include headers from the file structure check.

Codecov Report

Merging #1101 into master will decrease coverage by 0.58%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #1101      +/-   ##
=========================================
- Coverage   38.48%   37.9%   -0.59%
=========================================
  Files          27      27
  Lines        3944    3944
=========================================
- Hits         1518    1495      -23
- Misses       2426    2449      +23

Impacted Files
Coverage Δ

Sources/CocoaLumberjack/DDOSLogger.m
21.15% <0%> (-42.31%)
:arrow_down:

Sources/CocoaLumberjack/DDFileLogger.m
58.21% <0%> (-0.14%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dbec2e2...1cb2794. Read the comment docs.


What do I need to get started?

Suppose I have a clean install of Windows 10, and I install VS Code. What else do I need to develop Lisp with your extension?
What I mean is, does this extension include Lisp itself, or does it assume I already have Lisp (and maybe other requirements) installed? If so, what else do I need?
Thanks

No, this extension doesn't include Lisp and will not install Lisp. This extension will only influence the language features in VS Code.
If you don't need a package manager now, just installing Lisp is enough to start.
https://lispcookbook.github.io/cl-cookbook/getting-started.html is a good start.


Inconsistent search results

If I search for "ski" from the address bar I get different results than if I search for "ski" from the input on the search page.
Looks like the two kick of different server queries:

It looks like the search from the input on the search page includes the default filters on that page. I imagine for the searches to sync up, we'd want to include the default filters into the query from the address bar.
On a side note, the default shipping for me is Canada. Have no idea where it's getting that from. I have no location set.

I also see my shipping location being set to Canada, not sure why either.

My location is set to Seattle, Wa

Ok, if I set my Rating to 1 star and shipping to Worldwide, then the results match. Looks like the defaults aren't being set ideally and then we need the address bar search to make use of those.


Support for spacy v3.0

Hi,
Thanks a lot for the great work. Would this work with the upcoming version of Spacy 3.0?
Thanks!

I would be happy to help support v3 compatibility. In the spaCy code, there are two relevant places:
https://github.com/explosion/spaCy/blob/develop/spacy/pipeline/entity_linker.py#L51 defines the current default candidate generator:
"get_candidates": {"@misc": "spacy.CandidateGenerator.v1"}

and set_kb() lets you load a custom KB from a given vocab: https://github.com/explosion/spaCy/blob/develop/spacy/pipeline/entity_linker.py#L146. This function is also called from entity_linker.initialize().
In the config, those settings can be defined as such:
[components.entity_linker]
factory = "entity_linker"
entity_vector_length = 64
get_candidates = {"@misc":"spacy.CandidateGenerator.v1"}
incl_context = true
incl_prior = true
labels_discard = []

[components.entity_linker.model]
@architectures = "spacy.EntityLinker.v1"
nO = null

[components.entity_linker.model.tok2vec]
@architectures = "spacy.HashEmbedCNN.v1"
...

[initialize.components.entity_linker.kb_loader]
@misc = "spacy.KBFromFile.v1"
kb_path = ${paths.kb}

So basically, you'd need to somehow implement those custom functions, then register them with spaCy, and they should become available in the config.

Sorry for the late reply on this. spaCy v3 is in progress now, hoping to have support in the next couple weeks. @svlandeg thanks for the offer to help. I'd actually love to do the implementation myself to get into the details of spaCy v3 internals but I will absolutely reach out if I have questions.

Hello @kabirkhan,
Is spacy v3 supported now?

Any updates here, would love to help


feat:sealer local e2e test and CI using github action

Signed-off-by: zhy76<EMAIL_ADDRESS>
Describe what this PR does / why we need it
feature:local e2e test and CI using github action
Does this pull request fix one issue?

#1633 #1734
Describe how you did it
Infra using docker and run containers as nodes for sealer e2e test,using github action for sealer CI.
Describe how to verify it
See /test/README.md
Special notes for reviews
Before we use the CI using github aciton feature, please make sure that these three variables: REGISTRY_URL={your registry},
REGISTRY_USERNAME={user name},REGISTRY_PASSWORD={password} have been setted in github's secret (for sealer login and sealer image tests).

Codecov Report
Base: 17.60% // Head: 17.60% // No change to project coverage :thumbsup:

Coverage data is based on head (aafc87c) compared to base (48400ef).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1922   +/-   ##
=======================================
  Coverage   17.60%   17.60%
=======================================
  Files         103      103
  Lines        9101     9101
=======================================
  Hits         1602     1602
  Misses       7286     7286
  Partials      213      213

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

What's the relationship between this PR and https://github.com/sealerio/sealer/pull/1893？
BTW, please solve the conflict firstly

What's the relationship between this PR and https://github.com/sealerio/sealer/pull/1893？
BTW, please solve the conflict firstly
PR #1922 contains PR #1893, so I have closed #1893.

PTAL

@kakaZhou719 PTAL again. THX


Safari support

https://developer.apple.com/documentation/safariservices/safari_web_extensions
@ryangjchandler mentioned that Safari implements the web extension API, from what I've seen on Twitter, it looks like it implements the chrome.* APIs (same as what Firefox does).
Outstanding questions:

how would the release process look like (looks like there's an xcode CLI tool)?
do we need an Apple Developer license? (I think I've got one kicking around since I've got a client iOS app listed on the App Store)

How about Edge?

How about Edge?

How about Edge?

Interesting, Edge is Chromium based, should be even more seamless https://docs.microsoft.com/en-gb/microsoft-edge/extensions-chromium/#publishing-to-the-microsoft-edge-add-ons-website

How about Edge?

Interesting, Edge is Chromium based, should be even more seamless https://docs.microsoft.com/en-gb/microsoft-edge/extensions-chromium/#publishing-to-the-microsoft-edge-add-ons-website

Okay, bit of a blocker here. Safari supports some of the chrome.* and browser.* APIs, but we wouldn't be able to do much with this extension because it doesn't support the chrome.devtools stuff, meaning we can't create custom panels, etc.

Okay, bit of a blocker here. Safari supports some of the chrome.* and browser.* APIs, but we wouldn't be able to do much with this extension because it doesn't support the chrome.devtools stuff, meaning we can't create custom panels, etc.

Ok if Safari is blocked, we should probably split out a separate Edge support issue 😄

Ok if Safari is blocked, we should probably split out a separate Edge support issue 😄

👍 Since Safari seems to be the new Internet Explorer, I'm developing there first. Hope they speed things up a little.

👍 Since Safari seems to be the new Internet Explorer, I'm developing there first. Hope they speed things up a little.

Hey, I don't think it's going to be possible to add Safari support short term since they don't implement the devtools API.

Hey, that's the issue here. No worries, I blame Apple for that, not you. 🙂

Closing because I don't think we could do this right now.
We can revisit when Safari has 1-1 support for the APIs we use.

With the new APIs announced at the WWDC, I think that this issue is no longer blocked.
https://developer.apple.com/wwdc22/10100

Can we remove the blocked label, and reopen it? I'd be more than happy to start working on making it work on Safari


final project deliverable requirements

I don't have time to go through this, sorry.  I'm going to trust you guys.


Proposals for AsterNET Version 2

Hi Everyone,
I'd like to hear from AsterNET users about suggestions for AsterNET version 2.
This isn't just features, but also structure of the library, namespaces etc etc. All feedback and comments welcome.
Should AMI and FastAGI be separate projects? Should there be a central core project spanning all the AsterNET components? Async/Await support?

Indeed AMI and FastAGI be a separate projects both have different implementations!

i want to join  this project but i don't have more experience for this project

Patient or background login?
By that I mean, tell AsterNET to login to a server but don't care about the when the actual login happen.
Say if you have a set up with a bad connection to the Asterisk server, but you know the server is there and you just want AsterNET to be connected whenever possible. Meaning that the initial login doesn't matter at all, as long at it is connected whenever it can.
AsterNET is already pretty good at reconnecting if the connection was lost, so why is the initial login required to get an answer?
At least I don't think this is possible currently.

I Want to join at this project, because i have to lead with this every day and made many changes to avoid erros yet.
I Own a Voip provider in Brazil and work with AsterNet every day.

@sanjeevspr and @hugodeco feel free to start making pull requests and issues. The project is open-source after all.

A way to send raw text commands to the Asterisk, and read the raw text sent from the Asterisk might be useful.
Might also want to set a specific version to target and remove any class properties that don't exist in that version. Right now there are a lot of event and responds classes that have old and new properties all mixed together.
Make the Attributes dictionary contain all parameters the Astierisk sent. This would solve some issues and make it more reliable.

Happy to see Attributes moved into an issue by itself for v2. I would see this working as a backend for any static properties. This would give the choice of dictionary for accessing attributes, or properties.

Better exception handling with custom exceptions.
Currently a SystemException is thrown when the AMI connection isn't up at the time of sending a command. This seems weird and would likely be better to make som custom exceptions for the AsterNET.

net standard 2.0 support on framework v 2?

Should we maybe make a custom serializer for Asterisk commands? It would probably work better then the current method reader/mapper.

A much easier to understand way to call custom AMI commands.
As part of a project I'm working on, I've written an extension for asterisk that implements 3 new AMI Actions, but now I have to call them from C# and get the data they return, and am still going round in circles reading code and pulling the project apart trying to make things work.

I solved this problem on the past.
take a look at my repos, we have splited into 3 projects to easier use, if you wanna some help, call me whatsapp +5521967609095.
https://github.com/sufficit/sufficit-asterisk-core
https://github.com/sufficit/sufficit-asterisk-manager
https://github.com/sufficit/sufficit-asternet-fork

@hugodeco Thanks!!! - really, I mean it... trying to find examples of this kind of operation is like trying to find... well I'm sure you have your own proverb for that one :-)
I don't do what's app, but thanks for the offer, I've been doing this dev game far too long (40 years this year) so I'm still an old(ish) school addict with IRC etc or more up to date... Skype/Twitter (I'm shawty_ds on both)
I'll take a look at your samples, and see how far I get, don't want to pollute the spirit of this thread too much though IE: keep it for the suggestions :-)
shawty

I'd like to propose to align the events to what's actually happening:
For example: ManagerConnection.DialBegin -> This event does not trigger when you dial (or call) someone, but is fireing when you get a call. So the probably better name could be: RingBegin, because the phone is ringing and not dialing..

Why confused?

I'd like to propose to align the event names to what's actually happening:
For example: ManagerConnection.DialBegin -> This event does not trigger when you dial (or call) someone, but is fireing when you get a call. So the probably better name could be: RingBegin, because the phone is ringing and not dialing..

Events names comes from asterisk, so we can add a custom description only.

om asterisk, so we can add a custom description onl

We still updating !!! Now, its very easy to create and publish a new script ..


Preprocessor: ISE with no explicit branch

To reproduce, create a new test suite source from URL https://github.com/saveourtool/save-cli/ and don't specify a branch. On fetching, the following error occurs:
java.lang.IllegalStateException: Couldn't detect hash of HEAD for https://github.com/saveourtool/save-cli/
	at com.saveourtool.save.preprocessor.utils.GitUtilKt.detectLatestSha1(GitUtil.kt:55)
	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
...
Original Stack Trace:
		at com.saveourtool.save.preprocessor.utils.GitUtilKt.detectLatestSha1(GitUtil.kt:55)
		at com.saveourtool.save.preprocessor.controllers.TestSuitesPreprocessorController.detectLatestVersion$lambda-6(TestSuitesPreprocessorController.kt:75)
...

Preprocessor at 974481597e027c85b4298fb0bad8f1c875c7efd9

@nulls suggested to detect main branch automatically using GitHub api

yes, I think we should make branch name is mandatory field. Will support it in scope of #1105

using GitHub api

This will require vendor-specific logic in our code. I think we can simply clone default branch already in preprocessor, without necessarily filling this field in the DB

Not relevant after https://github.com/saveourtool/save-cloud/pull/1210


Demangling for non _ZN prefixed symbols

One symbol that I am getting back from the backtrace crate is _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h292cc87894ba716c. The demangle function does not currently handle this kind of output.
Is this something this crate could handle, or is there another that is suitable?

Hm interesting! It looks like some demangling succeeded but not all of it (there's :: characters in the symbol). Do you know what the original symbol was?

That is the format in which I get the symbol string. Perhaps backtrace uses demangle itself?

Is this example gist-able to see where it's getting printed?

That looks like its been through a C++ demangler first.

Indeed seems like a stale issue now!


'Failed to execute 'appendChild' on Node'

Hi,
I just ran into an issue where I use the notation {content: xxx()} where xxx is function and can return false to disable the tooltip.
I created a JSFiddle here: https://jsfiddle.net/599eb4o9/
As you can see in the console logs:
Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
    at DropInstance.setupElements (tether-drop@1.4.2:250)
    at new DropInstance (tether-drop@1.4.2:201)
    at new drop (tether-drop@1.4.2:104)
    at new Tooltip (tether-tooltip@1.2.0:77)
    at createTooltip (v-tooltip@1.1.2:1)
    at bind (v-tooltip@1.1.2:1)
    at callHook$1 (vue.js:5126)
    at _update (vue.js:5052)
    at Array.updateDirectives (vue.js:5033)
    at invokeCreateHooks (vue.js:4631)

It works when a computed property returns false but not with a function. It works as well when I use the text notation (v-tooltip="blabla").
Everything is on the JSFiddle.
Cheers
Jerome

Hello
Sorry to ask again but, any chance this will be resolved soon?
Cheers
Jerome

For now, you should return a falsy value to v-tooltip instead of an object if you want to disable the tooltip.

Marking as enhancement, since not part of the original API.


Update Sepolia Gas Config

This PR mirrors the expected outcome of https://github.com/base-org/contract-deployments/pull/134. The implementation is significantly simpler since the owner of SystemConfig is an EOA and not a multisig.

Omitted rollback functionality, we can make that call if necessary using this same script and just changing the env var


feat: run gc

Supports running the GC from the menubar. This was a feature that was lost during the revamp. Closes #1355.

Note: the Electron icon is replaced by IPFS Desktop's icon on the final version.
License: MIT
Signed-off-by: Henrique Dias<EMAIL_ADDRESS>

Thanks for the copy feedback @jessicaschilling!

Will it ever NOT run successfully? If so, how does the user know? If not, maybe the languages should just be “garbage collection run finished” or similar.

I believe it's unlikely, but it may happen. And yes, the user will end up knowing. We'll tell them that an error occurred and ask them if they'd like to open an issue here with the error report (which is generated automatically!)

I assume it runs in the background so user can still work during “it may take a while”?

Yes!

Awesome, thanks for clarifying!

Is there a progress bar or a wait icon of some kind? Since the operation can take extremely long if the datastore is large or the disk is slow.

No, but I was thinking of changing the tooltip while it's running so the user knew:

What do you think?

Uh, I have an idea with better UX. Will get back with a PR.


Anchoring a player makes them hot and kills them

wat

this might have to do with their mass changing which then fucks up some thermal regulator calcs

Infinite mass hecks up the body heat calculations.


Restore expected workbench.html

I have installed another extension that seemed to have modified workbench.html, but now I have uninstalled the extension, Vibrancy still raises the same issue when I try to run any of its commands:

How would I fix this and get Vibrancy working again?

I should’ve clarified this, if the extension that modified it doesn’t have a rollback feature, then you’ll need to reinstall VSCode. It’s safe to do so and you won’t lose any changes.


Avoid creating tiny std::vectors during constant folding where possible

Noticed we were making a bunch of tiny std::vectors while working on the gettextureinfo patch.
Probably a drop in the bucket compared to everything else that goes on during runtime optimization, but every little bit helps.
Also rop.insert_code also makes a fresh Opcode struct, so there's no need to tweak the read/write flags if they are the same as the default.

LGTM, although I have a suggest for how to make this even better:
Change
RuntimeOptimizer::insert_code (int opnum, ustring opname,
                               const std::vector<int> &args_to_add,
                               RecomputeRWRangesOption recompute_rw_ranges,
                               InsertRelation relation)

from vector to span, as follows:
void
RuntimeOptimizer::insert_code (int opnum, ustring opname,
                               cspan<int> args_to_add,
                               RecomputeRWRangesOption recompute_rw_ranges,
                               InsertRelation relation)
{
    insert_code (opnum, opname, args.begin(), args.end(),
                 recompute_rw_ranges, relation);
}

And then in a place where you did
    const int args_to_add[2] = { cosarg, rop.add_constant (c) };
    rop.insert_code (opnum, u_assign, args_to_add, args_to_add + 2,
                     RuntimeOptimizer::RecomputeRWRanges,
                     RuntimeOptimizer::GroupWithNext);

you can have the simpler (and original):
    const int args_to_add[2] = { cosarg, rop.add_constant (c) };
    rop.insert_code (opnum, u_assign, args_to_add,
                     RuntimeOptimizer::RecomputeRWRanges,
                     RuntimeOptimizer::GroupWithNext);

It will infer the right size of the array. It's less prone to bugs (especially cut-and-paste errors) if you don't need the caller to pass the length. And the same cspan signature will work with fixed length arrays like this, as well as for std::vector.

Updated. I do like this even better.

Updated without magic constants.

LGTM


dynamically get allowed netmiko args

Use netmiko_args from napalm.base.netmiko_helpers to dynamically create all allowed args.
Removes the need to set every single allowed netmiko argument.

@skarpe-github @djohnnes
Made a big change to this PR

@davama This improvement has been implemented here: https://github.com/skarpe-github/napalm-aruba505/pull/1


Dialogue & cutscenes

Implement dialogue & cutscenes

[ ] Story introduction
[ ] Pre-boss fight
[ ] Post-boss fight
[ ] Game won

https://api.arcade.academy/en/latest/examples/drawing_text.html
arcade.draw_text("Wrapping really long text automatically to a new line. "
                         "The quick brown fox jumped over the lazy dogs.",
                         start_x,
                         start_y,
                         arcade.color.BLACK,
                         DEFAULT_FONT_SIZE / 2,
                         multiline=True,
                         width=300)


Rename rule dictionaryWordForm to headword

Fixes #148

@rultor merge

@rultor merge

@suseika OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@suseika Done! FYI, the full log is here (took me 5min)


broken link crawler ignore mermaid.ink URLs broken link crawler ignore mermaid.ink URLs

@dovholuknf I noticed I'd failed to include the new mermaid.ink exception in the script too, and fixing that dismissed your approving review.


soc: arm: nrf53: workaround pop lr after wfi crash

On nRF5340 net core it was observed that when wfi instruction was followed by pop {r0, lr} in the arch_cpu_idle function, the value of lr sometimes got read as 0 from memory despite having correct value stored in the memory.
This commit inserts additional nop instruction after waking up to delay access to the memory.

[ ] Target it to upstream
[ ] update commit sauce tag with [nrf fromtree] or [nrf fromlist]

@carlescufi @carlocaione @rlubos , hopefully this is "upstreamable" version of https://github.com/nrfconnect/sdk-zephyr/pull/1228 (commit a0413b0262334c2d6a0162fe49bd1d688f611924) could you have a look and decide if it is good enough to go upstream? If yes I'll open PR to upstream, update this one with [nrf fromlist] + link to the PR, and replace https://github.com/nrfconnect/sdk-zephyr/pull/1228 with cherry-pick of this.

@carlocaione I think I addressed what you pointed, 2nd round of review please.


docs: update readme with end-of-life message

I want to get approval on this messaging and then apply the same wording to all of the other bower-* packages.
cc @mgechev @gkalpak @aaronfrost

Updated message to match https://github.com/angular/angular.js/pull/17177


Added runIfBound method

Will help when invalidating things, so you can run asynchronous code only if someone is bound to it

Codecov Report

Merging #6 into master will increase coverage by 0.29%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##             master     #6      +/-   ##
==========================================
+ Coverage      89.7%    90%   +0.29%
- Complexity      259    262       +3
==========================================
  Files            22     22
  Lines          1321   1330       +9
  Branches        229    231       +2
==========================================
+ Hits           1185   1197      +12
+ Misses           69     65       -4
- Partials         67     68       +1

Impacted Files
Coverage Δ
Complexity Δ

...a/com/github/mproberts/rxtools/map/SubjectMap.java
91.66% <88.88%> (-0.16%)
28 <3> (+3)

...ub/mproberts/rxtools/list/IndexedFlowableList.java
91.66% <0%> (+2.38%)
11% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b8a61d6...22eee95. Read the comment docs.

@mproberts @michaelcosta poke 🙏


Package to homebrew

WHY are these changes introduced?
It should be easy to install Shopify CLI3!

WHAT is this pull request doing?

Adds a script which updates your local copy of homebrew-shopify with a working Homebrew formula for CLI3.
This will be updated to prepare files for yum and apt installations as well.
How to test your changes?

From the package root, yarn run package.

This PR has been superseded by https://github.com/Shopify/cli/pull/294, right? Can we close it?

@gonzaloriestra Nope. This one stays!

@shauns I addressed your comments here.


🐞 vue-component-meta is broken

I was updating the docs for Anu and found that there's something wrong with the meta generation and later found volar can't get the correct meta for example component in this repo.
<script lang="ts" setup>
import { StringEmpty, StringRequired, StringUndefined } from './my-props';

defineProps({
  foo: {
    type: String,
    required: true
  },
  bar: {
    type: String,
    default: 'BAR'
  },
  baz: {
    type: String
  },
  xfoo: StringRequired,
  xbar: StringEmpty,
  xbaz: StringUndefined,
  /**
   * The hello property.
   *
   * @since v1.0.0
   */
  hello: {
    type: String,
    default: 'Hello'
  },
  numberOrStringProp: {
    type: [Number, String],
    default: 42
  },
  arrayProps: {
    type: Array,
    default: () => [42, 43, 44]
  }
})
</script>

In the above example component of this repo, baz should have required: false but component meta shows it as required:

Moreover, it doesn't return the default value as well 🤔


Player seems to work without problems.
2024-05-05 11:54:10.578 ERROR (WSListener) [root] Uncaught thread exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/srv/ha_py312/lib/python3.12/site-packages/mopidyapi/wsclient.py", line 63, in _websocket_runner
    loop.run_until_complete(packethandler())
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 685, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/srv/ha_py312/lib/python3.12/site-packages/mopidyapi/wsclient.py", line 54, in packethandler
    self._on_message(msg)
  File "/srv/ha_py312/lib/python3.12/site-packages/mopidyapi/wsclient.py", line 69, in _on_message
    self._route_event(msg)
  File "/srv/ha_py312/lib/python3.12/site-packages/mopidyapi/wsclient.py", line 93, in _route_event
    cb(neatdata)
  File "/home/homeassi/.homeassistant/custom_components/mopidy/speaker.py", line 1040, in __ws_stream_title_changed
    self.entity.force_update_ha_state()
  File "/home/homeassi/.homeassistant/custom_components/mopidy/media_player.py", line 238, in force_update_ha_state
    self.async_schedule_update_ha_state(force_refresh=True)
  File "/srv/ha_py312/lib/python3.12/site-packages/homeassistant/helpers/entity.py", line 1252, in async_schedule_update_ha_state
    self.hass.async_create_task(
  File "/srv/ha_py312/lib/python3.12/site-packages/homeassistant/core.py", line 816, in async_create_task
    self.verify_event_loop_thread("async_create_task")
  File "/srv/ha_py312/lib/python3.12/site-packages/homeassistant/core.py", line 440, in verify_event_loop_thread
    frame.report(
  File "/srv/ha_py312/lib/python3.12/site-packages/homeassistant/helpers/frame.py", line 162, in report
    _report_integration(what, integration_frame, level, error_if_integration)
  File "/srv/ha_py312/lib/python3.12/site-packages/homeassistant/helpers/frame.py", line 203, in _report_integration
    raise RuntimeError(
RuntimeError: Detected that custom integration 'mopidy' calls async_create_task from a thread at custom_components/mopidy/media_player.py, line 238: self.async_schedule_update_ha_state(force_refresh=True). Please report it to the author of the 'mopidy' custom integration.
2024-05-05 11:54:14.129 WARNING (SyncWorker_15) [custom_components.mopidy.speaker] The websocket connection was interrupted, re-create connection

I can second that and also other errors are showing on HA OS 2024.5.X
Rejestrator: custom_components.mopidy.speaker
Źródło: custom_components/mopidy/speaker.py:973
integracja: Mopidy ([dokumentacja](https://github.com/bushvin/hass-integrations#mopidy), [Problemy](https://github.com/bushvin/hass-integrations/issues))
Pierwsze zdarzenie: 11:40:52 (2 zdarzenia)
Ostatnio zalogowany: 11:41:22

The websocket connection was interrupted, re-create connection

Rejestrator: homeassistant.helpers.frame
Źródło: helpers/frame.py:190
Pierwsze zdarzenie: 11:40:50 (2 zdarzenia)
Ostatnio zalogowany: 11:41:20

Detected that custom integration 'mopidy' calls async_create_task from a thread at custom_components/mopidy/media_player.py, line 238: self.async_schedule_update_ha_state(force_refresh=True), please report it to the author of the 'mopidy' custom integration

2024-05-25 16:57:53.114 WARNING (WSListener) [homeassistant.helpers.frame] Detected that custom integration 'mopidy' calls async_create_task from a thread at custom_components/mopidy/media_player.py, line 238: self.async_schedule_update_ha_state(force_refresh=True), please report it to the author of the 'mopidy' custom integration
2024-05-25 16:57:53.119 ERROR (WSListener) [root] Uncaught thread exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.12/site-packages/mopidyapi/wsclient.py", line 63, in _websocket_runner
    loop.run_until_complete(packethandler())
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 685, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mopidyapi/wsclient.py", line 54, in packethandler
    self._on_message(msg)
  File "/usr/local/lib/python3.12/site-packages/mopidyapi/wsclient.py", line 69, in _on_message
    self._route_event(msg)
  File "/usr/local/lib/python3.12/site-packages/mopidyapi/wsclient.py", line 93, in _route_event
    cb(neatdata)
  File "/config/custom_components/mopidy/speaker.py", line 1093, in __ws_volume_changed
    self.entity.force_update_ha_state()
  File "/config/custom_components/mopidy/media_player.py", line 238, in force_update_ha_state
    self.async_schedule_update_ha_state(force_refresh=True)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1252, in async_schedule_update_ha_state
    self.hass.async_create_task(
  File "/usr/src/homeassistant/homeassistant/core.py", line 816, in async_create_task
    self.verify_event_loop_thread("async_create_task")
  File "/usr/src/homeassistant/homeassistant/core.py", line 440, in verify_event_loop_thread
    frame.report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 162, in report
    _report_integration(what, integration_frame, level, error_if_integration)
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 203, in _report_integration
    raise RuntimeError(
RuntimeError: Detected that custom integration 'mopidy' calls async_create_task from a thread at custom_components/mopidy/media_player.py, line 238: self.async_schedule_update_ha_state(force_refresh=True). Please report it to the author of the 'mopidy' custom integration.

Fixed with commit ab219f6e802549fa2a5b297bc8fb9669574ba626


feat: ovh for dev, preprod

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


Database doesn't get prepopulated when migrating

When uninstalling the app and reinstalling, the AccessTimer table doesn't get prepopulated. If the storage is cleared and the app is launched again, it gets populated. Might have something to do with migrations?

backupEnabled was set to true, so when uninstalling and reinstalling the old database would get restored.


User Guides Admin Portal

WIP. in case we manage to get the #184 to work.
Here is the user guide for now.

I have finished the initial of the user guide for the admin portal - any feedback or comments are appreciated!
You can access it here and if you think it's sufficient, then close this issue. 😊