Get adopter feedback on Cupcake content list

chsanche created the following on Aug 08:
User Story

As a DDS website designer, I need adopter feedback on the content list so that I can set priority and start creating content.

Additional information

Content list can be viewed here.
Ideally, we will have 10 designers from the IBM.com teams. They will provide feedback with the priority based on their team needs for Q3 and Q4.

Acceptance criteria

[ ] Have a clear next step for content creation.

Original issue: https://github.ibm.com/webstandards/digital-design/issues/1421

On Aug 27, hahnrob commented:
Wonil & Linda:  We will get adopter feedback for the entire Cupcake site rather than this list to compress the schedule.  Closing this issue.


[rtext] Issues about font loading

Issue description
When using the latest versions of raylib (including 5.0 and 5.1-dev), issues have been encountered when importing fonts.
The problem arises when importing short string lengths at certain font sizes causing the last character of the string to potentially fail to import and leading to possible crashes.
Current solutions include adding extra characters to the string and adjusting the font size.
Issue Screenshot

Code Example
#include <raylib.h>
#include <bits/stdc++.h>
using namespace std;

int main() {

	InitWindow(800,600,"");
	int fileSize;
	unsigned char *fontFileData = LoadFileData("c:\\windows\\fonts\\simhei.ttf", &fileSize);
	int codepointsCount;
	int *codepoints=LoadCodepoints("head",&codepointsCount);
	Font font = LoadFontFromMemory(".ttf",fontFileData,fileSize,64,codepoints,codepointsCount);
	UnloadCodepoints(codepoints);
	SetTargetFPS(120);
	while (!WindowShouldClose()) {
		BeginDrawing();
		ClearBackground(WHITE);
		DrawTextEx(font,"head",(Vector2){50,50},64,5,RED);
		EndDrawing();
	}
	UnloadFont(font);
	UnloadFileData(fontFileData);
	return 0;
}

您是否尝试打印生成的地图集以检查所需字符是否成功导出？font.texture
I have tried the official example ("raylib [text] example - Codepoints loading").  The final character doesn't seem to have been successfully exported.

This is another official example. issues arise when shortening the string length and adjusting the font size to 64.

@wangxun2008 Thanks for sharing, the issue is actually on the algorithm that calculates the font texture atlas size required to fit all the glyphs. You can just uncomment this line, recompile raylib and it should work.


Issue with /docs/concepts/ : missing description of kubernetes cluster itself

This is a...

[X] Feature Request
[ ] Bug Report

Problem:
The kubernetes concepts page misses basic information about kubernetes clusters themselves
Proposed Solution:
Some information from the tutorial, could be moved into the concepts page to give a better introduction to kubernetes clusters (as a concept):
https://kubernetes.io/docs/tutorials/kubernetes-basics/cluster-intro/
Page to Update:
https://kubernetes.io/docs/concepts/

It seems that information is available in https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/

@ebullient The concept docs could use an overall quality improvement. I'm flagging this for work on that basis. 👍


Atomically load the lowered program

Since we're atomically initializing the compiled program in Regex.Program, we need to pair that with an atomic load.
Resolves #609.

@swift-ci Please test


Try to give more useful error when launch fails due to misformed template.

The error in this case currently looks like:
File ~/github/hostess/hostess/aws/ec2.py:565, in Cluster.launch(cls, count, template, options, tags, client, session, wait, *instance_args, **instance_kwargs)
    563 for _ in range(5):
    564     try:
--> 565         instances = instance_hook()
    566         break
    567     except ClientError as ce:

File ~/github/hostess/hostess/aws/ec2.py:556, in Cluster.launch.<locals>.instance_hook()
    554 def instance_hook():
    555     return instances_from_ids(
--> 556         fleet["Instances"][0]["InstanceIds"],
    557         *instance_args,
    558         client=client,
    559         **instance_kwargs,
    560     )

IndexError: list index out of range

Examples of reasons this failed (because of a misconstructed template) were because the instance type was not specified or because gpu or spot resources were given tag values in an instance that used neither.
It could be more meaningful by parsing / returning the error message returned by, e.g.
from hostess.aws.utilities import init_client
client = init_client('ec2')
client.describe_instances()
client.create_fleet(
            LaunchTemplateConfigs=[
                {
                    "LaunchTemplateSpecification": {
                        "LaunchTemplateName": 'a_template',
                        "Version": "$Default",
                    }
                }
            ],
            TargetCapacitySpecification={
                "TotalTargetCapacity": 1,
                "OnDemandTargetCapacity": 1,
                "DefaultTargetCapacityType": "on-demand",
            },
            Type="instant",
        )

There are probably other things that will cause IndexError at fleet["Instances"][0]["InstanceIds"] so maybe this would need to be way more complicated to not be misleading. 🤷

it does in fact have to be way more complicated to not be misleading. you have to parse the error message returned by the EC2 API.  what would not be very complicated would be extracting the error message and returning it to the user, although many of them are somewhat opaque.

But less opaque than just the IndexError in at least some cases.

very true! easy enough to check for errors in the API response and populate an exception from them if present. implemented in 0e9b8f2. closing this for now.


[MySQL/MariaDB] do not show empty default partitions

According to the documentation, any table without created partitions has a default partition:

A table using any storage engine other than NDB and which is not partitioned has one row in the PARTITIONS table. However, the values of the PARTITION_NAME, SUBPARTITION_NAME, PARTITION_ORDINAL_POSITION, SUBPARTITION_ORDINAL_POSITION, PARTITION_METHOD, SUBPARTITION_METHOD, PARTITION_EXPRESSION, SUBPARTITION_EXPRESSION, and PARTITION_DESCRIPTION columns are all NULL. Also, the PARTITION_COMMENT column in this case is blank.

But it is confusing - to have empty partitions in all unpartitioned tables. Let's hide them.

error appears during partition creation from UI


Log requests

I'm interested to know how many times bibdata gets hit a day--between indexing an real-time availability I suspect it's a lot, and it would be good to know these numbers when looking at the capabilities of potential next ILSs.

We are logging currently. Datadog.


Enabling Doctor-Doctor Communication (TeleICU) | Integrate with Livekit

Identify an existing (ideally opensource) tool to connect doctors at Spoke to Doctor at Hub to enable the TeleCommunication.
The tool should allow the computer at hub/spoke to connect with the computer at the spoke with the following features.

Audio
Chat
Video (Advanced)
Screen sharing (Advanced)
The interface connecting doctors must allow the doctors to browse through the patient records while in a call.

A few relevant points to note are:

The assumption is the computer at hubs and spokes will not change
Utilising an existing technology like Gmeet/Discord will save effort. However, the integration with the communication tech must be seamless, at the click of one button.
One hub will be connected to as many as 20-40 spokes. In the initial phase, the number of spokes will be limited to 10 for each hub. For the pilot, 1 computer per spoke is installed at the hub.
The feature should work in low bandwidth setting as well will at least minimum audio and chat features.
The feature must not increase the server cost too much.
Small cost of 10-20K per year to subscript to any third party tooling/service may be considered if it is necessary. However, a free solution would be preferred.

Hoping the whole team gets together to brainstorm on this one.
@gigincg

Here are some solutions I thought were pretty cool: https://www.100ms.live/ --> @Deep-Codes works here! https://jitsi.org/ -> Open-Source and Free https://www.twilio.com/video-api

Would be happy to help out and aid in integration!
100ms fits perfectly into the feature list, it can be integrated in under a week.

Would love to take this issue up once everything is fixed! @gigincg @aparnacoronasafe

@Deep-Codes is there an open-source or non-profit plan for 100ms ?

@Deep-Codes is there an open-source or non-profit plan for 100ms ?

We have something that fits into this, let me get back to you on slack.

We can consider doing this using https://livekit.io/

Feature added in https://github.com/ohcnetwork/care_fe/pull/8660
cc: @gigincg


onLoad triggered but video not playing

Hi there,
I am using this component and I noticed that when I simulate a bad connection, the onLoad callback is triggered even if the video is not loaded. A black screen is shown but not the video.
The video is coming from an url and not local assets
Is it a bug or did I miss something ?
Cheers

same here, is it compatable with react-native 0.33?
i ve tried both - local assets and url, onLoad(data) recieved an object, but still i ve never seen a video playing with this lib
also i did not find any assets in generetaed ios app content, where i should place this videofile exactly?

+1

I use onProgress for now as a wokraround.
I guess this has a performance issue but at least solve my problem

i get the same black/blank video screen, and all i did was copy and paste (note that i am pretty  comfortable integrating these types of plugins)... everything else loads properly though, like the custom &/or non-customer player skins/controls, etc. I double-checked in browser that Video URI works and that it's accessed via ssl's https, and I'm running RN 0.32.
I also tried onProgress suggested by @tuxtux00 but that didn't work for me either.
please help!

I am faceing the same issue.
"react-native": "0.70.6",
"react-native-video": "^5.2.1"


Will colfer support uint32/uint64 list in the future?

I believe uint32/uint64 list is quite common and useful, will colfer support it in the future?

Yes it will, as stated in #26.


Why is session management in securityService rather than userService?

I'm new to OO and I'm digesting your code to learn best practices.  I appreciate your patience and all of your experience.
Why is the user session management functionality in the securityService controller rather than UserService?  Flip of the coin or is there a rationale?

Always happy to help!
Session management is more closely related to overall security principles than specific to user management.
There are often times when I have the need to build applications that have more complicated access control requirements that make use of more than one table (e.g. admins, users, staff, executives, etc.) for authentication. Centrally managed sessions are a much better option for these situations than service-specific ones.


Change PR pipeline to use GitHub actions instead of AzDO

Currently the PR pipeline is a classic AzDO pipeline, it wants converting to a GitHub actions pipeline in this repository.

Issue is that the Windows agents don't have calculator on. To do this we may need to replace calculator with a dedicated application


Simplify overlap

Related<EMAIL_ADDRESS>but this is an improvement regardless of one's opinion of inout.

removing inout doesn't require using std.algorithm.max/min instead of internal versions. See same thread.

@9il good point - done

LGTM
@andralex to merge or not ? If inout is about to leave us, then let's merge.

@andralex to merge or not ? If inout is about to leave us, then let's merge.

From the discussion

I know of no "better" idioms, in terms of code generation and
specificity, to replace inout (or at least, inout as I envision it
should be). Care to elaborate?
I thought I did. Use one-liner functions that forward to templates.

Btw did anyone already point out that with inout the return type is inout(T)[] not auto?

I don't want to say that this is extremely important to keep the way it is: we can remove inout from this function, and we pretty much gain nothing and lose compiler protection from mutation, but it's not super-harmful in this instance. I just think this is kind of a waste of time to make this minor change. If we are getting rid of inout, that decision hasn't been publicly announced, and we should at least wait until the path forward for those who depend on it is sorted.

Btw did anyone already point out that with inout the return type is inout(T)[] not auto?

You can change the inout version to return auto. Again, no need to remove inout.

