text:
Document retired node replacement in ES

Description

This PR documents the procedure to follow for replacing a retired Elasticsearch node in our custom, self-managed Elasticsearch cluster.
Testing Instructions

Review the plan and make sure the instructions are clear.
Checklist

[x] My pull request has a descriptive title (not a vague title likeUpdate index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.
[x] I ran the DAG documentation generator (just catalog/generate-docs for catalog
PRs) or the media properties generator (just catalog/generate-docs media-props
for the catalog or just api/generate-docs for the API) where applicable.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Drafting this PR while I 1:

Make adjustments to the specific deployment process
Reconsider it's existence; this might be better suited as an ansible playbook in the infra repository

@zackkrida Since the node replacement is complete, do you think we can undraft this? Even if we eventually move this to a playbook, it'd be good to have the documentation in the meantime just in case, IMO!

@AetherUnbound it's updated, undrafted, and ready for review :smile:

@sarayourfriend issue here https://github.com/WordPress/openverse-infrastructure/issues/911

authors: AetherUnbound zackkrida

repo: WordPress/openverse


text:
Work on the description to the questions added in the PRODUCTIVITY page of Skill Assessment Spreadsheet

While writing description of the questions one main question should be kept in mind that:
- What kind of description can be added in the page for the questions so that when interviewee taking interview can judge/grade the interviewer according to the description?

As a description you need to mention a few recent examples of fascinating or unusual topics that can help in describing the questions. The description should be for understanding, explore or discovering the questions demand.
You can also give pictorial representation as description to the questions.
Evaluate the interviewer's response based on the uniqueness and relevance of the topics they have learned about, as well as their ability to articulate why they found these topics interesting.
Description should be given in a way that evaluate the interviewer's response based on the relevance and potential impact of the topic they would like to learn about, as well as the level of genuine curiosity and enthusiasm they express for this topic.
You can add the description in the areas that are empty.

Hi,
I have started working on it today.

Completed

source: gharchive/issue

repo: WorldEnterpriseGroup/reveltek

license: MIT

license_type: permissive

license_source: github-api


text:
Compatibility with ipywidgets 8.x

This PR aims to make the pywwt widget compatible with ipywidgets 8.x, which currently seems to not be the case. I was trying to use the Jupyter widget in a glue-wwt context together with some of the new widgets from ipywidgets 8 but kept getting the following error:
Model class 'WWTModel' from module 'pywwt' is loaded but can not be instantiated
TypeError: r._deserialize_state is not a function
    at f._make_model (http://localhost:8889/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:7933)

After some investigation, it seems that we need to update our widget JS to use ES6 class notation (see here), which is the content of this PR. With these changes, the widget works for me locally with both ipywidgets 7.x and 8.x.

Thanks for tracking this down!

source: gharchive/pull-request

repo: WorldWideTelescope/pywwt


text:
Web import/toasting code for AVM images ignores reference pixel

This code is not yet held in github; incorporating it has been requested in a separate ticket #5
The web import page code that imports AVM-tagged images:
http://www.worldwidetelescope.org/Developers/?ImportImage
ignores the ReferencePixel and just assumes the reference value RA, Dec is at the geometric center of the image.
Many images import correctly, but they share the common property of having the reference pixel assigned to the center of the image, e.g.:
http://astropix.ipac.caltech.edu/image/WISE/WISE2013-001
However others in which the reference pixel is offset to other locations in the image appear shifted from their correct positions. These images are displayed as being centered on their middle pixel, which is being placed at the RA, Dec specified by the reference value, e.g.:
http://astropix.ipac.caltech.edu/image/WISE/WISE2012-004
The desktop client handles this properly and the image displays correctly. It centers the image on the reference pixel and puts it into the center of the screen. This means that images with reference pixels offset from the image center will appear to not be centered in WWT visually, though they are correctly aligned with the background.
There are two potential ways to fix this behavior:

read the ref pix number and make sure the sliced image is centered on the offset pixel

keep the image centered on its center pixel, but recompute what the reference value should be at this location looking at its offset from the ref pixel

The second may be more visually appealing since it will keep the referenced image centered in the viewer (and would also be a good way to handle the display in the desktop/web clients as well). But either solution would be fine for maintaining correct registration in the sky.

Oh thank you thank you thank you @AstroRob for debugging this!!! :tada: :100: :rocket: :star2:
I've been agitating about this for years, with nothing more than, "your wcs must be bad", as a reply.

Just to clarify @augustfly, this bug applies specifically to the web page and not the client software (which handles this correctly). But yeah, good to have a place to log things!

authors: AstroRob augustfly

repo: WorldWideTelescope/wwt-home

license_source: bigquery


text:
Admin panel

Implement an admin user interface
This will be useful for things such as managing plugins, tweaking configuration, managing  the playlists, etc.

an http API needs implementing (maybe REST),
interface itself can be either made as a webpage itself, or an external client can be made (Qt, GTK, Tkinter, Swing, whatever).
As this is implemented as an API, could actually implement some functionality in as a userscript (maybe as a ExtPlug plugin)

whoa, i really like the idea of a userscript to add the missing functionality... that would blow litebot out of the water :P

authors: pironic ylt

repo: WritheM/Wallace

license: mit


text:
redis plugin and more

I love to see Redis, Hadoop, Kafka etc added as plugins
also I'd love to talk about the project and how I could help out on discord

hey @himothy2110, thanks for opening this issue -- sorry I'm replying so late, it has been a busy few weeks.
Those plugins sound like great additions. I've already got an issue for Redis (#29). Let me know if you're still available to help out and I can hop on discord with you.

yeah sorry for the late reply too, my discord is danikhan632#2543
I'd also love to make some documentation for this

repo: Wulf/create-rust-app


text:
Negative amplitudes in HawkesSumGaussians

Hello,
I believe there is a bug in the implementation of the algorithm HawkesSumGaussians. In the paper defining the algorithm, the amplitudes of the kernel bases are defined to be non-negative (See Equation 4). However, the amplitudes attributes of a fitted HawkesSumGaussians can be negative.
Here is a minimal example to reproduce the issue (tested on the current version tick==0.7.0.1):
import numpy as np
import tick.hawkes

# Generate model parameters
n_nodes = 4
adjacency = np.array([[1, 1, 0, 0],
                      [0, 1, 0, 0],
                      [0, 0, 1, 1],
                      [0, 0, 0, 1]]) * 0.5
baseline = np.ones(n_nodes) * 0.1
decays = 1.0

# Simulate a realization of the process
hawkes_simu = tick.hawkes.SimuHawkesExpKernels(adjacency=adjacency, decays=decays,
                                               baseline=baseline, max_jumps=50e3,
                                               verbose=False, seed=123)
hawkes_simu.simulate()

# Run inference with MLE-SGLP
hawkes = tick.hawkes.HawkesSumGaussians(max_mean_gaussian=10.0, n_gaussians=5,)
hawkes.fit(hawkes_simu.timestamps)

print(hawkes.hawkes.amplitudes.min())

I believe the issue comes from the definition of the soft-thresholding function soft_thres. In the code, the sign function is defined on {-1, 1}, but I think it should be defined on {0, 1}, i.e., it should be zero if the input is negative (not -1).
If you agree that this is indeed a bug, then I guess the fix should be as easy as replacing the soft_thres function into
double soft_thres(double z, double alpha) {
  return (z > 0 ? std::max(std::abs(z) - alpha, 0.) : 0.);
}

I have noticed this problem too.
Is it possible that the amplitude may be negative, but limited to a maximum of the baseline amplitude (called mu_i here)?  That would seem at least conceptually reasonable to me.  Although I dont know if it would undermine stability of the optimization or not.

authors: Jbollenbacher trouleau

repo: X-DataInitiative/tick


text:
🛑 XAONIX.com is down

In 95842ef, XAONIX.com (https://xaonix.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XAONIX.com is back up in 64406b9.

repo: XAONIX/status


text:
Add start and end parameters for Apply Flux ControlNet node

Add start and end parameters to Apply Flux ControlNet node

Sometimes you want to nudge the image a certain way with high strength at the beginning of the sampling, and then let the image generate as normal for the rest of the steps.
Using this depth map:

Prompt: portrait of an evil goblin, pixel art style
Comparisons all on the same seed.
strength: 1.0
start: 0.0
end: 0.1

strength: 0.1
start: 0.0
end: 1.0

strength: 1.0
start: 0.0
end: 1.0

Hello, please add it as "Apply Advanced ControlNet", thanks

I have separated the nodes:

repo: XLabs-AI/x-flux-comfyui


text:
XLS-39 Clawback:

High Level Overview of Change

Introduces:

AccountRoot flag: lsfAllowClawback
New Clawback transaction

More info on clawback spec: https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-39d-clawback

Type of Change

[ ] 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 not work as expected)
[ ] Refactor (non-breaking change that only restructures code)
[x] Tests (You added tests for code that already exists, or your new feature included in this PR)
[ ] Documentation Updates
[ ] Release

Read for re-review

Okay :+1
Regards,
Keshava
On Mon, Jun 12, 2023 at 7:24 AM Shawn Xie @.***> wrote:

@.**** commented on this pull request.
In src/ripple/app/tx/impl/InvariantCheck.h
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1226758996__;Iw!!PZTMFYE!8wgbaGoa9BQNenv6FncWdzP1mwn5gZyoBmSzmSnUvtb1Rd1srWNGtdd7xhqPjz98NghBXyXpUPTmhzut2G00qwSufg$
:

@@ -365,6 +365,32 @@ class NFTokenCountTracking
beast::Journal const&);
};

+/**

@brief Invariant: Trust line balance cannot be negative after Clawback.

We iterate all the trust lines affected by this transaction and ensure

that they have non-negative balance.

*/
+class ValidClawback
+{
std::uint32_t trustlinesChanged = 0;

From my understanding, I think ValidClawback::visitEntry will iterated on
every ledger object that was changed as a result of the transaction. And
trustlinesChanged is incremented each time it encounters a RIPPLE_STATE(trustline)
object.
For a Clawback transaction, trustlinesChanged could only be 0 or 1. This
is why in ValidClawback::finalize, there is a guard to check for the
transaction type:
if (tx.getTxnType() != ttCLAWBACK)
    return true;

On the other hand, it's possible that other type of transactions(I think
Payment?) could potentially change 2 or more trustline objects in the
transaction. In that case, trustlinesChanged could be some number greater
than 1 (since visitEntry is iterated on modified objects for all
transaction types).
In your hypothetical scenario, if more than one trustlines are changed,
visitEntry will keeps count of the total number of modified trustlines as
it iterates through all the objects that were changed
if (before && before->getType() == ltRIPPLE_STATE)
    trustlinesChanged++;

