text:
User capabilities should be used not roles nor deprecated capabilities

This comes from https://github.com/WPTRT/WordPress-Coding-Standards/pull/36 This was initially worked on for the theme review ruleset but we realised it would be better for WPCS.
I kept the first commit to give props where props are due.

Oh and another thing: the sniff should probably be added to a ruleset ;-) I'd suggest adding it to the Extra ruleset initially.

@grappler Hmm.. weird, I can't seem to respond to "outdated" comments anymore... GH playing up.

I have moved them to a separate list but I feel that the deprecation notice should be in a separate sniff.

Could you explain why you think this should be a separate sniff ?

I kept them in this sniff as they are still valid regardless if they are deprecated.

If there is not going to be a warning for the deprecated levels, than having the separate list & doing the array_merge() is just overhead.

I thought the notice was being shown in the correct line as I had a similar example in the unit test. As I was double checking to reply here I realised it was not the case. It has been fixed now.

I understand why you added the extra logic to determine the line as the start may be on the previous line, however, in that case, why not just use $parameter['end'] ?
If you do think the extra logic has value, it will need to be changed to take comments and annotations into account, i.e. use Tokens::$emptyTokens not T_WHITESPACE.
Other than that, my previous remark about the get_all_capabilities() method preventing unit tests with the $custom_capabilities from working still stands, just as the fact that that functionality does need unit tests.
And the PHP 5.3 issue also still needs attention.

OK, I will rename the sniff to WordPress.WP.Capabilities and add a deprecated notice.
With two of my Unit Test additions $matched_parameter as 'super_admin' // Error. and 'super_admin' /* Error */. I see two ways of getting around this. One to use regex somehow or the other to strip PHP comments out of the strings. What do you think?

With two of my Unit Test additions $matched_parameter as 'super_admin' // Error. and 'super_admin' /* Error */. I see two ways of getting around this. One to use regex somehow or the other to strip PHP comments out of the strings. What do you think?

That's why walking the parameter tokens instead of using raw to test for a match is generally the way to go.
If you do a for loop from start to end and disregard any empty tokens, concatenate all text string tokens and have a toggle for "unexpected tokens" (variables, constants), both this as well as silly things like: 'super' . '_admin' can be detected reliably.

That's why walking the parameter tokens instead of using raw to test for a match is generally the way to go.

It ended up being such an easy fix 😄
I think I have fixed all of the comments.

I've added a commit to this PR to allow the builds to pass. This PR identified a fixer conflict which is why the build was failing. The fixer conflict involved two upstream sniffs.
I've opened PR https://github.com/squizlabs/PHP_CodeSniffer/pull/2056 to fix the fixer conflict.
For now, the unit test case file from this PR will be ignored for the fixer conflict check. Once the upstream PR has been merged, my commit should be reverted.

Thank you for the review.

A test that nothing happens when the expected parameter is not set. ✅
A test that no warning is being thrown for an unknown capability when $check_only_known_caps is true (default). ✅
Testing that the $custom_capabilities property works as expected when $check_only_known_caps is true (default). I.e. the current tests are within the check_only_known_caps false block, so only the combination is tested. [I am not sure this is testable. There never will be an error as the custom capability is not a role nor an unknown cap.]
Also the unit tests on line 45 and 54 are testing the same thing. [I wanted to make sure the error was the same after changing the setting.]

Further on https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/1364#issuecomment-396014775 :

I've added a commit to this PR to allow the builds to pass. This PR identified a fixer conflict which is why the build was failing. The fixer conflict involved two upstream sniffs.
I've opened PR squizlabs/PHP_CodeSniffer#2056 to fix the fixer conflict.
For now, the unit test case file from this PR will be ignored for the fixer conflict check. Once the upstream PR has been merged, my commit should be reverted.

The upstream PR has been merged, so my earlier commit to ignore this sniff for the fixer check can now be reverted.

@grappler Any chance that this PR will get some final love anytime soon ? Would be great to be able to add it to WPCS!

@grappler Just wondering if you'll have a chance to finish this off in the near future.
If you haven't got time or lost interest, please let us know and we'll see if we can find someone to take over.

authors: grappler jrfnl

repo: WordPress/WordPress-Coding-Standards


text:
Update Playwright to use a custom test fixture with global mocks

Creates a test fixture which overrides the base Playwright test fixture. This allows for easily setting global route mocks and other settings. Most crucially it removes the thousands of logs cluttering the output about the failed proxying of the analytics server.
This PR also makes our provider mocks global and adds a global mock for the analytics event endpoint, to prevent that from outputting hundreds of proxy-related error logs during the run of the test suite.
frontend/test/playwright/utils/test-fixture.ts is the main thing to review here. The rest is just implementations of the new fixture (switching the import from playwright to our custom test fixture).
~This will be cleaned up and undrafted once #2194 is merged.~
Testing instructions

Observe tests are still working and logs are no longer cluttered with analytics event warnings
Ensure provider APIs are still mocked correctly in all relevant tests
Try to import { test } from "@playwright/test" and you should be able to observe a lint error.

@obulat indeed, there is! I had already written it and forgot to push 🤦

@AetherUnbound I will look into the eslint rule! It might be that you need to just install prior to testing, but I'll verify myself.

@zackkrida The ESLint rule you added is in the overrides block scoped exclusively to the unit tests (see the files setting). You'll need to move it to a different block that targets the playwright tests (frontend/test/{playwright,storybook}/**/*.spec.{ts,js} would do it, I think).

@sarayourfriend, ah, thanks so much! That's definitely it

@AetherUnbound thanks to Sara's excellent suggestion this is ready for review 👍 the rule should definitely work now.

LGTM once the tests pass :+1:

Looks like there might be some test flake here 😢 I'll confirm on the next run and create the necessary critical issues.

source: gharchive/pull-request

authors: sarayourfriend zackkrida

repo: WordPress/openverse

license: MIT

license_type: permissive

license_source: github-api