We're killing inout? When was this decision made? Where's the forum thread / announcement?

We're killing inout? When was this decision made? Where's the forum thread / announcement?

@quickfur Andrei really wants to. See<EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS>

I think this should be closed

If we are getting rid of inout, that decision hasn't been publicly announced, and we should at least wait until the path forward for those who depend on it is sorted.

+1

This simplifies code regardless of inout, so I guess it should be pulled. I'm recusing myself from reviewing it so I'll take out the label.

@andralex The min, max changes are good, but I'm against the change of signature. inout works well for what it is, so there's no need to replace it with an inferior solution. ref is the thing that needs fixing - being not part of the type it leads to ugly hacks and various limitations. If you disagree, please write a std.range.zip and std.range.enumerate alternatives that both 1) return ranges and 2) provide ref access usable in foreach and 3) without using string mixins. BTW, I think that even using string mixins wont help there.
Excuse me for the harsh tone, but I can't understand why you're trying to remove a useful feature without even a proper DIP supported by the community, whereas you're against any attempts to fixing ref on the grounds backwards compatibility (which would not be a problem in practice).
Removing inout without any alternative will put the D at disadvantage, whereas improving ref will make D more expressive and will enable designs not possible before - e.g. tuples supporting ref access and by extension the above-mentioned examples and many more.

Can we separate the removal of inout from the obvious improvements of using std.algorithm.min/max? I think that PR could be pulled immediately.

We are spending to much efforts for this PR

Auto-merge toggled on

@9il well put thanks


Support IPv6 for ambient

Bug Description
I am trying to install ambient mesh with IPv6 single stack Kind cluster but I am not able to install it.
My setup is based on kind cluster with below config.
three node (two workers) cluster config
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: cluster1-ipv6
nodes:

role: control-plane
image: kindest/node:v1.23.6@sha256:b1fa224cc6c7ff32455e0b1fd9cbfd3d3bc87ecaa8fcb06961ed1afb3db0f9ae

role: worker
image: kindest/node:v1.23.6@sha256:b1fa224cc6c7ff32455e0b1fd9cbfd3d3bc87ecaa8fcb06961ed1afb3db0f9ae

role: worker
image: kindest/node:v1.23.6@sha256:b1fa224cc6c7ff32455e0b1fd9cbfd3d3bc87ecaa8fcb06961ed1afb3db0f9ae
networking:
ipFamily: ipv6

installation failed with below logs.
bin/istioctl install --set profile=ambient
This will install the Istio 0.0.0 ambient profile with ["Istio core" "Istiod" "CNI" "Ingress gateways"] components into the cluster. Proceed? (y/N) y
✔ Istio core installed
✘ Istiod encountered an error: failed to wait for resource: resources not ready after 5m0s: timed out waiting for the condition

✔ CNI installed
✔ Ingress gateways installed

Pruning removed resources                                                                                Error: failed to install manifests: errors occurred during operation

pods status in the isito-system namespace.
k get pods -n istio-system
NAME                                   READY   STATUS                  RESTARTS        AGE
istio-cni-node-8smkj                   1/1     Running                 0               6m44s
istio-cni-node-khrd2                   1/1     Running                 0               6m44s
istio-cni-node-kxrdh                   1/1     Running                 0               6m44s
istio-ingressgateway-f6d95c86b-jp6w4   1/1     Running                 0               6m44s
istiod-6c99d96db7-h9pr9                1/1     Running                 0               11m
ztunnel-5284f                          0/1     Init:CrashLoopBackOff   6 (5m5s ago)    11m
ztunnel-lr8wh                          0/1     Init:CrashLoopBackOff   6 (5m5s ago)    11m
ztunnel-mx9x7                          0/1     Init:Error              7 (5m15s ago)   11m

k logs ztunnel-5284f -n istio-system
Defaulted container "istio-proxy" out of: istio-proxy, istio-init (init)
Error from server (BadRequest): container "istio-proxy" in pod "ztunnel-5284f" is waiting to start: PodInitializing
k logs ztunnel-5284f -c istio-init -n istio-system

PROXY_OUTBOUND_MARK=0x401/0xfff
PROXY_INBOUND_MARK=0x402/0xfff
PROXY_ORG_SRC_MARK=0x4d2/0xfff
MARK=0x400/0xfff
ORG_SRC_RET_MARK=0x4d3/0xfff
POD_OUTBOUND=15001
POD_INBOUND=15008
POD_INBOUND_PLAINTEXT=15006
OUTBOUND_MASK=0x100
OUTBOUND_MARK=0x100/0x100
SKIP_MASK=0x200
SKIP_MARK=0x200/0x200
CONNSKIP_MASK=0x220
CONNSKIP_MARK=0x220/0x220
PROXY_MASK=0x210
PROXY_MARK=0x210/0x210
PROXY_RET_MASK=0x040
PROXY_RET_MARK=0x040/0x040
INBOUND_TUN=istioin
OUTBOUND_TUN=istioout
INBOUND_TUN_IP=<IP_ADDRESS>
ZTUNNEL_INBOUND_TUN_IP=<IP_ADDRESS>
OUTBOUND_TUN_IP=<IP_ADDRESS>
ZTUNNEL_OUTBOUND_TUN_IP=<IP_ADDRESS>
TUN_PREFIX=30
INBOUND_ROUTE_TABLE=100
INBOUND_ROUTE_TABLE2=103
OUTBOUND_ROUTE_TABLE=101
PROXY_ROUTE_TABLE=102
set +e
ip link del pistioin
Cannot find device "pistioin"
ip link del pistioout
Cannot find device "pistioout"
set -e
ip route
grep+  default
awk {print $3}
HOST_IP=
ip link add name pistioin type geneve id 1000 remote
Command line is not complete. Try option "help"

Version
bin/istioctl version
client version: 0.0.0-ambient.191fe680b52c1754ee72a06b3e0d3f9d116f2e82
control plane version: 0.0.0
data plane version: 0.0.0-ambient.191fe680b52c1754ee72a06b3e0d3f9d116f2e82 (1 proxies)

k version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.25.0
Kustomize Version: v4.5.7
Server Version: v1.23.6

Additional Information
No response

This is expected for now, there are quite a few places we assume IPv4

Okay hoping to see more IPv6 friendly contributions.

@howardjohn John, we would love to see Ambient has some IPv6 support. Do you mind sharing insight on where the IPv4 is assumed in the current implementation? We may be able to collaborate and contribute on this issue. Thanks.

The main part is the redirection. The main issue is I hope it will be mostly replaced by https://github.com/istio/istio/pull/42372 anyways so it may be throw away work... but that isn't guaranteed to merge (or soon)


Small element in Content

Remove the bottom margin from the small element in the Content Component when its the last child. This goes along with our rule that components should touch all edges of their parents. It will also solve the issue in the Card Demo - https://github.com/patternfly/patternfly-next/pull/1716#issuecomment-492288569

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


mozaik.rocks is down

Can you provide some examples on README.md instead ?

Didn't renewed the domain… will fix this asap

up :)

@plouc it's down again


Feature Request: Adjust branch stroke width and branch spacing

Thanks for bringing the plugin to obsidian. I was looking for a way to adjust the branch line weight/stroke width and branch spacing within css but without luck. Can you please make it possible?
The branches are rendering very large, and I think it would be nice to customize them to fit notes.
If not, can I modify some part of  the source, define there the styling and compile a version of the plugin for myself?

@cryoden hey, thanks for the suggestion!
Unfortunately I have no way of controlling how Mermaid is rendered - this is done by Obsidian itself. Maybe try posting this on official forums?


you can change the host for a vps...

@arb anything you feel is bad about this?

Not from what I can tell.

I will try to get this published during the day.

Thank you, guys!
Le mar. 21 juil. 2015 à 08:26, Ulrik Augustsson<EMAIL_ADDRESS>a écrit :

I will try to get this published during the day.
—
Reply to this email directly or view it on GitHub
https://github.com/hapijs/good-udp/pull/27#issuecomment-123181955.


Use multi-arch Docker images in the Kubernetes manifest

Description

This simplifies the main Kubernetes manifest to use the multi-arch Docker images proposed in https://github.com/coreos/flannel/pull/1327.
I am assuming the new images will be tagged as v0.12.1, but can be easily changed.
Todos

[ ] Tests
[ ] Documentation
[x] Release note

Release Note

Simplify the Kubernetes manifest by using the multi-arch image instead of duplicating DaemonSets

Thanks @rajatchopra and @AleksandrNull.
Let me know if you need any help or extra changes.

Updated the tag to v0.13.0, considering that there's a RC for that already.


an empty asset folder is needed for JuliaDemoCard

docs/examples
├── color_channels
│   ├── color_separations_svd.jl
│   └── rgb_hsv_thresholding.jl
└── index.md

If there isn't an asset folder in color_channels, the following errors are raised, and an empty cover is generated:
[ Info: SetupDemoCardsDirectory: setting up examples directory.
Errors encountered while saving "assets/color_separations_svd.png".
All errors:
===========================================
WriteBlob Failed `assets/color_separations_svd.png' @ error/png.c/MagickPNGErrorHandler/1641
===========================================
SystemError: opening file assets/color_separations_svd.png: No such file or directory
===========================================

Fatal error:
┌ Warning: Executing demo docs\examples\color_channels\color_separations_svd.jl fails.
└ @ DemoCards D:\Julia\DemoCards\src\types\julia.jl:170
Errors encountered while saving "assets/rgb_hsv_thresholding.png".
All errors:
===========================================
WriteBlob Failed `assets/rgb_hsv_thresholding.png' @ error/png.c/MagickPNGErrorHandler/1641
===========================================
SystemError: opening file assets/rgb_hsv_thresholding.png: No such file or directory
===========================================

Fatal error:
┌ Warning: Executing demo docs\examples\color_channels\rgb_hsv_thresholding.jl fails.
└ @ DemoCards D:\Julia\DemoCards\src\types\julia.jl:170

fixes by 1a0d0be35cc43841e77bd8cc4b7ba2c64c8bfe31


About the url of released zip file, and it's folder structure after unzip it.

I'm working on the Dockerfile for new RocketMQ release 4.3.0 and 4.3.1. But I found two issues:
1)About the url of released zip file
Before release 4.3.1, we can get the released zip file via:
https://dist.apache.org/repos/dist/release/rocketmq/${ROCKETMQ_VERSION}/rocketmq-all-${ROCKETMQ_VERSION}-bin-release.zip

But I was not able to get release for 4.3.1:
https://dist.apache.org/repos/dist/release/rocketmq/4.3.1/rocketmq-all-4.3.1-bin-release.zip

Not Found

The requested URL /repos/dist/release/rocketmq/4.3.1/rocketmq-all-4.3.1-bin-release.zip was not found on this server.