—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1226758996__;Iw!!PZTMFYE!8wgbaGoa9BQNenv6FncWdzP1mwn5gZyoBmSzmSnUvtb1Rd1srWNGtdd7xhqPjz98NghBXyXpUPTmhzut2G00qwSufg$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AFB4TNOP4ACRRFKB6RY2SYDXK4RAVANCNFSM6AAAAAAYVQTDOU__;!!PZTMFYE!8wgbaGoa9BQNenv6FncWdzP1mwn5gZyoBmSzmSnUvtb1Rd1srWNGtdd7xhqPjz98NghBXyXpUPTmhzut2G0fiQ50vg$
.
You are receiving this because you were mentioned.Message ID:
@.***>

OK
Regards,
Keshava
On Mon, Jun 12, 2023 at 8:00 AM Shawn Xie @.***> wrote:

@.**** commented on this pull request.
In src/ripple/protocol/LedgerFormats.h
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1226813380__;Iw!!PZTMFYE!6us3bO5uMoIl3enCg70sOng6xAezazpV1cJ6ZjgeOxiB6ETN6KTchdo8TerqSyQ9UAiU0SGBPY2vHFuY1jHetZvV7A$
:

@@ -243,6 +243,9 @@ enum LedgerSpecificFlags {
0x10000000,               // True, reject new paychans
lsfDisallowIncomingTrustline =
0x20000000,               // True, reject new trustlines (only if no issued assets)

lsfAMM [[maybe_unused]] = 0x40000000, // True, AMM account

This flag is added in the AMM PR #4294
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4294__;!!PZTMFYE!6us3bO5uMoIl3enCg70sOng6xAezazpV1cJ6ZjgeOxiB6ETN6KTchdo8TerqSyQ9UAiU0SGBPY2vHFuY1jGVrHHEKg$.
I added it as a placeholder to give more clarity for upcoming PRs or
resolving conflicts.
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1226813380__;Iw!!PZTMFYE!6us3bO5uMoIl3enCg70sOng6xAezazpV1cJ6ZjgeOxiB6ETN6KTchdo8TerqSyQ9UAiU0SGBPY2vHFuY1jHetZvV7A$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AFB4TNPXF2OIXNDGLZ4AIATXK4VG3ANCNFSM6AAAAAAYVQTDOU__;!!PZTMFYE!6us3bO5uMoIl3enCg70sOng6xAezazpV1cJ6ZjgeOxiB6ETN6KTchdo8TerqSyQ9UAiU0SGBPY2vHFuY1jHBPzpS1g$
.
You are receiving this because you were mentioned.Message ID:
@.***>

okay
Regards,
Keshava
On Mon, Jun 12, 2023 at 8:04 AM Shawn Xie @.***> wrote:

@.**** commented on this pull request.
In src/ripple/protocol/LedgerFormats.h
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1226820139__;Iw!!PZTMFYE!7VHy5AhVwTUTAjmYCmhjNHTTxhDsT_VlBwGFVV9es-JJiRKkp60J8TT_czflStJkPTccIOat6nIqaEnb3MvyUz-O_A$
:

@@ -243,6 +243,9 @@ enum LedgerSpecificFlags {
0x10000000,               // True, reject new paychans
lsfDisallowIncomingTrustline =
0x20000000,               // True, reject new trustlines (only if no issued assets)

lsfAMM [[maybe_unused]] = 0x40000000, // True, AMM account
lsfAllowClawback =

   0x80000000,               // True, enable clawback

I chose it because this is the next available flag. I don't think there is
a clean way of deciding the flag value. But what I did is I looked over the amendment
proposals
https://urldefense.com/v3/__https://github.com/XRPLF/XRPL-Standards/discussions__;!!PZTMFYE!7VHy5AhVwTUTAjmYCmhjNHTTxhDsT_VlBwGFVV9es-JJiRKkp60J8TT_czflStJkPTccIOat6nIqaEnb3MvON2ECnA$,
as well as their PRs, to find out which flag values are in use.
Since the AccountRoot Flags is a 32-bit bitmask, I chose 0x80000000
because it is simply the last remaining flag value that haven't been used.
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1226820139__;Iw!!PZTMFYE!7VHy5AhVwTUTAjmYCmhjNHTTxhDsT_VlBwGFVV9es-JJiRKkp60J8TT_czflStJkPTccIOat6nIqaEnb3MvyUz-O_A$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AFB4TNNGWYYKTRQ4R4GOLALXK4VZRANCNFSM6AAAAAAYVQTDOU__;!!PZTMFYE!7VHy5AhVwTUTAjmYCmhjNHTTxhDsT_VlBwGFVV9es-JJiRKkp60J8TT_czflStJkPTccIOat6nIqaEnb3MtmYgUq9A$
.
You are receiving this because you were mentioned.Message ID:
@.***>

okay
Regards,
Keshava
On Mon, Jun 12, 2023 at 8:12 AM Shawn Xie @.***> wrote:

@.**** commented on this pull request.
In src/ripple/app/tx/impl/SetAccount.cpp
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1226829860__;Iw!!PZTMFYE!--Vh8h-6s4c6RW91sTAFqBl-pYv8d_poEOj809Y1RZNTOSXdx8kapTX0mlJDjPnxe-3G91ZaDoILAwcvrjL5j3u7yQ$
:

@@ -218,6 +218,37 @@ SetAccount::preclaim(PreclaimContext const& ctx)
}
}

//
// Clawback
//
if (ctx.view.rules().enabled(featureClawback))
{

   if (uSetFlag == asfAllowClawback)

   {

       if (uFlagsIn & lsfNoFreeze)

       {

           JLOG(ctx.j.trace()) << "Can't set Clawback if NoFreeze is set";

           return tecNO_PERMISSION;

       }

       if (!dirIsEmpty(ctx.view, keylet::ownerDir(id)))

Clawback doesn't trigger this code. It's triggered by an AccountSet
transaction
https://urldefense.com/v3/__https://xrpl.org/accountset.html*accountset-flags__;Iw!!PZTMFYE!--Vh8h-6s4c6RW91sTAFqBl-pYv8d_poEOj809Y1RZNTOSXdx8kapTX0mlJDjPnxe-3G91ZaDoILAwcvrjJUCN6wKQ$.
An account flag can be set by specifying a value for the SetFlag parameter
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1226829860__;Iw!!PZTMFYE!--Vh8h-6s4c6RW91sTAFqBl-pYv8d_poEOj809Y1RZNTOSXdx8kapTX0mlJDjPnxe-3G91ZaDoILAwcvrjL5j3u7yQ$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AFB4TNKFAGEGLOS4J7XCNH3XK4WVXANCNFSM6AAAAAAYVQTDOU__;!!PZTMFYE!--Vh8h-6s4c6RW91sTAFqBl-pYv8d_poEOj809Y1RZNTOSXdx8kapTX0mlJDjPnxe-3G91ZaDoILAwcvrjK4WlYOBg$
.
You are receiving this because you were mentioned.Message ID:
@.***>

Regards,
Keshava
On Mon, Jun 12, 2023 at 9:45 AM Shawn Xie @.***> wrote:

@.**** commented on this pull request.
In src/ripple/app/tx/impl/SetAccount.cpp
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1226941768__;Iw!!PZTMFYE!5SAwdIBi-qiCGCdzkwthNsiJcUJPW7DVniwwf1FFs1nysDvBBnN3Q2wIUCBLk1ILR8elly8QjHgwFIlmaZjjjeTv0g$
:

if (ctx_.view().rules().enabled(featureClawback) &&

   uSetFlag == asfAllowClawback)

{

   JLOG(j_.trace()) << "set allow clawback";

   uFlagsOut |= lsfAllowClawback;

}

@ckeshava
https://urldefense.com/v3/__https://github.com/ckeshava__;!!PZTMFYE!5SAwdIBi-qiCGCdzkwthNsiJcUJPW7DVniwwf1FFs1nysDvBBnN3Q2wIUCBLk1ILR8elly8QjHgwFIlmaZjN2lsqbg$
I don't think this change would eliminate such checks in other parts of the
code. Invariant check is executed after a transaction.

Hmm, I didn't realise that, ok.

And it will still be mandatory to check this complementary property
during the preclaim (before an transaction) of an AccountSet.
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1226941768__;Iw!!PZTMFYE!5SAwdIBi-qiCGCdzkwthNsiJcUJPW7DVniwwf1FFs1nysDvBBnN3Q2wIUCBLk1ILR8elly8QjHgwFIlmaZjjjeTv0g$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AFB4TNISJAARRSTWFRGRXYLXK5BSZANCNFSM6AAAAAAYVQTDOU__;!!PZTMFYE!5SAwdIBi-qiCGCdzkwthNsiJcUJPW7DVniwwf1FFs1nysDvBBnN3Q2wIUCBLk1ILR8elly8QjHgwFIlmaZjur63MiA$
.
You are receiving this because you were mentioned.Message ID:
@.***>

Regards,
Keshava
On Mon, Jun 12, 2023 at 10:45 AM Shawn Xie @.***> wrote:

@.**** commented on this pull request.
In src/test/app/Clawback_test.cpp
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1227033168__;Iw!!PZTMFYE!_JVI1d53IQu2xC3PRCDSRVjcxcU3h4Mtu9Tt8n09D6V2cWkR-X65wd8BAv7rtgLo2QcN0TgiuJxhCzLXFgwRSD1Zww$
:

       env.require(balance(alice, bob["USD"](-100)));

       env.require(balance(bob, alice["USD"](100)));

       // cindy's balance is reduced

       env.require(balance(alice, cindy["USD"](-700)));

       env.require(balance(cindy, alice["USD"](700)));

   }

}