text:
Split project into processor & core artifacts (fixes #18)

Pull apart core & codegen sections of the library to create two separate artifacts, in order to keep the javawriter dependency out of the main classpath
Updated dependency versions where needed

You can access this as version 1.3-SNAPSHOT from the maven snapshots repository: https://oss.sonatype.org/content/repositories/snapshots

authors: aurae ndtaylor

repo: Workday/postman

license: mit

license_source: bigquery


text:
Reformat ontology to support children on non-leaf nodes

Everything is called a node and has an explicit name.  Every node can have children, but leaf nodes have none.
Comments still need to be transferred manually.  The readme file needs to be updated to match.  The format turned out a little wider than I thought it would.

I'm going to reformat this.  There is at least one problem.

repo: WorldModelers/Ontologies


text:
Enable warning and error message localization

Currently warnings and errors are returned as raw English strings. It would be helpful to have a localization mechanism as requested on the ODK Forum.
I think the big decision point is whether to establish warning/error codes so that external clients can manage localization or to manage localization in pyxform. The latter is probably more widely useful.

Related to #581

source: gharchive/issue

authors: lindsay-stevens lognaturel

repo: XLSForm/pyxform


text:
Call verify with public key

How can I pass a public key to the XMLVerifier?
from xml.etree import ElementTree as ET
from signxml import XMLVerifier

public_key = ET.fromstring(open("example_public_key.xml", "r").read())
license_xml = ET.fromstring(open("example_signed_document.xml", "r").read())
verifier = XMLVerifier()
result = verifier.verify(license_xml, require_x509=False)  # How can I pass public_key here?

example_signed_document.xml:
<?xml version="1.0" encoding="utf-8"?>
<ExampleDocument>
    <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
        <SignedInfo>
            <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
            <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
            <Reference URI="">
                <Transforms>
                    <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
                </Transforms>
                <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
                <DigestValue>Mj1IFnATozp59VbG1mytVtAEFmY=</DigestValue>
            </Reference>
        </SignedInfo>
        <SignatureValue>jbuKqu2kTpRvWwlWNqBegNJMNvE0lAzDAdqdhMgDegU8NzJLZTHknux4KxWns2Rz2qmmTSGO3FzUDjP9GkFyvWX9aQyjf0zCxIudT20uXcV6pGPZSdUd9NRYANjurjxIFvhZHUDHpylVVwtNhyHzY80lB5pEfsuZDJPAmj2HBYo=</SignatureValue>
    </Signature>
</ExampleDocument>

example_public_key.xml:
<RSAKeyValue><Modulus>vLSnsYB9aueq2ITyz4oVXe38Dodl39K+MKmGemk8FHxOX0bx/Vgc+DvFe2fjGVefmmd9IYHJFS93AAAGJHRVAFc0Oz8P8VlOEhj2ftzCNDC9R5icHgTjQvrll/yBQMMBXwE7aDO4oLn5GGiYx8N9v646Thh0dJ0ipFv7r15dNHU=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue>

Thanks.

Dear @kislyuk just wondering if this is a supported feature or not?
@petsuter did you find a solution to this ?
Thanks.

Unfortunately I did not find a solution so far, no.

This is not a supported feature since I'm not aware of any commonly used application that carries bare public keys out-of-band like this. If someone knows of such an application, please let us know here.
The easiest solution to the original question is to subclass XMLVerifier, pass a placeholder X509 cert to verify(), and overload _verify_signature_with_pubkey() to get the key data out-of-band.

authors: kislyuk pcoder petsuter

repo: XML-Security/signxml


text:
Support DynamicNFT XLS-46

Clio has an index table nf_token_uris to store the uri. Since the URI is changeable for XLS-46 , we need to update our logic to support.

There might be an edge case that could result in data loss. If NFTokenModify and NFTokenCreateOffer/NFTokenAcceptOffer occur in the same ledger, then the newest URI may not be stored. This is because the ETL sorts the NFT transactions in the order of their occurrence, and only keeps the NFT data from the last transaction, which means that whatever data NFTokenModify wants to store is always discarded.
This should be looked into and checked. If it's the case, then we may potentially need to update the NFT ETL to store URI every time NFTokenCreateOffer/NFTokenAcceptOffer happens (currently, only NFTokenMint stores URI)

repo: XRPLF/clio

license: ISC


text:
XfxEntry and XfxComboBox colors

Bug

Version Number of Control: 1.0.1.4
Device Tested On: Any Android
Simulator Tested On: Any Android

Expected Behavior
Setting Placeholder color will set the color of the placeholder
Actual Behavior
Setting the Placeholder color has no effect
Steps to reproduce the Behavior
Try to set the color of a placeholder
Feature Request:
There's also a feature request attached. Currently there's no way to set the Highlight color of a control. The Highlight color should update the underline as well as the label of an XfxEntry and an XfxComboBox.
Api Change:
public static readonly BindableProperty HighlightColorProperty = BindableProperty.Create(nameof(HighlightColor),
    typeof(Color),
    typeof(XfxEntry),
    Color.Accent);

/// <summary>
/// Sets the color of the active label and active underline. This is a bindable property.
/// </summary>
public Color HighlightColor
{
    get { return (Color) GetValue(HighlightColorProperty); }
    set { SetValue(HighlightColorProperty, value); }
}

+1

Any progress in this bug?:(

None yet. It actually takes a bit of planning to figure out how I want to handle all of the states.
On Fri, Mar 31, 2017 at 2:42pm, Bryan Sanchez < notifications@github.com [notifications@github.com] > wrote:
Any progress in this bug?:(
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub [https://github.com/XamFormsExtended/Xfx.Controls/issues/6#issuecomment-290837430] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AAcySuD8mfIadG12U5lCmoS6A71wrxVcks5rrXNDgaJpZM4Mhn4K] .

Can i help you, or you wanna to handle this bug yourself? I need this functionality :(

I'm keen on the help for sure!
So I was originally thinking we'd use HighlightColor, but I'm wondering if we piggyback off of "Focus", and therefore have a FocusedColor and an UnfocusedColor (though I'm definitely open to suggestions).
These would set the color of the floated label and the underline. The default FocusedColor should should be Color.Accent and the default UnfocusedColor should be Color.Default.
Also keep in mind that an error will override the underline color to RED, but the floated label stays the same color for it's state.
Feel free to bounce ideas around here, or run with the implementation if you like.
FYI the EditText.Background is where you set the ColorStateList in Android for the underline color, and it's a PITA.

Okey i will see what can i do, if i able to get any progress i will tell you :D

@BryanSan did you get anywhere with this?

No :/ i didn't any useful, I will keep trying when I get some free time
Enviado desde mi iPhone
El may. 11, 2017, a las 7:39 PM, Chase Florell <notifications@github.commailto:notifications@github.com> escribió:
@BryanSanhttps://github.com/bryansan did you get anywhere with this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/XamFormsExtended/Xfx.Controls/issues/6#issuecomment-300953162, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APp14oaVkkMGHCcqI60AIH3mfCPUjUncks5r46pMgaJpZM4Mhn4K.

Just a note to say this hasn't fallen off the tracks yet. It is hard however to find time, and every time I go to tackle it I get overwhelmed with Xamarin Forms internal and sealed classes.

I am not sure if this might help, but I modified the cursor color, default hint color, and text color when activated like this:
                  IntPtr intPtrtextViewClass = JNIEnv.FindClass(typeof(EditText));
		IntPtr mCursorDrawableResProperty = JNIEnv.GetFieldID(intPtrtextViewClass, "mCursorDrawableRes", "I");

//By Setting the value as 0, the color of the cursor will be same as the text color.
		JNIEnv.SetField(EditText.Handle, mCursorDrawableResProperty, 0);

		IntPtr TextInputLayoutViewClass = JNIEnv.FindClass(typeof(TextInputLayout));
		IntPtr mDefaultTextColorProperty = JNIEnv.GetFieldID(TextInputLayoutViewClass, "mDefaultTextColor", @"android/content/res/ColorStateList");
		JNIEnv.SetField(Control.Handle, mDefaultTextColorProperty, JNIEnv.ToJniHandle(new ColorStateList(new int[][] { new int[] { 0 } },
                                                                                new int[] { (Element.PlaceholderColor).ToAndroid() })));

		IntPtr mFocusedTextColorProperty = JNIEnv.GetFieldID(TextInputLayoutViewClass, "mFocusedTextColor", @"android/content/res/ColorStateList");
		JNIEnv.SetField(Control.Handle, mFocusedTextColorProperty, JNIEnv.ToJniHandle(new ColorStateList(new int[][] { new int[] { 0 } },
                                                                                new int[] { (Element.TextColor).ToAndroid() })));

@DevAnkur does this require anything special in the app styles xml or can it be fully programmatic? I'd be interested in a PR if you have time. I can handle the iOS stuff if you want to PR the Android stuff.

@ChaseFlorell , sorry for late reply. For changing the placeholder color and text color, we won't require style.xml, it is fully programmatic.
I will try to work on PR over the weekend but I can't commit as I am a bit occupied with office work.

Whatever you can do I appreciate. I'm also tied up on other tasks and haven't been able to fully commit to this lately.

Is there any update here?

This would be very nice, any updates?

+1

Still super tied up right now. If anyone wants to submit a PR, it'll be greatly appreciated. Otherwise there's going to be a delay until I can dedicate several hours to this one.

@ChaseFlorell
I would be happy to help. Can you give me initial guidelines where I can start this?

For me, it would already be a big help, if the color would be set to the Accent/Tint color on iOS (that is what is actually happening in Android). Because that is actually the default color I want to set it to.
I cannot get the project to compile, still working on that here.
But I think this would do the trick. In the iOS Project in FloatLabeledTextField.cs:
Line 30, add:
using Xamarin.Forms.Platform.iOS;

Line 60:
remove
FloatingLabelActiveTextColor = UIColor.Blue;

and add
FloatingLabelActiveTextColor = Xamarin.Forms.Color.Accent.ToUIColor();

If I get the project to compile, I will make a push request.

@RudolfVonKrugstein definitely a good stop-gap

I added a pull request here: https://github.com/XamFormsExtended/Xfx.Controls/pull/32
It is not as simple as I wrote a few posts up because one has to be careful at what point the Accent color is set.
But the pull request works for me.

Merged, thank you @RudolfVonKrugstein .

@ChaseFlorell Is it fixed?

@jariwalahetal no. The merged PR simply makes it so that the color is set to the Accent color on iOS. It is only a stop-gap until we can get the bindings wired up.

I have completed the iOS (read easy) work.
You can track progress in this branch
https://github.com/XamFormsExtended/Xfx.Controls/tree/issue-%236

big work.
but instead is it possible to set the font size of the placeholder?

I'm pretty close to being finished this story, however I'm struggling with the underline on Android.
https://github.com/XamFormsExtended/Xfx.Controls/blob/issue-%236/src/Xfx.Controls.Droid/Renderers/XfxEntryRendererDroid.cs#L187
I've asked for help on StackOverflow as I just can't figure this out.
https://stackoverflow.com/q/47688399/124069

Finally solved the Android debacle. Had to go pure AppCompat.

authors: BryanSan ChaseFlorell DevAnkur RudolfVonKrugstein brux88 elyfran jariwalahetal samukbg


text:
[WIP] Introduce wire class

Context:
Introduces a new wire class. This class will be used in following PRs to rewrite the code base.
Description of the Change:
Adds a file wires.py containing the new Wires class. It subclasses from Sequence, but offers some functionality known from sets, such as intersect, combine, as well as useful functions such as select_random to choose random wires.
A Wires object is immutable, and no function should alter the wires list which is the central object of the class.
Benefits:

better bookkeeping,
reduces code repetition where wires are checked,
avoids bugs stemming from wrong wire types in backend

Possible Drawbacks:
Related GitHub Issues:

It is hard to review this class without seeing it in action. Note that this branch serves as the base for a few following PRs, and will not be merged before the entire refactor is complete.

When the class is done, I'd recommend merging it into the codebase, rather than keeping a holding branch. That will reduce future merge conflicts, and it won't hurt anything, since the class is not actually used anywhere yet!

Sorry, don't know what happened there. I clicked  to update the branch and it just merged it into master!

No problem, I'll open a fresh one and implement or re-address all comments made so far.

repo: XanaduAI/pennylane


text:
converter net3 model error！

finished parsing nnet3 (110) components.
left_context: 1, right context: 1
model has 146 nodes.
start making ONNX model.
Traceback (most recent call last):
File "converter/convert.py", line 202, in
main()
File "converter/convert.py", line 188, in main
onnx_model = converter.run()
File "converter/convert.py", line 71, in run
onnx_model = g.run()
File "/data/aiwork/kaldi-onnx/converter/graph.py", line 113, in run
onnx_model = self.make_model()
File "/data/aiwork/kaldi-onnx/converter/graph.py", line 747, in make_model
value_info=internal_inputs)
TypeError: make_graph() got an unexpected keyword argument 'value_info'

which version of onnx are you using?

你使用的是哪个版本的onnx？升级你的onnx。

onnx 1.3.0

Could you provide more info? Cannot reproduce your problem.

Could you provide more info? Cannot reproduce your problem.

tdnn-f Trained chain model. Is that the reason? Whether to support chain mode?

It possibly is a problem related to your environment. Could u provide your .mdl for testing?

It possibly is a problem related to your environment. Could u provide your .mdl for testing?
Baidu Disk Address：https://pan.baidu.com/s/1WkBZUzZilqT8A2nrJiVjPg
Extraction code：odre

I have successfully converted your model to ONNX model.
Before converting, need to run the following command.
/path/to/kaldi/src/nnet3bin/nnet3-am-copy --binary=false \
                                                                   --prepare-for-test \
                                                                   --raw=true \
                                                                   path/to/final.mdl \
                                                                   path/to/tdnnf-test.mdl

You can download the onnx model from:
https://cnbj1.fds.api.xiaomi.com/mace/kaldi-onnx/tdnnf-test.onnx?GalaxyAccessKeyId=5151729087601&Expires=1559651564328&Signature=k1X9k62J9PUGeSUvTlkabhG+Ai4=

authors: TonyMou qiufengyun

repo: XiaoMi/kaldi-onnx


text:
utilities.h: No such file or directory

Hello, I use VoiceCalls.ino but Arduino still needs utilities.h. Where can I get that?
LilyGO-T-A76XX/examples/VoiceCalls/VoiceCalls.ino
#####################################
C:\Users\xx\AppData\Local\Temp.arduinoIDE-unsaved20241115-33160-g1trb8.ybsee\sketch_dec15a\sketch_dec15a.ino:15:10: fatal error: utilities.h: No such file or directory
15 | #include "utilities.h"
|          ^~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: utilities.h: No such file or directory
#####################################

@23tom2323 Make sure it is in the same folder as your poject
If I check the repository, it is there
https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/examples/VoiceCalls/utilities.h


text:
Amplify batches

This gathers sequences of small input batches and fuses them to pass into the next rows. It is intended to reduce the overall number of calls to the VE, and process significantly larger batches.

Add new customization say that a target batch is 64MB in size.
Spark Internal Row --> Arrow conversion to use this mechanism (relevant for caching)
VeAmplifyBatchesPlan to apply a similar approach. This to use BatchAmplifier which is a generic way to transform an iterator to an iterator of batches that get as close to a target limit as possible.
Add SparkInternalRowsToArrowColumnarBatchesTest test to validate the spark converter just in case.

Not noticing improvements, at least at Scale 1. It seems possibly related to Joins going through Spark for now.

repo: XpressAI/SparkCyclone


text:
Diff-Retinex: Rethinking Low-light Image Enhancement with A Generative Diffusion Model

Could you please provide the code for Diff-Retinex? thanks

The code will be released after the journal version of the paper is accepted. Thank you for your patience.

I wish you an early admission. Thank you！
在 2024-07-03 16:04:35，"Xunpeng Yi" @.***> 写道：
The code will be released after the journal version of the paper is accepted. Thank you for your patience.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

authors: XunpengYi Z-ztao

repo: XunpengYi/Diff-IF


text:
The links to TransFusionL model don't work

Hey, I am trying to download weights for TransFusion model L, but the links are dead:
https://github.com/XuyangBai/TransFusion/blob/master/docs/model_zoo.md
I.e.
https://github.com/XuyangBai/TransFusion/blob/master/configs/configs/transfusion_nusc_pillar_L.py
https://github.com/XuyangBai/TransFusion/blob/master/configs/configs/transfusion_nusc_voxel_L.py
result in 404 error

These can be found here:
https://github.com/XuyangBai/TransFusion/blob/master/configs/transfusion_nusc_pillar_L.py
https://github.com/XuyangBai/TransFusion/blob/master/configs/transfusion_nusc_voxel_L.py
The link in the documentation is broken I think.

authors: Huxwell wqueree

repo: XuyangBai/TransFusion


text:
🛑 MOMO is down

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

HTTP code: 0
Response time: 0 ms

Resolved: MOMO is back up in d3218a8.


text:
服务挂了

版本号
~
什么问题
随意生成了一个API，发现是无法被访问到的，不知道是不是服务挂了？
如何复现此问题
参见如下API
http://yapi.smart-xwork.cn/mock/69549/matrixproject/DemoTestconfig
什么浏览器
~
什么系统（Linux, Windows, macOS）

我也遇到同样的问题，体验地址的接口突然就用不了，参见如下API：
http://yapi.smart-xwork.cn/mock/100354/test/list

authors: menglidong qingmarch

repo: YMFE/yapi


text:
Design & Style

Redefinition of the interface to improve YOURLS experience.

Second interface preview. Need completions.
Interface Styling

[x] Design with HTML5 - CSS3

Bootstrap 3.0.0
Flat UI
Font Awesome
Introduce Responsive-design

[x] Clean HTML template

Clean declarations
More separated container

Header simplifying
Nav improving
Foot cleaning

[x] Basic Installation corrections

Be friendly with errors - notices
Fix interface when re-loading installation

[x] Loading pages & animation
[x] Reduce request and loading time

Minimize in one file all code

[x] Improve JavaScript

jQuery 2.0.0
ZeroClipboard
New interactions

[x] Move assets in assets/ folder
[x] Move flags into CSS

Themes

[x] Create theme-sample repo

Import & use LESS files

[x] Allow overwriting official style - resolves #1234

CSS - JS enqueue
Filters

[x] Customize HTML structure
[x] Add full bootstrap theme

Extra
Coding Style

[x] Clean PHP with HTML
[x] Apply strictly standards everywhere

Specific Cases

[x] Fix unlicensed favicon
[x] Remake graphically readme.html - resolves #1390
[x] Twitter profile

Hello, what happened to the newly designed interface ... how to get it ????

@mtsmayad The redesign is still work-in-progress. 🙂

I whipped up this mockup yesterday of what I'd personally like to see for an updated YOURLS interface. (Material design)
Thought I'd post it in here for posterity. https://codepen.io/j_holtslander/pen/oNjGaYw

Hi @LeoColomb is there an ETA for 2.0?
Thanks

@soneji not at all

@LeoColomb Soon 😉

@soneji Please don't post any unnecessary contents here, thanks.

Where is the 2.0-wip branch? I cannot find it - can I look at the changes?

authors: JasonHK JayHoltslander LeoColomb mtsmayad ozh soneji

repo: YOURLS/YOURLS


text:
Feature request: Streaming from STDIN

First off, I really like this tool, so thank you for making it!
Imagine you have a program that slowly generates CSV lines. It'd be nice if csvlens could stream STDIN instead of waiting for it to close.
Compare the behavior of these commands:
$ bash -c 'echo a,b; sleep 2; echo 1,2; sleep 2; echo 3,4' | less
$ bash -c 'echo a,b; sleep 2; echo 1,2; sleep 2; echo 3,4' | csvlens

You'll notice that less starts showing output immediately, but csvlens waits a full 4 seconds to show any output.

Thanks for the suggestion! Will look into adding support for this.

authors: YS-L rzane

repo: YS-L/csvlens


text:
[bug][显示问题]左侧显示栏有问题

如图，下拉重叠了
版本	Windows 11 家庭中文版
版本	21H2
安装日期	2022/3/10
操作系统版本	22000.1696
Version: 1.76.2 (system setup)
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:55:54.936Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Windows_NT x64 10.0.22000
Sandboxed: No

https://github.com/YXL76/cloudmusic-vscode/issues/783


text:
PageRank

Proposed Changes
Added PageRank algorithm and some minor changes to BFS and SSSP
Types of changes
What types of changes does your code introduce to GraphBLAS-sharp?
Put an x in the boxes that apply

[ ] Bugfix (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)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] Build and tests pass locally
[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[ ] I have added necessary documentation (if appropriate)

Added signature file for PageRank module so it is now impossible to do something withPageRankMatrix from outside. Had to made module Backend.PageRank not internal because type PageRankMatrix was not visible from Algorithms.PageRank module, all members except for type were made internal instead.

@gsvgit Can we disable document assembly on Windows? This red mark is disorienting

Don't know why I can't reply to a comment about let mutable error.
This variable is created in such way that while cycle will be entered, looks pretty clear to me.
Also, explaining why vectors above are created in such way in a few lines of comments instead of article about PageRank is not possible, implementing PageRank implies that person would understand why such values are used.
Only reasonable thing to do in this case might be a link to the article in the comment

Yes, then we can stop at the comments

authors: IgorErin kirillgarbar

repo: YaccConstructor/GraphBLAS-sharp


text:
Unhandled rejection when connection to eventsource gets terminated

I am using the event-source-polyfill library to create an EventSource connection in my Nodejs project using the dynamic imports mentioned in docs.
The connection to the eventsource server gets terminated occasionally due to unknown reasons.
Expected behaviour:
Eventsource catches the error caused by connection termination and handles it as required
Actual behaviour:
The error thrown due to this termination is not caught, leading to an unhandlerejection in the node process. The error stack I obtain is:
TypeError: terminated
    at Fetch.onAborted (node:internal/deps/undici/undici:14036:53)
    at Fetch.emit (node:events:513:28)
    at Fetch.emit (node:domain:489:12)
    at Fetch.terminate (node:internal/deps/undici/undici:13295:14)
    at Object.onError (node:internal/deps/undici/undici:14131:36)
    at Request.onError (node:internal/deps/undici/undici:7601:31)
    at errorRequest (node:internal/deps/undici/undici:9797:17)
    at TLSSocket.onSocketClose (node:internal/deps/undici/undici:9248:9)
    at TLSSocket.emit (node:events:525:35)
    at TLSSocket.emit (node:domain:489:12) {
  [cause]: BodyTimeoutError: Body Timeout Error
      at Timeout.onParserTimeout [as _onTimeout] (node:internal/deps/undici/undici:9189:32)
      at listOnTimeout (node:internal/timers:571:11)
      at process.processTimers (node:internal/timers:512:7) {
    code: 'UND_ERR_BODY_TIMEOUT'
  }
}

Additional details
The EventSource is initialized by:
import('@titelmedia/node-fetch').then(function (fetch) {
      globalThis.fetch = fetch.default;
      globalThis.Response = fetch.default.Response;
      const source = new EventSource(url);
      callback(null, source);
    });

The error is thrown from time-to-time when the eventsource times out and creates a new connection.

We are experiencing a similar issue when using this library with React Native. The library is a dependency of another package we are using.

Is there an answer to that question now？

You are saying it is "connection termination", but really the line of code of XMLHttpRequest.js looks like something else. Is it a bug of that lib? The attached stack trace does look relevant to EventSorce library. Is it really not caught?

authors: Gijela RayHughes Yaffle jayakrishnankp

repo: Yaffle/EventSource


text:
#175 Guest Functionality

Resolves #175, currently includes some tests but still in progress (dependent on #1068)

Don't forget to add a condition to the skip_before_action in the ContactController.

awesome, the parametrized shared example group is especially slick. Once you add that condition and we get #1068 sorted out this should be good

Thanks, I'm going to add the conditioned mentioned in my last comment and merge this in immediately; only the tests are blocked on #1068 so the rest of the functionality should be fine.

On second thought, I'm going to wait to merge until #1068 is resolved (hopefully tomorrow), no sense in adding failing tests to master.

I'll have to rebase once #1068 is merged in and then I'll merge this in as well.

Rebased onto master, all tests pass when the CSS id is added to the relevant div so once we merge into #1068 this should be all green :-).

looks good to me, lets see abbout 1068

Great, rebasing / squashing, checking final build before merging :-)

authors: orenyk squidgetx

repo: YaleSTC/reservations


text:
App keep changing color and freeze

This bug seems to affect newer 2.x version only. The apps keep changing the color then freeze for a short time if lockscreen/primary wallpaper is 2 different one, makes it impossible to do anything unless the switch is turned off or do it fast.

Hi there, thanks for reporting this issue. Could you maybe provide more information about it?

device and android version
mode (theme or time)
are you using images, a plain color or a gradient

And what do you mean with the apps keep changing the color?

Here's it in action: https://imgur.com/a/8OqBpME. Turn out not just the app but it change the color palette of the whole system as well.

I think I know what was happening. Could you try out this version with theme trigger?
app-debug.zip  (rename the file to .apk)

I think I know what was happening. Could you try out this version with theme trigger? app-debug.zip (rename the file to .apk)

Sorry for the ultra late reply (got lost in the middle of changing PC, the new apk no longer changing color then freeze (as expected in v1)

repo: Yanndroid/DualWallpaper


text:
how to get ios package name

because for ios use package name like ("calshow://") so how i can get this type package name for different apps . i only check app is installed or not in ios device

https://stackoverflow.com/a/51650912

https://support.apple.com/en-vn/guide/deployment/depece748c41/web
It's not working like it should be @Yash-Garg

authors: Yash-Garg philipvrx shahzaib2023rnssol

repo: Yash-Garg/AppCheck


text:
.dart_tool/flutter_build/generated_main.dart(50,14): error G9EFD8EEC: Member not found: 'Msix.registerWith'.[BUG]

.dart_tool/flutter_build/generated_main.dart(50,14): error G9EFD8EEC: Member not found: 'Msix.registerWith'.

Hello @jinfagang
I need more details to try help you with this problem,
here the issue template

please see: #68

authors: YehudaKremer jinfagang

repo: YehudaKremer/msix


text:
what rule should i take?

my scenario:
in some period:
host 1：log count--count1;
host 2 :  log count--count2;
then count1/count2 <threshold then alert
Any leads would be much appreciate.

You can do percentage based alerts  http://elastalert.readthedocs.io/en/latest/ruletypes.html?highlight=percentage#percentage-match
type: percentage_match
doc_type: something
filter:
 - terms:
      hostname:
       - host1
       - host2
match_bucket_filter:
 - term:
      hostname: host2
min_percentage: 50

this means "Alert when count(host2) is less than 50% of count(host1 + host2)"

Great, thank you! @Qmando

Cheers. Feel free to re-open if you have issues.

authors: Qmando xiaoxinba

repo: Yelp/elastalert


text:
Testing rules on CentOS 7

Hi, I'm implementing Elastalert on CentOS 7 and I have some problems. I'm trying to test the rules with this command: elastalert-test-rule --config config.yaml example_rules/example_frequency.yaml but I have a mistake:
Traceback (most recent call last):
File "/usr/bin/elastalert-test-rule", line 11, in
load_entry_point('elastalert==0.2.1', 'console_scripts', 'elastalert-test-rule')()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2852, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2443, in load
return self.resolve()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2449, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/lib/python2.7/site-packages/elastalert-0.2.1-py2.7.egg/elastalert/test_rule.py", line 61
print('Invalid filter provided:', str(ea), file=sys.stderr)

I tried to install Python3 but I have a different error telling me that a package is missing and commands like pip no longer work. Does anyone know how to properly install Python3 on CentOS or does anyone know a solution to my problem?
Thank you ! :)

Have you tried pip3 instead of pip? A lot of the packages have a different name, like python3-pip. If you must use python2, you have to use elastalert v0.1.39

Same here

authors: Qmando ThibaultLaplace weiofcn


text:
ElastAlert not starting: "ElasticSearchClient object has no attritbute 'ccr'"

Hi,
I'm new to ElastAlert. I tried to install it using the follwing steps:
sudo git clone https://github.com/Yelp/elastalert.git
sudo pip3 install "setuptools>=11.3"
sudo python3 setup.py install
sudo pip3 install "elasticsearch>=5.0.0"
When I try to run just the command "elastalert" i get the follwing error:

Traceback (most recent call last):
File "/home/fpadmin/.local/bin/elastalert", line 11, in
sys.exit(main())
File "/home/fpadmin/.local/lib/python3.6/site-packages/elastalert/elastalert.py", line 2034, in main
client = ElastAlerter(args)
File "/home/fpadmin/.local/lib/python3.6/site-packages/elastalert/elastalert.py", line 138, in init
self.rules = self.rules_loader.load(self.conf, self.args)
File "/home/fpadmin/.local/lib/python3.6/site-packages/elastalert/loaders.py", line 125, in load
raise EAException('Error loading file %s: %s' % (rule_file, e))
elastalert.util.EAException: Error loading file example_rules/example_new_term.yaml: Error initializing rule Example new term rule: Error searching for existing terms: AttributeError("'ElasticSearchClient' object has no attribute 'ccr'",)

I'm a little bit lost here so any help would be greatly appreciated.
I'm running ubuntu 18.04 and python 3.6.7.

can you Please help me is kibna elastalert plugin and elastlaert server both need for alert?

It looks like this library pins the elasticsearch library to a single version7.0.0, that's probably not what the library actually needs and might be getting in the way of a fixed elasticsearch package version from being installed.


text:
[Feature] 希望可以增加多apikey轮询。

希望可以增加多apikey轮询。软件分享给多个好友一起玩，每个人都给我提供他们的api，然后配置进去能一起使用，不要只薅一个账号~

#363

authors: Yidadaa htnanako

repo: Yidadaa/ChatGPT-Next-Web


text:
允许设置 System Prompt？

有时候希望一个对话专门用来解决一个问题（例如翻译、润色），但是经过几次来回后就会忘记最早 Prompt 的要求，就要再重新输入一次 prompt。希望可以允许设置一个对话的 system prompt，这样使用更方便一些。
或许还有其他实现这个需求的方法但我不知道的吗？

#138

问下 system prompt 和 assistant prompt 有什么区别吗？好像都是 AI 的回复。

authors: ImAmelie Yidadaa l3ony2k


text:
升级到AndroidX 出错了

Issues Guideline
Following information can help us to resolve the issue faster.

Library version
Support-v4 version
Logs    java.lang.NoSuchFieldError: No field mActive of type Landroid/util/SparseArray; in class Landroidx/fragment/app/FragmentManagerImpl; or its superclasses (declaration of 'androidx.fragment.app.FragmentManagerImpl' appears in /data/app/cn.primedroid.fido.sample-lTFIlev9ug_a-G5ttXwPNg==/split_lib_dependencies_apk.apk)
at androidx.fragment.app.FragmentationMagician.getActiveFragments(FragmentationMagician.java:153)
at me.yokeyword.fragmentation.SupportHelper.getPreFragment(SupportHelper.java:95)
at me.yokeyword.fragmentation.SupportFragmentDelegate$3.run(SupportFragmentDelegate.java:611)
Screenshots

In addition, we do not accept issues unrelated to Fragmentation.

大佬何时升级到AndroidX

赶紧升级啊大佬，公司项目全指望你呢

之前也一直使用这个开源项目 但是现在发现问题不能解决的话问题会比较严重 现在感觉最好还是使用activity比较好

Download 下来自己改源码呗，我都是这样干的
| |
王亮
邮箱：nice_ohoh@163.com
|
签名由 网易邮箱大师 定制
在2018年11月27日 22:11，SixPalms 写道：
之前也一直使用这个开源项目 但是现在发现问题不能解决的话问题会比较严重 现在感觉最好还是使用activity比较好
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

已释出fragmentationx: v1.0.0（以后androidx分支为默认分支, master继续作为android.support的支持分支），使用方式
compile 'me.yokeyword:fragmentationx-core:1.0.0'
compile 'me.yokeyword:fragmentationx:1.0.0'
compile 'me.yokeyword:fragmentationx-swipeback:1.0.0'

authors: CH-Augustine SixPalms YoKeyword guoheng1996 moneeWong

repo: YoKeyword/Fragmentation


text:
在线等，挺急的

在看您仿微信交互Demo中，把一些初始化根布局的操作都放到了MainFragment里面去。其实也可以放到MainActivity去的，为什么要这么设计代码呢。有什么优点吗

不要在未加入回退栈的层级内去start()其它Fragment， 比如ViewPager、loadMultiRootFragment()、FragmentTabHost内部的Fragment不可以直接start，这种情况下其内的栈应该保持干净，如果想启动其它Fragment，应该由它们的父Fragment或子Fragment去start
这是一种嵌套Fragment的科学栈设计，微信Demo采用的是父Fragment去start，这样更简单； 用子Fragment去start的是知乎Demo，明显知乎Demo嵌套会复杂些


text:
Cache Facets

Does baobab currently cache the results of facets?
So that they would only have to be recomputed when one of their input paths have changed.

Hello @saulshanabrook. Facets results are cached indeed and won't be recomputed until one of the watched paths has changed.

@Yomguithereal Great news, thanks!

authors: Yomguithereal saulshanabrook

repo: Yomguithereal/baobab


text:
규호의 과제01(스택) 제출

자료구조 멘토-멘티 과제01 스택 제출

백준 온라인 사이트에서 주어진 코딩 환경에서 python으로 풀기

repo: YongsHub/TUK-DATA-STRUCTURE


text:
transformer in beam

load the pipline pkl
transform the data at paralel
chack for data validity for the model
monitor

done


text:
QRCode generator has no validation for length of input

Minor issue but probably with a quick fix. If you enter too many characters or paste a very long text, it will crash.

yes it's crashing if enter more then 2953
i thing good length is 1500 characters

authors: sabeerbikba tvt-joni

repo: YourAverageTechBro/DevToolboxWeb


text:
🛑 UPCME is down

In e964e1a, UPCME (http://medwww.upc.edu.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UPCME is back up in 08b4762 after 15 minutes.

repo: Yourrrrlove/upptime


text:
showsCrop in  MultipleSelection

Describe the bug
when selecting multiple photos, the "cropping" screen is skipped
To Reproduce
Steps to reproduce the behavior:

Select Multiple Photos
Click on 'Next'

Expected behavior
Should display the cropping screens
Screenshots
n/a
Environment (please complete the following information):

Device: XS
OS: 14.5.1
Xcode Version 12.5
Swift Version 5

Installation Type
SPD
Additional context
N/A

Hey) I have a question about trimming multiple selections. I think this actually might be the expected behavior. When you select multiple items all of them are cropped with 1:1 ratio. This is probably for convenience, so you wouldn't have to deal with different sizes later on. And my question is: is it possible to configure a custom ratio for multiple items instead of square? And is it possible to get uncropped items along with cropped ones?

The same way as tapping on a video that has been selected and added to the gallery pops up the trim , on a photo it should pop up a crop. Maybe crop on a video as well?
Or even better, there's that square that indicates "editable". That could be a button to bring up the crop...

or use the selection zoom level to apply the crop...
anyway I wonder if anyone reads these...

anyway I wonder if anyone reads these...

true, it’d be nice if someone replied. Maybe tag somebody?

I read it with my morning coffee.

@Moonshine, this looks like a cool improvement and I'd suggest you take a shot in a PR if you have time. Please be aware that the team behind this project also have day jobs and very limited amount of time.

authors: MoonshineSG nick-beznos s4cha timothyerwin

repo: Yummypets/YPImagePicker


text:
Added Swift Package Manager Support

Added Swift Package Manager Support
Description

Added Package.swift with YPImagePicker library
Updated dependencies and fixed warnings
Added static var local: Bundle to correctly use bundle for resources of package
Removed module inheritance from .xib files.
Updated README.md file

Is this something ready to be merged. It would be really useful 👍

Is this something ready to be merged. It would be really useful 👍

Well, works fine for me, including assets and xibs. They were the biggest pain )

Well, works fine for me, including assets and xibs. They were the biggest pain )

@NikKovIos FYI :)

@NikKovIos FYI :)