2)About it's folder structure after unzip it
Before release 4.3.1, the zip file name is rocketmq-all-${ROCKETMQ_VERSION}-bin-release.zip, for release 4.3.1, the zip file becomes rocketmq-rocketmq-all-4.3.1.zip, I found the folder structure also different with releases 4.3.0 and 4.2.0, after unzip them.
These two issues will make confuse for a long-term Dockerfile maintenance. So can we solid the release url and filename, and the files structure? I mean at least to make them keep the same since release 4.2.0.

@huanwei Hi，we haven‘t released RocketMQ 4.3.1 and the file name just named as you want, as you can see:


Merge sharding-scaling-ui into master branch

For #3655 .
Changes proposed in this pull request:

Add sharding-scaling page in shardingsphere-ui

Codecov Report

Merging #4605 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #4605   +/-   ##
=========================================
  Coverage     54.27%   54.27%
  Complexity      343      343
=========================================
  Files          1001     1001
  Lines         17985    17985
  Branches       3372     3372
=========================================
  Hits           9761     9761
+ Misses         7601     7598    -3
- Partials        623      626    +3

Impacted Files
Coverage Δ
Complexity Δ

...relation/statement/dml/SelectStatementContext.java
51.54% <0%> (-2.07%)
0% <0%> (ø)

...re/sql/parser/relation/metadata/RelationMetas.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

.../select/projection/impl/AggregationProjection.java
100% <0%> (+66.66%)
0% <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 b87a85e...32564f6. Read the comment docs.

Pull Request Test Coverage Report for Build 10027

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

Totals

Change from base Build 10025:
0.0%

Covered Lines:
10399

Relevant Lines:
17985

💛  - Coveralls


[Website update] 404 Page

Is your feature request related to a problem? Please describe.
the site does not currently have a functional 404 page
Describe the solution you'd like
Normal 404 functionality so we can see what/how the community ends up on a missing page and resolve them. @nateynateynate has ideas

I'm starting to think we should include a change to the style for this page so that the actual error message doesn't show up in that blueish color on a gray background. Any thoughts on this @astephanus / @krisfreedain ?


fix(system-restore): handle non-exist system backup config file

https://github.com/longhorn/longhorn/issues/5072

@c3y1huang Please backport to 1.4.x.


Can you calculate a distance matrix between point patterns without calculating all vertex distance pairs?

I am struggling with some performance issues when calling Network. allneighbordistances between my source and destination point patterns.
When I looked into the code, it seems to me that the first thing this method does is calculate all the vertex distance pairs in the entire network with Network.full_distance_matrix
Is there a way to only compute the network distances between the source and destination point patterns without computing all vertex pair distances? Maybe I am not getting it but it seems wasteful to do all vertex pairs first when I already know the distances of every line feature from the geodataframe from which I initialized the network.
For reference I am using spaghetti in tandem with spopt to optimize the placement of facilities, mostly by following (but modifying) this tutorial: https://pysal.org/spopt/notebooks/mclp.html

No, this is not currently possible due to the historic structure of pysal.network (spaghetti's predecessor) and the utilization of the djikstra  algorithm). There has been discussion^1 for overhauling & modernizing spaghetti for some years now, but there has been little action due to time constraints. And as usual, since this is an OS project maintained in our free time contributions are always welcome!


RTL not supported in Gradle

Hi  ,
thanks for the great work , I try to implement your library to my project
I know that month ago you implemented RTL support.
I noticed that the RTL is not supported yet in the Gradle / Maven (4.1.0 version),
could u please synchronizing the projects

I also think that @beatbrot's RTL code should warrant a new release, it is a great and import addition to the project

A release will be pushed to gradle when @paolorotolo and @Andrew-Quebe feel the library is ready.
So please, there is no need to open an issue to inquire when the next release will be, as that in itself is not an issue.
But, if you wish to have the latest code from the repo, there is always JitPack.


20221102 zstack 3.x.0 coordinator build throws NWK_TABLE_FULL after ~7 days

Had it 3 times now that after about a week some device drop of the network (and sometimes even vanish from the database if not caught quickly).
It seems to be because NWK_TABLE_FULL errors, I usually toggle my lights in blocks with at the breaker to get them back.
Then when they join again I sometimes (but not for every bulb) get:
error 2022-12-05 20:23:04: Error: ConfigureReporting 0x680ae2fffe11ed6f/1 lightingColorCtrl([{"attribute":"currentY","minimumReportInterval":3,"maximumReportInterval":3600,"reportableChange":1}], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SREQ '--> ZDO - extRouteDisc - {"dstAddr":20051,"options":0,"radius":30}' failed with status '(0xc7: NWK_TABLE_FULL)' (expected '(0x00: SUCCESS)'))

When the device go offline themselves it's just a availability ping failure, no other error and online device still work fine for a bit.
Unplugging the coordinator stick for a few minutes and plugging it back in once the network is mostly back seems to help.
I'm using a zzhp and my mesh is rather dense with a lot of router but I am still below (85) 100 devices. (I had over 100 before without issues on the same stick).
While the devices are offline, usually buttons controlling unavailable devices work fine still. So I think it's just the coordinator running out of space and not having a route to the device.

I did notice on this firmware the coordinator has way more lines attached than before. Before it would have like 8 ish lines to routers and then they'd mesh.
Sadly frontend can't show the source routing map and it's too big to draw manually with graphvis :(

Attached is the graphviz data for the map, but I never managed to get it to draw without it OOM'ing after it exhausts 32G of memory.
map.txt

Going to revert back to the previous firmware CC1352P2_CC2652P_other_coordinator_20220219 the issue seems similar enough to https://github.com/Koenkk/Z-Stack-firmware/issues/383 and that one mentioned 20220219 as the last known good, and that was also the one I was running before the issue started.

I dont’t remember it happening before upgrading, and that was the newest firmware i had in my downloads folder before 20221102, so i flashed that one again yesterday.
I guess if the mesh stays up for more than a week we’ll know.

I've just lost a Hue motion sensor after 5 days on 20221102. Haven't had any issues on 20220219 since removing Ikea battery powered devices.

So far it seems stable at 4 days, i had to reboot the node so not made it to ~7 yet.

I'll try to publish a new fw this week, see https://github.com/Koenkk/Z-Stack-firmware/issues/383#issuecomment-1345547988

Same issue with 20221102. NWK_TABLE_FULL after a good amount of days. Lost 3 devices. One I was able to rejoin no problem but two only after downgrading to 20220219. I have 50 routers and 33 end devices, so I will try the new version when it's out!

try with 20221214: https://github.com/Koenkk/Z-Stack-firmware/issues/383#issuecomment-1351696706
I'll close this thread, lets continue in https://github.com/Koenkk/Z-Stack-firmware/issues/383

Update: let's continue in Let's continue in https://github.com/Koenkk/Z-Stack-firmware/issues/439


Second update to AcelNet Docs - Adding Windows GA and Additional Linu…

Added Windows GA and New Linux distros.

@gsilva5,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@gsilva5 : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

@gsilva5 : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

@gsilva5 : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

@gsilva5 : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

@gsilva5 : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

@gsilva5 : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

@gsilva5 : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

@gsilva5 : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

@gsilva5 : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

@gsilva5 : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

@gsilva5 : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

@gsilva5 : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

@gsilva5 : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

#sign-off


baya added to no-code

😂😂😂

Please follow the instruction @BayaInnovation
https://github.com/chapimenge3/codenight-developers/blob/main/CONTRIBUTING.md


Sync hook called repeatedly for unrelated object

I have a CompositeController that creates network policies based on the existence ingress objects.
The customize hook is only interested in Ingress objects:
  {
        'apiVersion': 'networking.k8s.io/v1',
        'resource': 'ingresses',
        'namespace': namespace
    }

However the sync gets called every second on the object for changes in a ConfigMap being stored in the same namespace, but unrelated to the controller or the customize hook.
...
{"level":"Level(-4)","ts":1695049969.471522,"logger":"composite.network-security-enforcement","msg":"Sync","object":{"name":"db-es-operator","namespace":"db-es-operator"}}
{"level":"info","ts":1695049969.471624,"logger":"composite.network-security-enforcement","msg":"related - ","kind":"ConfigMap","name":"elastic-operator-leader"}
{"level":"info","ts":1695049969.471772,"logger":"composite.network-security-enforcement","msg":"related - ","kind":"ConfigMap","name":"elastic-operator-leader"}
{"level":"info","ts":1695049969.471925,"logger":"composite.network-security-enforcement","msg":"related - ","kind":"ConfigMap","name":"elastic-operator-leader"}
{"level":"info","ts":1695049969.472076,"logger":"composite.network-security-enforcement","msg":"related - ","kind":"ConfigMap","name":"elastic-operator-leader"}
...

There is an elastic search cluster installed in the same namespace which is not being monitored by the composite controller. The leader election on Elasticsearch is updating an annotation on the ConfigMap called elastic-operator-leader every second. If I disable leader election on Elasticsearch, then the constant flow of sync executions stop.
Upon deeper investigation it turns out that the code that matches the related rule has a bug where it does not take the Kind and Resource into account when validating the matching rule:

To solve the issue, some code will need to be added to take the matching of Kind and Resource into account.

There are a few test cases I still want to add.

/assign @newtondev

@grzesuav I have added the fix and the tests, please see PR when you have a chance. Thanks


Create the Character Selection Screen

Closes #47, closes #6, closes #60, closes #69, Closes #70. (Some Duplicates)
Add everything needed for the character selection screen, and adds an alpha version of that screen. This will need to be edited in the future, we need to get a WIP version out there.

Merging this as my other maintainer is taking a break.


minor: upgrade to apollo/client (v3)

Signed-off-by: sirugh<EMAIL_ADDRESS>
Description
Upgrades to @apollo/client v3.
Adds zen-observable-ts as a dependency, which should have been done earlier.
Adds react-refresh as a dependency, which seems to be a requirement of using @apollo/client.
Updates typescript to v4.
Changed tsconfig as required by upgrades.
Related Issue

Motivation and Context

See #5
How Has This Been Tested?

Check out this PR.
Run yarn build and makes sure there is no errors.
yarn link
In pwa-studio, run yarn link @adobe/apollo-link-mutation-queue
In pwa-studio, run yarn watch and make sure the server builds/runs.

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

@paales :)


Update upgrade.sh to call upgrade_docker.sh if INSTALLED_DOCKER_VERSION and DOCKER_VERSION are not equal

https://github.com/Shippable/pm/issues/10352

this is done, closing


Password protected excel file

When using,
$sheet->protect('password');

I can still open the exported file and see what's in it, but I cant edit it.
Is that a supposed behaviour? Or is there a way to protect the whole file and prevent the content to from being visible?

I want to know this answer too!

That's a question for PHPExcel. This package is just a wrapper.


Support all float dtypes in F.triplet

This PR follows #4582 to support all float dtypes in F.triplet.

jenkins, test this please.

Jenkins CI test (for commit 8194863f9742319769fc29fcf5db72ca13a38792, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

jenkins, test this please.

Jenkins CI test (for commit 8194863f9742319769fc29fcf5db72ca13a38792, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)


ISPN-5733 Updating Hibernate Search and Apache Lucene to latest

https://issues.jboss.org/browse/ISPN-5733

Looking..

Looks good. There are some test failures, but I'll fix them myself and merge it.

There are some test failures, but I'll fix them myself and merge it.

I can apply some fixes now, if you haven't started already?

@Sanne, I've applied the changes and pushed them here https://github.com/anistor/infinispan/tree/t_Sanne_ISPN-5733_m   (I cannot push  them to your branch)

Thanks! re-running the full testsuite now on your branch..

I did that 3 times here and it looks good.

How could you run 3 times the Infinispan testsuite in 15 minutes ?!

hahaha :) not in the last 15 minutes, I started early this morning. The only changes really needed to make tests pass are the one in pom.xml and the one in UserHS, the rest is just nitpicking and doll-combing :)