void
testBidirectionalLine(FeatureBitset features)
{

   testcase("Bidirectional line");

   using namespace test::jtx;

   // Test when both alice and bob issues USD to each other.

It is written in the spec, under Clawback transaction
Indicates the account which is executing this transaction. The account
MUST be the issuer of the asset being clawed back. Note that in the XRP
Ledger, trustlines are bidirectional and, under some configurations, both
sides can be seen as the "issuer" of an asset. In this specification, the
term issuer is used to mean the side of the trustline that has an
outstanding balance (i.e. 'owes' the issued asset) that it wishes to claw
back.

Okay, I must have missed it, mt bad.

—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1227033168__;Iw!!PZTMFYE!_JVI1d53IQu2xC3PRCDSRVjcxcU3h4Mtu9Tt8n09D6V2cWkR-X65wd8BAv7rtgLo2QcN0TgiuJxhCzLXFgwRSD1Zww$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AFB4TNJTFHTLNAQABAJC3ITXK5ISFANCNFSM6AAAAAAYVQTDOU__;!!PZTMFYE!_JVI1d53IQu2xC3PRCDSRVjcxcU3h4Mtu9Tt8n09D6V2cWkR-X65wd8BAv7rtgLo2QcN0TgiuJxhCzLXFgyR0YINPg$
.
You are receiving this because you were mentioned.Message ID:
@.***>

hmm okay
Regards,
Keshava
On Mon, Jun 12, 2023 at 11:14 AM Shawn Xie @.***> wrote:

@.**** commented on this pull request.
In src/ripple/app/tx/impl/Clawback.cpp
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1227064708__;Iw!!PZTMFYE!743UqBnBpxIU-XCPiQab5glbTqE03T4vWUdJcxWGENaIRkuxRVCWWB3JGdIMzIY5RQ1TT0lAu2rtg8UJTshQXckP8A$
:

+Clawback::preflight(PreflightContext const& ctx)
+{

if (!ctx.rules.enabled(featureClawback))

   return temDISABLED;

if (auto const ret = preflight1(ctx); !isTesSuccess(ret))

   return ret;

if (ctx.tx.getFlags() & tfClawbackMask)

   return temINVALID_FLAG;

AccountID const issuer = ctx.tx.getAccountID(sfAccount);
STAmount const clawAmount(ctx.tx.getFieldAmount(sfAmount));

// The issuer field is used for the token holder instead
AccountID const holder = clawAmount.getIssuer();

Not really, issuer is the right naming for Amount. clawback is merely
using this field in a "altered" way.
There is more info in the doc about Token Amount
https://urldefense.com/v3/__https://xrpl.org/currency-formats.html*token-amounts__;Iw!!PZTMFYE!743UqBnBpxIU-XCPiQab5glbTqE03T4vWUdJcxWGENaIRkuxRVCWWB3JGdIMzIY5RQ1TT0lAu2rtg8UJTsg5eExXgA$
.
[image: image]
https://urldefense.com/v3/__https://user-images.githubusercontent.com/35279399/245231157-51e316ed-94a4-4167-ae3a-aab574d38e8e.png__;!!PZTMFYE!743UqBnBpxIU-XCPiQab5glbTqE03T4vWUdJcxWGENaIRkuxRVCWWB3JGdIMzIY5RQ1TT0lAu2rtg8UJTsimz5bGsA$
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/XRPLF/rippled/pull/4553*discussion_r1227064708__;Iw!!PZTMFYE!743UqBnBpxIU-XCPiQab5glbTqE03T4vWUdJcxWGENaIRkuxRVCWWB3JGdIMzIY5RQ1TT0lAu2rtg8UJTshQXckP8A$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AFB4TNK2RMRPBTHCNJR627TXK5L7XANCNFSM6AAAAAAYVQTDOU__;!!PZTMFYE!743UqBnBpxIU-XCPiQab5glbTqE03T4vWUdJcxWGENaIRkuxRVCWWB3JGdIMzIY5RQ1TT0lAu2rtg8UJTsjJaAR4rQ$
.
You are receiving this because you were mentioned.Message ID:
@.***>

@nbougalis do you mind revisiting the PR to see it looks acceptable? Thanks

(note: nbougalis intends to review by this weekend)

authors: ckeshava intelliot shawnxie999

repo: XRPLF/rippled

license: ISC


text:
Native oculus pre updates

Overview
Updated default controller mapping profiles to new class names in Core
https://github.com/XRTK/XRTK-Core/pull/213

@SimonDarksideJ this is out of date. please update.

authors: SimonDarksideJ StephenHodgson

repo: XRTK/SDK


text:
Dev/msft hosted pipelines

XRTK - Mixed Reality Toolkit Pull Request
Overview

Test updated pipeline tasks on msft hosted VMs

/azp run

/azp run

/azp run

authors: FejZa StephenHodgson

repo: XRTK/XRTK-Core


text:
Make quick reference a top level section in docs

This PR moves the "Quick Reference" to the first level of sections and splits the corresponding rst file into several files.
This addresses the following two issues:

Docs look bare after outsourcing the background sections
Quick reference should have first order access

This is great, and really fast, thanks Maria!
One question though - what distinguishes the 'quick reference' section from the 'using PennyLane' section - aren't they the same? Like, why have Interfaces in 'Using', but 'Operations' (which are probably same importance level) in quick reference?
On a completely different tangent, this is something I wondered when going through your previous PR. How come 'Quantum Circuit' rather than 'Quantum Node'?

Quantum circuit just because people who look in the intro section don't necessarily know what a quantum node is, while circuit is common language.
Quick reference contains lists of PL building blocks that link to API, that any advanced user may need to look up what's currently available. "Using Pennylane" contains introductions and explanations for beginners...but if it's odd to you, maybe there is a better way to organise?
Feel free to ignore this PR if it is not improving the docs...

Quantum circuit just because people who look in the intro section don't necessarily know what a quantum node is, while circuit is common language.

:thumb:

Quick reference contains lists of PL building blocks that link to API, that any advanced user may need to look up what's currently available. "Using Pennylane" contains introductions and explanations for beginners...but if it's odd to you, maybe there is a better way to organise?

It does feel a bit odd, but mostly because it seems very similar to the 'API/qml' page. At the same time, I'm not really sure the best way to improve it.
Maybe it should be fleshed out with more (brief) examples like the Using PennyLane section? Something that comes to mind is tensor observables. This pattern won't show up in the API, but could be explained with brief examples in the 'Operations' section.
Another thing that won't show up in the API are the options for default qubit and default gaussian (i.e., going through details like number of shots, the analytic argument, etc).
Let me think about this a bit more.

Just getting a look at this now. I agree with @josh146 that "Quick Reference" seems to be out of place as a separate heading.
I had pictured that the items that were previously hidden within the "Quick Reference" page (ops, measurements, optimizers, templates, configuration) should be present on the TOC. But I think these all fit easily under "Using PennyLane", since that section gives a users an overview of all user-facing functionality.

I updated to put everything all the core stuff under one heading. I think it looks good (TOC is not bare), nothing is hidden away, and each page under the "Using PennyLane" fits naturally

I still have to do more careful review, but this looks great; thanks @mariaschuld!

Going to merge this, because I'm happy with the look. We'll go through individual pages 1-by-1 and polish them as separate PRs

repo: XanaduAI/pennylane


text:
Incrementing the version number to 0.22.0

Preparing for the release of Strawberry Fields 0.22.0.

Changelog has been updated with examples.

It should become a practice to add them every time when updating the changelog.

Yes, this should absolutely be the case, but we've just been a bit bad at including them. 😄

repo: XanaduAI/strawberryfields


text:
Select shipping address as returning customer: consistent button names

Reproduce:

login with account
make sure the account already stored a shipping address
put a random product in cart and open cart
click "Proceed to checkout"

Issue: Button name is inconsistent

button name on checkout pages for guest order: "Continue"

button name on shipping address page for returning customer: "Continue"

button name on billing address page for returning customer: "Use this billing address"

button name on payment page for returning customer: "Use this credit card"

Issue not fixed for poster v2.1.

authors: freddyka kqmpetenz

repo: Xceptance/posters-demo-store


text:
Implement text exporters

Implement text exporters #58:

txt
csv
xml
yml

Main menu:

Format filters:

@Vladabdf Thanks for checking detail parts!
I have implemented 3 text importers: csv/xml/yml

If no text decoder matched (like passing txt, bar or something), error will be prompted.

repo: Xeeynamo/OpenKh


text:
help needed

i have problem on  adding this solver  in my bot would you please help me on it because am facing turnstile hcaptcha in my target website

Could you explain a little more on what the problem is? The scraper should automatically reload the page if a turnstile captcha is given.

Could you please message me on email test.live05@gmail.com or telegram @is_c0d3rz

You con contact me on Discord @ Xewdy#7378


text:
No module named sh

when I do:
python tools/converter.py convert --config=../mace-models/vgg16/vgg16-caffe-gpu.yml
error happened as following:
Traceback (most recent call last):
File "tools/converter.py", line 20, in
import sh
ImportError: No module named sh

@zhangkom You need install the dependencies first: https://mace.readthedocs.io/en/latest/installation/env_requirement.html

authors: llhe zhangkom

repo: XiaoMi/mace


text:
🛑 MBOT-4 is down

In 7890873, MBOT-4 (https://MBOT-4.tikihed.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MBOT-4 is back up in e37c247.

repo: Xiija/UpMonitor


text:
Issues while compiling model with Conv2d Transpose and Leaky Relu

While the Documentation for Vitis-AI 2.5, 3.0 and 3.5 all show that Conv2dTransposed has been accommodated in DPU unit, I am getting a warning that they will be assigned to the CPU. I am not sure why this issue is coming up.
And help will be appreciated.
**************************************************
* VITIS_AI Compilation - Xilinx Inc.
**************************************************
[INFO] Namespace(batchsize=1, inputs_shape=None, layout='NHWC', model_files=['./generator_quantized.h5'], model_type='tensorflow2', named_inputs_shape=None, out_filename='/tmp/generator_model_DPUCZDX8G_ISA1_B4096_org.xmodel', proto=None)
[INFO] tensorflow2 model: /workspace/DPU-DCGAN/generator_quantized.h5
[INFO] keras version: 2.12.0
[INFO] Tensorflow Keras model type: functional
[INFO] parse raw model     :100%|█| 12/12 [00:00<00:00, 4745.58it/s]
[INFO] infer shape (NHWC)  :100%|█| 20/20 [00:00<00:00, 70.97it/s]
[INFO] perform level-0 opt :100%|█| 1/1 [00:00<00:00, 649.17it/s]
[INFO] perform level-1 opt :100%|█| 2/2 [00:00<00:00, 2160.90it/s]
[INFO] infer shape (NHWC)  :100%|█| 22/22 [00:00<00:00, 666.40it/s]
[INFO] generate xmodel     :100%|█| 22/22 [00:00<00:00, 75.28it/s]
[INFO] dump xmodel: /tmp/generator_model_DPUCZDX8G_ISA1_B4096_org.xmodel
[UNILOG][INFO] Compile mode: dpu
[UNILOG][INFO] Debug mode: null
[UNILOG][INFO] Target architecture: DPUCZDX8G_ISA1_B4096
[UNILOG][INFO] Graph name: generator_model, with op num: 40
[UNILOG][INFO] Begin to compile...
[UNILOG][WARNING] xir::Op{name = quant_conv2d_transpose, type = transposed-conv2d-fix} has been assigned to CPU: [DPU does not support activation type: LEAKYRELU. Its alpha is 0.200000, but DPU only support 0.1015625.].
[UNILOG][WARNING] xir::Op{name = quant_conv2d_transpose_1, type = transposed-conv2d-fix} has been assigned to CPU: [DPU does not support activation type: LEAKYRELU. Its alpha is 0.200000, but DPU only support 0.1015625.].
[UNILOG][WARNING] xir::Op{name = quant_conv2d_transpose_2, type = transposed-conv2d-fix} has been assigned to CPU: [DPU does not support activation type: LEAKYRELU. Its alpha is 0.200000, but DPU only support 0.1015625.].
[UNILOG][WARNING] xir::Op{name = quant_conv2d_transpose_weights, type = const-fix} has been assigned to CPU: [Has no fanout or at least one fanout is out of DPU subgraph.].
[UNILOG][WARNING] xir::Op{name = quant_conv2d_transpose_bias, type = const-fix} has been assigned to CPU: [Has no fanout or at least one fanout is out of DPU subgraph.].
[UNILOG][WARNING] xir::Op{name = quant_conv2d_transpose_1_weights, type = const-fix} has been assigned to CPU: [Has no fanout or at least one fanout is out of DPU subgraph.].
[UNILOG][WARNING] xir::Op{name = quant_conv2d_transpose_1_bias, type = const-fix} has been assigned to CPU: [Has no fanout or at least one fanout is out of DPU subgraph.].
[UNILOG][WARNING] xir::Op{name = quant_conv2d_transpose_2_weights, type = const-fix} has been assigned to CPU: [Has no fanout or at least one fanout is out of DPU subgraph.].
[UNILOG][WARNING] xir::Op{name = quant_conv2d_transpose_2_bias, type = const-fix} has been assigned to CPU: [Has no fanout or at least one fanout is out of DPU subgraph.].
[UNILOG][INFO] Total device subgraph number 5, DPU subgraph number 2
[UNILOG][INFO] Compile done.
[UNILOG][INFO] The meta json is saved to "/workspace/DPU-DCGAN/./meta.json"
[UNILOG][INFO] The compiled xmodel is saved to "/workspace/DPU-DCGAN/./generator_model.xmodel"
[UNILOG][INFO] The compiled xmodel's md5sum is eaffda3ecbaa7e2b6df4a557e16c4ec2, and has been saved to "/workspace/DPU-DCGAN/./md5sum.txt"

Hi @wilfredkisku ，
Could you please provide the float.h5 and quantized.h5 files? These would be very helpful in resolving the issue.

Thank you for the reply. I have attached the files for your reference. Also is there any workaround for leaky ReLU with alpha as 0.2?
I don't want the model to use any other value of alpha as it does not perform well with any other value of alpha other than 2.0.
Thank you once again for your help.

Hi @wilfredkisku ，
Leakyrelu is allocated to the DPU only when its alpha is set to 0.1; if alpha is 0.2, it defaults to the CPU, with no available workaround.

Closing this for now. Please re-open if there are any other concerns. Thanks.

authors: wilfredkisku zhenzhen-AMD

repo: Xilinx/Vitis-AI


text:
How to resolve this issue I am getting on Alchitry Labs 1.2.7?

ERROR: [DRC UCIO-1] Unconstrained Logical Port: 42 out of 52 logical ports have no user assigned specific location constraint (LOC). This may cause I/O contention or incompatibility with the board power or connectivity affecting performance, signal integrity or in extreme cases cause damage to the device or the components to which it is connected. To correct this violation, specify all pin locations. This design will fail to generate a bitstream unless all logical ports have a user specified site LOC constraint defined.  To allow bitstream creation with unspecified pin locations (not recommended), use this command: set_property SEVERITY {Warning} [get_drc_checks UCIO-1].  NOTE: When using the Vivado Runs infrastructure (e.g. launch_runs Tcl command), add this command to a .tcl file and add that file as a pre-hook for write_bitstream step for the implementation run.  Problem ports: customout[2:0], io_dip[2], io_dip[1], io_dip[0], io_led[23:0], io_seg[7:0], and io_sel[3:0]. ERROR: [Vivado 12-13638] Failed runs(s) : 'impl_1'

@codesmoker1916 the new IOs you have added customout[2:0], io_dip[2], io_dip[1], io_dip[0], io_led[23:0], io_seg[7:0], and io_sel[3:0] need an FPAG pin location in the xdc file.

repo: Xilinx/kria-vitis-platforms


text:
✨Directly connect parameter inPort to its literal node

Description
This will automatically connect to its literal node when link is dropped from a parameter InPort. There are 2 type of implementation:

Non-any type - Drag a link should automatically render the correct literal node.

any type - The literal node's type is render based on the first character of the given input.

Types taken into consideration for any type are :

1 - Int
. - Float
" - String
[ - List
( - Tuple
{ - dict
!true / !True/ !1/ !t - True
!false / !False / !0 / !nil - False

Pull Request Type

[ ] Xircuits Core (Jupyterlab Related changes)
[x] Xircuits Canvas (Custom RD Related changes)
[ ] Xircuits Component Library
[ ] Xircuits Project Template
[ ] Testing Automation
[ ] Documentation
[ ] Others (Please Specify)

Type of Change

[x] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Tests

Drag link from non-any type InPorts

Drag a node which have inPorts with non-any type
Dropped a link from the port
A input dialog should popup based on its type
Insert any input and submit it
That port should be connected to its literal node

Drag link from any type InPorts

Drag a node which have inPorts with any type
Dropped a link from the port
A input dialog should popup
Insert the first character mentioned above based on the type you want. Follow by, the input and submit it.
That port should be connected to its literal node.

Tested on?

[ ] Windows
[ ] Linux Ubuntu
[ ] Centos
[ ] Mac
[ ] Others  (State here -> xxx )

Thanks for the reviewed. I wasn't aware the sidebar's literal was broken. Fix that.
For the float, I made the changes as requested. Even add a check if there is non-numeric value, it'll show an error dialog.

repo: XpressAI/xircuits


text:
Specify Data Partition in Horizontal Federated Tree Training

Hi,
first, thank you for this project!
I am running FedTree on one computer and would like to assign each party (currently 2) one data set (sample of whole data set) to train on. I am running the python code and see that in fedtree.py there is a variable path, however it doesn't seem to be doing anything. How can I achieve this in stand-alone simulation? Is there another way to assign each party their local data set?
Best regards,
W

Hi @WilliamLindskog ,
You can specify the local dataset with command-line interface using data parameter, where you can specify the multiple paths to the local datasets separated with comma. For example, if you write a configuration file with the following parameters, it will load local datasets a and b as two parties. Currently the Python interface does not support this feature and can only load a single dataset for partition and simulation. We will add this feature in Python interface later.
data=a,b
n_parties=2
mode=horizontal

authors: QinbinLi WilliamLindskog

repo: Xtra-Computing/FedTree


text:
Could you also add feature to create reservation through POST API : /api/spaces/{space}/reservations

Thank you very much for providing terraform provider for IPAM
I would like to consume your provider for a POC
as per existing implementation , we need to have only one space and one block for reservation.
This will work very well initially , but it might cause a problem for us if the block run out of reservation in long run.
so , can you also provide support of using  POST API : /api/spaces/{space}/reservations where we can specify multiple blocks.
in future, we can add extra block to the list based on availability

Thank you for your feature request.
We will analyze the viability and effort, and probably incorporate it in the next provider revision.

Thanks for the reply. i can also contribute to the repo, if you would me to create a pull request with changes.

Hi @nagachakithmck
Reviewing your request I think there is a mistake, which I will try to clear up:

The POST API : /api/spaces/{space}/reservations method "Create a CIDR Reservation for the first available Block from a list of Blocks". Only creates a reservation in any of the blocks allowed in the specified space.
We could implement the functionality of allowing to indicate a collection of elements (size and description), but from our experience in terraform if a new elements are later added to the collection they may be treated in a different order and in the plan it may be considered necessary to redeploy (remove and recreate) some elements, including new reservations with new IPs, which would not be a desired scenario.
If you need to process several reservations for various vnets it is recommended that you create a list or map local variable in terraform , and invoke the resource “azureipam_reservation” using [for_each Meta-Argument] based on that collection.

We are going to add to our backlog the task of implementing the functionality provided by the POST API : /api/spaces/{space}/reservations , but I think it would not fully cover your needs.

Implemented in v2.0.0

authors: XtratusCloud nagachakithmck


text:
Write necessary specs

As there no spec right now, to ensure have good a quality to use, have to write some necessary specs.

ref: 3b646bea1381f4d2ba8205067ca2f4bc61505fb3


text:
🛑 MOMO is down

In e930674, MOMO (https://www.momoshop.com.tw/main/Main.jsp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MOMO is back up in 9c33118.


text:
🛑 MOMO is down

In 7719fc4, MOMO (https://www.momoshop.com.tw/main/Main.jsp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MOMO is back up in b71f90b after 10 minutes.


text:
🛑 MOMO is down

In 5003f4e, MOMO (https://www.momoshop.com.tw/main/Main.jsp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MOMO is back up in 0ea3efb.


text:
Follow Semver standard

Any plans to follow the semver standard?
http://semver.org

Probably starting with 3.0 it'll be a good time to stick with semver.
It wouldn't be quite right if I say I've been following semantic versioning so far, however almost all new releases contained a new feature, and new releases within a same major version were backward compatible.

That would be nice, but is there a 3.0 planned?
https://github.com/sinairv/YAXLib/issues/14#issuecomment-172291746

There are a lot of nice to have (breaking) changes that I can think of that can fit into a 3.0 version. These are some:

Removing excessive YAX prefix from all attributes, exceptions, etc, while there's a namespace.
Providing a fluent syntax for defining serialization style for classes/types we don't have access to their source code (such as .NET Framework classes and 3rd party libraries).
Code is not in a good shape. Cyclomatic complexity is high at places, while different behaviours could be defined through polymorphic objects.
I was even thinking of renaming it from YAXLib to Yax or any other better name.

Agree there are some nice opportunities.
But you have stated:

Given the relatively small number of people using the library and other available options in the .NET Framework, I was thinking it may not be worth investing more time and energy developing v3.

Is that still the case?
semver could be applied also from now. You keep you to the rules and announce you do Semver :)

Will be applied with next release

authors: 304NotModified axunonb sinairv

repo: YAXLib/YAXLib


text:
目前运行测试用例集合只能一个一个集合运行，不知道如何能一次运行所有集合

版本号
~ 1.8
什么问题
~
目前运行测试用例集合只能一个一个集合运行，不知道如何能一次运行所有集合？有什么办法可以一次运行所有集合呢
如何复现此问题
~
什么浏览器
~
什么系统（Linux, Windows, macOS）

遇到同样的困惑，希望能同时运行多个测试集并生成测试报告

我解决了，需要自己写脚本 去循环调用接口

我解决了，需要自己写脚本 去循环调用接口

能在详细说下么？

repo: YMFE/yapi


text:
YAPI构建

版本号
~ 最新
什么问题
~
我们公司针对 YAPI想修改LOGO为我们自己的，我想问一下我改了文件，生产重新打包步骤能不能告知一下？
PS: 我是一个后端人员
如何复现此问题
~
什么浏览器
~
什么系统（Linux, Windows, macOS）

已解决


text:
How to send custom message with stages and attach html report

@YOU54F  I have a question about, how I can create a custom message and if is possible add at what stage of my ci pipeline is running this and who triggered it (idk if with Gitlab this is possible). as for I have is
"slack-report": "npx cypress-slack-reporter --report-dir './cypress/report/output.json' --custom-url './final-report/output.html' --ci-provider custom --vcs-provider none --verbose true ".
what I tried to do with custom-url is to get that .html as a clickable attachment in the message to get redirected to that but my slack message is the following:

@YOU54F Encountering the same issue. The custom url merges to the screenshot directory for the Test Report attachment/button
npx cypress-slack-reporter --report-dir cypress/reports/mochareports --ci-provider custom --custom-url ~/cypress/reports/mochareports/report.html

Custom url is the basepath for somewhere you are sorting artefacts if not
on circleci iirc
On Thu, 22 Jul 2021 at 15:39, Luisa Gloria @.***> wrote:

@YOU54F https://github.com/YOU54F Encountering the same issue. The
custom url merges to the screenshot directory for the Test Report
attachment/button
npx cypress-slack-reporter --report-dir cypress/reports/mochareports
--ci-provider custom --custom-url
~/cypress/reports/mochareports/report.html
[image: image]
https://user-images.githubusercontent.com/63622377/126657739-3fb0b1d0-930c-4988-a925-e4beea79a0d4.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/YOU54F/cypress-slack-reporter/issues/1034#issuecomment-884966202,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEYCJ4KCPOUK7WXUYO2YIM3TZAUSZANCNFSM46KVCKBQ
.

See here for info
https://github.com/YOU54F/cypress-slack-reporter/issues/497#issuecomment-630514390
It would probably be worth adding this into the readme. Would be happy to accept contributions if this works for you 🤘🏽

@luisaangelicag @HernanMinted ☝🏾 :)

Hi @YOU54F
checked the issue you linked above though it wasn't able to address my issue. i'm using the file location since i'm running the scripts locally too. will it be possible to use the root directory? from what i'm seeing, the custom-url appends to the screenshots directory

FYI,
I am going to support sending custom blocks in the new rollout, details to come soon, but it will allow users to send any number of structured (and typed) objects to the message builder, so it should be infinitely customisable

@luisaangelicag have you been able to fix this issue? may you share what was your path to make it work?

Just to clarify you cannot provide the --custom-url property a relative path from your machine.

If needs to be a valid web URL.
A link will need to appear like this  in slack to render
<http://sometesturl.com/pnggrad16rgb.png|Screenshot:- pnggrad16rgb.png>

Custom blocks coming soon, you'll be able to add as many of these as you want 👌🏾

BTW where are you expecting to serve your URL's from? if you provide the uri root for where your report is, you should be fine, with the current version

@YOU54F  Ohh I see, so my custom-url is not doing anything haha 🤣 , although my main concern here is that in my case, I can only see a certain amount of only Test passed (if all passed it shows me 141 even tho there are 200+ test that passed) and if it fails then it throws me Test passed: 0, what I'm seeing at least for Luisa side is that she have been able to split how many test passed, failed  and the total of tests that run, basically at first this is what I need right now, screenshots and video or html report would be a nice to have.

I'd need to see your report json file to understand why the numbers are incorrect.
or take your json and pipe it into jq
cat cypress/reports/html/index.json | jq .stats

{
  "suites": 2,
  "tests": 20,
  "passes": 20,
  "pending": 0,
  "failures": 0,
  "start": "2022-04-28T22:38:51.534Z",
  "end": "2022-04-28T22:39:28.478Z",
  "duration": 24373,
  "testsRegistered": 20,
  "passPercent": 100,
  "pendingPercent": 0,
  "other": 0,
  "hasOther": false,
  "skipped": 0,
  "hasSkipped": false
}

They are extracted here
https://github.com/YOU54F/cypress-plugins/blob/c4b4a29d7a40fc9618b12f569184be64b43fb80f/src/slack/slack-alert.ts#L536-L550
and built into the message here
https://github.com/YOU54F/cypress-plugins/blob/c4b4a29d7a40fc9618b12f569184be64b43fb80f/src/slack/slack-alert.ts#L381-L444
Also --report-dir './cypress/report/output.json' this should be a directory, which is why the flag is called --report-dir, drop the /output.json

Is there a way to add also the skipped test into the report? or are taken as Error for the webhook?
the --custom-url for screenshots, since I'm using gitlab for CI/CD you can access the artifacts but then you have to download them to see them, in this case I would need to put them on a server in order to actually see the link correctly to it right?

@YOU54F not sure if this needs a separate issue ticket, but I've encountered issues viewing the generated HTML report. It's just blank upon clicking the Test Report, but inspecting the page shows that the test report details are there

The OP issue should hopefully be resolved by a new flag --useOnlyCustomUrl along with your custom-url http://sometesturl.com/
https://github.com/YOU54F/cypress-plugins/issues/1216

authors: HernanMinted YOU54F luisaangelicag


text:
Lack of customizability

The docs tout high customizability as a benefit of this library. Quote, The library is absolutely customizable, allowing you to tailor the audio recording and visualization components to fit your project's unique requirements.
...but my experience is that this is untrue. For example,

you cannot change the icon on the mic button.
the controlButtonsClassName clumps together UI components that ought to be styled separately.
there is no way to control the layout of the UI elements.

Disabling controls to make custom UI also disables the waveform visualization. So for most people, that is not an option, as the waveform visualization is probably the reason they're using the lib. This might be a separate bug, I am unsure.
Please do not make untrue claims.

If you wanna build custom UI for control panel you shouldn't use built in UI. Just use methods that will help you to built any UI according to the project requirements

Thank you for responding. Unfortunately, when I disable the built in UI via isControlPanelShown, the waveform visualization disappears. Is this a separate bug?

Yes, I use custom UI in my projects and I have never faced this issue. Please report a bug and provide more details and code snippet if possible.

So as it turned out, when I set the width/height to 100% in chrome dev tools, the waveform visualizer would not appear. But when I set it to 100% in mainContainerClassName, the visualization reappeared. Maybe The width of the canvas was getting set to the original container's width, so when I set it in Chrome dev tools, the canvas never resized.

With that said, I think there is a genuine bug here, but it wasn't what I initially imagined it to be. Does the mainContainer have a onResize event which resizes the canvas when the mainContainer width changes?

Yes, you are right, you should manipulate in the code, not in the dev tools

My apologies for giving you a hard time, now that I know what the true issue is I see that customizability has nothing to do with it

How to trigger start recording on custom button

authors: Johnrobmiller MeetDevSimform YZarytskyi

repo: YZarytskyi/react-voice-visualizer


text:
Wow, Just Wow

扫码看了一下H5的效果，太好看辽呀

感谢您的支持 欢迎来群里交流

repo: YanxinNet/uView


text:
Silence JSHint warnings and errors (take two)

This pull silences the many JSHint warnings and errors by explicitly setting "w" for window objects and adding brackets to single line control statements.

sorry, on the last day of the event we're not too concerned about jshint style violations (nor is it likely new code will conform to them), though if you want to fix the conflicts and resubmit feel free.

authors: Novex nepeat

repo: YeOldeWH/MonsterMinigameWormholeWarp


text:
Manager

https://github.com/spack/spack/commit/e30fedab102f9281a220fb4fae82e3f8c43a82ac

Yehiaelmatrwy2023@


text:
It doesn't work on my redmi note 7

Hi!
First of all, I don't know if I must ask you for the error but I have to ask someone. Perhaps it's my fault but I don't know.
Besides, I don't have experience doing mobile apps...
I have the error showed in the image

I just changed the line commented before the exception so that I can send an hexadecimal value to my IR receptor when I push the button "Transmitt List Int". I tried this because it's the same error that happens when I use the "Transmitt Specific Code HEX".
The code was copied from the flutter example documentation
I hope you do not mind.
Thanks for your contribution.
Regards

Hello @Alvaro-MM, first of all thanks for using the plugin, second you don't have to apologize, we are all learning.
Your error lies in line 107, the value you pass is not correct for the use of the plugin, if you look at the value of the example variable it is a String that contains in turn a list of values HEX, in your case you are only giving a HEX value.
You can use [this page] (https: //www.remite entra.com) to obtain the codes you want to transmit are classified by brand

Hi! Thanks for writing this plugin, I was confused with this HEX values, how can I get the String of values HEX from a simple HEX value, like "FF02FD"?

Thanks to you for using it, it depends on where this code comes from, does it belong to a specific device?
I suggest you look on this page, here are almost all the codes in the format that the plugin uses, which is in a list of HEX passed as a string (without a comma) or a list of INTs.
Another way to obtain it is to reverse engineering with an Arduino to the button of the remote control you are using.

I see, okay thank you. You've been a big help, cheers!

authors: Alvaro-MM Yeikel200 angga-bw


text:
[BUG]无法获取内容

Office Tool Plus Version, e.g. 8.1.0.0:
v10.1.10.1
Operating System, e.g. Windows 10 20H2 or Windows 7 SP1:
Windows 10 22H2
Error description (required):

Write down here

Reproduction steps (suggested):
Screenshot (suggested):
Additional information (optional):
软件无法正常使用

有没有可能就是说无法获取内容也不影响你用软件

authors: YerongAI hxinbeng

repo: YerongAI/Office-Tool


text:
let g:Lf_CursorBlink=0 breaks  and

vim or neovim?

[x] vim
[ ] neovim

Output of vim --version or nvim --version:

VIM - Vi IMproved 8.1 (2018 May 18, compiled May 18 2018 18:36:07)
MS-Windows 32-bit GUI version with OLE support
Included patches: 1
Compiled by mool@tororo
Huge version with GUI.  Features included (+) or not (-):

Output of :echo has("python"): 0

Output of :echo has("python3"): 1

Operating system:

[ ] Linux
[ ] Mac OS X
[x] Windows
[ ] Etc.

Configurations related to LeaderF in vimrc:

let mapleader=' '
call plug#begin('~/vimfiles/plugins')
Plug 'Yggdroot/LeaderF'
call plug#end()
let g:Lf_CursorBlink=0

When using the above minimal vimrc file, which sets the variable g:Lf_CursorBlink to 0. <C-J> and <C-K> mappings stop working completely when trying to scroll the LeaderF output.

Are you using the latest version of LeaderF?

I was not... I updated to the latest version and it's working correctly now.

authors: Yggdroot ruohola

repo: Yggdroot/LeaderF


text:
[Bug] Contextual information goes wrong - latest version today

Pls review this video:
https://drive.google.com/file/d/1XMpSxdMUAeS-VOl9888jAm5kkMhnKjyT/view?usp=sharing
All is good but when ask
Start date of project OFP?
answer:
The start date of the OFP project is not specified in the provided information. Please provide the start date if available.
but is in contextual prompts:
Start date of the OFP project in Azure DevOPS: 13/07/2023 End date of the OFP project in Azure DevOPS: 19/09/2023

I send u all json file to yidadaa@qq.com
subject: mask json translated with my prompts

Hi @johnfelipe , i am pretty busy these days, i will take a look at your issue once i have time, please be patient.

Tnks
Of course
Only take a look
I will change with your future suggestions

@johnfelipe
Have you tried gpt-4 or gpt-3.5-16k?

If u see video in using
gpt-3.5-16k
But context not working
How can rephrase or change for good accuracy?
El mié, 2 ago 2023, 10:02 p. m., Yifei Zhang @.***>
escribió:

@johnfelipe https://github.com/johnfelipe
Have you tried gpt-4 or gpt-3.5-16k?
—
Reply to this email directly, view it on GitHub
https://github.com/Yidadaa/ChatGPT-Next-Web/issues/2443#issuecomment-1663224771,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADIWFBR33NXTRU2S73BQ4TXTMIDNANCNFSM6AAAAAA2QA5HVQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Some evidence suggests that the intelligence level of gpt-3.5 has recently significantly declined. If the conversation length is too long, there may be issues with accurately capturing information. Using gpt-4 can solve this problem.
https://twitter.com/matei_zaharia/status/1681467961905926144

authors: Yidadaa johnfelipe

repo: Yidadaa/ChatGPT-Next-Web


text:
Include package metadata in GH repo

I'd like to use the current version from github, but there is no package metadata / setup.py checked in to the repo :(
Although it is definitely in the version on pypi.
Ideally, this would work:
pip install  git+https://github.com/YingfanWang/PaCMAP

I see -- you're right, there is no package metadata in the repository for now. Currently I have some files called pyproject.toml and setup.cfg for packaging the code. Are these files what you want me to share? I'm happy to upload them to GitHub right now, but I'm not sure whether uploading them could achieve the behavior you expect.
There are some reasons for the current difference between the PyPI version and the one on GitHub: 1. The current version has the ability to transform other data, but the API is not compatible with the scikit-learn style (transform() method), so I'm trying to fix it soon. 2. I haven't tested the behavior under the new methods so I'm not sure whether I need to add some extra pairs for the new dataset.

Yes, that would be nice if we got installing the dev version working. If you upload your pyproject and setup configs, I can send you a PR that gets installation directly from gh working later this week, not too complicated.
I'm working with PacMAP on a client engagement and need the version with the Xp arguments. I already wrote a wrapper with a transform method to use for my project (I could share it if you want), but it has it's own problems:  pretty slow, requires original data set, and predictions are not rotationally invariant. All things I can deal with for now, though

I see. I have updated the two metadata files to the repository.

repo: YingfanWang/PaCMAP


text:
ApineSession login method does not login with email

The latest changes to the authentication that allow old and new passwords does not take into account that we may log in with our email address. Line 233 currently reads
if ((ApineUserFactory::is_name_exist($user_name) || ApineUserFactory::is_email_exist($user_name)) && ApineUserFactory::create_by_name($user_name)->get_register_date() < "2015-09-04") {

and should probably read something in those lines:
if ((ApineUserFactory::is_name_exist($user_name) && ApineUserFactory::create_by_name($user_name)->get_register_date() < "2015-09-04") || (ApineUserFactory::is_email_exist($user_name) && ApineUserFactory::create_by_email_address($user_name)->get_register_date() < "2015-09-04")) {

Nevermind I'm getting an error I don't understand and this is not where it comes. I misread the UserFactory.


text:
Update CONTRIBUTORS.md

added name and profile to the contributors.md

Hey there,
Thanks for your PR & contribution :wave:!
Don't forget to join follow me, join our organization, & follow our organization to stay updated with the latest developments 💻
Thank you, and have a good day ahead 😊

Before you go, I have a little surprise for you :)
@holopin-bot @# do your thing 🤖


text:
🛑 UPC is down

In 825c6db, UPC (https://www.upc.edu.cn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UPC is back up in 38fb8e8 after 6 minutes.

repo: Yourrrrlove/upptime


text:
🛑 UPC is down

In 366bbda, UPC (https://www.upc.edu.cn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UPC is back up in 5533f1a after 11 minutes.


text:
Firefox support

Hello,
First thanks for this amazing library, the library is compatible with Firefox ?
Current firefox version : 58.0a1 (2017-11-06) (64 bits)
I test with a  yubikey neo
With firefox :

about:config i security.webauth.u2f to true
go to https://demo.yubico.com/u2f : test is OK

when i use the library on my site it work in Chrome, Opéra but not firefox

I was able to make it work.
I changed the javascript file with this one : https://demo.yubico.com/js/u2f-api.js
The javascript call are a little different, here are snippset of my own code to make it work with the library :
When you register a key:
<?php
  list($requete, $signs) = $u2f->getRegisterData($regs);
?>

<script>
    var request = <?=json_encode($requete)?>;
    var signs     = <?=json_encode($signs)?>;
    var appId    = request.appId;
    var registerRequests = [{version: request.version, challenge: request.challenge}];
    u2f.register(appId, registerRequests, signs , function(deviceResponse) {
      ...
    });
</script>

Authentificate :
<?php
 $authenticateData=$u2f->getAuthenticateData($registrations);
 list($requete, $signs) = $u2f->getRegisterData($registrations);
 $challenge        = $authenticateData[0]->challenge;
 $appId            = $authenticateData[0]->appId;

 foreach ($authenticateData as $unecle) {
   $key['version']   = $unecle->version;
   $key['keyHandle'] = $unecle->keyHandle;
   $registeredKey[]  = $key;
 }
?>

<script>
  var appId          = '<?=$appId;?>';
  var challenge      = <?=json_encode($challenge);?>;
  var registeredKeys = <?=json_encode($registeredKey);?>;
  u2f.sign(appId, challenge, registeredKeys, function(deviceResponse) {
    if(deviceResponse.errorCode && deviceResponse.errorCode != 0) {
</script>

warning:
foreach ($authenticateData as $unecle) {
   $key['version']   = $unecle->version;
   $key['keyHandle'] = $unecle->keyHandle;
   $registeredKey[]  = $key;
 }

I guess should be:
foreach ($authenticateData as $unecle) {
   $key = array(); //<---
   $key['version']   = $unecle->version;
   $key['keyHandle'] = $unecle->keyHandle;
   $registeredKey[]  = $key;
 }

Did you have to change anything in the library except using the newer javascript api? Did you have to change the samples when using that?

no the library U2F.php is the same.
with the new .js file the call are different, so i have preferd to update the code in my part, without changing the library.
If i have time i will make a PR

@vinpel
In your example u2f.register(appId, registerRequests, signs , cb) does not work when signs is not []. As soon as I pass the previously registred keys as signs to u2f.register, it just fails without any error.
@Yubico seems to use [] on their demo page, which will overwrite any previously stored keys.

It's possible it just silently ignores the same key as it is "excluded". I wonder how I can catch that...

@andryyy Yes, the 3rd parameter to u2f.register is a list of already registered credential identifiers, so that you don't register a new credential on a U2F device that already has one. The Yubico demo page sends [] so you don't have to clear the server's key storage to try registering again (YubiKey devices don't actually store U2F keys on board, so there's no risk of filling the device with garbage keys).
@vinpel Do you have issues with this the first time you try to register a key, or only if you retry the same key again?

@emlun Yes, I got that, but is it expected that u2f.register silently discards the request then?
Previously it would raise errorno 4. Cannot test with a second key actually. :-(

Basically it's because the browser waits for the possibility that you plug in a new device to create a key on that one too. Chrome and Firefox seem to handle the situation differently. Chrome times out with errno 4 (~key already registered), Firefox now times out with errno 1 (~no device available). I also think I remember Firefox returning errno 4 previously.
My guess is that the change is due to privacy considerations - if the command returns different error codes for the cases "No device present" and "Key is present, but user didn't agree by touching the device", then it's possible for a malicious RP (e.g., an ad network) to perfectly identify you (i.e., track you) without your consent.
This behavour (timing out with the same error code in both cases) is also how the upcoming Web Authentication standard will handle the situation. Perhaps Firefox has backported the behaviour from their WebAuthn prototype to U2F as well.

Thank you @emlun !

i don't have any issue ( my sample are extracted/recreated from a whole site)
I use 2 key register / authentificate with succes

Great! Looks like we can close this, then. Please feel free to reopen the issue if you have anything else to ask or add.

authors: Loksly andryyy emlun klali vinpel


text:
Connection to YBM times out

Create a cluster in YBM - I created a single region, 3 node, FT none cluster in gcp.northamerica-northeast2 region. Added IP to allow list.
Compiled latest from source, vs release 0.0.3, using
java -Dnode=
-Ddbname=yugabyte
-Ddbuser=admin
-Ddbpassword=
-Dssl=true
-Dsslmode=verify-full
-Dsslrootcert=../root.crt
-jar ./yb-workload-sim.jar
Using 0.0.3 release, connected successfully to cluster.
Using compiled from source, times out.

Are you enabling the load-balance here @ddhodge ?

authors: ashetkar ddhodge


text:
Clustering of images

Hey,
I have one question.
Is it possible to figure out which input image belongs to which cluster while inference?
if one wants to pick images from a or two clusters.

The cluster contrastive head could make cluster assignment for each input image independently.

repo: Yunfan-Li/Contrastive-Clustering


text:
Add "skip to main" link

Description
Add a skip to main link to the project by following the instructions of WebAIM on how to do so.
Acceptance criteria (AC)

[ ] content (all the form components) is wrapped into a main tag
[ ] the skip link should be invisible and only appears when using the tab key

Screenshots
No response
Additional information
Suggestion on  how to hide the skip link and make it visible when receiving focus. Should be tested.
.skip-link {
  left: 0;
  padding: 8px;
  position: absolute;
  top: -50px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

Plz assign this to me

@YuriDevAT , assign me this issue

@YuriDevAT assign me this issue

hey @YuriDevAT PR for this issue is ready just review it here

authors: YuriDevAT amardeep911 hariscs jsvigneshkanna siddhesh-coder

repo: YurisCodingClub/dev-cv


text:
stake BYX + initial distribution

Basic Staking of BYX (no rewards)
Basic functions in all contracts (receive, fallback, withdraw)
Initial token distribution system
I have not tested this code yet. I will do a test suite this afternoon and bring corrections if needed.

Fixed
I also added a getter for the user staked amount (that will be needed by frontend
I switched the functions between an external that call the internal for gas optimisation (like openzeppellin always do)


text:
🛑 Official Website is down

In 8f1ac56, Official Website (https://www.zeenkey.com) was down:

HTTP code: 500
Response time: 274 ms

Resolved: Official Website is back up in 63d6f36.

repo: ZEENKEY/statuspage


text:
预训练中文词向量不能读取

我下载了百科的预训练中文词向量，是一个bz2文件，我直接解压改名为baike_word_ngram_300d，运行text_keyphrase.py文件，说无法解析这个词向量。

你好，我刚加入了根据领域数据更新词向量的工具脚本，之前finetuned参数使用的是更新后的词向量文件，跟原始的预训练词向量格式不同，因此需要先更新词向量，再用新的词向量进行语义特征抽取，现在example中的text_keypharse例子应该是可以运行的了

IsADirectoryError: [Errno 21] Is a directory: '/data02/OpenData/OpenKS/openks/data/updated_embedding'

TypeError: init() got an unexpected keyword argument 'size'

这个是什么意思，还有数据集是patent-text下面的吗？

感觉是不是训练出错了，怎么低，/updated_embedding文件夹并没有生成。

repo: ZJU-OpenKS/OpenKS


text:
When I tried to share at warpcast lottery by share button it's copied localhost

When I change manually it works https://farcaster-lottery.xyz/frames/lottery?chainId=84532&address=0xC00ED8DbAeC65AEe379fB04550b658D9Dc30cAF8, I'll change in code.

https://warpcast.com/developerisnow/0x9ad0b03e my cast

Could you please clarify a bit the problem you have? @developerisnow
Left button just copies the warpcaster embed url to clipboard, while the right one redirects to the Waprcast directly

authors: developerisnow gurobokum


text:
[Bug] Bouton Restaurer l'énergie

Salut Zakarik,
C'est encore moi, le bouton a besoin d'être cliquer et valider 2 fois pour remonter l'énergie.
Bon courage ;).

Je n'arrive pas à reproduire ce bug. Un exemple de personnage sur lequel il se produit ? (Exporte le et upload le)

Re salut Zak,
Désolé, je n'avais pas vu ta réponse. Je n'ai plus le bug depuis la V12.
Je pense donc qu'il n'est que en V11.

Je viens de passer mon monde sur la dernière version et ce bug de devoir cliquer + valider pour regen l'énergie est arrivé sur tous les PJ mais uniquement la première fois

authors: Evalflower Kyrantox Zakarik

repo: Zakarik/foundry-knight


text:
Refactor SpotId

This was a suggestion on the rust users forum. Basically, the idea is that we have a few very large tables that might be impacting compile performance (and potentially runtime performance).
One idea would be to nest the Enums:
enum SpotId {
    Amagi(AmagiSpotId),
    Antarctica(AntarcticaSpotId),
    ...
}
enum AmagiSpotId {
    Room1(AmagiRoom1SpotId),
    Room2(AmagiRoom2SpotId),
}

etc.
The benefit would be that our movement table would then just be within areas only, and some of the "upcast" functions like get_area only have to look at their variants. One downside is that this would be 3 or 4 bytes instead of just 2.
Plus, in AV2 this would turn from one enum with a few thousand entries to 307 area enums and 17 region enums and one top-level enum. If we only used the region level for indirection it would be a lot more manageable in terms of number of enums but that would have less benefit for the movement matrices.
We've already seen that replacing the EnumMap<SpotId, ContextWrapper> used in the access functions with a hashmap results in a 20-30% speedup for condensed maps, so we no longer have that concern.

Functions/data that need to be replaced:

[x] get_area
[x] get_region
[x] local_travel_time
[ ] are_spots_connected
[ ] base_edges
[ ] free_movement
[ ] best_movements
[x] get_area_spots
[ ] get_exit_spots
[ ] get_all_spots
[ ] spot_of_interest
[ ] condensed graph type
[x] build_spots
[ ] get_spot_(points)
[ ] action dest
[ ] same_region?
[ ] same_area?
[ ] get_location_spot
[ ] get_action_spot
[ ] get_exit_spot
[ ] context overrides

I like some of what I've done here, and for anything not related to the new SpotId, I'll probably port it into main while we see if this is an improvement over that.

So, it's a performance regression per cargo bench. I've tried to port over into main what I can that isn't part of the SpotId refactor, which may have resulted in some improvements on their own. My guess is that part of the issue is the inability to return impl Iterator from trait methods, which is why we are producing vectors before returning them to be processed. Last I checked, that feature is in nightly and added to the 1.75 milestone, so it could be worth revisiting when it reaches stable.
Additionally, the intent here was to reduce the memory usage of the compiler in debug without overflow-checks = false. Here, it's partially successful; I did observe compilation times decrease in the relevant areas, but we still spiked to 15 GiB. It's unclear if that's because we are still using match (SpotId, SpotId) statements (even though they only look at the discriminant), or because we added get_local_spots to simplify some of the local options.

repo: Zannick/logic-graph


text:
Consider adding a nightly compile job

In #923, zebrad triggers a compiler error regression on rust nightly 2020-08-14 and later.
We didn't catch this error, because all our builders run on stable. (We run clippy on nightly, but this error only happens during build.)
Should we add a single nightly compile job to our CI?
Ideally, we'd run one job on nightly, and use a setting like Travis CI's "allow failures", so builds still succeed if it's just nightly that fails.
Related to #1156, where we're thinking about switching to stable clippy jobs, and only having one nightly clippy job.

(Not really a bug, more of a preventative measure.)

In this ticket and #1156, I'd like to isolate infrastructure and dependency errors from errors that are caused by code changes.
That's really important for new and occasional contributors, who might not understand why all their PRs are suddenly failing. And it's useful for the core team, because it's less distracting - we don't have to drop what we're doing to fix CI, or ignore warnings or errors in our builds.
We might not be able to have perfectly reproducible builds, but we can:

eliminate spurious errors,
change how we present them, or
provide a stable job for manual comparison.

We tried this strategy with nightly clippy, but ended up abandoning it, because it would show duplicate annotations in PRs, and show other kinds of failures.

So I'm going to close this ticket until GitHub actions gets better at presenting allowed failures.

repo: ZcashFoundation/zebra


text:
Add initial version of zebra-state

closes #349

Codecov Report

Merging #414 into main will decrease coverage by 0.28%.
The diff coverage is 10.52%.

@@            Coverage Diff             @@
##             main     #414      +/-   ##
==========================================
- Coverage   53.26%   52.97%   -0.29%
==========================================
  Files          66       66
  Lines        3188     3205      +17
==========================================
  Hits         1698     1698
- Misses       1490     1507      +17

Impacted Files	Coverage Δ
zebra-state/src/lib.rs 10.52% <10.52%> (ø)
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 433c2e1...4e6e98a. Read the comment docs.

This coverage report check should never be red, only green or neutral, I'll see if I can tweak it.

authors: dconnolly yaahc


text:
How to render fire stations

Fire stations are one of the last 'community anchor' POIs (#435) for the style to render. There is no one clear iconography associated with them IMO, so I think we could go a number of directions. Therefore, I thought I'd create an issue to discuss possibilities before starting a PR. A few of the options as I see them (further ideas welcome!):

A classic one used in other OSM maps is a flame icon. This is the approach of e.g. Carto, Maki, and OSMAnd. I find this somehow both intuitive (obviously it's fire) and counter-intuitive (wait, don't firefighters put out fires?!?). It also could be confused with legitimate fire icons we might want in the future, like for firepits.

Another option would be a fire truck symbol. This more clearly represents firefighters to me, and would be pretty recognizable iconography. It might be a challenge to get a good looking 20x20px symbol though. One model might be MUTCD W11-8:

One other option that could work is the "Firefighter's cross", something like below. This would have a nice synergy with our badge symbol for police stations. I don't know whether it's widely associated with firefighters outside the US, or recognizable enough on its own. Maybe with the flame in the center?

Are there other symbols commonly associated with firefighters, but not easily confused with the literal object? Some things that came to mind are hoses, axes, and ladders, but I don't think those would be very clear/distinctive. Maybe those distinctively shaped hats could work?

Anyways, curious what others think.

The first thing that came to my mind was the hat but I wonder if it's distinct enough from other hard hats.

The examples in my collection are rather uninspiring:

I saw these in the road atlas section of a map library, same deal:

I think a firetruck  can be made to work....

I've seen photos of firefighters from other parts of the world using significantly different helmets, but the wide sloping back-brim is maybe common enough to be interpreted globally even if it is not the current model in use everywhere.
See also:

https://www.fireapparatusmagazine.com/ppe/trends-in-fire-helmet-design/#gref
https://www.firerescue1.com/fire-products/personal-protective-equipment-ppe/helmets/articles/code-3-podcast-the-great-helmet-debate-iconic-look-vs-european-design-XtzPiOLkpDCLHney/

That said, I like the little truck too!

I like the truck but I can't quite envision how you could make it discernible at 20 pixels or less. One thought I had was reusing the police badge icon, but with the fire emblem in the middle, something like this:

One thought I had was reusing the police badge icon, but with the fire emblem in the middle, something like this:

I’ve seen this emblem a bit as well, always in red alongside a blue police badge icon, mostly on signs but occasionally on maps. We happen to color police station icons in blue because our color palette assigns blue to any POI in the “Infrastructure” category. Fire stations would also count as infrastructure, but if we take this badge, recolor it in blue, and shrink it down to a POI icon size, I’m not sure it would be easy to distinguish it from a police station.

A few attempts, based on the comments above and on Slack:
Police shield with flame:

Firefighter cross with flame:

Fire truck, roughly traced from https://github.com/ZeLonewolf/openstreetmap-americana/issues/1036#issuecomment-1959303565:

I think the truck might be too finicky/detailed for the style, especially compared to the other "civic" icons. There is some room for the icon to be taller, so I could try that. I feel like making the truck as tall as it is wide will throw off its aspect ratio though. I skipped the hat idea because it seemed harder to draw lol, but I could give it a shot if someone strongly prefers it.
I think either of the first two badges work pretty well! The reused police shield has the pro of increasing style cohesiveness, but the con of making fire stations seem like a subset of police stations. I'd say I'd weakly prefer the cross icon, but would be happy with either.
Opinions and other ideas welcome!

Also, took a photo of a trail map on a hike recently to help me verify some path names, and realized later that I accidentally captured a fire station icon in the wild! It was a firefighter cross style. This was in a California State Park.

I like the "cross" one actually. It looks more American to me than the shield. Is there a way to make the external edges a little less wavy/curvy and more rounded like the California State Park map you have a picture of? I think making it a little less ornate might help it fit in better with the other icons, because there's a lot already going on with the flame in the middle.

Good idea, I think this looks better

Possible the proportions could still be tweaked, but I think this is a good track! Open for input though

Until you look really close, the cross looks like one of those diving bell helmets.  I think if you go with the Maltese cross shaped firefighter symbol, you have to drop the flame from it and go with a clean shaped ones.  If you want the flame, I think the badge shape works better.

I have to say I don't see the helmet, but we could go more in the direction of the FDNY logo, with a divided ring around the flame. A quick mockup (not even centered 😅):

Finally found myself some time to come back to this. I can see where the diving helmet visual impression is coming from, although I can't really say I see it myself. But I can appreciate that maybe the maltese cross with flame has too much going on for its own good. I tried out a version without the flame icon:

Removing the flame also allows one to shrink the circle relative to the "fins", which could be a promising direction:

Although I feel like the proportions of this particular one are somehow not quite right...but maybe that's just me.
I also tried to make the FDNY style one suggested above:

I think this looks a little like a firepit to me, but I'm open to it. Maybe the ring needs to be thicker?
Now with these and the above shield and flame designs, there are many (too many?) options, fair enough for a relativey hard-to-represent POI. Interested to see which direction people like the most, if any!

The police shield/badge emblazoned with a flame got by far the most fire emoji reacts on the Slack channel, so I'll make a PR with that design

authors: 1ec5 ZeLonewolf adamfranco dBitech watmildon whubsch wmisener

repo: ZeLonewolf/openstreetmap-americana


text:
Saudi Arabia highway shields

Saudi Arabia has a three-tiered system of highway shields. It will be an interesting design challenge to make the shield icons legible and spacious enough for the route number.

One national highway has been one mapped so far, tagged network=SA:national. (There’s also a redundant partial route tagged network=SA:highway.) No city or branch roads have been mapped as relations yet.
So far, routes have only been tagged with the route number in Western European numerals, even though the signs only bear Eastern Arabic numerals.

I'm inclined to think that the use of western numerals in the ref tag is a tagging error when the signage on the ground is using eastern numerals.

I'm inclined to think that the use of western numerals in the ref tag is a tagging error when the signage on the ground is using eastern numerals.

I concur. If both are present and either is sufficient to mark the sign (like Iran, it sounds like?) I'm fine with Western numbers. But in the examples above from Saudi Arabia, I imagine it's more helpful to mark the text that appears on the sign. Even if my brain reads the tertiary highway above as "gamma gamma gamma gamma,"* it'll be more helpful than having to look up which digits correspond to the ones on the sign.
* Chamelion

#465 would be a good place to explore whether it’s more important to match the digits on the sign or use digits that are readable to users. (There could even be a user preference about that, just like many maps have about local language versus user language.) But as for the tagging, I agree that ref might as well be in the local writing system. Apart from use cases like #21, there isn’t a strong need for the ref to be parseable as a numeric value in general.

authors: 1ec5 ZeLonewolf michaelblyons


text:
🛑 Game Server Proxy (prod) is down

In fec75d3, Game Server Proxy (prod) (https://proxy.zebr-a.com/api/Version) was down:

HTTP code: 502
Response time: 587 ms

Resolved: Game Server Proxy (prod) is back up in 0e31d98.

repo: Zebrainy/upptime


text:
🛑 Latest versions (prod) is down

In 171e471, Latest versions (prod) (https://prod.zebr-a.com/latest/config) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Latest versions (prod) is back up in 6f4e685.


text:
Small update (Java 0.1.2, Kotlin 0.1.1)

All dependencies up to date now
Both libraries (Java and Kotlin implementations) support Android 9+ #7

Java version: 0.1.2
Kotlin version: 0.1.1

Coverage decreased (-2.6%) to 69.466% when pulling bf54e75c5e3b9f6cc86302d55f4febd5e5ff7de7 on dev into 8260433054f88b768475815d3757ca9f4803cf4d on master.

authors: Zellius coveralls

repo: Zellius/RxLocationManager


text:
My ZenCash wallet says it is "not running"

My ZenCash wallet says it is "not running"  and I cannot find it listed on my programs for windows 10
In the bottom righthand corner of the wallet it says it is blockchain synchronized up until
December 11, 2017. Do I need to download a new wallet?

Support case - no further information received.

authors: bethscapade zenportodev

repo: ZencashOfficial/zencash-swing-wallet-ui


text:
Slice walking implementation

Description
Slice walking implementation
Issue : #94

Codecov Report

Merging #124 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #124   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          74     74
  Lines         246    259   +13
  Branches       48     54    +6
=====================================
+ Hits          246    259   +13

Impacted Files
Coverage Δ

src/core/path.utils.js
100% <100%> (ø)
:arrow_up:

src/core/apply.js
100% <100%> (ø)
:arrow_up:

src/util/lang.js
100% <100%> (ø)
:arrow_up:

src/array/convertArrayMethod.js
100% <100%> (ø)
:arrow_up:

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 7d95006...6775e65. Read the comment docs.

This isn't WIP anymore, I think we can merge this.
I added a new issue #129 to add more tests to apply.spec.js.

authors: codecov-io nlepage

repo: Zenika/immutadot


text:
:green_heart: add node jobs and filters for bot deploy in ci

Merge with the actual ci with this one -> https://github.com/Zenika/slack-bot-skillz/blob/main/.circleci/config.yml

:warning: The job that deploy in production has not been tested :warning:
We must be careful for the next production deployment !

repo: Zenika/skillZ


text:
Update image tagging strategy and CI to display both Azure and Terraform CLI version

Images tags should contain info on included CLI version.
Use existing build args to setup version at build time in CI.

duplicated of #16, closing

repo: Zenika/terraform-azure-cli


text:
More Control from Local Representations

There is not much that can be done with a local Sensor, Output, or Locomotive reference and this should be improved.

Optionally make creating a new Sensor send the command to facilitate this.


text:
Allow own validation of usernames

with this option it is able to admins to set their own regex to validate the username.
Usecases could be:

blacklisting certian words like admin or support (scammers)
establishing naming standards for private homeservers like @mike.dep24 or @bjoirn.dep12

It could be that changes to config.py have to be made; as far as i read evrything from the config file gets dumped into config.config

Possibly needed features:

check if supplied regex is still matched by original regex so that no invalid usernames can be generated if regex is used wrongly

right yeah that is how this works, so the option needs to be added to the sample config and to make the tests pass here:
https://github.com/ZerataX/matrix-registration/blob/master/tests/test_registration.py#L65
would be nice to have another test that more specifically tests the usecase here described.

testing if one regex is a superset of another doesnt exactly seem trivial to me. almost makes me think it makes more sense to just give a list of strings disallowed at the begining of a username or a seperate regex that if matched aren't allowed?

Yea after a bit of thinking and googeling its prob much easier to make 2 checks - one with the custom and one with the default pattern afterwards

Should be ready for review now
2 Things:
What is this for? https://github.com/xelantro/matrix-registration/blob/master/matrix_registration/api.py#L41

would be nice to have another test that more specifically tests the usecase here described.
And what do you mean by that

ehm you can run the tests by executing
python setup.py test
you'll probably need to copy that entire function and use a different config file with that one. or expand the parameters to also take a config ^^

test_register_13_admin (tests.test_registration.ApiTest) ... ok test_register_14_matrixadmin123 (tests.test_registration.ApiTest) ... ok [...] Ran 54 tests in 2.484s OK
Worked

not yet sure if i like that it both time checks the domain part, but maybe that is nicer for the error message anyways.
also not sure if it's trivial to add a 2nd pattern to the html
https://github.com/ZerataX/matrix-registration/blob/master/matrix_registration/templates/register.html#L52
but it would be nice ^^

Checking the domain part both times is kind of required to make sure that in only applies the username regex to the username and dont freaks out when enounterning a domain with 'bad' words like @guenther:synapseadmin.org or sth.
putting 2 regexes into a pattern field is kind of supported see here and here
Will commit that and then go to sleep as well

Although d9af5e5 will need a test.
Also I wasn't sure if it's username.validation_regex or username['validation_regex']

@ZerataX if you want to test it out https://regex101.com/r/pz3WWQ/1
no admin and no support would be (?!.*?(?:admin|support) instead of .*123.*
Note that this regex will also filter the domain name here

In rare caes that the regex does not allow the domain, it can still be left out in the website
If you want me to not let this happen in the api I could revert 5b4b3db and/or have it check the pure regex provided by the config and check the matrix one afterwards

changing config structure significantly as disscussed in dm

Yas it seems to work \°^°/

Ups forgot to update the to new config style template

Since #70 came up multiple times by now  I propose using server_location: 'http://localhost:8008' as default since most users use it on the same machine anyway
Also referring #61

okay so this seems to work well, but it's not exactly good for packaging. the schema should just be located like e.g. the worldlist, otherwise you have to do all these checks for where it might be and sometimes it just seems to be nowhere.
idk datafiles just seem to end up where ever it's weird.
i only do this for the config file cos i want it in the working directory or somewhere we a user can easily access it.
honestly i should probably just put the config also directly in matrix_registration and then just copy it to working directory if it's not found there or not if --config-path is set. idk.
(though i think looking in .config/matrix-registration and /etc/matrix-registration is also expected behavior from some users(? not sure)
so yeah just copy the schema to matrix_registration and access it like any other file. that way it should be way more stable.
I've also been playing around with https://selenium-python.readthedocs.io/getting-started.html
but haven't yet done much. getting proper tests for the html/js seems like a good idea, but that doesn't have to be part of this pr.

I must be missing something, but running 1.0.0.dev7 and setting the following I was able to register a username with the word "support"
username:
  validation_regex: [] #list of regexes that the selected username must match.        Example: '[a-zA-Z]\.[a-zA-Z]'
  invalidation_regex: '(admin|support)' #list of regexes that the selected username must NOT match.  Example: '(admin|support)'

It is a list, so you are supposed to go like
username:
  validation_regex: []
  invalidation_regex: ['(admin|support)']

or
username:
  validation_regex: []
  invalidation_regex:
     - '(admin|support)'

I really need to make that wiki article

@seth586 i think that functionality isnt actually in that release. ehm it's a little confusing, but it should be in
v0.9.2.dev2
stable 1.0.0 was postponed a little, so these tags are actually older

authors: ZerataX seth586 xelantro

repo: ZerataX/matrix-registration


text:
Ticket307 integrate travis.0

This is a working travis integration build which mimics our existing test suite build options. There are a few issues:

The tests are taking too long and might time out. We'll have to come up with some way to improve on it, maybe with caching, but I won't have luck until this is merged into something. (Travis won't save the cache until then.) Further, we could parallelize the tests with a build matrix, but I have no experience with using those with Travis and I'm not sure if it will just duplicate the entire build or not.
@defuse notes about the header files, but I can deal with this problem during the integration of this new branch downstream.

Actually meant to submit this PR to a different repo. Sorry.

repo: Zerocash/libzerocash


text:
CA architecture

I finished all the components of CA Architecture

A nice work! Now the simple program can run successfully.My advice is that, Maybe the UI can be improved later, e.g. make the content of transcription and summary in the screen without leaving the tail out of range.

authors: happycompsci huyxdang

repo: ZihuangHuang/EasyLectureApplication


text:
🛑 blog.zinglix.xyz is down

In dc44811, blog.zinglix.xyz (https://blog.zinglix.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: blog.zinglix.xyz is back up in 5aab19b.

repo: ZingLix/blog-mirror-uptime