@s4cha as soon as you did something with SPM, check this please.

@s4cha as soon as you did something with SPM, check this please.

Hey guys, haven't taken a deep look but spm support was already done and working a while back on the spm branch, which is documented on the readme.  @RomanTysiachnik Could you elaborate the difference here?

Hey guys, haven't taken a deep look but spm support was already done and working a while back on the spm branch, which is documented on the readme.  @RomanTysiachnik Could you elaborate the difference here?

@s4cha the spm branch seems to be a bit outdated. Moreover, as far as I understood, it is configured to work only in spm, so if you merge it to master, it will break Cocoapods integration. This one shouldn't break anything.

@s4cha the spm branch seems to be a bit outdated. Moreover, as far as I understood, it is configured to work only in spm, so if you merge it to master, it will break Cocoapods integration. This one shouldn't break anything.

Hi everyone, I just wanted to drop a message here to mention it would be great to have full SPM support in the releases.
The reason for this is we are trying to ship a library that has YPImagePicker as a dependency, and if we have that library fetch YPImagePicker from a branch instead of versioned releases it forces all projects downstream of our library to fetch our library on a branch. This is because of the way SPM works, it doesn't allow to fetch versioned dependencies if those dependencies themselves declare dependencies using a branch and not versioned releases.

Related to this PR: When using the spm branch directly we haven't run into any issues. I tested out this in my fork by merging this PR, tagging a 4.5.0 release there and then I ran into the following problem