pushed again to include @anistor 's fixes

This is now successfully passing all tests on my machine but only by applying PR #3701 as well

Integrated in master. Thanks @Sanne!

@anistor doll-combing is one of my favorite PR comments of all time! :+1:


Missing recipie/slack.php

Deployer version: 6.8.0-

Deployment OS: BigSur
Please, provide a minimal reproducible example of deploy.php

I followed the instructions from this guide but get the following error:
Warning: Uncaught ErrorException: require(recipe/slack.php): failed to open stream: No such file or directory in {PATH_TO_DEPLOY.php}

When i checked the repo i also could not find the file in the recipies directory. Is this a separate package?

never mind, i just can't read...


Classes are getting generated in the sass version

Title says it all: classes are getting generated with the normal and retina background-images + media queries in the sass file.
Also: using the "prefix" option does nothing opposed to when generating vanilla css.

Also: there's no function which could be used to get the image backgrounds.
Instead, only the classes are available. O.o

@aslansky ?

Thats how this style processors works right now. If you need it in a different way you could either use your own template or create a new processor or (even better) generate a pull request. If you decide to create a pull request please keep in mind that it should stay backwards compatible. So you would need to introduce a new option for your desired behaviour.
With the prefix I am not sure what you mean. Using the prefix option generates (at least for me):
.TEST {
  background-image: url("dist/icons.png");
}
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .TEST {
    background-image: url("dist/icons@2x.png");
    background-size: 149px 133px;
  }
}
@media (-webkit-min-device-pixel-ratio: 3),
(min-resolution: 384dpi) {
  .TEST {
    background-image: url("dist/icons@3x.png");
    background-size: 149px 133px;
  }
}

I can have a look into it. But I need more information (gulp/grunt task or the command you used).

I had some time on my hands, so I checked again.
Interestingly now I don't have problems with the prefixes either, even though I clearly remember having an issue with it.
Sadly I left the gulp task in such a state that doesn't reproduce the error, and since it was quite long ago, I can't remember how exactly it looked like before.
I think I just couldn't figure out how to configure the task properly, I remember struggling with the meanings of "name", "prefix", "style", even after reading the comments.
Somehow the labels just didn't click with my brain, it wasn't intuitive enough for me. :/
Anyway, I installed the cli, and after playing around with it a bit, I could easily change 2 parts of the task, and now it seems to work. :)
For the record though, here are the old and the new tasks:
(I changed the "dimension", "style" and "prefix" options.)
Old
gulp.task('sprites', function () {
    var sprity = require('sprity');

    var imagesTargetPath = util.dest(util.imagesDestDir + '/' + util.spriteImagesDestDir);
    var stylesTargetPath = util.src('styles/' + util.spriteStylesSrcDir);
    var spriteStyleName = '_sprites';

    del.sync(imagesTargetPath);
    del.sync(stylesTargetPath + '/' + spriteStyleName + '.scss');

    return sprity
        .src({
            src: util.src(util.spriteImagesSrcDir + '/**/*.png'),
            // src: util.src(util.spriteImagesSrcDir + '/**/*.png'),
            split: true,
            processor: 'sass',
            name: 's', // The prefix used for the images
            // name: 's-icons', // If `split` is not true
            dimension: [{
                ratio: 1
            }, {
                ratio: 2
            }],
            style: spriteStyleName // The generated style's name
            // prefix: 's' // The prefix given for the generated css classes
        })
        .pipe($.if('*.png',
            gulp.dest(imagesTargetPath),
            gulp.dest(stylesTargetPath)
        ));
});

New
gulp.task('sprites', function () {
    var sprity = require('sprity');

    var imagesTargetPath = util.dest(util.imagesDestDir + '/' + util.spriteImagesDestDir);
    var stylesTargetPath = util.src('styles/' + util.spriteStylesSrcDir);
    var spriteStyleName = '_sprites';

    del.sync(imagesTargetPath);
    del.sync(stylesTargetPath + '/' + spriteStyleName + '.scss');

    return sprity
        .src({
            src: util.src(util.spriteImagesSrcDir + '/**/*.png'),
            // src: util.src(util.spriteImagesSrcDir + '/**/*.png'),
            split: true,
            processor: 'sass',
            name: 's', // The prefix used for the images
            dimension: [{
                ratio: 1, dpi: 72
            }, {
                ratio: 2, dpi: 192
            }],
            style: './' + spriteStyleName + '.scss', // The generated style's name
            prefix: 's' // The prefix given for the generated css classes
        })
        .pipe($.if('*.png',
            gulp.dest(imagesTargetPath),
            gulp.dest(stylesTargetPath)
        ));
});

About the background images: I would create a PR, but I think I would struggle way too much for way too little with my skills. :)
Thanks for the reaction btw, and sorry for the inconvenience. :)


UX: Investigate the installation of popular proprietary fonts

Currently, font fallback for those does not match the looks & layout of popular fonts at all, so popular websites text can look out-of-place.
Better fonts for Fedora exists, but it's outdated & doesn't work properly now.
It uses open-source font replacements, which are designed to be very close to the proprietary fonts.
ChromeOS uses some of those fonts & it's working great.
Another alternative is to simply ship those fonts directly to the image, without violating the font license, which is not possible for most proprietary fonts.

Forked "better-fonts" is installed now.
When running fc-match, it shows that font substitutions work.
However, this also depends on the application. F.e., LibreWolf flatpak doesn't show any changes.

Hardened Chromium is in RPM & font substitution works there.


colorTheGrid() missing 1 required positional argument: 'n'

------------------------------ Painting a Grid With Three Different Colors/painting.py
Traceback (most recent call last):
File "/Users/hughbrown/workspace/Solutions-To-Problems/LeetCode/Python Solutions/Painting a Grid With Three Different Colors/painting.py", line 41, in
Solve = Instant.colorTheGrid(121)
TypeError: colorTheGrid() missing 1 required positional argument: 'n'

Fixed it. Should work.


Memory leak issue with StreamProvider and Class instances

I'm using Provider with MultiProvider basically on all my views.
I use StreamProvider which returns a List of Models (Class instances), which are created while listening to a Firebase subscription (deserialization).
I've noticed a steady memory increase while navigating do different routes. Turns out that those Models are still inside the heap (according to DevTools). Even when forcing GC, they are not removed from the heap. As far as I can tell those Models are not used by any widget after navigating to a different View, also maintainState is set to false.

// view Model

BehaviorSubject<List<LightningGroupModel>> _lgStream = BehaviorSubject();

void startStreamLgs() {
        _db
        .collection('projects')
        .document(_project_id)
        .collection('lightning_groups')
        .where('DELETED', isEqualTo: false)
        .snapshots()
        .listen(_addLgsToStream);
  }

  void _addLgsToStream(QuerySnapshot snap) {
    var lgs = _getLgsFromSnap(snap);
    _lgStream.add(lgs);
  }

  List<LightningGroupModel> _getLgsFromSnap(QuerySnapshot snap) {
    var lgList = List<LightningGroupModel>();
    var docs = snap.documentChanges;

    if(docs.length > 0) {
      for(var doc in docs) {
        lgList.add(LightningGroupModel.fromMap(doc.document));
      }
    }
    return lgList;
  }

// consumer View

MultiProvider: [
StreamProvider<List<LightningGroupModel>>(
          create: (_) =>
              _projectViewModel.lgStream
        ),
]

What am I missing here?

Is there a reduced test case for this? If not, I would suggest using the Dominator (TreeView) in the Allocations profile using the observatory to figure out where the references are coming from.

@beljand
Is this still a valid issue using latest Flutter version or has this been resolved ?
If issue persists, please provide a minimal reproducible code sample along with flutter doctor -v that shows the issue.
Thanks.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Update Composer dependencies (2023-10-27-00-10)

Visual regression test passed!
View the visual regression test report