The crash happens the moment the picker is presented with .present(picker, animated: true, completion: nil). The picker is configured the following way:
func imagePicker(_ ratio: String?) -> YPImagePicker {
    var config = YPImagePickerConfiguration()
    config.shouldSaveNewPicturesToAlbum = false
    config.startOnScreen = YPPickerScreen.library
    config.library.onlySquare = false
    config.library.isSquareByDefault = false
    if let ratio = ratio, let rectangleRatio = Double(ratio) {
        config.showsCrop = .rectangle(ratio: rectangleRatio)
    }
    config.library.mediaType = YPlibraryMediaType.photo
    return YPImagePicker(configuration: config)
}

....

let picker = imagePicker(message["ratio"])
picker.didFinishPicking { [unowned picker] items, _ in
    if let photo = items.singlePhoto {
        // Image selected now start uploading process
        ...
    }
    picker.dismiss(animated: true, completion: nil)
}

// This is where the app crashes
viewController.present(picker, animated: true, completion: nil)

I hope this helps in any way possible. If you need any help testing things out let me know and I'll be happy to help if possible.

I think that is better to support the cocoapods and spm simultaneously. But in that case we need to test this branch very well. As soon as I didn't work with spm yet, it should be @s4cha, but it seems, that he has not time for that right now.

@fdoxyz dunno if you still have that issue, but that branch resolves, since the issue is connected with how xibs are stored in bundle and where they're trying to find a corresponding class (file-owner).

There's a chance I'm doing something wrong, but I'm able to reproduce the problem in this project I created: https://github.com/fdoxyz/YPImagePickerSPM
I merged this PR into my fork and released with a 4.6.0 tag.
The project above fails if I use that tag (4.6.0)

It also fails the same way if I use your branch

But works just fine if I use the branch spm

The error is always the same:

Please let me know if I'm making a mistake somewhere @RomanTysiachnik, or I hope this helps debug the problem I'm facing.

Implemented here https://github.com/Yummypets/YPImagePicker/releases/tag/5.0.0

authors: NikKovIos RomanTysiachnik fdoxyz s4cha victormihaita


text:
HTML(anim.to_jshtml())によるエラー

本書にて学習させていただいております。
とても読みやすかったのですが、サンプルコードを実施するにあたり
下記問題がありましたので、ご報告させていただきます。
■以下該当箇所
2.2 迷路内をランダムに探索させる
#　初期化関数とフレームごとの描画関数を用いて動画を作成する
anim = animation.FuncAnimation(fig, animate, init_func=init, frames=len(
    state_history), interval=200, repeat=False)

エラーメッセージ
HTML(anim.to_jshtml())
---> 26 HTML(anim.to_jshtml())

AttributeError: 'FuncAnimation' object has no attribute 'to_jshtml'

以上よろしくお願いいたします。

sk133ef54 さん
他の人も同様に困っている可能性があるので、このようにお知らせいただけて非常に助かります。
誠にありがとうございます。
19年5月5日現在、私が再度実行したところ問題なく動作しました。
もしかしたら実行環境の違いかもしれません。
私は第2章はGoogle Colaboratoryを使用しており、ブラウザはChromeを使用しております。
どうぞよろしくお願い致します。

実行環境について記載がなく初歩的なミスをしてしまい申し訳ないです。
元の実行環境はLocal Anaconda3 Jupyter  Lab(Jupyter NoteBook) + Chromeで詳細のログなどは取っていないので申し訳ないですが、
↓の環境で改めて実行したところ(20190508)
問題なくアニメーションgifのNoteBook上で再現を確認しました。
お騒がせして申し訳ないです。
import sys
print(sys.version)
print()
print(sys.version_info)

3.6.8 |Anaconda, Inc.| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)]

sys.version_info(major=3, minor=6, micro=8, releaselevel='final', serial=0)

pip freeze

atari-py==0.1.7
attrs==19.1.0
backcall==0.1.0
bleach==3.1.0
certifi==2019.3.9
cffi==1.12.3
chardet==3.0.4
colorama==0.4.1
cycler==0.10.0
decorator==4.4.0
defusedxml==0.6.0
entrypoints==0.3
environment-kernels==1.1.1
future==0.17.1
gym==0.12.1
idna==2.8
ipykernel==5.1.0
ipython==7.4.0
ipython-genutils==0.2.0
ipywidgets==7.4.2
jedi==0.13.3
Jinja2==2.10.1
JSAnimation==0.1
jsonschema==3.0.1
jupyter==1.0.0
jupyter-client==5.2.4
jupyter-console==6.0.0
jupyter-core==4.4.0
jupyterlab==0.35.4
jupyterlab-server==0.2.0
kiwisolver==1.1.0
MarkupSafe==1.1.1
matplotlib==3.0.3
mistune==0.8.4
mkl-fft==1.0.10
mkl-random==1.0.2
nbconvert==5.4.1
nbformat==4.4.0
notebook==5.7.8
numpy==1.16.3
pandocfilters==1.4.2
parso==0.4.0
pickleshare==0.7.5
Pillow==6.0.0
prometheus-client==0.6.0
prompt-toolkit==2.0.9
pycparser==2.19
pyglet==1.2.4
Pygments==2.3.1
pyparsing==2.4.0
pyrsistent==0.14.11
python-dateutil==2.8.0
pywinpty==0.5.5
pyzmq==18.0.1
qtconsole==4.4.3
requests==2.21.0
scikit-learn==0.20.3
scipy==1.2.1
Send2Trash==1.5.0
six==1.12.0
terminado==0.8.2
testpath==0.4.2
torch==1.0.1
torchvision==0.2.2.post3
tornado==6.0.2
traitlets==4.3.2
urllib3==1.24.2
wcwidth==0.1.7
webencodings==0.5.1
widgetsnbextension==3.4.2
wincertstore==0.2

恐らくですが、Anaconda関連のアップデートをした後ですので、ライブラリのインストール等が間違っていた可能性があります。
ご対応ありがとうございました。

sk133ef54 さん
ありがとうございます。
Anaconda関連のアップデート後にローカルで実施していると上記のエラーに遭遇する可能性があるのとのことで、非常に参考になりました。
今後ともどうぞよろしくお願いします。


text:
🛑 Official Website is down

In 5bb1e74, Official Website (https://www.zeenkey.com) was down:

HTTP code: 500
Response time: 229 ms

Resolved: Official Website is back up in b2de3fe.

repo: ZEENKEY/statuspage


text:
🛑 ZEENKEY CDN is down

In 08355e3, ZEENKEY CDN (https://zeenkeycdn.ga) was down:

HTTP code: 500
Response time: 3090 ms

Resolved: ZEENKEY CDN is back up in d4c7388.


text:
bs roformer stem model

I am able to download the weights but there is no config file link it just takes me back to here

All config links now must work ok on main page. Also configs are available here:
https://github.com/ZFTurbo/Music-Source-Separation-Training/tree/main/configs/viperx

authors: ZFTurbo mcdthekid


text:
Test

sigma参数影响去噪效果

try


text:
2.42.1 patch issue fixes

Fix for the issue related to patches which were not applying on latest git i.e. 2.42.1.

looks good. will need to ensure pretest runs before merging.

/run tests

repo: ZOSOpenTools/gitport


text:
ADTS-71

FIxed css to only override  z-index when on multiline state since we also wanted to be over the loader when the query was exetuted

repo: Zarmada/digital-twins-explorer


text:
Run Miri on unsafe code in tower-batch and zcash_script

Is your feature request related to a problem? Please describe.
Zebra always uses safe abstractions. But there are a few crates we control that have a bit of unsafe or risky code.
Describe the solution you'd like
We should:

write comprehensive test suites for tower-batch, zcash_script, and any other unsafe code we control

upgrade tower-batch to tokio ^1.0 first #1086

Run Miri on those test suites: https://github.com/rust-lang/miri

Miri probably won't run on Zebra itself, because Zebra is complex, large, and has strict timeouts.
Describe alternatives you've considered
We could do nothing, and try to verify unsafe and risky code manually. But this is error-prone.

This doesn't seem to be needed, our unsafe code is pretty simple right now.

repo: ZcashFoundation/zebra


text:
Fix deadlock in chain tip watch channel

Motivation

Zebra sometimes hangs and stops synchronizing. I took a couple of core dumps when that happened, and they had Tokio executor threads waiting on mutexes related to the watch channel for the chain tip. More specifically,

one was waiting to acquire a write lock
one was waiting to acquire a second read lock
all of the others were waiting to acquire a first read lock

After analyzing the situation, it appears that the #[instrument] attributes that called receiver.borrow() kept the read lock acquired while the records are populated, and if there were two fields that required a receiver.borrow() call, then two read locks are acquired and held at the same time.
What I believe is happening is that under rare situations the write lock starts being when the first lock was acquired but the second hasn't yet. In that case, starting to acquire the write lock blocks further read locks from being acquired (likely to prevent starvation), so the second read lock never gets acquired. At the same time, the write lock never finishes being acquired because it's waiting for the first read lock to be released, which would only happen after the second lock is acquired.
This fixes #3379.
Solution

To prevent the deadlock, at most one read lock should be active in a scope. To help enforce this condition, a new with_chain_tip_block method was added, which obtains a single read lock and uses it to record the appropriate fields for instrumentation and to execute a provided block of code provided as a closure.
The other methods were refactored to use the new method, so that the read-lock is used correctly for instrumentation and for the block of code that requires it. Now, the only receiver.borrow() call should be in the with_chain_tip_block.
I also updated the async guidelines to warn about the deadlock issue with watch::Receivers.
Tests
I tried to write a test for this issue, so that we can detect any regressions. However, after a lot of effort I couldn't get something that could deterministically reproduce the issue without the fix. It seems to be hard to trigger, and requires a lot of parallelism and time, so I decided to not include a test for now.
We can try to write something again in the future.
Review

Anyone from the team can review this.
Reviewer Checklist

[ ] Code implements Specs and Designs
[ ] Tests for Expected Behaviour
[ ] Tests for Errors

Follow Up Work

I think this looks good, can you make the failing tests pass ?

I think this looks good, can you make the failing tests pass ?

Oops, sorry :sweat:
Should be fixed now. The change can be seen here.

authors: jvff oxarbitrage


text:
deps(librustzcash): Upgrade zcash dependencies for NU6

Motivation
We want to use the current main version of librustzcash so we can remove unstable features.
We will get back to depend on a release after librustzcash components are released.
Close https://github.com/ZcashFoundation/zebra/issues/8713
Solution
Upgrade, fix problems.
Draft until CI pass as there might be issues for example in the deny.toml.
Tests
No tests were added as our current suite should be enough coverage.
Follow-up Work

PR Author's Checklist

[ ] The PR name will make sense to users.
[ ] The PR provides a CHANGELOG summary.
[ ] The solution is tested.
[ ] The documentation is up to date.
[ ] The PR has a priority label.

PR Reviewer's Checklist

[ ] The PR Author's checklist is complete.
[ ] The PR resolves the issue.

The "Release crates / Check crate release dry run (pull_request)" check will not pass for this PR because we are relying on a GitHub repository for librustzcash instead of a version from crates.io. This is not allowed in our release process.
If this PR gets approved, we will need to perform an admin merge. As a side effect, all future pull requests will also require admin merges until we can revert to a proper release. An alternative is to make the "Release crates / Check crate release dry run (pull_request)" check not required. The test will fail, but we will still be able to merge. This should be a temporary measure, but it seems better than having to admin merge every subsequent pull request.

An alternative is to make the "Release crates / Check crate release dry run (pull_request)" check not required. The test will fail, but we will still be able to merge. This should be a temporary measure, but it seems better than having to admin merge every subsequent pull request.

Let's go ahead and do this then. Does anyone know how/where to do this?

I think it's preferrable to point to a commit in the main branch, and not the main branch itself, e.g.
...

I think we can do that for sure but by the talks we had with the ECC engineers in multiple meetings we decided to use the last main as all that it is and will be there is part of the next release, reducing the delta.

This will make it less likely to suddenly break if something incompatible ends up being merged into their main.

My understanding is that we actually want to break if something like that happens.
I don't mind changing this up to a commit but just wanted to point that out.

I think it's preferrable to point to a commit in the main branch, and not the main branch itself, e.g.
...

I think we can do that for sure but by the talks we had with the ECC engineers in multiple meetings we decided to use the last main as all that it is and will be there is part of the next release, reducing the delta.

This will make it less likely to suddenly break if something incompatible ends up being merged into their main.

My understanding is that we actually want to break if something like that happens.
I don't mind changing this up to a commit but just wanted to point that out.

I realized this is all moot since Cargo.lock already ensures the same commit will be used even if main is updated, so we're good. (I'm so used to working on a library that I forget about this :laughing: )

I realized this is all moot since Cargo.lock already ensures the same commit will be used even if main is updated, so we're good. (I'm so used to working on a library that I forget about this 😆 )

That's good to know, thanks for pointing it out.

@mergifyio refresh

authors: conradoplg mpguerra oxarbitrage


text:
🛑 (dev) A/B-service is down