[KYUUBI #3527][SPARK][FOLLOWUP] spark.kubernetes.executorEnv should be spark.executorEnv

Why are the changes needed?

Fix bug in #3527
Modify spark.kubernetes.executorEnv to spark.executorEnv
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

[x] Unit Test

Codecov Report

Merging #3591 (7254fe9) into master (612a82e) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #3591      +/-   ##
============================================
- Coverage     51.81%   51.75%   -0.06%
  Complexity       13       13
============================================
  Files           483      483
  Lines         26998    26998
  Branches       3769     3769
============================================
- Hits          13988    13974      -14
- Misses        11653    11662       +9
- Partials       1357     1362       +5

Impacted Files
Coverage Δ

...ache/kyuubi/engine/spark/SparkProcessBuilder.scala
86.66% <100.00%> (ø)

.../kyuubi/server/mysql/constant/MySQLErrorCode.scala
13.84% <0.00%> (-6.16%)
:arrow_down:

...ache/kyuubi/server/mysql/MySQLCommandHandler.scala
75.00% <0.00%> (-4.55%)
:arrow_down:

...ache/kyuubi/server/mysql/MySQLGenericPackets.scala
76.59% <0.00%> (-2.13%)
:arrow_down:

...ain/scala/org/apache/kyuubi/engine/EngineRef.scala
72.26% <0.00%> (-0.85%)
:arrow_down:

...yuubi/server/metadata/jdbc/JDBCMetadataStore.scala
89.27% <0.00%> (-0.70%)
:arrow_down:

...he/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala
66.25% <0.00%> (-0.63%)
:arrow_down:

...a/org/apache/kyuubi/service/TFrontendService.scala
91.17% <0.00%> (-0.30%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks, merging to master/1.6


feat: add restaurant modify endpoint

You should add more tests for RestuarantService! For each branches I think that's why this test fails

I think it'd be good to merge the current main to this branch to apply Lombok!


[Package Issue]: OpenJS.NodeJS tries to update to nightly

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
When running update, 20.4.0 is updated to 21.0.0-nightly20230706b5e16adb1d.
@CoolPlayLin @stephengillie #111148
Steps to reproduce
> winget install OpenJS.NodeJS
> winget upgrade
Name    Id            Version Available                        Source
---------------------------------------------------------------------
Node.js OpenJS.NodeJS 20.4.0  21.0.0-nightly20230706b5e16adb1d winget

Actual behavior
The 21.0.0-nightly20230706b5e16adb1d build is offered and installed.
Expected behavior
No new build should be installed and 20.4.0 is the latest available.
Environment
Windows Package Manager (Preview) v1.6.1573-preview
Windows: Windows.Desktop v10.0.22621.1928
System Architecture: Arm64
Package: Microsoft.DesktopAppInstaller v1.21.1573.0

Screenshots and Logs
No response

It's not my problem, I checked it just now. The nightly version is in correct folder

It's not my problem, I checked it just now. The nightly version is in correct folder

It's an issue with winget upgrade not winget install

It seems OpenJS.NodeJS as OpenJS.NodeJS.Nightly

WinGet can't differentiate nightly and stable releases as they use the same Apps&Features entries i.e. same DisplayName, Publisher, UpgradeCode values that causes conflicts in upgrade matching. The solution is likely to be addressed in

https://github.com/microsoft/winget-cli/issues/147

For now, the quick fix would be to not support nightly releases in the WinGet repository as they cause conflicts with stable releases. It's hard anyway to keep up-to-date with nightly releases without automation / publisher taking control of the package releases

Remove OpenJS.NodeJS.Nightly to OpenJS.NodeJSNightly ?

@mdanish-kh Move OpenJS.NodeJS.Nightly to OpenJS.NodeJSNightly ?

That won't help, I'm talking about removing nightly releases altogether from the repo; Also seeing your screenshot I noticed that there is another problem with the nightly manifests concerning the DisplayVersion field not being present in all manifests. That is evident from the "<" symbol resulting in infinite upgrade scenario for the end-user.

@mdanish-kh @stephengillie the issue still repros. Is there a local cache that needs to be updated or the removal needs to propagate?

@lutzroeder https://github.com/microsoft/winget-pkgs/pull/111562 hasn't passed the publish pipeline; Changes will appear once all the PRs have made their way through the publish pipeline

@lutzroeder All package removal PRs have now passed the publish pipeline; Can you confirm if the issue has been resolved now?

Yes, 20.4.0 is now listed as latest available for OpenJS.NodeJS. Thank you, @mdanish-kh and @stephengillie.


High density flag assets

Flag assets file should be either an SVG or have a @2x version for retina displays.

This is probably a dupe of #1240 But I agree and +1'd it! :)

For version 2.9 of the active community fork Fomantic-UI, the sprite flags are going to be replaced by the same SVG icons as already available for the emoji component
https://github.com/fomantic/Fomantic-UI/pull/1190


The account wouldn't have enough balance to cover storage

Hi Near,
I'm trying to deploy status message contract on testnet.
I'm getting the following error:
near deploy --wasmFile target/wasm32-unknown-unknown/release/key_value_storage.wasm --accountId hellocontract.nastmuratest.testnet
Starting deployment. Account id: hellocontract.nastmuratest.testnet, node: https://rpc.testnet.near.org, helper: https://helper.testnet.near.org, file: target/wasm32-unknown-unknown/release/key_value_storage.wasm
Receipt:
   Failure [hellocontract.nastmuratest.testnet]: Error: The account hellocontract.nastmuratest.testnet wouldn't have enough balance to cover storage, required to have<PHONE_NUMBER>052772000000000 yoctoNEAR more
An error occured
Error: The account hellocontract.nastmuratest.testnet wouldn't have enough balance to cover storage, required to have<PHONE_NUMBER>052772000000000 yoctoNEAR more
   at Object.parseResultError (/usr/local/lib/node_modules/near-cli/node_modules/near-api-js/lib/utils/rpc_errors.js:31:29)
   at Account.signAndSendTransactionV2 (/usr/local/lib/node_modules/near-cli/node_modules/near-api-js/lib/account.js:160:36)
   at processTicksAndRejections (node:internal/process/task_queues:96:5)
   at async exports.deploy (/usr/local/lib/node_modules/near-cli/index.js:77:24)
   at async Object.handler (/usr/local/lib/node_modules/near-cli/utils/exit-on-error.js:52:9)
ServerTransactionError: The account hellocontract.nastmuratest.testnet wouldn't have enough balance to cover storage, required to have<PHONE_NUMBER>052772000000000 yoctoNEAR more
   at Object.parseResultError (/usr/local/lib/node_modules/near-cli/node_modules/near-api-js/lib/utils/rpc_errors.js:31:29)
   at Account.signAndSendTransactionV2 (/usr/local/lib/node_modules/near-cli/node_modules/near-api-js/lib/account.js:160:36)
   at processTicksAndRejections (node:internal/process/task_queues:96:5)
   at async exports.deploy (/usr/local/lib/node_modules/near-cli/index.js:77:24)
   at async Object.handler (/usr/local/lib/node_modules/near-cli/utils/exit-on-error.js:52:9) {
 type: 'LackBalanceForState',
 context: undefined,
 index: null,
 account_id: 'hellocontract.nastmuratest.testnet',
 amount: '8065739611052772000000000',
 kind: {
   account_id: 'hellocontract.nastmuratest.testnet',
   amount: '8065739611052772000000000'
 },
 transaction_outcome: {
   proof: [
     {
       hash: '8oMVbrvNPHEPCYQsyEVZBmEsvtpQTpgdHzAg5ue1BcGx',
       direction: 'Right'
     }
   ],
   block_hash: 'C4WRdy4x8gB2DR5Vxc95yQsVuGvygpcEEq5AXABz1B7w',
   id: 'FeNYRR1vfZJTf1eugg8CYaw2FkuRHQF8hzgEQTCiUc6a',
   outcome: {
     logs: [],
     receipt_ids: [ 'G34RDgoptnXg3FqKR23EhLas4rsKG58Gt6ZsouD13kBH' ],
     gas_burnt:<PHONE_NUMBER>3860,
     tokens_burnt: '1259805526386000000000',
     executor_id: 'hellocontract.nastmuratest.testnet',
     status: {
       SuccessReceiptId: 'G34RDgoptnXg3FqKR23EhLas4rsKG58Gt6ZsouD13kBH'
     },
     metadata: { version: 1, gas_profile: null }
   }
 }
}

I found the problem.
At near deploy command , param --accountId , I pass wrong account (instead of passing accountID, I passed  the contractID).
But if the error message like "Account ID not found" is more clear for everyone.

@vietnt11 probably your account does not have enough balance to cover storage.
If you are sure, that this is a bug, we will need more information.
For example:

near state
size of the wasm file

Closing for now.


[BUG] DROP INDEX cancel FlintREPL job

What is the bug?
User submit DROP INDEX query, plugin cancel FlintREPL job. The imapct is if user submit query in same session, submitted query will in waiting state forever.
How can one reproduce the bug?

T1: submit CREATE SKIPPING INDEX query with auto_refresh=false
T2: submit DROP INDEX query,  make sure (T2-T1) < 3mins

unexpected result is

FlintREPL EMR-S job is cancelled, indexState is REFRESHING

What is the expected behavior?
FlintREPL EMR-S job should not been cancelled.
Do you have any additional context?
In SQL Plugin 2.13, when user submit DROP INDEX query, plugin cancel EMR-S job even index state is EMTPY / ACTIVE.
  public boolean validate(FlintIndexState state) {
    return state == FlintIndexState.REFRESHING
        || state == FlintIndexState.EMPTY
        || state == FlintIndexState.ACTIVE
        || state == FlintIndexState.CREATING;
  }

Suggested solutions
Alt-1. For CREATE INDEX, we could submit FlintJob instead of FlintREPL.
Alt-2. Prevalidate indexState, only cancel Job when it is in Refreshing state.

Before refactoring the DML handler and FlintIndexOp, DROP index involved 2 steps: Cancel op and Delete op, and each has their own validation. (cancel, delete)
After refactoring, the two steps are merged and shared one same validation logic, which is incorrect.
Of the two solution proposed, Alt-1 using FlintJob has the disadvantage of sacrificing query latency. Executing the create index statement in FlintREPL will be way faster.
Alt-2 seems better. We can validate the index state to be Refreshing state before cancel.


[EXP-73-273] fix: record apy inception point from first harvest

There's a problem with yvBoost where there are only two harvests, but the vault is very old, so the inception block is inaccurate.
Instead record the apy inception point as the first harvest - when assets have been deposited by the vault into a strategy and they start earning yield.

with this change the inception_apy will produce the following values:

@mariuspod you're right - the pricePerShare was still being taken as 1.0, even when the inception block was at a point when it was much greater than that. Fixed it in https://github.com/yearn/yearn-exporter/pull/273/commits/c988651c6ca6bd527c7179247aa0dcc83e000b2e


issue #80

I have worked on the issue mentioned, but i feel like i have missed out something. Can you verify my changes

That one was a little tricky with the event names, but I think you got it.


Windows runner for Azure keyvault

Azure cli should be the replacement for: https://github.com/Azure/get-keyvault-secrets
for retrieving secrets from Azure key vault. But the old get-keyvault-secrets worked also on windows runner but Azure cli does not because of the check:
https://github.com/Azure/cli/blob/master/src/main.ts#L19
if (process.env.RUNNER_OS != 'Linux') {
    core.setFailed('Please use Linux based OS as a runner.');
    return;
}

get-keyvault-secrets is going to be deprecated, so how to make Azure/cli work for windows runners ?

Hi @MacKey-255, Azure/cli is designed to use docker in the action for running Azure CLI scripts. The docker image built by azure-cli provides a standalone Linux container. But Linux containers cannot run directly on Windows. Implementing support for Windows runners would require significant effort and need collaboration with azure-cli. Thanks for your patience and hope for your understanding in this.


Migrate to use templating: Counter

Hey @fadeev,
The steps that would be needed to migrate as per my understanding would be to initialize the contract in template using

npx hardhat messaging CrossChainCounter messageType:bytes32 messageFrom:address

The messageType parameter would be useful, because incase of situations where there are 2 or more possibilites it can act as the trigger key on the basis of which the contract decides which function to stack.
Let me know your views on this.

@fadeev, The proposed solution here is:

Initializing the contract using:  npx hardhat messaging CrossChainCounter

Also just one suggestion, could we not directly call this using msg.sender, rather than passing it as a parameter? It may save us some gas, something like
counter[msg.sender]++

Let me know your views on this.

@1337-ishaan unless I'm missing something important here, I'm afraid we can't.
Inside onZetaMessage msg.sender is the connector contract address. If we want the counter to be registered under the original sender from the source chain, we need to pass it in the message.

@fadeev, I'll get this done and raise a PR.

@fadeev, completed this in #155, kindly check.


bugfix #6 Request for not found token in webhook mode

Commented line 126, which made bot work

Codecov Report

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

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   31.39%   31.16%   -0.24%
==========================================
  Files           8        8
  Lines         293      292       -1
==========================================
- Hits           92       91       -1
  Misses        201      201

Impacted Files
Coverage Δ

django_telegrambot/apps.py
35.71% <ø> (-0.36%)
: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 c824df3...ed267cf. Read the comment docs.

@marqueewinq if we need to repeat setWebhook, I think is better a while(!setted) with a counter to exit after a fixed number of retry.


[Roadmap] Server-side model priority selection

Why
It would be great to be able to set which model is set by default in self-hosted instances. For example, as I use ollama, I would prioritize an ollama model such that any session would use that by default - instead of OpenAI models.
This should have a server-side flag / configuration.

Thanks for the idea. There should be a quick way to configure a default model (for the first time, when not set yet). I'll look into it.


Does AMQP-CPP support polling?

I'm trying to integrate AMQP-CPP into an existing legacy C++ project that maintains its own event loop.  My understanding is that AMQP 0-9-1 supports synchronous polling [0] using basic.get (I could be misunderstanding the protocol though).  Does AMQP-CPP support polling queues directly?  I have searched extensively and have been unable to find example code using this.
Thanks!
[0] https://www.rabbitmq.com/amqp-0-9-1-quickref.html#basic.get

Nothing is synchronous in network programming.  During this waittime you can (and should) do something else.
The normal way for reading messages from RabbitMQ is that you send a consume instruction to rabbit, which basically means that you say: "hey rabbit, whenever you have one or more messages in that queue, can you immediately pass them on to me, I'm ready." After which Rabbit starts sending messages (or not, if the queue is empty) until you tell Rabbit to stop doing that.
The alternative way to receive message is to use the get instruction. This essentially means that you say: "hey rabbit, can you send me one message from the queue, or, if the queue happens to be empty, send me an queue-is-empty message instead." After that, you receive an answer (either a message or the queue-is-empty message), and you're done. You do not have to tell rabbit to stop sending messages.
Both operations (consume and get) are supported by AMQP-CPP, but both operations are implemented in an asynchronous way using an event loop to allow your code to do other things while AMQP-CPP is waiting for RabbitMQ to receive and process the instruction, and send back the response.


Why has version 3.1 not been released for a long time?

Version 3.0 was released 1 year ago

@helloworld1 you have to make a release out of the tag i guess? to let the bots pick it up.

Ah I see. I tagged the it but forgot to create a release . Now I did it now.
However, I found F-Droid has already released the version 3.1
https://f-droid.org/en/packages/org.liberty.android.freeotpplus/


fix contrib components symbol visibility

All contrib components "leaked" symbols to the final library. This fix propagates core cflags/cxxflags to contrib components.

To ensure quality review, Couchbase employs a code review system based on Gerrit to manage the workflow of changes in addition to tracking our contributor agreements.
To get this change in and collaborate in code review, please register on Gerrit and accept our CLA. More detailed instructions are available here: https://developer.couchbase.com/open-source-projects#how-to-contribute-code.

http://review.couchbase.org/63399


v4 Breaking Change for IonicErrorHandler

Bug Report
Ionic Info
Ionic:
   ionic (Ionic CLI)          : 4.0.0-rc.9 (/usr/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-alpha.7
   @angular-devkit/core       : 0.7.0-rc.0
   @angular-devkit/schematics : 0.7.0-rc.0
   @angular/cli               : 6.0.8
   @ionic/ng-toolkit          : 1.0.0-rc.8
   @ionic/schematics-angular  : 1.0.0-rc.8

System:
   NodeJS : v8.11.1 (/usr/bin/node)
   npm    : 6.1.0
   OS     : Linux 4.15

Describe the Bug
In ionic 2/3 there was Ionic's custom ErrorHandler which was named IonicErrorHandler. In Ionic4.beta7  and previous we can not extend anymore this custom error handler because it doesn't exist.
So perhaps it is was only forgotten, or under development but if not not perhaps you should document it as breaking change.

IonicErrorHandler will no longer be provided from Ionic, and was largely available for app-script's dev server error logging. You can still extend Angular's ErrorHandler: https://angular.io/api/core/ErrorHandler


Define watermarks in terms of microseconds

This helps define a better, tested interface for the logs.
Depends on #1358

Superseded by #1369


my computer is beyond windows 10 and Xenko won't work.

I've tried windows troubleshoot and for some reason the Xenko game engine still won't work if I launch any of the templates

Please follow the bug report template. There is nothing we can do with so little information.

Please reopen with more information.


Possibility to use plugin in typescript and html files

I would like to resolve #1 by adding possibility tu use plugin in .ts and .html files.

Came here after looking at #1 - is this PR still under consideration?


QueryResultCache - stores relations even if populated not defined

Describe the bug
In our application, every user has different permission for a different resource (like in google docs). To load all permission we do a simple query with every request, and for performance reasons, we have decided to persist the result of the query to a cache. It works fine, but when we create a new resource we have to reload user permissions, the new value that is stored to query result cache also contains all relations of the new resource even if the query doesn't specify populate.
To Reproduce
Steps to reproduce the behavior:

Cache query

 const emailShares = await this.emailShareRepository.find(
            { email },
            { cache: [`emailShare:${email}`, 10_000]},
        )

Cerate new entity with relation

  const resource = this.resourceRepository.create({
            referenceId,
            referenceType,
        })
const emailShare =  this.emailShareRepository.assign(new EmailShare(), {
      email: es.email,
        roles: es.roles,
          resource,
  }),

Reset cache

this.entityManager.clearCache(`emailShare:${email}`)

Do query again

 const emailShares = await this.emailShareRepository.find(
            { email },
            { cache: [`emailShare:${email}`, 10_000]},
        )

logs:
[Nest] 62867  - 08/22/2022, 4:47:49 PM     LOG [ResultCache] Get<EMAIL_ADDRESS>"undefined"
[Nest] 62867  - 08/22/2022, 4:47:49 PM     LOG [DatabaseModule] [query] select `e0`.* from `email_sharing` as `e0` where `e0`.`email` =<EMAIL_ADDRESS>[took 16 ms]
[Nest] 62867  - 08/22/2022, 4:47:49 PM     LOG [ResultCache] Set<EMAIL_ADDRESS>"[{"id":423,"email":"Wilmer7@hotmail.com","personalAccountId":2225,"roles":["OWNER"],"createdAt":"2022-08-13T10:08:19.000Z","updatedAt":"2022-08-22T10:08:19.000Z","resource":34}]" with  no expiration
[Nest] 62867  - 08/22/2022, 4:47:49 PM     LOG [DatabaseModule] [query] select `r0`.* from `resources` as `r0` where `r0`.`reference_id` = 'asd10x' and `r0`.`reference_type` = 'DESIGN_REVIEW' limit 1 [took 4 ms]
[Nest] 62867  - 08/22/2022, 4:47:49 PM     LOG [DatabaseModule] [query] begin
[Nest] 62867  - 08/22/2022, 4:47:49 PM     LOG [DatabaseModule] [query] insert into `resources` (`created_at`, `reference_id`, `reference_type`) values ('2022-08-22 16:47:49.639', 'asd10x', 'DESIGN_REVIEW') [took 4 ms]
[Nest] 62867  - 08/22/2022, 4:47:49 PM     LOG [DatabaseModule] [query] insert into `events` (`author`, `created_at`, `data`, `resource_id`, `type`) values<EMAIL_ADDRESS>'2022-08-22 16:47:49.640', 'Design was shared', 61, 'SHARE') [took 4 ms]
[Nest] 62867  - 08/22/2022, 4:47:49 PM     LOG [DatabaseModule] [query] insert into `email_sharing` (`email`, `roles`, `created_at`, `updated_at`, `resource_id`) values<EMAIL_ADDRESS>'APPROVER', '2022-08-22 16:47:49.639', '2022-08-22 16:47:49.643', 61<EMAIL_ADDRESS>'OWNER', '2022-08-22 16:47:49.640', '2022-08-22 16:47:49.643', 61) [took 4 ms]
[Nest] 62867  - 08/22/2022, 4:47:49 PM     LOG [DatabaseModule] [query] insert into `design_statuses` (`last_view`, `resource_id`, `status`, `updated_at`) values ('2022-08-22 16:47:49.642', 61, 'SHARED', '2022-08-22 16:47:49.642') [took 4 ms]
[Nest] 62867  - 08/22/2022, 4:47:49 PM     LOG [DatabaseModule] [query] commit
[Nest] 62867  - 08/22/2022, 4:47:50 PM     LOG [ResultCache] Get<EMAIL_ADDRESS>"undefined"
[Nest] 62867  - 08/22/2022, 4:47:50 PM     LOG [DatabaseModule] [query] select `e0`.* from `email_sharing` as `e0` where `e0`.`email` =<EMAIL_ADDRESS>[took 13 ms]
[Nest] 62867  - 08/22/2022, 4:47:50 PM     LOG [ResultCache] Set<EMAIL_ADDRESS>"[{"id":423,"email":"Wilmer7@hotmail.com","personalAccountId":2225,"roles":["OWNER"],"createdAt":"2022-08-13T10:08:19.000Z","updatedAt":"2022-08-22T10:08:19.000Z","resource":34},{"id":678,"createdAt":"2022-08-22T16:47:50.000Z","email":"Wilmer7@hotmail.com","roles":["OWNER"],"resource":{"id":61,"createdAt":"2022-08-22T16:47:49.639Z","events":[{"id":1070,"createdAt":"2022-08-22T16:47:49.640Z","type":"SHARE","data":"Design was shared","author":"Wilmer7@hotmail.com","resource":{"id":61,"createdAt":"2022-08-22T16:47:49.639Z","emailSharing":[{"id":677,"createdAt":"2022-08-22T16:47:49.639Z","email":"someone@somewhere.org","roles":["APPROVER"],"updatedAt":"2022-08-22T16:47:49.643Z"},{"id":678,"createdAt":"2022-08-22T16:47:50.000Z","email":"Wilmer7@hotmail.com","roles":["OWNER"],"updatedAt":"2022-08-22T16:47:50.000Z"}],"referenceId":"asd10x","referenceType":"DESIGN_REVIEW","designStatus":{"id":61,"status":"SHARED","resource":{"id":61,"createdAt":"2022-08-22T16:47:49.639Z","emailSharing":[{"id":677,"createdAt":"2022-08-22T16:47:49.639Z","email":"someone@somewhere.org","roles":["APPROVER"],"updatedAt":"2022-08-22T16:47:49.643Z"},{"id":678,"createdAt":"2022-08-22T16:47:50.000Z","email":"Wilmer7@hotmail.com","roles":["OWNER"],"updatedAt":"2022-08-22T16:47:50.000Z"}],"referenceId":"asd10x","referenceType":"DESIGN_REVIEW","linkShare":null},"lastView":"2022-08-22T16:47:49.642Z","updatedAt":"2022-08-22T16:47:49.642Z"},"linkShare":null}}],"emailSharing":[{"id":677,"createdAt":"2022-08-22T16:47:49.639Z","email":"someone@somewhere.org","roles":["APPROVER"],"updatedAt":"2022-08-22T16:47:49.643Z"},{"id":678,"createdAt":"2022-08-22T16:47:50.000Z","email":"Wilmer7@hotmail.com","roles":["OWNER"],"updatedAt":"2022-08-22T16:47:50.000Z"}],"referenceId":"asd10x","referenceType":"DESIGN_REVIEW","designStatus":{"id":61,"status":"SHARED","resource":{"id":61,"createdAt":"2022-08-22T16:47:49.639Z","events":[{"id":1070,"createdAt":"2022-08-22T16:47:49.640Z","type":"SHARE","data":"Design was shared","author":"Wilmer7@hotmail.com","resource":{"id":61,"createdAt":"2022-08-22T16:47:49.639Z","emailSharing":[{"id":677,"createdAt":"2022-08-22T16:47:49.639Z","email":"someone@somewhere.org","roles":["APPROVER"],"updatedAt":"2022-08-22T16:47:49.643Z"},{"id":678,"createdAt":"2022-08-22T16:47:50.000Z","email":"Wilmer7@hotmail.com","roles":["OWNER"],"updatedAt":"2022-08-22T16:47:50.000Z"}],"referenceId":"asd10x","referenceType":"DESIGN_REVIEW","linkShare":null}}],"emailSharing":[{"id":677,"createdAt":"2022-08-22T16:47:49.639Z","email":"someone@somewhere.org","roles":["APPROVER"],"updatedAt":"2022-08-22T16:47:49.643Z"},{"id":678,"createdAt":"2022-08-22T16:47:50.000Z","email":"Wilmer7@hotmail.com","roles":["OWNER"],"updatedAt":"2022-08-22T16:47:50.000Z"}],"referenceId":"asd10x","referenceType":"DESIGN_REVIEW","linkShare":null},"lastView":"2022-08-22T16:47:49.642Z","updatedAt":"2022-08-22T16:47:49.642Z"},"linkShare":null},"updatedAt":"2022-08-22T16:47:50.000Z"}]" with  no expiration
[Nest] 62867  - 08/22/2022, 4:47:50 PM     LOG [DatabaseModule] [query] select `r0`.* from `resources` as `r0` where `r0`.`reference_id` = 'asd10x' and `r0`.`reference_type` = 'DESIGN_REVIEW' limit 1 [took 5 ms]

Formatted second Set command of ResultCache
[
  {
    "id": 423,
    "email"<EMAIL_ADDRESS>    "personalAccountId": 2225,
    "roles": ["OWNER"],
    "createdAt": "2022-08-13T10:08:19.000Z",
    "updatedAt": "2022-08-22T10:08:19.000Z",
    "resource": 34
  },
  {
    "id": 678,
    "createdAt": "2022-08-22T16:47:50.000Z",
    "email"<EMAIL_ADDRESS>    "roles": ["OWNER"],
    "resource": {
      "id": 61,
      "createdAt": "2022-08-22T16:47:49.639Z",
      "events": [
        {
          "id": 1070,
          "createdAt": "2022-08-22T16:47:49.640Z",
          "type": "SHARE",
          "data": "Design was shared",
          "author"<EMAIL_ADDRESS>          "resource": {
            "id": 61,
            "createdAt": "2022-08-22T16:47:49.639Z",
            "emailSharing": [
              {
                "id": 677,
                "createdAt": "2022-08-22T16:47:49.639Z",
                "email"<EMAIL_ADDRESS>                "roles": ["APPROVER"],
                "updatedAt": "2022-08-22T16:47:49.643Z"
              },
              {
                "id": 678,
                "createdAt": "2022-08-22T16:47:50.000Z",
                "email"<EMAIL_ADDRESS>                "roles": ["OWNER"],
                "updatedAt": "2022-08-22T16:47:50.000Z"
              }
            ],
            "referenceId": "asd10x",
            "referenceType": "DESIGN_REVIEW",
            "designStatus": {
              "id": 61,
              "status": "SHARED",
              "resource": {
                "id": 61,
                "createdAt": "2022-08-22T16:47:49.639Z",
                "emailSharing": [
                  {
                    "id": 677,
                    "createdAt": "2022-08-22T16:47:49.639Z",
                    "email"<EMAIL_ADDRESS>                    "roles": ["APPROVER"],
                    "updatedAt": "2022-08-22T16:47:49.643Z"
                  },
                  {
                    "id": 678,
                    "createdAt": "2022-08-22T16:47:50.000Z",
                    "email"<EMAIL_ADDRESS>                    "roles": ["OWNER"],
                    "updatedAt": "2022-08-22T16:47:50.000Z"
                  }
                ],
                "referenceId": "asd10x",
                "referenceType": "DESIGN_REVIEW",
                "linkShare": null
              },
              "lastView": "2022-08-22T16:47:49.642Z",
              "updatedAt": "2022-08-22T16:47:49.642Z"
            },
            "linkShare": null
          }
        }
      ],
      "emailSharing": [
        {
          "id": 677,
          "createdAt": "2022-08-22T16:47:49.639Z",
          "email"<EMAIL_ADDRESS>          "roles": ["APPROVER"],
          "updatedAt": "2022-08-22T16:47:49.643Z"
        },
        {
          "id": 678,
          "createdAt": "2022-08-22T16:47:50.000Z",
          "email"<EMAIL_ADDRESS>          "roles": ["OWNER"],
          "updatedAt": "2022-08-22T16:47:50.000Z"
        }
      ],
      "referenceId": "asd10x",
      "referenceType": "DESIGN_REVIEW",
      "designStatus": {
        "id": 61,
        "status": "SHARED",
        "resource": {
          "id": 61,
          "createdAt": "2022-08-22T16:47:49.639Z",
          "events": [
            {
              "id": 1070,
              "createdAt": "2022-08-22T16:47:49.640Z",
              "type": "SHARE",
              "data": "Design was shared",
              "author"<EMAIL_ADDRESS>              "resource": {
                "id": 61,
                "createdAt": "2022-08-22T16:47:49.639Z",
                "emailSharing": [
                  {
                    "id": 677,
                    "createdAt": "2022-08-22T16:47:49.639Z",
                    "email"<EMAIL_ADDRESS>                    "roles": ["APPROVER"],
                    "updatedAt": "2022-08-22T16:47:49.643Z"
                  },
                  {
                    "id": 678,
                    "createdAt": "2022-08-22T16:47:50.000Z",
                    "email"<EMAIL_ADDRESS>                    "roles": ["OWNER"],
                    "updatedAt": "2022-08-22T16:47:50.000Z"
                  }
                ],
                "referenceId": "asd10x",
                "referenceType": "DESIGN_REVIEW",
                "linkShare": null
              }
            }
          ],
          "emailSharing": [
            {
              "id": 677,
              "createdAt": "2022-08-22T16:47:49.639Z",
              "email"<EMAIL_ADDRESS>              "roles": ["APPROVER"],
              "updatedAt": "2022-08-22T16:47:49.643Z"
            },
            {
              "id": 678,
              "createdAt": "2022-08-22T16:47:50.000Z",
              "email"<EMAIL_ADDRESS>              "roles": ["OWNER"],
              "updatedAt": "2022-08-22T16:47:50.000Z"
            }
          ],
          "referenceId": "asd10x",
          "referenceType": "DESIGN_REVIEW",
          "linkShare": null
        },
        "lastView": "2022-08-22T16:47:49.642Z",
        "updatedAt": "2022-08-22T16:47:49.642Z"
      },
      "linkShare": null
    },
    "updatedAt": "2022-08-22T16:47:50.000Z"
  }
]

Expected behavior
Value saved to query result cache should not contain additional data.  It should be
[
  {
    "id": 423,
    "email"<EMAIL_ADDRESS>    "personalAccountId": 2225,
    "roles": ["OWNER"],
    "createdAt": "2022-08-13T10:08:19.000Z",
    "updatedAt": "2022-08-22T10:08:19.000Z",
    "resource": 34
  },
  {
    "id": 678,
    "createdAt": "2022-08-22T16:47:50.000Z",
    "email"<EMAIL_ADDRESS>    "roles": ["OWNER"],
    "resource": 61
    }
 ]

Versions

Dependency
Version

node
16.15.1

mikro-orm
5.2.3

mysql
5.2.3

The cache stores whatever you have in the context, it is not dependent on the populate hints.
Sounds like a wontfix, but please provide complete repro so I can better understand what you are talking about. I am not really sure what exactly are you checking, if you reset the cache, the following query simply wont get anything from it and provide you with what is currently in the context (saving it to the result cache afterwards).


[Improvement-11339] Split ExecutionStatus to WorkflowExecutionStatus and TaskExecutionStatus

Purpose of the pull request
close #11339
Brief change log

Split ExecutionStatus to WorkflowExecutionStatus and TaskExecutionStatus
Remove ExecutionStatus

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Codecov Report

Merging #11340 (c43716a) into dev (0fdec2c) will decrease coverage by 0.12%.
The diff coverage is 27.62%.

@@             Coverage Diff              @@
##                dev   #11340      +/-   ##
============================================
- Coverage     40.28%   40.16%   -0.13%
+ Complexity     4846     4659     -187
============================================
  Files           974      970       -4
  Lines         37323    36913     -410
  Branches       4141     4137       -4
============================================
- Hits          15036    14826     -210
+ Misses        20739    20548     -191
+ Partials       1548     1539       -9

Impacted Files
Coverage Δ

...heduler/api/controller/TaskInstanceController.java
55.55% <ø> (ø)

...e/dolphinscheduler/dao/entity/ProcessInstance.java
0.00% <ø> (-65.57%)
:arrow_down:

...ver/master/consumer/TaskPriorityQueueConsumer.java
0.00% <0.00%> (ø)

...ler/server/master/event/TaskDelayEventHandler.java
0.00% <0.00%> (ø)

.../server/master/event/TaskDispatchEventHandler.java
0.00% <0.00%> (ø)

...r/master/event/TaskRejectByWorkerEventHandler.java
0.00% <0.00%> (ø)

...er/server/master/event/TaskResultEventHandler.java
0.00% <0.00%> (ø)

...erver/master/event/TaskRetryStateEventHandler.java
0.00% <0.00%> (ø)

...r/server/master/event/TaskRunningEventHandler.java
0.00% <0.00%> (ø)

...ler/server/master/event/TaskStateEventHandler.java
0.00% <0.00%> (ø)

... and 88 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@caishunfeng Please take a look, this PR is ready to review.

@ruanwenjun Hi, I have a problem with your PR, can you help me with it?
when I try to stop a process instance with a task node(we'll say x) of SubProcess type, I found the parent process instance' state is always READY_STOP(4), never change to STOP(5),
and the task instance of node(x)' state is RUNNING_EXECUTION(1), but the state of sub process instance (related to node(x)) is STOP(5),
server log:

code:

can you help complete the TODO things?


upgrade golang version to 1.13.6 & upgrade golangci-lint

What this PR does / why we need it:
Add your description
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @hanxueluo

Release note:

NONE

/lgtm


I am a student of Tsinghua University. I want to ask whether u2net only supports single category segmentation. For example, for the picture of people riding on bicycles, can people and bicycles be separated separately? Thank you. Thank you very much

I am a student of Tsinghua University. I want to ask whether u2net only supports single category segmentation. For example, for the picture of people riding on bicycles, can people and bicycles be separated separately? Thank you. Thank you very much

This is a good question. Since other task now is dichotomous image
segmentation, we didn't define the to-be-segmented targets explicitly. The
to-be-segmented targets are actually defined by our dataset. As for your
example of the bike and people, we would like to segment both human and
bike. Because in practical applications like image editing, users are more
likely to segment the foreground which in your example includes both human
and bike. Another example in our dataset is the table_and_chair category.
Because table and chair sometimes appear close to each other and are hard
to be excluded. Hence, both are segmented in some scenarios. In addition to
defining the categories, we also need to think about (or guess) what are
expected by different applications and users. According to our experiences,
when a human is riding a bike, users are more likely to segment both. In
our dataset collection process, we take the above concerns into
consideration. We don't follow the previous rules which define the task by
the semantic meaning or characteristic of the targets. The key rule
followed by our data collecting and annotation excluding any conflicting
annotations, which is the basis of our task. Because deep models are
actually fitting a transformation between input and output. It really
doesn't care about if you are segmenting human, satellite image, or medical
image. If your model capacity is enough, you can even combine all the
dichotomous image segmentation tasks together. The only premise is that
your annotations of the dataset are non-conflicting. So that is why our
task is defined as Dichotomous Image Segmentation other than certain object
segmentation. Following this rule, our DIS task is an open framework and
can be further expanded by adding more non-conflicting samples, which is
currently ongoing for our DIS 2.0.
On Sun, Jul 17, 2022 at 11:04 PM xianglei3 @.***> wrote:

I am a student of Tsinghua University. I want to ask whether u2net only
supports single category segmentation. For example, for the picture of
people riding on bicycles, can people and bicycles be separated separately?
Thank you. Thank you very much
—
Reply to this email directly, view it on GitHub
https://github.com/xuebinqin/U-2-Net/issues/316, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADSGORNPG5EPULC7ZPF7PWLVUTXWLANCNFSM533BZKFA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Xuebin Qin
PhD
Department of Computing Science
University of Alberta, Edmonton, AB, Canada
Homepage: https://xuebinqin.github.io/


make buildSegmentInternal raise error out explicitly

this fixes the issue when datamanager doesn't log segment error properly and shown to user. stacktrace basically only returns a null value and not useful for debugging.

Codecov Report

Merging #7896 (5aebcb1) into master (fb12a50) will decrease coverage by 56.95%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #7896       +/-   ##
=============================================
- Coverage     71.34%   14.39%   -56.96%
+ Complexity     4087       80     -4007
=============================================
  Files          1587     1542       -45
  Lines         82071    80201     -1870
  Branches      12267    12062      -205
=============================================
- Hits          58553    11542    -47011
- Misses        19550    67804    +48254
+ Partials       3968      855     -3113

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
?

unittests2
14.39% <0.00%> (-0.06%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@walterddr is there an issue created that has some details on what really happened? Or else, if you can describe what the problem was, that will help as well (maybe it was discussed in the chat channel, but it would help to have it in this PR). Thanks

@walterddr is there an issue created that has some details on what really happened? Or else, if you can describe what the problem was, that will help as well (maybe it was discussed in the chat channel, but it would help to have it in this PR). Thanks

this was actually a very great question @mcvsubbu .
so initially the PR was only to address the fact that 2 of the place where _realtimeTableDataManager.addSegmentError only logs a single string "Could not build segment", with no stack trace attached.
I later discover that this is because the several protected functions that returns "null" indicating the segment creation fail doesn't bubble up the stack trace therefore there's no stacktrace to report.
Thanks for calling this out I think we deviated from the original purpose of this PR. I think we are now addressing a related but different (and bigger) issue.
I can create an issue for what's being discussed here. But for the null-stacktrace issue we can simple move the reporting to where the actual exception was thrown. what do you guys think? (@sajjad-moradi @Jackie-Jiang )

I can create an issue for what's being discussed here. But for the null-stacktrace issue we can simple move the reporting to where the actual exception was thrown. what do you guys think? (@sajjad-moradi @Jackie-Jiang )

That's a good idea. It makes the changes in this PR small. We can create a separate PR for the other issue.

sounds good. i will go ahead and summarize and create the issue; meanwhile I created a simpler PR to address the null stacktrace here: #7909

I still don't understand the problem that was faced in the installation (or, is this something you noticed in the source and want to fix)? The reason I ask is that there are many things going on when the segment finishes, and changing the behavior around that time needs to be done carefully.
Assuming this was a problem in some installation, can you elaborate the issue? (e.g. you noticed segment was not consuming, you looked at the debug api, but found null stack traces, you looked at the server logs and found the segment build had failed due to X -- put down the reason please). Thanks! And if you found a stack trace in the server that you would like to see in debug API, please add that as well. We need to know if the stack trace was while transitioning from consuming to online, or whether it was before that during segment completion protocol.
thanks for your patience.

closing this. please move to issue for discussion.


#4146 Fix/uv available parallelism cgroup

PR to fix #4146

Was this PR opened to the fork instead of upstream on purpose?

@SimenB yes my mistake, I reopened on upstream : https://github.com/libuv/libuv/pull/4278


Add option to hide embedded elements

Is your feature request related to a problem? Please describe.
I am right now using typegoose and I start to see some limitations. I am interested by mikro orm. Using mongo db we have a lot of embedded data structure. Sometimes it is useful to hide the structure embedded. From what I have read and tried, it does not seem possible for now.
Describe the solution you'd like
Add an option in embedded to hide data like for the property decorator.

You can set the property as hidden: true and it will not be part of the serialized response. It will still be present on the runtime, e.g. if you console.log the entity, but if you serialize it to JSON, it won't be there. This should work for any kind of property.
https://mikro-orm.io/docs/4.4/serializing/#hidden-properties

I don't think I can use the property hidden into the @Embedded.
If I do use the following example. Currently using mongo, I want the array of notes to be store inside the candidate as a sub document.
export class Note {
  @Property()
  content!: string;
}

@Entity({ collection: "candidates" })
export class MCandidate {
  @PrimaryKey()
  _id: string;

  @Property()
  firstName: string;

  @Property()
  lastName: string;

  // HERE: no hidden for embedded ?
  @Embedded(() => Note, { array: true })
  public notes?: Array<Note>;

  @Property()
  get totalNotes() {
    return this.notes.length;
  }
}

I would like to hide these notes using @Embedded and only return the getter about their number. I don't think it's possible, unless I concert notes into an entity, but it will be store in a different collection no ?

That is probably just a typings issue, try casting:
  @Embedded(() => Note, { array: true, hidden: true } as any)
  public notes?: Array<Note>;

Please verify it works, if yes I can add it to the options right ahead.
As an alternative you can always use custom toJSON method, but this should work just fine.

Yes you are right it is working, notes are now hidden. That's good, definitely it would be nice to add the property in the interface.
Another small question related to the embedded. Is it possible to create a embedded structure based on the Single Table Inheritance ? Basically if I want my notes to have a different structure depending a type property storing all these as a sub document array (and not my notes in a new collection) ?
I know it's possible using the Entities but that would be very nice too. Something looking like this:
@Embeddable({
  discriminatorColumn: 'type',
  discriminatorMap: { textNote: 'TextNote', accountingNote: 'AccountingNote' },
})
export abstract class AbstractNote {
  @Enum()
  type!: "text" | "accounting";
}

@Embeddable()
export class TextNote extends AbstractNote {
  @Property()
  description: string;
}

@Embeddable()
export class AccountingNote extends AbstractNote {
  @Property()
  value: number;
}

And use it like this in the candidate:
  @Embedded(() => AbstractNote, { array: true, hidden: true } as any)
  public notes?: Array<AbstractNote>;

That is actually implemented in v5 already, I was working on that few days ago (#2426):
https://mikro-orm.io/docs/next/embeddables#polymorphic-embeddables

Looks amazing 😀. Thank you very much, I will use this when the version 5 is out then !
Thank you for your quick
answers and hopefully we can move our stack to mikro orm soon !


fix: 🐛 Handle self transfer case when checking asset transfer

Description
Some of the errors handling was missing in canTransfer method. This adds those checks
Breaking Changes
NA
JIRA Link
DA-1352
Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 26.0.0-alpha.6 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 26.0.0-beta.3 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 26.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ControlNet with SAM mask condition

Thanks for the great ControlNet. We have trained a ControlNet based on the SAM segmentation mask for fine-grained image generation.
This model can help to use SAM for image generation and editing. We hope this side project can help with more interesting applications. Looking for contributions and suggestions!
https://github.com/sail-sg/EditAnything

how is the label color computed? random color?

Yes, the label color is randomly generated. We didn't use the random color for training, it's just for visualization.

cool! is it fine tuned from canny or scribble model?

@alelordelo I was actually going to ask if this is possible as I plan to train the control net on my dataset comprised of segmentations and prompts.
I assume it is currently not possible to train with segmentations then?

I think not now... : /

@gasvn @lllyasviel @sethupavan12 , did you do any progress on the segmented training?

@alelordelo Yes....in a manner of speaking. Basically I simplified my problem.
Initially, I had a segmentation image like the following

But then I realised I didn't need the other body parts as my main focus is just clothing/ body area as I was working on virtual try on problem.
So I masked out the useless areas and masked the areas I want to train on.
Masked area cut from main image looks like

Then trained with the prompts the original image has something like Woman wearing blue skirt etc.

Might not apply to everyone but yeah thats what I ended up doing.

But ofc removing the "useless" area would mean I can't generate as low-level I want, or specific areas. Segmentation training would save you a lot of time. but if u got time, maybe u can just mask each part and train each part ? I have not tried this so idk

Ok, so basically you trained:
prompt + segmentation map (all masks) = image
And then inference:
prompt + masked area = output image
Is that it?
I guess this will work for dresses as your example, but not for full looks (shirt + pants + shoes)?
For this case, you would need to match prompt with mask region I think?


Added more troubleshooting info

In regards to https://github.com/jetstack/cert-manager/issues/2980

/assign @meyskens

Thanks for this! Changed the wording a bit to be more general and not ingress-shim specific. Let me know what you think then happy to merge :)
/override dco
/ok-to-test

/lgtm
/approve
/override dco


Toolbar menu can be opened multiple times

Toolbar menu can be opened multiple times if tapped quickly. Then you have to tap somewhere multiple times to close them all.

in the debug mode the react native is slow, maybe fix in the release mode

It actually occurs on multiple real devices.

Agreed, menu button needs debouncing to prevent this.


CHAOSS

Plus Yo Yehudi's work. Insights on technical metrics we might want to have a look at.

[x] CHAOSS
[x] OpenScience Study
[x] OMG Science

Notes in the Wiki.