In 3cf04e2, (dev) A/B-service (https://prod.zebr-a.com/squidex/cache/d28bb12d-727e-42a1-a57c-917c8c8a875c) was down:

HTTP code: 502
Response time: 121 ms

Resolved: (dev) A/B-service is back up in d023a12.

repo: Zebrainy/upptime


text:
this doesnt build on dart 3.10.6

% flutter --version
Flutter 3.10.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f468f3366c (5 days ago) • 2023-07-12 15:19:05 -0700
Engine • revision cdbeda788a
Tools • Dart 3.0.6 • DevTools 2.23.1

% flutter run
Launching lib/main.dart on Pixel 6 Pro in debug mode...
Unhandled exception:
Invalid argument(s): Type parameter TypeParameter(CacheStrongSnapshot.K) is not indexed
#0      TypeParameterIndexer.[] (package:kernel/binary/ast_to_binary.dart:3422:8)
#1      BinaryPrinter.visitTypeParameterType (package:kernel/binary/ast_to_binary.dart:2573:38)
#2      TypeParameterType.accept (package:kernel/ast.dart:13247:42)
#3      BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:446:10)
#4      BinaryPrinter.writeNodeList (package:kernel/binary/ast_to_binary.dart:347:7)
#5      BinaryPrinter.visitRecordType (package:kernel/binary/ast_to_binary.dart:2557:5)
#6      RecordType.accept (package:kernel/ast.dart:13400:14)
#7      BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:446:10)
#8      BinaryPrinter.writeNodeList (package:kernel/binary/ast_to_binary.dart:347:7)
#9      BinaryPrinter.visitSupertype (package:kernel/binary/ast_to_binary.dart:2525:7)
#10     Supertype.accept (package:kernel/ast.dart:13752:34)
#11     BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:446:10)
#12     BinaryPrinter.writeNodeList (package:kernel/binary/ast_to_binary.dart:347:7)
#13     BinaryPrinter.visitClass (package:kernel/binary/ast_to_binary.dart:1286:5)
#14     Class.accept (package:kernel/ast.dart:1481:38)
#15     BinaryPrinter.writeClassNode (package:kernel/binary/ast_to_binary.dart:488:10)
#16     BinaryPrinter.writeClassNodeList (package:kernel/binary/ast_to_binary.dart:374:7)
#17     BinaryPrinter.visitLibrary (package:kernel/binary/ast_to_binary.dart:1126:5)
#18     Library.accept (package:kernel/ast.dart:587:38)
#19     BinaryPrinter.writeLibraryNode (package:kernel/binary/ast_to_binary.dart:467:10)
#20     BinaryPrinter.writeLibraries (package:kernel/binary/ast_to_binary.dart:780:9)
#21     BinaryPrinter.writeComponentFile.<anonymous closure> (package:kernel/binary/ast_to_binary.dart:619:7)
#22     Timeline.timeSync (dart:developer/timeline.dart:166:22)
#23     BinaryPrinter.writeComponentFile (package:kernel/binary/ast_to_binary.dart:600:14)
#24     IncrementalSerializer.serialize (package:front_end/src/fasta/incremental_serializer.dart:308:13)
#25     IncrementalSerializer.writePackagesToSinkAndTrimComponent (package:front_end/src/fasta/incremental_serializer.dart:158:24)
#26     FrontendCompiler.writeDillFile (package:frontend_server/frontend_server.dart:827:29)
#27     FrontendCompiler.compile (package:frontend_server/frontend_server.dart:645:13)
<asynchronous suspension>
#28     listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1308:11)
<asynchronous suspension>
the Dart compiler exited unexpectedly.
the Dart compiler exited unexpectedly.
Running Gradle task 'assembleDebug'...

Please file this issue to dart-sdk https://github.com/dart-lang/sdk/issues/new?assignees=&labels=&projects=&template=1_issue_template.md&title=Create+an+issue

authors: Zekfad dannydulai


text:
Feature/python3.7

pylint2 gone stable, turn CI on to see.

Pull Request Test Coverage Report for Build 47

177 of 181 (97.79%)  changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+3.7%) to 88.49%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tortoise/backends/base/schema_generator.py
5
6
83.33%

tortoise/models.py
43
44
97.73%

tortoise/queryset.py
42
44
95.45%

Totals

Change from base Build 36:
3.7%

Covered Lines:
1608

Relevant Lines:
1765

💛  - Coveralls

@Zeliboba5 This PR is ready
I decided to mark py37+sqlite as failable, and updated the Travis env to use Xenial as a build base.
It may actually cause lots of conflicts with #29 so if you want, I can re-base it on that instead.

Seems the SQLite transaction fixes I did in #33 resolved the py3.7-sqlite test-case.
Once I get #33 working, I'll re-enable the py3.7-sqlite CI.

@Zeliboba5 This PR is once again ready, this time without caveats. This PR depends on #33, so please only merge it after that, else you will merge that in by accident.

authors: coveralls grigi


text:
Fix ReadTheDocs to build using Python3.6 and install dependancies for autodoc

It seems that RTD uses Python2.7 by default, so autodoc failed with syntax errors.
This tells RTD to use Py3.6, and to also install our standard runtime dependencies so that we don't get import errors.
This is a best effort, so I hope it solves all the problems.

Pull Request Test Coverage Report for Build 62

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

Files with Coverage Reduction
New Missed Lines
%

tortoise/backends/base/executor.py
1
95.53%

tortoise/backends/asyncpg/schema_generator.py
3
100.0%

tortoise/backends/asyncpg/executor.py
9
100.0%

tortoise/backends/asyncpg/client.py
62
68.83%

Totals

Change from base Build 53:
0.0%

Covered Lines:
1608

Relevant Lines:
1765

💛  - Coveralls

Pull Request Test Coverage Report for Build 62

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

Files with Coverage Reduction
New Missed Lines
%

tortoise/backends/base/executor.py
1
95.53%

tortoise/backends/asyncpg/schema_generator.py
3
100.0%

tortoise/backends/asyncpg/executor.py
9
100.0%

tortoise/backends/asyncpg/client.py
62
68.83%

Totals

Change from base Build 53:
0.0%

Covered Lines:
1608

Relevant Lines:
1765

💛  - Coveralls

Hmm, it made it worse.  https://readthedocs.org/projects/tortoise-orm/builds/7500692/
It just failed, but no reason?

Ah, seems there is a RTD issue since yesterday:
https://github.com/rtfd/readthedocs.org/issues/4380


text:
Android Runtime Permissions

Added new transformer which checks and requests Android locations runtime permissions.
Added:

PermissionTransformer class to RxJava and RxJava2 implementations.

Updated:

Many small signature changes. So it is not backward compatible.

Coverage increased (+3.5%) to 91.129% when pulling d9c14b6d72b85c5e94d7ed2f30446433f82b5637 on feature/runtime_permissions into fc2727d5d3db66ca596009c895184ec1ccd1c41d on dev.

authors: Zellius coveralls

repo: Zellius/RxLocationManager


text:
Support for Ecto 3.2

Hi, this PR aims to support Ecto 3.2.
Besides adding support for mix format, I've added embed_as/1 and equal?/2 to Ecto.Type implementations (Action, Patch, Schema) and prepare_query/3 to Repo Queryable.
All tests are passing with Elixir 1.9 and Erlang 22, and I've tested it too with my company's private repos that already use ex_audit 0.6.

Nice work

I just published v 0.7

authors: narrowtux youalreadydid


text:
allow custom history fetching

Concrete use-case: pagination. There might be other use cases as well.
For more feature proof solution part after querying also should be extracted to separate function that can be overwritten. Its outside of scope for my current task.

The query has already been extracted into its own function by #65.
Maybe the part that applies the diffs from the list of changes in the current history function should be extracted so it can be used by others in combination with history_query in more flexible ways. I personally don't like the style with the callback.

authors: narrowtux revati


text:
[Spell] Find Familiar

[x] Remove attacks from normal Familiars #125
[ ] Develop action for Pact of the Chain Warlocks provide attacks to their familiars by using the Warlock's action
[x] Include Help (Distract) action for familiars when #5 is done (#125)
[ ] Reduce cast range (10 feet)

Find Familiar is an 1-hour cast and have component cost, which isn't implemented yet. It also has the ritual tag, so my idea is to make the spell only be used outside of combat, but not consume a spell slot (no one would ever use the traditional spell slot for an 1-hour cast instead of 1h10 min for no spell slot). It also has the problem that rituals (for wizards, at least) don't need to be prepared to be cast as rituals if they have it on their spellbook, which I have no idea how to implement. So here's the possible extra changes I have in mind, which might not be doable

Out-of-combat only, but doesn't cost a spell slot (doable)
Costs an specific item (or 10gp) to cast (not sure if doable)
Usable from spellbook without preparing for wizards (probably not doable - which isn't a huge problem, since currently, preparing is done at any time outside of combat, not only at long rests)
Dismiss action, which should give the recast action for free for it to reappear (and can be used in-combat)
Touch-spell delivery system (I'd rather develop my own game than try to implement this on BG3)

I'd stay, out of combat only. It's a good first step. The 10GP would be closer to RAW but familiars aren't as much nearly as helpful in BG3 than on the Tabletop.
And if we think about ritual spells in general, out-of-combat free cast is pretty much the simplest best we can get. If we can make the casting time a bit longer (like 2x or 3x) that would be closer to RAW (but 10 minute might not work here).

I don't think we can increase cast time. There is no cast time bigger than 1 action in BG3. So we either have in-combat or out-of-combat.
If the usual cast time is 1 action or 1 bonus action and it has the ritual tag, then we get a clear difference between a regular spell that can be used in combat and the ritual that can only be used outside of combat. For spells like Find Familiar, though, the regular use already requires an only out-of-comba situation, since it's an 1 hour cast time. In that case, there's no conceivable situation (in BG3) that someone would want to use a spell slot, so I'll make it the ritual version only.

Sounds like we have a pretty solid solution for Find Familiar (and other ritual spells).

Are there any other Ritual spells currently in BG3?

Good question! I checked the list from https://baldursgate3.wiki.fextralife.com/Spells and from http://dnd5e.wikidot.com/spells:ritual and the answer would be: none. So, only find familiar.

Update: now there is a RitualCost option for spells, which make them have different costs inside or outside of combat. This eliminates the need of having separate spells with separate costs.
Also #125 makes a very good progress on making Find Familiars almost work properly. I just need to adjust the ones from Pact of the Chain, possibly giving the caster something along the lines of Commander Strike

Not sure if you're done with Find Familiar yet, but if you wanted to simulate a longer casting time, you could apply a status to the caster that blocks action resources for a duration.

I think just making it Out of Combat is enough. I don't see any benefit on making the player wait for a spell to be cast while they're not time pressured, anyway. Just kills the flow of the game

Oh I agree. Just figured it was worth mentioning.

authors: FelipeRenault drkekyll gnufred


text:
Loading screen

Adds two example classes to use a loading screen or a loading bar.

Thank you! One small problem, before I can properly review it - you seem to have added some commits from #28 in this branch, it'd be great if you could remove those because they'll cause merge problems.

Merged! Fixed the bar formatting bugs and improved the formatting a little: 74a12a761 , Also, updated the test app to allow testing two different ProgressBars: efd2231 - though it also might've been done with two different example apps. Also, I added self.refresh() to the progress bar setter: cf59e74 , do you think that was a good idea? It improves responsibility of the progress bar drastically, but it means setting the progress variable has a side effect. I also couldn't find the reference to UIWidget in the code ( 9d8a850 ), and I don't recall - have you proposed it already? Grep doesn't return any hits, so I don't think I merged that, but having a centralised base for UI elements would be useful.

About the refresh : agreed, more reponsiveness is better. Good idea.
The UIWidget was a forgotten stuff. I started working on it, decided it belonged to another PR. I just forgot the reference. Sorry.

authors: CRImier monsieurh

repo: ZeroPhone/ZPUI


text:
Bases being captured by an enemy do not produce income

Closes #58

Add new tracks and function to check for bases being captured
Subtract bases being captured from total bases when calculating income

At first glance, this looks good. I'll review more closely and merge shortly.

authors: djwhitt tbeddy

repo: Zetawar/zetawar


text:
Joe/notebooks

Add some Jupyter notebooks I've been working on.

Dangit, looks like I screwed up somehow.


text:
2022-11-01

2022-11-01

#include <iostream>
#include <vector>
using namespace std;
/*
 * @lc app=leetcode.cn id=1662 lang=cpp
 *
 * [1662] 检查两个字符串数组是否相等
 */

// @lc code=start
class Solution
{
public:
    bool arrayStringsAreEqual(vector<string> &word1, vector<string> &word2)
    {
        auto join = [](vector<string> &word) -> string
        {
            string res = "";
            for (auto &&w : word)
            {
                res += w;
            }
            return res;
        };
        return join(word1) == join(word2);
    }
};
// @lc code=end

微信id: 而我撑伞
来自 vscode 插件

/*
 * @lc app=leetcode id=168 lang=typescript
 *
 * [168] Excel Sheet Column Title
 */

// @lc code=start
function convertToTitle(columnNumber: number): string {
    const ans = [] as string[];
    const startNum = 'A'.charCodeAt(0);

    while (columnNumber) {
        // because A is start from 1, not 0
        const num = (columnNumber - 1) % 26;
        ans.unshift(
            String.fromCharCode(startNum + num)
        );

        columnNumber = ~~((columnNumber - 1) / 26);
    }

    return ans.join('');
};
// @lc code=end

微信id: 弘树
来自 vscode 插件

authors: Zheaoli gongpeione jinmu333

repo: Zheaoli/do-something-right


text:
To verify a CocoaPod and a Swift Package

The ci.yml has been set up to build and test ZMarkupParser.xcworkspace, but it does not guarantee compatibility with CocoaPods and Swift Package Manager.
The PR supports this.

@zhgchgli0718
To ensure users who want to use ZMarkupParser with CocoaPods.
You may consider modifying the path from /scripts/ZMarkupParser.podspec to /ZMarkupParser.podspec,
or fix the following issues:

ERROR | File patterns: The source_files pattern did not match any files.
WARN | License: Unable to find a license file."

repo: ZhgChgLi/ZMarkupParser


text:
Administrators can view site statistics

Administrators should be able to see certain statistics that are relevant and useful.

which stats? checklist all stats that will be available.

I was putting them in a separate issues, but a checklist will indeed be easier.
[ ] Where do people enter (referral + entry location) and leave (last know location) the site?
[ ] How many users are 'subscribed' to each interest area?
[ ] View user activity (timeline, area, ...).

add it in the top comment, so you don't have to scan the entire conversation thread

[ ] how much rating activity is going on? (number of rating actions per day and/or per area)
[ ] how much users are registered over time
[ ] how much reports are ther over time/area (reported users, blocked users, reported messages, hidden messages)

(if you agree with a comment like this, feel free to edit and move the content to the top comment and delete this comment. don't do this in your future work place, or people might not appreciate such actions)

Implemented basic stuff. Will optimize later.

repo: ZiggyMaes/NMCT-Server-Side-Applications


text:
🛑 blog.zinglix.xyz is down

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

HTTP code: 0
Response time: 0 ms

Resolved: blog.zinglix.xyz is back up in 95788d4.

repo: ZingLix/blog-mirror-uptime


text:
🛑 blog.zinglix.xyz is down

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

HTTP code: 0
Response time: 0 ms

Resolved: blog.zinglix.xyz is back up in 72c2100.


text:
Description

[ ] Which integration?
[ ] Stop sprinklers from going off if that integration is done #8

Integration URL
No response
Automation Idea
No response
New Hardware?
No
Add Amazon / store URL for referencing if new hardware is required
No response

Accuweather is great had an existing account
Hooked it up...
complete

repo: ZinkNotTheMetal/my-smart-home


text:
added fart button

added fart button

Please approve this requests quickly it is essential for optimal gameplay experience


text:
The test result of COCO by using faster-rcnn

Sorry to bother you. I use faster-rcnn to test COCO. The mAP is 12.7%, which is lower than the result in the paper (15.7%);
The parameters I used are the default parameters in the trainval_net.py. How many epochs do you choose for training? Thanks for your time. I am waiting for your reply.

Sorry I can't remember that clearly. If you follow the number in our paper/code and didn't succeed, I suppose you should tune it yourself, e.g. decay the lr when test performance didn't improve during last 2 epochs. If you don't mind, I will try to re-train a BiDet FRCNN on COCO, but it may take a while because I am busy during weekdays. Let me know if you need the pre-trained weight.

Thanks for you reply. I will tune it myself. And if you have time to re-train the FRCNN on COCO, I will wait for the pre-trained weight.

I will suggest you train with larger batch size. When I trained with 32 or 64, I often got better AP and more stable results. The re-training is undergoing.

Thank you. I will try to enlarge the batch size

Hi @TIEHua, sorry for the late reply. I recently trained a Bi-Real Faster R-CNN with ResNet-18 backbone and got 14.4 mAP as reported in the paper. You can download the weight here. The BiDet version requires larger batch size which I currently don't have access to (I will join another lab as a PhD this fall, so now I have no GPU server in any labs...). I will appreciate it a lot if you can be patient and wail till then.

Thank you very much. Could you please tell me the parameters you use and how many epochs do you use for training the model?

Hi, I use 32 batch size with 2 GPUs. Train 15 epochs with lr=1e-2, then decay by 0,1 at epoch16, train 5 epochs with lr=1e-3, then decay by 0.1 at epoch21, and finally train 2 epochs with lr=1e-4.

epoch 1~15, lr=1e-2
epoch 16~20, lr=1e-3
epoch 21~22, lr=1e-4

Hope that helps you.

Thank you very much.

@TIEHua ，How to get the dataset of Minval50K？When I run the code, there is an error.
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/Desktop/wam/BiDet/data/annotations/instances_valminusminival2014.json'
Could you give me some advice?

@TIEHua ，How to get the dataset of Minval50K？When I run the code, there is an error.
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/Desktop/wam/BiDet/data/annotations/instances_valminusminival2014.json'
Could you give me some advice?

Yeah , you need download this file from COCO dataset.

authors: AmingWu TIEHua Wuziyi616

repo: ZiweiWangTHU/BiDet


text:
🛑 Invoice - LTI Lite (Canvas) is down

In 1d6519e, Invoice - LTI Lite (Canvas) (https://zql.zollege.com/lti/invoice?email=r.watkins@zollege.com) was down:

HTTP code: 500
Response time: 87 ms

Resolved: Invoice - LTI Lite (Canvas) is back up in 5359891 after 10 minutes.

repo: Zollege/status


text:
🛑 Reports (Metabase) is down

In 512aecc, Reports (Metabase) (https://reports.zollege.com/api/health) was down:

HTTP code: 504
Response time: 100 ms

Resolved: Reports (Metabase) is back up in 36e0197 after 10 minutes.


text:
Commit that Allowed End Crystal as Killed Entity Breaks TNTBreak Action

Description of issue:
The change in logic from this commit/line breaks TNT mining as a result of the not operator apparently inverting Jobs.getGCManager().isUseTntFinder() instead of Jobs.getGCManager().isUseTntFinder() || type != CMIEntityType.ENDER_CRYSTAL.getType().
I believe this to be the root issue of #860 and I hope that this will be useful to you.

CONFIG SECTION (DELETE IF NOT RELEVANT):
This test used the default generated configuration file.

Server Type (Spigot/Paperspigot/etc):
Paper
Server Version (using /ver):
git-Paper-184 (MC: 1.16.2) (Implementing API version 1.16.2-R0.1-SNAPSHOT)
Relevant plugins (Delete if this isn't needed):
Jobs

It would be good next time to fix this and submitting a PR to make less work for us if you know these.

I do apologize - I don't use Github, but I will look into getting more familiar with it

authors: JGMinimule montlikadani

repo: Zrips/Jobs


text:
[4pt]  Fetch rockets - Fetch data

Fetch data from the Rockets endpoint  (https://api.spacexdata.com/v3/rockets) when the application starts (as Rockets is the default view).
Once the data are fetched, dispatch an action to store the selected data in Redux store:

id
name
type
flickr_images

NOTE: Make sure you only dispatch those actions once and do not add data to store on every re-render (i.e. when changing views / using navigation).

Hello, @DJ-MrJay
Kindly have a look at this pull request for code review.
https://github.com/Zuhaib042/Space-Travelers-Hub/pull/27


text:
Adding fine-tuning

This PR updates this script to enable lora fine-tuning of llama models. Changes:

switched tuning to bf16
added in gradient checkpointing
included max_length for the tokenizer to truncate training inputs to the 4k context window
Updated relevant packages + python version

Thank you @daanelson this is awesome!!

authors: daanelson rajko-rad


text:
App crash after installing the package in android

What happened?
I insalled the package using npm like this
npm install @react-native-ml-kit/image-labeling --save
It is making the app crash. The I tried to link the main branch directly to package,json like this
 "@react-native-ml-kit/image-labeling": "https://github.com/a7med-mahmoud/react-native-ml-kit/tree/main/image-labeling#main",
That doesn't event install
Version
1.2.0
Which ML Kit packages do you use?

[ ] @react-native-ml-kit/barcode-scanning
[ ] @react-native-ml-kit/face-detection
[ ] @react-native-ml-kit/identify-languages
[X] @react-native-ml-kit/image-labeling
[ ] @react-native-ml-kit/text-recognition
[ ] @react-native-ml-kit/translate-text

What platforms are you seeing this issue on?

[X] Android
[X] iOS

System Information
System:     OS: Windows 10 10.0.22000     CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz     Memory: 3.95 GB / 15.74 GB   Binaries:     Node: 16.15.0 - C:\Program Files\nodejs\node.EXE     Yarn: 1.22.18 - C:\Program Files\nodejs\yarn.CMD     npm: 8.5.5 - C:\Program Files\nodejs\npm.CMD     Watchman: Not Found   SDKs:     Android SDK: Not Found     Windows SDK: Not Found   IDEs:     Android Studio: Version     2021.1.0.0 AI-211.7628.21.2111.8193401     Visual Studio: Not Found   Languages:     Java: 11.0.15.1 - C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE   npmPackages:     @react-native-community/cli: Not Found     react: 18.0.0 => 18.0.0      react-native: 0.69.4 => 0.69.4      react-native-windows: Not Found   npmGlobalPackages:     *react-native*: Not Found
Steps to Reproduce
Install the package using npm install @react-native-ml-kit/image-labeling --save
Try run the project using  npm run android

Thanks for reporting this issue @DeepikaSharma5, I'll look into it and let you know.

Can you share the error that you see so I can better understand the problem?

@a7med-mahmoud That's the main issue.  I don't see any errors, warnings or info.  Just when you install the package and run the project the app is crashing. There is no information in the console.

Any update @a7med-mahmoud ?

I created a new React Native 0.69.4 app and installed @react-native-ml-kit/image-labeling and ran the app on Android and it does work properly.
What Android API of the emulator are you using?

I am also using the same react -native version. And I am running on a real device (Samsung galaxy A03)

Does it work when you uninstall it?

Yes. My app is working fine before install the package and after uninstall it

Most likely it's conflicting with vision-camera-image-labeler since they both depend on the com.google.mlkit:image-labeling Android package. Looking at their GitHub repo. RN ML Kit uses version 17.0.7 while Vision Camera uses version 17.0.5.

Oh I'll try removing that package and use @react-native-ml-kit/image-labeling directly. But will this package work for iOS also? (Because vision-camera-image-labeler is not working well with iOS)

Yes, it will. Let me know if you have any issues.

Sure. I'll update you soon. Thankyou for your support

Hi. I uninstalled vision-camera-image-labeler and checked. But still the app is crashing without and error or warning message

I think the issue is vision-camera-face-detector. That is also using RN ML Kit. That's why it's conflicting

Is it working now after removing conflicting packages?

What do you mean by shown like this? You mean that "Object" thing in the values?
Can you try printing it with this instead?
console.log(JSON.stringify(result, null, 2));

Oh sorry I mistakenly passed the faces value. I'll remove other conflice packages and try both these packages. I'll check it in android and IOS and let you know. Thankyou for the support 😃


text:
No CI for the docker images themselves

Hi, first of all, love the existing work.
I was just wondering how the images get to the docker hub. I assume @aBARICHELLO is pushing them manually at the moment because the github and gitlab CI only demonstrate the godot CI. If that is the case I suggest replacing the current CI by jobs that build the godot-ci images and automatically push and tag them on the docker hub for specific branches like master or 3.2. This would ensure that the images on the dockerhub are always in sync with the repository and it would make the image contents more transparent to the users. The godot-ci will still be demonstrated by the existing example repositories.
If desired, I could possibly submit a pull request implementing this as soon as I get to it.
Best regards

I use Docker Hub's automated builds instead of building them myself. The latest tags are triggered manually to prevent new builds over commits that don't change the image itself while the other branches are built automatically.

For example, the current commit for the latest tag is 2c4434c since the commit 9213e16 only had README updates, you can actually see the dockercloud badge here:

I hope I made myself clear, let me know if you have any questions.

Yeah that clears it up. Thank you. I did not think of Docker Hub's automated builds :)

authors: aBARICHELLO neoq

repo: aBARICHELLO/godot-ci


text:
🛑 KIOSKOS - HOME is down

In fe20ed2, KIOSKOS - HOME (https://recaudacion.yucatan.gob.mx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KIOSKOS - HOME is back up in b318b82 after 10 minutes.

repo: aafyyuc/upptime


text:
add new node type with custom id (reference/"softlink")

Add a new quadtree node type, which

references another existing node
takes a custom (user-specified) id

Currently the main use case would be to enable certain automated integration test scenarios which expect quadtrees with specific IDs.

let a : QNodeRef = ...

// create a node with custom id, which links/forwards to existing node
let customid = "810c9ed9-ad01-49c5-9fa4-028f5ebb3406" |> Guid.Parse
let b : QNodeRef = Quadtree.Link customid a

available in Aardvark.Geometry.Quadtree.0.2.7.nupkg

link works, thanks!

authors: madorjan stefanmaierhofer


text:
Text clickable  with Radio/Checkbox

the Label Text! should be in a label field, so the user can be click on the text and  trigger the input field.
Maybe You can use for the Styling the :before element

done :) thanks!
i'll push a new release at the weekend

Demo: http://framycss.org/demo/#forms

authors: Sysix aaroniker

repo: aaroniker/framy-css


text:
🛑 Elearn is down

In 3ff9361, Elearn (https://learn.stjohn.edu.et/app) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Elearn is back up in cfd833f.

repo: aaronkebede/sj-status


text:
PS: Setup in-app review for feedback

setup in-app review system for feedback
Reference: https://developer.android.com/guide/playcore/in-app-review/kotlin-java

I would like to setup in-app review in this app

repo: aau-network-security/HosTaGe


text:
Is there a way to get the low level socket file descriptor?

I want to set some socket properties directly on the socket (specifically, I want to enable low level TCP keepalive instead of pinging at application level). Is there a way to get the low level socket from the object returned by websockets.connect()?

The proper way
The design of asyncio encourages customization by subclassing, so the proper way is:

Write a subclass of WebSocketClientProtocol
Override connection_made(transport) in that class
Do whatever you want with socket = transport.get_extra_info('socket') in that method
Don't forget to call the parent implementation
Connect using your custom protocol with ws = await websockets.connect(..., create_protocol=MyClientProtocol)

The quick'n'dirty way
Assuming:
ws = await websockets.connect(...)

One of these should do the job:
socket = ws.writer.get_extra_info('socket')

or perhaps
socket = ws.writer.transport.get_extra_info('socket')

For future reference, you can now use the sock argument when calling serve.

[Any other keyword arguments are passed the event loop’s create_server() method.](Any other keyword arguments are passed the event loop’s create_server() method.)

authors: aaugustin lvella roguh

repo: aaugustin/websockets


text:
Anyio integration (Trio support)

To my knowledge, there doesn't currently exist a high-quality websocket library that can support multiple I/O back-ends such as asyncio and trio.  Given the Sans-IO nature of this library, there's an opportunity to leverage the anyio library to support asyncio and trio with one implementation.  It would also open the door for other back-ends which may be supported by anyio in the future, such as twisted.
https://github.com/miracle2k/trio-websockets might be a decent reference for this, since it is a version of this library ported to Trio, which is very similar to Anyio.

Thanks for bringing up these projects; I wasn't aware of them!
I've been meaning to write a Trio version of websockets but I haven't started yet. Using the native patterns of Trio would be an important design goal. I'd have to see how anyio fares in this area. If it attempts to make Trio look like asyncio, probably that won't meet my design goals.

@aaugustin thanks for the response.  Anyio uses Trio principles and is as close to the Trio API as possible, while (amazingly) working with an asyncio back-end as well.  Anyio supports all of the structured concurrency concepts needed to write a library like task groups, cancellation scopes, thread execution, etc.  Check it out!

I've been meaning to write a Trio version of websockets but I haven't started yet

It would be effectively reimplementing https://github.com/HyperionGray/trio-websocket -- is there something specifically wrong with that existing library?
And since trio-websocket is already on Trio, already has an API that considers cancel scopes and structured concurrency, porting to anyio would be straightforward.

I'm writing websockets for fun. Some people do crosswords; I do open source software. There's nothing wrong with solving a puzzle someone else solved before :-)

I'm writing websockets for fun. Some people do crosswords; I do open source software. There's nothing wrong with solving a puzzle someone else solved before :-)

Totally fine in and of itself, but the picture changes when 3rd party users of the software are involved.  From the user's perspective, they'd rather have otherwise competing developers cooperate on a single high quality library [*], and not have to chose between two options in the first place.  (Half will make the wrong choice in this game.)
[*] doubly so given the relatively tiny worlds of asyncio, trio, and anyio

they'd rather have otherwise competing developers cooperate on a single high quality library

That's true.
Unfortunately, several other Python projects related to WebSocket started after websockets gained traction, leading to fragmentation.

A few years ago websockets got right some minor details that wsproto got wrong, but I believe wsproto catched up recently, perhaps thanks to new maintainers, so this isn't a concern anymore.

wsproto does have its problems.  I reported a significant performance regression last year, the maintainers don't seem concerned.
https://github.com/python-hyper/wsproto/issues/152

I learnt about anyio (among other things) thanks to this issue, so I'm happy we had this discussion. However, at this point, I'm not seeing any action to be taken, so I'm going to close it.
Rationale:

websockets already provides an asyncio implementation

I'm planning to redo it on top of websockets' Sans-I/O layer; depending on asyncio is hard enough in itself; I don't want to increase complexity with an intermediary layer (especially one that attemps to masquerade asyncio as trio — some abstractions are going to be leaking — there's already quite a bit of leaking in asyncio)

other projects already provide a trio implementation

I'm planning to create one on top of websockets', but given the above, the only benefit of anyio is "maybe it'll add support for other backends"; this benefit feels rather speculative vs. the cost of adding a dependency

authors: aaugustin belm0 uSpike


text:
Support for additional img properties

It would be nice if this module would additionally support height, width, and loading properties.
Height and Width would be usefull to retain aspect and desired image representation. Passing through the loading property would allow to make use of the lazy loading attribute, which would be nice too

Using your Lightbox directly is already nice enough, sorry for openning at first place

repo: aautio/react-modal-image


text:
GHO Steward Cross-Chain Support

With GHO launched on Arbitrum, it is desirable to extend the GhoSteward to cover additional controls, allowing the DAO to react and make changes in an agile way.
It is desired to have the following additional controls:
On Ethereum:

Ability to change bridge limit
Ability to change CCIP token pool rate limit

On Arbitrum:

Ability to change CCIP token pool rate limit
Ability to change Facilitator bucket capacity of CCIP

For reference: https://governance.aave.com/t/arfc-extend-gho-stewards-to-arbitrum/18298

authors: CheyenneAtapour miguelmtzinf

repo: aave/gho-core


text:
Is that possible to add supports to Netflix International Sites?

I'm keen to unlock Netflix Japan

Deploy to a box in Japan which isn't blocked by Netflix.


text:
🛑 Shop Yuudoku is down

In d0e138b, Shop Yuudoku (https://yuudoku.jv360.fr) was down:

HTTP code: 500
Response time: 10637 ms

Resolved: Shop Yuudoku is back up in 687d38e after 5 minutes.

repo: abaertsoen/upptime


text:
🛑 Shop Aishy is down

In 3aaff21, Shop Aishy (https://aishy.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Shop Aishy is back up in 2ef7bc7 after 24 minutes.


text:
SOD1/2: Add support for API Package & API Package Assignment

https://github.com/abapGit/abapGit/issues/6315
https://github.com/abapGit/abapGit/issues/6316

Hi Igor,
in addition to 702 syntax (i.e. no in-line declaration like DATA(...) , no VALUE definitions), you have to change classes/types that do not exist in 702 to dynamic calls (like cl_wb_object_operator_factory).
I suggest using zcl_abapgit_object_srvd as an example.

I suggest using zcl_abapgit_object_srvd as an example.

Hello Marc,
this is not possible due to static implementation of get_wb_object_operator and other parts in zcl_abapgit_object_srvd. I have to duplicate the coding.
Best regards,
Igor

That's what I meant: use the srvd code as an example for your classes

Looks good. A few more 702 syntax and breaking lines that are too long. That's it.
Please create a small test case in repo https://github.com/abapGit-tests/SOD1_SOD2 as well.

add the following to both classes:
  METHOD zif_abapgit_object~get_deserialize_order.
    RETURN.
  ENDMETHOD.

  METHOD zif_abapgit_object~map_filename_to_object.
    RETURN.
  ENDMETHOD.

  METHOD zif_abapgit_object~map_object_to_filename.
    RETURN.
  ENDMETHOD.

Please create a small test case in repo https://github.com/abapGit-tests/SOD1_SOD2 as well.

https://github.com/IgorNekhoda/SOD1_SOD2

looks like there are some fields to be cleared,
     <CHANGED_AT>2023-07-18T22:00:00Z</CHANGED_AT>
     <CREATED_AT>2023-07-18T22:00:00Z</CREATED_AT>

https://docs.abapgit.org/development-guide/serializers/serializers.html

As code is stored in git, no usernames, timestamps, states (e.g. active/inactive), or other system-specific information should be part of the serialized object files.

welcome to abapGit as a contributor 🎉

authors: IgorNekhoda larshp mbtools

repo: abapGit/abapGit


text:
mentioned API Key to be added

I have just run this project but no data is shown !
Is that necessary to add API for this ? Wordpress Android Blog App ?
usually wordpress posts rest-api doesnt require any key (why API required).
also site URL where it is mentioned ?

@abbasqasemi
features will do fine,
Nice App But some options missing ,

Categories list in Navigation Drawer (Menus)
Post(s) Featured image not shown in Post Detail Page
Images shown at Landing page can be aligned to Left or Right
Page Navigation like 1,2,3 limit of posts can be set to 25 OR any.

Mainly the URL have been replaced still the old data is shown.,
Also update repositories / libraries & fix depreciated ones
Snapshot of the App Screens (Flow & Main)

repo: abbasqasemi/wordpress