[WIP] Cosmetic additions to Discord embed and widened scope of handled JIRA events

This is still heavily WIP; should be ready for merge when I've finished the TODO list.
I'm not a Java/Scala developer, so please point me in the right direction with any workarounds or silly mistakes.
Changes made so far:

Accepted all issue types instead of bug-only (this can be configured using JQL in the webhook config in JIRA issuetype = Bug)
Added a few cosmetic features to the Discord embed

Bug type and icon in the footer
Initiator's avatar as the thumbnail

Added a serverless.yml to allow for serverless deploy

TODO:

Use embed fields instead of markdown and a newline in the description to allow additional fields such as current issue status
Parse issue_updated event and fire messages for issue status changes

Longer-term TODO:

Figure out a better way to handle iconUrl linking to an SVG; possibly converting and caching them in S3 on the fly
Handle more issue_updated worklog events
Config file to change format/toggle features

Can you please write an GitHub Issue with the scope of what you are trying to accomplish?

@andyczerwonka done, #7 :)

Firstly, the logic is in the wrong place. The JiraParser should always emit a valid JiraEvent. In your particular case, you removed the logic to make that distinction here. We'll need to extend the logic in the parser and potentially the JiraEvent type hierarchy to retain this information.

Got it, I'll push up the issue_updated changes. I implemented the logic to distinguish the status update event in JiraParser. I'll go ahead and attempt to pull the issue type logic back.

Current progress on status colors

Looks like the changes work

The thing I need to resolve in the last commit is to handle update events which include multiple change items; such as an issue resolution which is bundled with a status change.
I'll iterate through the changelog items and handle the issue resolution in addition to status changes, ignoring any other event types for now.

I will not be around this weekend but back Monday to look at it. It'd be great if you could issue two PR's, one for each item. They are independent issues really.

Is this PR still in progress?


You can't donate more than $1 with Paypal.

When you try to donate any other amount than the 1 dollar default in the page of support synfig development, it doesn't show paypal option on the payment section. (chrome/firefox)
You can see a video here.

Thank you for reporting! I have fixed the issue by changing the donation system. ^__^"
Should be working now - https://www.synfig.org/donate/

Now it's working but it gave me the page in Russian.

Um, weird... Let me try to do something about that...

I have made some tweaks. Can you please test again?

@morevnaproject  Nope, I still have the login russian paypal page.

@ebarranco Got it, thank you. Working on alternative solution.

@ebarranco Reworked donation system again - https://www.synfig.org/donate/.
Should be working now. ^__^

@morevnaproject Yeah, it's working now. Thanks.

@ebarranco Thank you very much for your contribution!
I have refunded your donation because I want to ask you to make one more test.
Here is a one more version of the page with some fixes - https://www.synfig.org/donate/

Can you please check if PayPal checkout will be in correct language and if the donation will pass thorugh?
Thank you!

@morevnaproject Yes, it seems to work fine now, the language now is Spanish that is the correct for my region, but paypal rejected my pay, I think is because you just reimburse me. I'll try again tomorrow.

@ebarranco I am strongly suspect the problem is not because of recent refund. Most probably it is because this form is not compatible with the type of my PayPal account. Well, anyway it was worth trying. I am reverting to solution that worked for you previously. Thank you for your help! ^__^

@morevnaproject You right, I tried a couple of times without success, now that you changed it , I can do it just fine. The language is fine too. Just your name in my transactions is still in russian characters, I suspect that is your name,  "Дмитриев Константин"

Yes, that's my name written in Cyrillic. Unfortunately, I have no control to change it for Latin. ^__^
Thank you again for your help and support!


fix aapt package name

Apparently the package name can (and does) also contain numbers

I have updated the regex to match anything between the two '

I have updated the regex to match anything between the two '
// Edit: do think there could be an issue with using the actual code from https://github.com/vldmkr/node-aapt/blob/master/index.js#L26 for this?

that package does not support windows,   i am using a fork that should support windows :

I have updated the regex to match anything between the two '
// Edit: do think there could be an issue with using the actual code from https://github.com/vldmkr/node-aapt/blob/master/index.js#L26 for this?

their original package does not include a windows binary for aapt, i am using this fork : https://github.com/whitewhidow/node-aapt/blob/master/index.js
to which i added the windows binary, i did prolly indeed not need to replace the regexes there, as you mention could have prolly reused the existing part that parses stdout, however.
The problem i have on windows is,   that for some reason, i could not get it to properly run the exec on the aapt.exe for everyone.  (some ppl where getting "could not read package data" during the sideload process, because the aapt dump badging command failed, even tho it seemed to work fine for me actually)
feel free to play around with it, would be alot better to have it working with the builtin one

I have update the regex again to match the parsing done in node-aapt.
This worked for me for my tests so I'd say that the goal of this MR is archived.
I'll take a look at the aapt command. Maybe this has something to do with the rclone mount file read on Window?!
There are pure JS parsers for APK files (e.g. https://www.npmjs.com/package/node-apk-parser) so maybe that would be a better option here?

Maybe this has something to do with the rclone mount file read on Window?!

im not following ?  it is not mount related (it also fails on local files)
but the JS implementation of AAPT is definitely the way to go !!!   i did not know this was around !
(ill close this ticket, as the regex is fixed, maybe open a new one for the js implementation)

im not following ? it is not mount related (it also fails on local files)
Maybe I misunderstood the issue with aapt in that case.

but the JS implementation of AAPT is definitely the way to go !!! i did not know this was around !
I'll take a look at the node-apk-parser package but I can only test this on Windows right now

im not following ? it is not mount related (it also fails on local files)

Maybe I misunderstood the issue with aapt in that case.

but the JS implementation of AAPT is definitely the way to go !!! i did not know this was around !

I'll take a look at the node-apk-parser package but I can only test this on Windows right now

ps i just lookad at the repo,  it does not seem to be a pure js implementation, seems to also use the actual existing aapt executable

the best thing would be to just get the current implementation node-aapt working on windows, but for that i should figure out WHY it is not working ..
(if i remember correctly, it WAS working when running via npm, but was NOT working when running via compiled exe)

@ov3rk1ll
https://github.com/whitewhidow/quest-sidenoder/pull/22/commits/b929047b5a427fc8898d3848c7354e40a721df5f
seems like a pure js one indeed (very old tho, im sure it is not bugfree, but seems to work for most cases so far)


Support faster processors and more accurate ADC (e.g. ESP32)

I've made a couple of changes. Firstly, I needed to allow for 16 bit integers for the zero and sample counts since the ESP32 samples much faster. Secondly, I calculated noise (and allowed it to be modified) based on the datasheet and the max range of the ADC rather than hardcoding 4 (which was much to low for my ESP32)

Looks good!

I will update the json file etc.

Thanks!


Support XCTestExpectation creation APIs on XCTestCase from non-main threads

This matches a behavior change made in the Xcode copy of XCTest and allows tests which call XCTestCase.expectation(description:) — as well as other XCTestCase APIs that return an XCTestExpectation — to do so from any thread. This removes a previous requirement that tests call these APIs from the main thread, and it allows existing tests using them to adopt async without requiring @MainActor.
rdar://85344643
rdar://79163972
rdar://81024086

@swift-ci Please test


Is there no way to list all key controls or "help?"

Question
The command "help" returns the error "Not a command", and I do not see anything on the website indicating a way to list key controls or help.  Is there a method within the program to list the contextually possible key controls or if not that then all key controls?

The help command is not implemented yet. (#59)
So, for now, you can refer to the online document in website.


fix: :bug: fix half guessed string to show song/artist

also changed ternary to if statement

Thanks for the contribution!!
@all-contributor please add @nathanvdh for code

@all-contributors please add @nathanvdh for code


about the parameter

Dear Author, Could you kindly share the parameter settings for SMD? Thank you very much!

Hello!
The parameters used in the experiments with the SMD dataset are consistent with those detailed in the article. If you need specific details about any parameter or have any other questions, feel free to ask!


Patch upstream to correctly handle install_data/data_files in Python

See https://bitbucket.org/pypa/setuptools/issue/130/install_data-doesnt-respect-prefix
This is currently needed for some packages like xpra.

[ ] update Python docs
[ ] fix packages using the current workaround
[ ] open PR upstream

Current workaround for xpra: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/X11/xpra/default.nix#L45

(triage) status?

Still needs to be fixed upstream: https://github.com/pypa/setuptools/issues/130

Still needs to be fixed upstream …
@domenkozar what do you think, if it’s just one line, why don’t we patch it?

Since this issue was opened we've changed how we install packages (we use wheels since 2015). Even so, the issue is still valid. See e.g. https://github.com/NixOS/nixpkgs/issues/23438. Closing this one in favor of that issue.


⚠ Fortnite has degraded performance

In 6b62a41, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1535 ms

Resolved: Fortnite performance has improved in e4dccb9.


Conversation API?

Would the project consider including something similar to Bukkit's Conversation API? I'm aware that SpongeAPI has such a thing planned for Rev 8.0, but with Velocity (and Fabric) being supported Platforms it would be great to have natively.

Just want to point out that Sponge doesn't have any plans for a conversation API for API 8.

mmmh, that would require intercepting all other outgoing messages, protocol hackery, etc.
I guess a lib like adventure would provide the api, but the protocol stuff would be handled in the impl on the platforms.

Just want to point out that Sponge doesn't have any plans for a conversation API for API 8.

https://github.com/SpongePowered/SpongeAPI/milestone/14 # 432

last updated 2017, lol

There's closed issues tagged api: 8 as recently as Dec 2020. Glad to hear it's a possibility :heart:

please take a moment to read what doot has said from sponge's point. Adventure is in the same place -- this is not a hard no, but it is far from the top of anyone's list so do not expect anything to happen soon.

With the trouble that the Paper folks have had even thinking about evolving their conversations API, I think it would be best to keep this sort of API out of the core of adventure, where we're more blocked from making breaking changes. However, we'd love to see any community-developed conversation libraries on our community libraries page.


Windows/Linux: Optionally disable the menu bar

Issue Type
Feature Request
Description
I very rarely use the menu bar in VS Code since all actions are either accessible via a button, shortcuts or the Command Palette. Since I can't get the nice global menu that was in Unity and features in macOS it just wastes space below the title bar.
My feature request is: add a setting to hide the menu bar, off by default.
I feel like I am not the only one who's keyboard-focused when working on code, and that would remove dead space.
Thanks!


[Bug] [Task] Remove override method k8sConfigYaml in ShShellInterceptorBuilder

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Set shell.interceptor.type to sh, run Spark on K8S task, do not set k8sConfigYaml in ShShellInterceptorBuilder, because there's an override method in ShShellInterceptorBuilder which directly return null.
What you expected to happen
Remove this override method.
How to reproduce
Ditto.
Anything else
No response
Version
dev
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

cc @ruanwenjun


server-manager.json hot-reload breaks the scheduler

It's hard for me to document it, but every time I change something in server-manager.json - the next restart doesn't work and I have to stop the server manually. When the server should restart, in the panel the status is as STOPING

I may have found the issue but there is some work involved to fix it
The manager tries to restart the server using RCON which may not work after a reload due to the RCON lib not behaving as expected
I will rewrite the RCON client to better fit the manager

Can you verify this again in the latest version?
Should be fixed

I'm not able because switched to CFTools scheduler and lost my DEV server :/


Required attribute

Hi guys
I was wondering if there is an ability to mark attribute as required. So if attribute is not passed in this case, it should raise some error. I found required option for attribute, but not sure how to use it.
So, is it possible to require mandatory attribute?
Thanks for help!

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32277591-required-attribute?utm_campaign=plugin&utm_content=tracker%2F144935&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F144935&utm_medium=issues&utm_source=github).

I will specify question a bit. It's actually working with build in types, just haven't tried that (with String for example). But is doesn't work with my models (for example User).
With build in type:
attribute :city, String
=> Virtus::CoercionError: Failed to coerce attribute city from nil into String
With my mode:
attribute :user, User
=> no failure error


Login Socket_io with Nodes Server

Hello everyone
I made a project to study a login using socket-io to communicate with a nodes / mysql server in order to validate a user.

I have a problem with the failed return from the server to show an error dialog, because THROW was unable to return correctly to the _submit function.

I left the source code on github: https://github.com/marciotisouza/login_socket_io

If anyone can help I will be grateful !!!

resolved


ci: clean up redundant blocks

Summary
Clean up redundant code blocks in pipeline workflow
Changes

Clean up redundant code blocks in pipeline workflow

Issues
NIL

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.14%. Comparing base (fe6e4bf) to head (a9f056a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #167   +/-   ##
=======================================
  Coverage   97.14%   97.14%
=======================================
  Files           7        7
  Lines         105      105
=======================================
  Hits          102      102
  Misses          3        3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update Privacy Policy and AUP (#245)

Per the staff call, and our lengthy consultation process connected to ticket #245. Can you post these two statements about Privacy and the AUP, @critzo? The original formatting has anchor tags which are useful and reused here, can we keep them? Let's also have the table of terms be a third section in the page with its own anchor, since it's referred to in AUP, and I think will arise elsewhere as a durable resource?
Relatedly, can we create privacy@ -- aliasing to support@ is fine.
Privacy Policy: https://docs.google.com/document/d/1c-lc3_9Ft-FHhhnjNy15cV4pGQt_vqGV1YLucB0HD1M/edit
Acceptable Use Policy: https://docs.google.com/document/d/1lnbRaolTf9-OukD60GHcgKp6pHSoVQDDbaucT9OBgkQ/edit
Thank you!

@collina Thanks for shepherding these docs. I'll get them added to a pull request.


Support alternate S3 storage provider

Is your feature request related to a problem? Please describe.
I Like to host baget internally using postgresql and minio (s3 compatible)
Describe the solution you'd like
I Like to oerride the s3 url and use path style buckets.
Describe alternatives you've considered
Using a shared filesystem. Is this possible?
Additional context

Looks like it's easy.
ref: https://docs.min.io/docs/how-to-use-aws-sdk-for-net-with-minio-server.html
I can send a pr

Looks like it's easy.
ref: https://docs.min.io/docs/how-to-use-aws-sdk-for-net-with-minio-server.html
I can send a pr


Telemetry: propogate hostname where possible

Please provide a description of this PR:
fix: https://github.com/istio/istio/issues/39537
original PR: https://github.com/istio/istio/pull/39476

@zirain: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-pilot-multicluster_istio_release-1.13
198e70596dfb4f22e4d26c979da204f658384977
link
true
/test integ-pilot-multicluster_istio_release-1.13

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Improve CLM file creation error messages

thrown errors inside ReadAllWaveHeaders did not show the filename
Noticed during testing of OP2Archive.

Well, it is also partially my fault I think.
-Brett


SLF4J: Class path contains multiple SLF4J bindings warning with Custom Plugin not using Logging API

Expected Behavior
It seems be good practice to separate Gradle Plugin code into code and tests which do not depend on any Gradle API and Gradle Plugin specific code , see also https://github.com/gradle-guides/testing-gradle-plugins/tree/master/samples/code/url-verifier-plugin
Logging for the Gradle API dependent code is straight forward and well supported.
For the Gradle API independent code, i assumed that you can  pretty much use any logging framework. I used SLF4j, as that’s what Gradle’s API extends from. The only limitation being that you won’t have access to Gradle specific logging levels such as LIFECYCLE or QUIET.
I added a
    implementation("org.slf4j:slf4j-api:1.7.25")
dependency
For Integration Testing i added
  integrationTestRuntimeOnly("org.slf4j:slf4j-simple:1.7.29")
with a
val integrationTestRuntimeOnly: Configuration by configurations.getting {
    extendsFrom(configurations.testRuntimeOnly.get())
}

To my build
My expectation where  Logging according to Log Level in the Functional Gradle Dependent tests and in the Integration Tests, specifically of the application level code, see https://github.com/apgsga-it/apg-gradle-plugins/blob/che-IT-34786-2/dependency-manager/src/main/kotlin/com/apgsga/maven/LoggerDelegate.kt
Current Behavior
Logging as expected , except for  slf4j warnings:
SLF4J: Class path contains multiple SLF4J bindings.     SLF4J: Found binding in [jar:file:/Users/chhex/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-simple/1.7.29/82ae07f95088577987a15d90171de12b00d81847/slf4j-simple-1.7.29.jar!/org/slf4j/impl/StaticLoggerBinder.class]     SLF4J: Found binding in [jar:file:/Users/chhex/.gradle/caches/5.0/generated-gradle-jars/gradle-api-5.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
If i remove the
    implementation("org.slf4j:slf4j-api:1.7.25")
dependency i don't get log output according to log level for the Integration Tests.
Unexpected:  SLF4J: Found binding in [jar:file:/Users/chhex/.gradle/caches/5.0/generated-gradle-jars/gradle-api-5.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
I do not see, where this runtime dependency comes from and how to avoid it, specially since on application level i do not have any Gradle Dependencies.
Context
We often start with separating Gradle Dependent Code from API independent code and eventually may move the independent code to a seperate jar, so that it can be used in other context's then as Gradle Plugin.
Steps to Reproduce
If necessary i should be easily  be able to reproduce the problem with for example the https://github.com/gradle-guides/testing-gradle-plugins/tree/master/samples/code/url-verifier-plugin
Your Environment

Build scan URL:
https://gradle.com/s/kmg7r3jflrews
See https://scans.gradle.com/s/kmg7r3jflrews/dependencies?toggled=W1syXSxbMiwxNl1d#configurationId=16&projectId=2

This is still a problem.

Given the following:

We are missing a full reproducer for this issue.
Testing of generic java-library for sure does not have a problem with Gradle API shaded version of a slf4j logger.
So it might be that the issue comes from using a single Gradle project for both scopes.

There are multiple ways of creating "Gradle independent" elements for your plugin, and we can't know which one was used. So the issue will be closed. We will consider it if a full reproducer is shared.


Add support for showing and getting bounding boxes.

Mujoco has already a feature in its viewer that shows the bounding boxes of objects called "Body Tree" under "Rendering".

https://github.com/user-attachments/assets/20977b45-a494-4bd3-a1fa-6bbfdc1cf4b6
It's finished, you can test it by command:
multiverse_launch path/to/empty_with_rviz.muv

Then run this test.
The input is 1 or 2 arguments, the first one is the name of the body, the second one is optional, either ẁith_children or not specified.
The response will be a list of vector. Each vector contains 6 number for each geom of the body. The first 3 are the position of the bounding box in body frame, the last 3 are the size of the bounding box.
You can use rviz to visualize the bounding boxes, note that it's not the visualization of the bounding boxes as the result of the API. That will be done later using visualization marker.


public() filter method does not remove alias pages of private pages from queryset

Issue Summary

The public() filter method of the page queryset does not remove alias pages of private pages from the queryset.
Steps to Reproduce

Checkout the latest version of the bakerydemo.
Edit the get_context method of the BlogIndex in bakerydemo/blog/models.py to only show public pages, by adding the .public() filter method: def get_context(self, request):
     context = super(BlogIndexPage, self).get_context(request)
     context["posts"] = (
         BlogPage.objects.descendant_of(self).live().order_by("-date_published").public()
     )
     return context

Have a look at what is listed on the blog index: http://localhost:8000/blog/
Set one of the pages to be private, e.g. by defining a password: http://localhost:8000/admin/pages/77/edit/
Check the index again to see that the page you set to private is not displayed anymore.
Now create an alias copy of the page you set to private: http://localhost:8000/admin/pages/77/copy/?next=%2Fadmin%2Fpages%2F61%2F
Check the blog index and see that the alias page is listed on the index.
Try to visit the alias page and see that it is protected like the original page (I have added alias- to the beginning of the slug when creating it): http://localhost:8000/blog/alias-desserts-benefits/

Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?

I would expect the alias page to not be listed in the index because the index uses the public() filter.
I first ran into this in the context of translated pages, which are first created as alias pages.
I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: (yes / no) With bakerydemo.

Technical details

Python version: 3.9.9
Django version: 4.1.7
Wagtail version: 4.2 (discovered on 2.16)

Hi! @tbrlpld Yes, this seems to be an issue and I checked it against the lastest bakerydemo version (66aa55551b007a1310d8f75f6fd34ac8d42e1aa4) and Wagtail version: 4.2a.
As, to what I can see in the code, set_privacy is not called during copy or it is checked anywhere if the page is private or not. This will require further investigation from my side, and if I find a fix I will submit the PR.

Thanks @GeekGawd for trying to reproduce. Your video seems so show some thing a bit different from what I am describing above. E.g. you are copying the page outright instead of creating an alias. Also,, to check the effect of the public() method of the queryset you would want to look at the blog index page instead of the blog post pages.
Hope this helps to avoid confusion.

Ohhhh! I will update the video and my comment to avoid confusion. Thanks! @tbrlpld

I think there are a couple of sub-questions to be answered here:

What is the desired behaviour when creating an alias of a page that has privacy settings defined directly on it?
What is the desired behaviour when creating an alias of a page that doesn't have privacy settings defined directly on it, but inherits them from an ancestor page?
Do we implement that behaviour by changing the logic of public() to follow the alias and reading the settings at the other end, or by copying the settings to the alias?

The first two can be answered by reasoning that aliases are intended to be a "lightweight" variation of copying pages, so it makes sense to match that behaviour - and the desired behaviour for copying pages is given by the open issue #6212 and corresponding PR #6406 (which had fallen off my radar for reviewing, but is back on it now :-) ). Namely: the copied (or aliased) page should receive the same settings as the source page if they are defined directly on it, but NOT if they're only inherited.
I haven't checked whether the fix in #6406 also indirectly fixes this issue - it's quite possible that it does, if the code paths for copying pages and creating aliases share the appropriate bit of logic so that the privacy setting record is copied across in both cases. Either way, though, I think that copying the privacy setting across is the correct fix, rather than modifying the behaviour of public():

Having to follow the alias relation within public() would add extra complexity and database queries (probably not as much as if it was taking account of inherited privacy settings too, but still more than we want)
If we're having to fix this for ordinary page copies too, it makes sense to handle aliases in the same way
If we didn't copy the privacy setting across at this point, we'd presumably have to do so later on when turning the alias into a real page copy (as we do when translating the page), so we're just pushing the problem further down the line.

Thanks @gasman

Namely: the copied (or aliased) page should receive the same settings as the source page if they are defined directly on it, but NOT if they're only inherited.

Yup, that sounds reasonable.
One question that remains for me is: how to we handle later updates to the privacy settings on the original page? Consider this situation

Original page is private.
An alias of the original page is created.
Following the proposed fix, the same protection rule from the original page is created for the alias page.
Original page is made public
What happens to the alias page?

It seems to me that in this scenario, we would want different behaviours for alias and copied pages. Copied pages are independent pages that only matched the original page at creation time and are independent thereafter. Alias pages however should follow the original page until they are "ejected". So I would assume that we would need to keep track of a pages alias when modifying privacy settings on a page.

Hi! @gasman I have made a PR. Much of the discussion and the code was already done in #6406 . The files had changed since the last time, so it needed to be written to another file. Also, it only handled restriction_type password, I have also changed that to work with all restriction types and written test cases for it. If you get the time do check it out.


Cow: Watch skalet.agency

Cow requests the watch of the watch_keyword skalet\.agency. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

skalet\.agency has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Add support for missing redis command INFO

predis currently lacks support for the function INFO

@chayim Already supported, closing issue
https://github.com/vladvildanov/predis/blob/main/src/Command/Redis/INFO.php


MBL-1237 Send project page viewed event on Android on the prelaunch page

📲 What
This PR is for Step 7 of the event attribution eng plan https://kickstarter.atlassian.net/wiki/spaces/NT/pages/2699100255/Event+Attribution+Engineering+Plan+AKA+How+To+Wire+Up+a+New+GraphQL+Endpoint+on+Android#7.-Send-event-from-Prelaunch-page-as-well
See PR for sending Project Page Viewed event on Project page for reference: https://github.com/kickstarter/android-oss/pull/1972
🤔 Why
Because the Prelaunch page is a separate page from Project page on Android, also send the Project Page Viewed attribution event from the Prelaunch page.
🛠 How
👀 See
No visible changes in app. Check segment to see new events being fired from Android -> backend -> segment: https://www.kickstarter.com/projects/paintbucketgames/the-darkest-files
📋 QA
In both logged in and logged out states, open
a prelaunch project from the discovery page e.g. search for "The Darkest Files" (https://staging.kickstarter.com/projects/paintbucketgames/the-darkest-files?ref=discovery)
a prelaunch project via a deeplink e.g. https://staging.kickstarter.com/projects/paintbucketgames/the-darkest-files?&ref=android_deep_link
Confirm on Segment https://app.segment.com/kickstarter/sources/web_ruby_staging/debugger that you see the following event properties coming from your device:
https://docs.google.com/document/d/1mjutUcmFS0nbNIgXwUbBMUrV97W8NbfmZbKX8375r0w/edit
Story 📖
https://kickstarter.atlassian.net/browse/MBL-1237

Codecov Report
Attention: Patch coverage is 90.24390% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 71.20%. Comparing base (b454b22) to head (2e2722a).

Files
Patch %
Lines

...iewmodels/projectpage/PrelaunchProjectViewModel.kt
87.87%
0 Missing and 4 partials :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1976      +/-   ##
============================================
+ Coverage     71.17%   71.20%   +0.02%
  Complexity     1989     1989
============================================
  Files           353      353
  Lines         20722    20755      +33
  Branches       2884     2888       +4
============================================
+ Hits          14749    14778      +29
  Misses         4350     4350
- Partials       1623     1627       +4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


The buttons shouldn't have a preset size but adjust to the text

In the "kampf " tab, you have buttons that give you access to sub-tabs : "nahkampf", "fernkampf",...
All these buttons have the same size but when you translate the text corresponding to the button, the size of the button doesn't correspond anymore to the text.
Ex here : https://imgur.com/ximqj1p
I suggest that the size of the button can adjust to the length of the text
I suppose that it can happen in other tabs...
BRgds

problem has been resolved on the master branch


thumbnailViewer not working locally

Hi there!
Thanks for submitting an issue to svg-pan-zoom.
To help us help you better, please do the following before submitting an issue:

Review:

Available documentation https://github.com/ariutta/svg-pan-zoom/blob/master/README.md
Common Issues & FAQ https://github.com/ariutta/svg-pan-zoom#common-issues--faq
Existing examples https://github.com/ariutta/svg-pan-zoom#demos

Check if the same bug/feature request wasn't previously reported
Make sure you are not asking a usage or debugging question. If you are, use StackOverflow.
Fill in the information that corresponds to your type of issue below
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: http://jsfiddle.net/bumbu/167usffr/).
Delete this intro and any unrelated text :smile: (if you do not we'll assume you haven't read these instructions and automatically close the issue)

Bug report
Expected behaviour
Open file and be able to zoom and pan image
Actual behaviour
Image and thumbnail image load. No functionality
Steps to reproduce the behaviour

Open file on computer
Not able to zoom and no zoom (+) or (-) buttons or reset button on screen.

Configuration

svg-pan-zoom version: ``
Browser(s): IE 11, Chrome 65
Operating system(s): Windows 7
A relevant example URL:

Feature Request
Am I missing something about how this is supposed to work? I looked in the read me and on StackOverflow and did not see any documentation on this issue.

Hi @gwinnc,
Do you run a server locally? Is http://jsfiddle.net/bumbu/167usffr/ working for you?
It seems to be a duplicate of #260 so I'm closing it. But feel free to comment if that's not the case and I'll reopen it.


Future Capabilities

First off, I can't thank you enough for creating this. I've been using it extensively on a project I've been working on the past few months.
Something I wanted to ask about is what, if any, capabilities could be added. I know you rely on what Actual exposes in its API for the current capabilities, but is it possible to tap into more of actual functionality outside of their API? Budget sync as an example, or other types of features.
If so, I would be happy to contribute where I can. Thanks!

Hello, glad this has been helpful for you. The functionality of this project is limited by what the nodejs api can do. If new features can be built on top of that functionality (such as https://github.com/jhonderson/actual-http-api/pull/10), they are welcome.
Can you explain the budget sync feature?

Sorry "budget sync" was not a good term. What I meant was, being able to use a web socket, or something similar, to receive updates as they happen based on the native server implementation, instead of having to poll.

For the example you mention, AFAIK actual http api server has no way to know the changes happening in the actual server, all it sees is a bunch of changes in protobuf format (see how budget sync works here https://github.com/bvanelli/actualpy?tab=readme-ov-file#understanding-how-actual-handles-changes).
So we would have to implement some kind of observer interceptor in this project, to recollect any change happening in actual-http-api server, and vend those as events to the websocket, but this approach would miss any change happening outside the http server. So I doubt that would be very useful.
Regardless, I am happy to check PRs, or specific proposals for this project to extend functionality, hopefully aiming for them to be useful to everyone using it.

That all makes sense, thanks. Sounds like I am thinking about this the wrong way, and need to adjust based on how Actual's sync works.
Though I am still a bit confused on how to observe or be notified of any changes, even after reading the actualpy doc. How would a client request to be notified of the delta changes being made?

Hey, sorry for the late reply. I don’t think there is a way for clients to be aware of delta changes using actual-nodejs-api. Even if we add support for it within actual-http-api, any changes made outside the http api wouldn’t be caught


Is there any way to one button switch the vscode style

Like what I said on title.
I have some vscode styles, they involves font and some appearance settings of editor.
I want one way to one button switch the vscode style because it's too much trouble to change many lines in setting.json.

I wonder if Settings profile can somewhat help with this

/duplicate
Yes, this is like an ask for profiles


node_stats for nodes with features including string values.

When creating a data frame from a numpy, by default it converts all dtypes to object in case it contains different dtypes (float and str in our case)...
https://stackoverflow.com/questions/61346021/create-a-mixed-type-pandas-dataframe-using-an-numpy-array-of-type-object
Solution:
df = pd.DataFrame(self.shadow_tree.X_train, columns=self.shadow_tree.feature_names).convert_dtypes()
return df.iloc[node_samples[node_id]].describe(include='all')

I thought that you already made the fix :D

hahah. nope was working on the tutorial and now they want a blog post haha


Hash the user agent.

To resolve issue https://github.com/antonioribeiro/tracker/issues/279, this commit implements the hashing of the user agent.
Briefly, this commit did the following:

Keep the name attribute as MEDIUM TEXT to allow us to store user agents that are reasonably long;
Do not add a unique index to the name attribute because its a TEXT, and that MySQL doesn't like adding indexes to texts.
Added unique hash column for the tracker_agents table;
Include the hash (SHA-256) of the user agent name when logging user agents;

For the necessary updates, let me know here.

The migration, unfortunately, because there are a lot of people using it today, will have to be a little more complex than that. It must migrate the data to the hash column. I was trying to put in place something like this, but it needs more tests.
        $this->builder->table(
            $this->table,
            function ($table) {
                $table->dropUnique('tracker_agents_name_unique');

                $table->string('name_hash', 65)->nullable();
            }
        );

        Agent::all()->each(function ($agent) {
            $agent->name_hash = hash('sha256', $agent->name);

            $agent->save();
        });

Right, this needs more review for the existing data. I hope I can improve this this weekend.

Sorry for not merging this one, but some other changes were necessary for it to work.
Done in https://github.com/antonioribeiro/tracker/commit/608d63dc113a612bee3f6e49b025484f1c88afba

@antonioribeiro No prob! Glad to have it ok now with 608d63d.


BToast don't work

Hello,  I'm using nuxt 3. If I try to make toast following docs and another issues, I'll get that error:
ReferenceError: document is not defined

Code:
index.vue
<template>
  <div>
    <ClientOnly>
      <BContainer
        :toast="{root: true}"
        fluid="sm"
        position="position-fixed"
      >
        <BButton @click="show1">
          toast
        </BButton>
      </BContainer>
    </ClientOnly>
  </div>
</template>

<script lang="ts" setup>
import { useToast } from 'bootstrap-vue-3';
const toast = useToast();
const show1 = () => {
  toast!.show({ title: 'example title' });
};
</script>

bootstraptoast.client.ts
import { BToastPlugin } from 'bootstrap-vue-3';

export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.vueApp.use(BToastPlugin);
});

I'm sorry. "Closed" is my mistake

The library isn't fully ssr friendly. I heard that Bootstrap is planning on making changes in 5.3 that allows them to be ssr friendly, and that's what we're waiting on. I believe there's a fork library of bootstrap that you may be able to use instead

Ok, thanks for answer, I'll try to find it.

Closing as this is well known, but not viable until a future release of Bootstrap


feat: Add support for Private Service Connect to ClickHouse

Add a ClickHouse terraform module to setup GCP Private Service Connect as described here.
This change will have no impact unless clickhouse_private_endpoint_service_name is specified.
If the clickhouse_private_endpoint_service_name is specified, then the region of the clickhouse instance should be provided with clickhouse_region.
if the clickhouse private endpoint service name is specified, the endpoint id will be an output variable to simplify manual integration with clickhouse.

This PR is included in version 5.4.0 :tada:


Fixes ambiguous term 'policy'

A repo may be created with "-p" for "policy only" (i.e. everything but cookbooks).  However, chefdk also generates repos containing cookbooks without the "-p" option.  The term 'policy' is misleading in this context.
Cookbooks are sometimes referred to as "policy" is some versions of Chef Training.  This semantic fix also pulls the functional description of the 'chef generate repo' command in-line with where Chef Training terminology is headed.  Students find the description of "policy" confusing and too similar to "Policyfile".  Chef Training is now using the term "desired state" or "Chef code" rather than "policy".
So, really, what this command does (without the -p flag) is create a repo for your Chef code.

Merged as 8ce2b0d78a5a002e042a3a5ea2f02e59721f0c9f


Another example with a missing file

Here's another example that uses a file that's not been committed to GitHub.  This time it's in the plutus-core library and it's used in the uplc executable.

Ah, this one fails, unlike #5375.

The problem is correctly detected here, so I'm closing this.


Automatically acquire binaries for MacOS and Linux

[ ] Support MacOS
[ ] Support Linux

I've added experimental MacOS support to master. I just need someone with a MacBook to test it.

i have a mac

@McJonnycat I'll need your help. Download https://download.videolan.org/pub/videolan/vlc/<IP_ADDRESS>/macosx/vlc-<IP_ADDRESS>.dmg and try to extract its contents. See if you're able to launch VLC from a binary within the dmg in the terminal.

im sorry can you put it not so big brain works? im not trying to be rude or anything

@McJonnycat I'll need your help. Download https://download.videolan.org/pub/videolan/vlc/<IP_ADDRESS>/macosx/vlc-<IP_ADDRESS>.dmg and try to extract its contents. See if you're able to launch VLC from a binary within the dmg in the terminal.

so basically click on the dylib in the vlc volume

like this?

@McJonnycat What happens when you try to execute the binary at this path? https://wiki.videolan.org/MacOS/#Command_line
See what happens when you use 7-zip to extract the dmg to a folder and try running it the same way: https://stackoverflow.com/a/28641849/8384910

im sorry i can't do this

If you have Linux Arm64 I can test it.

@MrBrain295 Try installing VLC without a package manager and report back what you discover.

Ok

When I try to download it the site tries to run a command in my terminal to download it from the snap store.

Sorry, these files will not compile and idk how to fix the error I’m getting.

Surely there's a prebuilt VLC binary for Linux somewhere

Yeah but I can’t find any for arm64

I found this but it says unmet dependencies but if I install it through apt it works.


New data about companies

I was searching about CNPJ APIs and i found a great beta API from Compras.dados.gov.br...
http://compras.dados.gov.br/fornecedores/doc/fornecedor_pj/01645738000179
http://compras.dados.gov.br/fornecedores/doc/fornecedor_pj/01645738000179.json
This API show all information about the company and the contracts they have with the governament.

Great finding @allantorres.

I made a PR (#193) related to supplier's data collection. I wish contribute with some analysis related with the purchases and materials.

We could use https://www.receitaws.com.br/ also. There is available a free API there.

We could use https://www.receitaws.com.br/ also. There is available a free API there.

Why?
ReceitaWS has information about the company — which we're already collecting, but nothing on the contracts they have with the governament — so @allantorres's suggestion still has a strong point over ReceitaWS.
However, as mentioned #16 recently now Receita WS is also publishing the partners of each company. It's a very very interesting to include in src/fetch_cnpj_info.py ; )

Oh ok. I got it now. There is another API in siconv for data of public money transfers. Some company could be of some congressperson parent. http://dados.gov.br/dataset/siconv

Closed by #193


feat: add utils function for hovered_name component

add params config for hovered_name component
trimed: boolean Whether to trim the filename if it's too long (default: false)

max_length: integer Maximum length of the filename (default: 24)
trim_length: integer Length of each end when trimming (default: 6)

show_symlink: boolean Whether to show symlink target (default: false)
{
type = "string",
custom = false,
name = "hovered_name",
params = { { trimed = true, show_symlink = true } },
},

Set trim 7 chars from both ends when filename > 24
{
type = "string",
custom = false,
name = "hovered_name",
params = { { trimed = true, show_symlink = true, max_length=24, trim_length=7 } },
},

Thank you, it is quite good. However, I realised some issues in UTF-8 part. First one is that the ending trim is shorter when it is UTF8. The second one is that in the beginning part sometimes has missing char symbol.
(Random Japanese characters)

(Random Turkish characters)

(ascii characters)

I don't know if the second issue is important but it would be good if you can check the first one.

OK, I will check it.

@imsi32 fixed.


Handle multiple matching index entries

The goal is to handle an index where there are multiple entries that look the same to older clients, but a newer client may see a feature it supports in the annotations. This would allow an SBoM to be packaged as an OCI-artifact and pushed in an index along side the image. It would also give a way to support different layer encodings for the same image without breaking older clients.
I say "SHOULD", but if there are no use cases where this change would break, then I'd be tempted to say "MUST".
Fixes #862, fixes #776
Signed-off-by: Brandon Mitchell<EMAIL_ADDRESS>

LGTM

I say "SHOULD", but if there are no use cases where this change would break, then I'd be tempted to say "MUST".

Wouldn't "MUST" break use cases where clients would discriminate multiple matching entries via annotations?  Annotations are sometimes used, for instance in HPC, to add information on compiler flags.  A client may look for these annotations and select the ones optimized for the local platform.  Using MUST would break that use case since annotations are not part of the platform.

Wouldn't "MUST" break use cases where clients would discriminate multiple matching entries via annotations? Annotations are sometimes used, for instance in HPC, to add information on compiler flags. A client may look for these annotations and select the ones optimized for the local platform. Using MUST would break that use case since annotations are not part of the platform.

This is certainly a use case I'm thinking this would support. I didn't call out what the "client or runtime's requirements" were in that line, so my assumption is these would also include annotations if a client was created that looked for annotations (or other fields in the descriptor).
Perhaps better phrasing may be "if multiple manifest entries are effectively equivalent to the client" and newer clients that handle features identified in annotations wouldn't see the entries as equivalent. Happy to find the best phrasing that gets across this idea.

The current phrasing looks good to me since clients can still decide to not pock the first matching entry if they have good reasons for it.

I agree with the wording in the PR. But, I struggle with the example of an SBoM in an index. This is the forward and reverse indexing topic that's part of the Reference Type working groups.

I agree with the wording in the PR. But, I struggle with the example of an SBoM in an index. This is the forward and reverse indexing topic that's part of the Reference Type working groups.

The Reference Type proposals would be a welcome addition and would likely handle more scenarios than injecting the artifact along side the image in an index's manifest list. However it will be some time before that is approved and available in all the registries I work with, so I'm looking at intermediate solutions that allow me to package artifacts with an image today. The other option would be something like the cosign model of a tag that's a digest and short type, but those tags clutter the tag listing in a less than ideal way.

Should we handle this in down conversion distribution? @jdolitsky

@sajayantony yes, but prior to that we need to be testing indexes in general (larger issue)


This edit allows the original modem tooltip text to appear in the dia…

…log reference boxes
(Small "i" button next to each parameter) This allows for more awareness of what each parameter means. There is no way to edit these outside of ArcGIS GUI or by editing XML file.

Thanks @willforker Merging.


Creating a Loadbalancer with the admin tenant without a explicit tenant_id failing community BVT test

Agent Version
9.2.0
Operating System
RHEL 7.3
OpenStack Release
Mitaka
Bug Severity
Severity: 5
Description
According to community BVT
  neutron_lbaas.tests.tempest.v2.api.test_load_balancers_admin.LoadBalancersTestJSON.test_create_load_balancer_missing_tenant_id_field_for_admin

when a loadbalacner is created by the admin tenant and no tenant_id is explicitly specified in the loadbalancer create call, the subnet_id should be interrogated and the tenant for the neutron subnet should be used for the loadblancer.
Deployment
Run
neutron_lbaas.tests.tempest.v2.api.test_load_balancers_admin.LoadBalancersTestJSON.test_create_load_balancer_missing_tenant_id_field_for_admin
Errors in the /var/log/neutron/server.log on the controller:
  2017-02-27 15:22:32.195 32234 ERROR f5lbaasdriver.v2.bigip.service_builder [req-4dbd4d41-fe4f-4b27-89a6-cedacee7e680 93d38cf9fdcf4509945aad474b286f40 47303b67b68746c7812dae8a1adc494f - - -] Creating a loadbalancer 4840516d-31f3-4c88-830f-15a68d5c7815 for tenant 47303b67b68746c7812dae8a1adc494f on a  non-shared network baee7507-f604-4894-9c81-356597aefb69 owned by cc49c93a364f49509ccfc02f3a081a20
  2017-02-27 15:22:32.197 32234 ERROR f5lbaasdriver.v2.bigip.driver_v2 [req-4dbd4d41-fe4f-4b27-89a6-cedacee7e680 93d38cf9fdcf4509945aad474b286f40 47303b67b68746c7812dae8a1adc494f - - -] Exception: loadbalancer create: Tenant Id of network and loadbalancer mismatched

Just a note.. I'm not sure the BVT test should work.
The use case to me that is important is the admin tenant can create a loadbalancer for a non-admin tenant with the loadbalancing subnet_id on a non-shared network owned by admin. This is the use case for letting a third party orchestration create a loadbalancer for a non-admin tenant with a loadbalancer on a public facing network.

This scenario results in a loadbalancer in 'ERROR' state using the Octavia loadbalancer.  Our driver should pass when the admin user creates a loadbalancer for a particular tenant provided the --tenant-id parameter matches the subnet ID.

Ok, this does work on the Octavia driver.  I was hitting an error in the number of loadbalancers I could create.  On Octavia, I see a loadbalancer with the tenant id of the admin and a subnet tenant id of the tenant.
We need to be able to check that the user that is creating the loadbalancer is 'admin' or has admin privileges.  I am not sure how the driver does this.

@dflanigan @mattgreene Could you take a look this issue? If this is supported, then I can work on it next sprint, otherwise can we close it?

This is a known limitation with the F5 product and will be addressed in a future release.  Exclude from automated regression.


Python 3

Is it possible to have both python 2 and 3 supported at the same time?

It is possible to switch over to python 3 by pointing the line of this Dockerfile (https://github.com/datagovsg/airflow-pipeline/blob/master/Dockerfile#L1) to the Dockerfile referenced here https://github.com/datagovsg/python-spark/blob/master/python3/spark1.6/Dockerfile
A separate effort is also required to auto build the python3 python-spark docker image.


feat: add generic confirm popup

fixes: #316

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


MDBootstrap, NGSemantic -> Angular Library

MDBootstrap, NGSemantic
Angular library for UI
Link: https://ng-semantic.herokuapp.com/#/ , https://mdbootstrap.com/
Checklist:

[✅ ] I have performed a self-review of submitted resource and its follows the guidelines of the project.

Both resources are already added ..

No it's not added please check correctly, Thank you


Sending to multiple recipients in transaction email API

how do you send one email to multiple recipients in transactional email using the API
i am connecting my angular project to the API
tried to use the examples used in the docs: https://apidocs.sendinblue.com/tutorial-sending-transactional-email/
but i keep getting an error

As part of the sendinblue API version 2 deprecation plan this repository is no longer supported. Please refer to its updated version 3: https://github.com/sendinblue/APIv3-ruby-library


Issue with docs.zowe.org/stable/user-guide/start-zowe-zos/

Description

Here:

ZWESLSTC as Zowe main started task,
ZWESISTC as Zowe cross memory server
and ZWESASTC as Zowe cross memory auxiliary server.

The first bullet ends in a comma and the last in a period.  These should be consistent.
Pages to Update

https://docs.zowe.org/stable/user-guide/start-zowe-zos/
Screenshots

Expected behavior

Additional context

See PR#3542


I am confused

This is a WebUI for hummingbot?

No, it is a script to generate UI component for web builders.

Got it, thank you

Hi @Kuchiriel. This repo is a couple of things:

The code that loads design tokens from the HBUI Figma file to generate React components in Hummingbot style and generate the HBUI NPM module
The code for the HBUI documentation site

If you want to use the HBUI design system in a React app you should use the NPM module. This NPM module not only has React components, but also design tokens and assets, which are useful to design apps using the Hummingbot style.
Alternative you can get started with one of the boilerplate projects:
Next.js
Gatsby
Webpack
Webpack (TypeScript)
Let us know if you would like to see a boilerplate project with different specifications.
You can also get design material from the Figma file to create your designs in Hummingbot style.


Request to merge hedging clients for Bitstamp and Ripple

There are available two hedging bots: one for Bitstamp and one for Ripple, the Ripple network being considered as another exchange for Bitcoin (among other currencies). This issue is to request them both to be adapted and merged into Gekko. Also, it would be good to modify the Bitstamp version such a way that the observer program or similar software would not be able to easily identify a user's wallet using solely the public order book of Bistamp.

open for pulls, but closing as it's currently not an issue.


run_at_load integration

Continuation of https://github.com/Homebrew/brew/pull/14624

@SMillerDev TL;DR, we might need to use OnActiveSec and systemctl enable --now <service_name>.timer when run_at_load is false. Since unit doesn't get activated OnUnitActiveSec might not be the right property here.
I'm trying several combinations of systemd calls here. I haven't been able to replicate how homebrew loads the systemd but that might be something wrong with my setup.
However, I'm confident that in order to not start the unit file but follow the timer we may have to load the service like this. I would very much appreciate if you could also verify this behaviour.

@SMillerDev kindly bumping this PR as well

Here's a crazy idea. Could we let systemd run itself with a delay using https://wiki.archlinux.org/title/Systemd/Timers#Transient_timer_units?

Are there any functional tests to see whether these delays are working accordingly?

There are not, but if we want to add this feature we should probably have some

Okay, the tests for this shouldn't be a big problem but I would need a bottle with reconfigurable service block. If you could guide me on that then I can try to come up with something.
Tests

Run command: Regardless of run_at_load it should run it but not enable it. Not exactly sure how this could be done for macOS though but I'm sure it's not really a big problem.
Start command: If run_at_load, then start and enable it. Else, don't start but enable the timer explicitly.

Maybe we can make a small sample formula that just creates a file as a service?

Should we push that formula here on spec folder or the core repository?

I think we can create a file on the build node just for the tests.

@SMillerDev can you review the current code so far? I don't think I'm getting the default true run_at_load.

Code looks fine, are you testing this with brew services info?

I'm not testing with anything right now. I just tried to change this method to return false manually but it still assumes it's true. That's why I'm not exactly sure I did this correctly.
https://github.com/Homebrew/homebrew-services/blob/302a43f642d3dbd5986434a3e35d2bd66d2d3ba6/lib/service/formula_wrapper.rb#L42-L44

@DenizUgur What's blocked here?

My lack of knowledge of this repository to be honest. I don't think I understand how it really works (Ruby wise). The lack of testing environment also blocks me.

@DenizUgur Sorry to hear that! If you can ask more specific/direct questions for help from @SMillerDev and myself: we'll do what we can to help.

Ok, closing this out for now. Feel free to bump this when you're able to work on it a bit more.


IRC NOTICE

Describe the bug
IRC NOTICE dont get bridged between two channels
To Reproduce
Sending __ping in #test2. Then message from EX-MB1 " __ping" and ]o[ response "pong" comes in #test
Expected behavior
After ]o[ responsed in #test, the answer should have appeared in #test2 like
EX-MB1: ]o[ pong
Screenshots/debug logs
Using Docker, dont know how to get debug logs
Environment (please complete the following information):

OS: linux
Matterbridge version: 1.14.0-rc2-dev e955a05 (from console)

Additional context
###################################################################
#IRC
###################################################################
[irc]

[irc.pirateirc]
#irc server to connect to.
#REQUIRED
Server="roubaix-fr.pirateirc.net:6697"

#Password for irc server (if necessary)
#OPTIONAL (default "")
#Password=""

#Enable to use TLS connection to your irc server.
#OPTIONAL (default false)
UseTLS=true

#Enable SASL (PLAIN) authentication. (freenode requires this from eg AWS hosts)
#It uses NickServNick and NickServPassword as login and password
#OPTIONAL (default false)
UseSASL=false

#Enable to not verify the certificate on your irc server. i
#e.g. when using selfsigned certificates
#OPTIONAL (default false)
SkipTLSVerify=true

#If you know your charset, you can specify it manually.
#Otherwise it tries to detect this automatically. Select one below
# "iso-8859-2:1987", "iso-8859-9:1989", "866", "latin9", "iso-8859-10:1992", "iso-ir-109", "hebrew",
# "cp932", "iso-8859-15", "cp437", "utf-16be", "iso-8859-3:1988", "windows-1251", "utf16", "latin6",
# "latin3", "iso-8859-1:1987", "iso-8859-9", "utf-16le", "big5", "cp819", "asmo-708", "utf-8",
# "ibm437", "iso-ir-157", "iso-ir-144", "latin4", "850", "iso-8859-5", "iso-8859-5:1988", "l3",
# "windows-31j", "utf8", "iso-8859-3", "437", "greek", "iso-8859-8", "l6", "l9-iso-8859-15",
# "iso-8859-2", "latin2", "iso-ir-100", "iso-8859-6", "arabic", "iso-ir-148", "us-ascii", "x-sjis",
# "utf16be", "iso-8859-8:1988", "utf16le", "l4", "utf-16", "iso-ir-138", "iso-8859-7", "iso-8859-7:1987",
# "windows-1252", "l2", "koi8-r", "iso8859-1", "latin1", "ecma-114", "iso-ir-110", "elot-928",
# "iso-ir-126", "iso-8859-1", "iso-ir-127", "cp850", "cyrillic", "greek8", "windows-1250", "iso-latin-1",
# "l5", "ibm866", "cp866", "ms-kanji", "ibm850", "ecma-118", "iso-ir-101", "ibm819", "l1", "iso-8859-6:1987",
# "latin5", "ascii", "sjis", "iso-8859-10", "iso-8859-4", "iso-8859-4:1988", "shift-jis
# The select charset will be converted to utf-8 when sent to other bridges.
#OPTIONAL (default "")
Charset=""

#Your nick on irc.
#REQUIRED
Nick="EX-MB1"

#If you registered your bot with a service like Nickserv on freenode.
#Also being used when UseSASL=true
#
#Note: if you want do to quakenet auth, set<EMAIL_ADDRESS>#OPTIONAL
#NickServNick="nickserv"
#NickServPassword="secret"

#OPTIONAL only used for quakenet auth
#NickServUsername="username"

## RELOADABLE SETTINGS
## Settings below can be reloaded by editing the file

#Flood control
#Delay in milliseconds between each message send to the IRC server
#OPTIONAL (default 1300)
MessageDelay=1300

#Maximum amount of messages to hold in queue. If queue is full
#messages will be dropped.
#<message clipped> will be add to the message that fills the queue.
#OPTIONAL (default 30)
MessageQueue=30

#Maximum length of message sent to irc server. If it exceeds
#<message clipped> will be add to the message.
#OPTIONAL (default 400)
MessageLength=400

#Split messages on MessageLength instead of showing the <message clipped>
#WARNING: this could lead to flooding
#OPTIONAL (default false)
MessageSplit=false

#Delay in seconds to rejoin a channel when kicked
#OPTIONAL (default 0)
RejoinDelay=0

#ColorNicks will show each nickname in a different color.
#Only works in IRC right now.
ColorNicks=false

#RunCommands allows you to send RAW irc commands after connection
#Array of strings
#OPTIONAL (default empty)
#RunCommands=["PRIVMSG cwchristerw MatterBridge connected"]

#Nicks you want to ignore.
#Regular expressions supported
#Messages from those users will not be sent to other bridges.
#OPTIONAL
#IgnoreNicks="ircspammer1 ircspammer2"

#Messages you want to ignore.
#Messages matching these regexp will be ignored and not sent to other bridges
#See https://regex-golang.appspot.com/assets/html/index.html for more regex info
#OPTIONAL (example below ignores messages starting with ~~ or messages containing badword
#IgnoreMessages="^~~ badword"

#messages you want to replace.
#it replaces outgoing messages from the bridge.
#so you need to place it by the sending bridge definition.
#regular expressions supported
#some examples:
#this replaces cat => dog and sleep => awake
#replacemessages=[ ["cat","dog"], ["sleep","awake"] ]
#this replaces every number with number.  123 => numbernumbernumber
#replacemessages=[ ["[0-9]","number"] ]
#optional (default empty)
#ReplaceMessages=[ ["cat","dog"] ]

#nicks you want to replace.
#see replacemessages for syntaxa
#optional (default empty)
#ReplaceNicks=[ ["user--","user"] ]

#Extractnicks is used to for example rewrite messages from other relaybots
#See https://github.com/42wim/matterbridge/issues/713 and https://github.com/42wim/matterbridge/issues/466
#some examples:
#this replaces a message like "Relaybot: <relayeduser> something interesting" to "relayeduser: something interesting"
#ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ] ]
#you can use multiple entries for multiplebots
#this also replaces a message like "otherbot: (relayeduser) something else" to "relayeduser: something else"
#ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ],[ "otherbot","\\((.*?)\\)\\s+" ]
#OPTIONAL (default empty)
#ExtractNicks=[ ["otherbot","<(.*?)>\\s+" ] ]

#extra label that can be used in the RemoteNickFormat
#optional (default empty)
#Label=""

#RemoteNickFormat defines how remote users appear on this bridge
#See [general] config section for default options
#The string "{NOPINGNICK}" (case sensitive) will be replaced by the actual nick / username, but with a ZWSP inside the nick, so the irc user with the same nick won't get pinged. See https://github.com/42wim/matterbridge/issues/175 for more information
RemoteNickFormat="<{NICK}> "

#Enable to show users joins/parts from other bridges
#Currently works for messages from the following bridges: irc, mattermost, slack, discord
#OPTIONAL (default false)
ShowJoinPart=false

#Do not send joins/parts to other bridges
#Currently works for messages from the following bridges: irc, mattermost, slack
#OPTIONAL (default false)
NoSendJoinPart=false

#StripNick only allows alphanumerical nicks. See https://github.com/42wim/matterbridge/issues/285
#It will strip other characters from the nick
#OPTIONAL (default false)
StripNick=false

#Enable to show topic changes from other bridges
#Only works hiding/show topic changes from slack bridge for now
#OPTIONAL (default false)
ShowTopicChange=true

###################################################################
#GATEWAY
###################################################################

[[gateway]]
#REQUIRED and UNIQUE
name="pirateirc"
#Enable enables this gateway
##OPTIONAL (default false)
enable=true

    # [[gateway.in]] specifies the account and channels we will receive messages from.
    # The following example bridges between mattermost and irc
    #[[gateway.in]]

    # account specified above
    # REQUIRED
    #account="irc.pirateirc"

    # channel to connect on that account
    # How to specify them for the different bridges:
    #
    # irc        - #channel (# is required) (this needs to be lowercase!)
    # mattermost - channel (the channel name as seen in the URL, not the displayname)
    # gitter     - username/room
    # xmpp       - channel
    # slack      - channel (without the #)
    #            - ID:C123456 (where C123456 is the channel ID) does not work with webhook
    # discord    - channel (without the #)
    #            - ID:123456789 (where 123456789 is the channel ID)
    #               (https://github.com/42wim/matterbridge/issues/57)
    # telegram   - chatid (a large negative number, eg -123456789)
    #             see (https://www.linkedin.com/pulse/telegram-bots-beginners-marco-frau)
    # hipchat    - id_channel (see https://www.hipchat.com/account/xmpp for the correct channel)
    # rocketchat - #channel (# is required (also needed for private channels!)
    # matrix     - #channel:server (eg #yourchannel:matrix.org)
    #            - encrypted rooms are not supported in matrix
    # steam      - chatid (a large number).
    #             The number in the URL when you click "enter chat room" in the browser
    # whatsapp   -<EMAIL_ADDRESS>A unique group JID;
    #              if you specify an empty string bridge will list all the possibilities
    #            - "Group Name" if you specify a group name the bridge will hint its JID to specify
    #              as group names might change in time and contain weird emoticons
    # zulip      - stream/topic:topicname (without the #)
    #
    # REQUIRED
    #channel="#test"

        #OPTIONAL - only used for IRC and XMPP protocols at the moment
        #[gateway.in.options]
        #OPTIONAL - your irc / xmpp channel key
        #key="yourkey"

    #[[gateway.out]] specifies the account and channels we will sent messages to.
    #[[gateway.out]]
    #account="rocketchat.cwinfo"
    #channel="#pirateirc"

        #OPTIONAL - only used for IRC and XMPP protocols at the moment
        #[gateway.out.options]
        #OPTIONAL - your irc / xmpp channel key
        #key="yourkey"

    #[[gateway.inout]] can be used when then channel will be used to receive from
    #and send messages to
    [[gateway.inout]]
    account="irc.pirateirc"
    channel="#test"

        #OPTIONAL - only used for IRC and XMPP protocols at the moment
        #[gateway.inout.options]
        #OPTIONAL - your irc / xmpp channel key
        #key="yourkey"

    [[gateway.inout]]
    account="irc.pirateirc"
    channel="#test2"

        #OPTIONAL - only used for IRC and XMPP protocols at the moment
        #[gateway.inout.options]
        #OPTIONAL - your irc / xmpp channel key
        #key="yourkey"

This is likely because NOTICES are supposes to be ignored by bots, though there should be an option to bridge them (like discord has an option to bridge not messages).

Actually they should not be ignored because of this
https://tools.ietf.org/html/rfc1459#section-4.4.2
Also they can be bridged as NOTICE like matrix-org/matrix-appservice-irc, FruitieX/TeleIRC and reactiflux/discordirc does.

Matrix also uses their version of IRC's NOTICE called m.notice for bots so other bots wouldn't react to them and when a Matrix room has IRC bridge (matrix-appservice-irc), IRC will see NOTICEs from bots which easily results to Matterbridge users missing messages.
I think Matrix's GitHub and RSS bots aren't very uncommon on IRC (or I am in funny set of channels which use them a lot) and would be relevant to see through Matterbridge.

+1

Is there no progress on bridging server notices? That should be a very basic standard feature.

Request for reopening as IRC to IRC is not enough considering the IRC RFC. https://github.com/42wim/matterbridge/pull/1305#issuecomment-753434444

Request for reopening as IRC to IRC is not enough considering the IRC RFC. https://github.com/42wim/matterbridge/pull/1305#issuecomment-753434444


fixed bug in example code expect.stringMatching

see #2813
I think it's a bug in a code example in the documentation
https://facebook.github.io/jest/docs/expect.html#expectstringmatchingregexp

Thank you!

Welcome!


feat: Support Ansi mode in abs function

Which issue does this PR close?

Closes #464 .
Rationale for this change

This PR adds support for ansi mode in the abs function. This is done by adding a wrapper to the abs datafusion function to add the different behavior between Spark and Datafusion. The main differences are the overflow behavior in legacy mode and the message exception in ansi mode.
What changes are included in this PR?

In addition to introducing the wrapper, some minor refactoring is done to move some code to a more general location.
In Spark, the abs function does not support try execution mode, only ansi or legacy.
How are these changes tested?

The new tests test the correct execution in the event of an overflow.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 34.08%. Comparing base (7ba5693) to head (dc3f2a8).
Report is 17 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #500      +/-   ##
============================================
+ Coverage     34.05%   34.08%   +0.02%
+ Complexity      859      812      -47
============================================
  Files           116      105      -11
  Lines         38679    38516     -163
  Branches       8567     8555      -12
============================================
- Hits          13173    13127      -46
+ Misses        22745    22644     -101
+ Partials       2761     2745      -16

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I have done a refactor with all the comments, thanks for the revision!

The problems in the tests seem to be because the branch was not aligned with main. By aligning it, the tests have passed in my repo.

Thanks!! I am a rust beginner, I appreciate any comments!


No new releases since Apr 2021 - 1.9.0

Hi folks!
Why it has no been releases lately? for those who use semantic versions in packages, we can't have the latest fixes unless we point to master, is there any reason behind it?
Thanks

Hi @alrocha!
The core of SnapshotTesting is pretty stable and no changes have been staged since 1.9.0. This means the interfaces used to create snapshot strategies and take snapshots are currently in the same state that they are in your project.
Snapshot strategies themselves need a bit more care when cutting releases, and so we need to be careful when doing so. The more volunteers we have to test the main branch, the more quickly we will be able to cut new releases without unintentionally breaking things for everyone.
One thing that would be helpful is some verification from the community that the changes staged on main are non-breaking. If you have projects utilizing SnapshotTesting, would you be interested in contributing some time to verify that they still behave as expected when building from main?
Our goal for SnapshotTesting 2.0.0 is to decouple the core library, which manages the core types and logic around serialization, deserialization, and XCTest integration, with the strategies, like the image strategies and UIKit/SwiftUI strategies, along with some kind of versioning system. This will hopefully remove some of the blockers that prevent releases from happening at a quicker pace right now.

Sorry to jump in, just wondering how making new versions could unintentionally break things for consumers of the library as they can stay on the older version?
(for context I'm on an M1 while my CI is not, and I'm having to use the fork from this PR https://github.com/pointfreeco/swift-snapshot-testing/pull/571 so was wondering when it could be released, then realised the last release was in April, which made me reconsider using this library as usually that's an indicator a project isn't maintained anymore)

Sorry to jump in, just wondering how making new versions could unintentionally break things for consumers of the library as they can stay on the older version?

The main thing we want to prevent are breaking changes between minor releases. Ideally a library consumer can use from: in SPM to safely accept new versions, and this is how most folks configure their Package.swift files.

(for context I'm on an M1 while my CI is not, and I'm having to use the fork from this PR #571 so was wondering when it could be released, then realised the last release was in April, which made me reconsider using this library as usually that's an indicator a project isn't maintained anymore)

If you'd like to volunteer some of your time to help test your snapshot artifacts pass on both 1.9.0 and main, you could help us expedite the release 😄

The core of SnapshotTesting is pretty stable and no changes have been staged since 1.9.0. This means the interfaces used to create snapshot strategies and take snapshots are currently in the same state that they are in your project.
Snapshot strategies themselves need a bit more care when cutting releases, and so we need to be careful when doing so. The more volunteers we have to test the main branch, the more quickly we will be able to cut new releases without unintentionally breaking things for everyone.

I absolutely agree with you @stephencelis, changes have to be tested carefully. It is true though there are some quite interesting PR for the library (I'm another one suffering with the Apple Silicon issue). Perhaps finding a middle way choosing a few PR and creating pre releases tagged versions could work?

Our goal for SnapshotTesting 2.0.0 is to decouple the core library, which manages the core types and logic around serialization, deserialization, and XCTest integration, with the strategies, like the image strategies and UIKit/SwiftUI strategies, along with some kind of versioning system. This will hopefully remove some of the blockers that prevent releases from happening at a quicker pace right now.

That sounds a pretty nice architecture change, which among other things will ease the release flow for sure.

++ to the discussion here.
Our team is also pointing to the fork in #571. If the concern is that there are more untested, pending changes blocking a release, may I suggest you cut a hotfix release that only includes the changes in #571? This will add the functionality that many engineering teams need and also give the community / maintainers enough time to test all the other pending changes.

+1 for fixing the M1 issue; we've had to reduce the fuzzy precision and the result is the snapshot tests are missing things.

Would also like to see a fix for #453 / #564 as that's a pretty problematic bug

This topic is of great interest to me personally / professionally, as I am myself running all my projects off main branch because some bug fixes have not been released yet, even though they are a few months old.

The core of SnapshotTesting is pretty stable and no changes have been staged since 1.9.0. This means the interfaces used to create snapshot strategies and take snapshots are currently in the same state that they are in your project.

If would be cool to get https://github.com/pointfreeco/swift-snapshot-testing/pull/443 released to fix webview snapshots!

Hi Team,
I would also like to volunteer to speed things up. This project has been very promising so far, let's not allow it to die, please.
How can I help?
Thanks!

Hi guys!
I am suffering from the M1 issue, too.
It's been a year since the latest release. Just a thought - may be you may consider making a minor release with https://github.com/pointfreeco/swift-snapshot-testing/pull/571 and some other fixes which most likely won't break anything for others but will help tremendously all who is on M1 now?
Thanks!

1.9.0 😱 was released! https://github.com/pointfreeco/swift-snapshot-testing/releases/tag/1.9.0

That was a year ago...?

Haha never mind..
I cant run Test cases.
I am getting error:
Undefined symbols for architecture x86_64:

Finally going to close this one out 😅
Be careful with your upgrades! You may need to regenerate and re-audit your snapshots!
https://github.com/pointfreeco/swift-snapshot-testing/releases/tag/1.10.0

Awesome! Thanks for the hard work, much appreciated! 🥳


systems without shasum

This https://github.com/edannenberg/gentoo-bb/commit/93e1f6ac5f1a55272255511343258e8c115dea9d broken build on coreos.
core@machine ~/git/gentoobb $ ./build.sh -s build fdsfgs
shasum is required for this script to run. Please install and try again
core@machine ~/git/gentoobb $ which sha512sum
/usr/bin/sha512sum
core@machine ~/git/gentoobb $ which shasum
which: no shasum in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin)

@jbergstroem probably better to keep sha512sum as fallback if shasum is not found

True. I'll make a PR.


Edit routines to read MO coefficients in the DFTB interface

Need to read dummy records used by Fortran at the start and the end of each data stream. The byte size may be compiler dependent?

OK.

https://stackoverflow.com/questions/37063864/reading-data-generated-from-fortran90-file-into-numpy-array


improve blogs page video section

Describe the bug

improve blogs page video section you can see the following image with solution
Screenshot
Before

After

@MonalikaPatnaik


setImageWithURLPlaceholderImageCompleted is not a function

I am using Nativescript+angular project.
I am getting following error on iOS devices.
Does any one know how to resolve this error..??
file:///app/tns_modules/nativescript-image-cache/ns-image-cache.js:146:66: JS ERROR TypeError: image.ios.sd_setImageWithURLPlaceholderImageCompleted is not a function. (In 'image.ios.sd_setImageWithURLPlaceholderImageCompleted(value, placeholderImage, function () {

                image.isLoading = false;

            })', 'image.ios.sd_setImageWithURLPlaceholderImageCompleted' is undefined)

file:///app/tns_modules/nativescript-image-cache/ns-image-cache.js:146:66: JS ERROR TypeError: image.ios.sd_setImageWithURLPlaceholderImageCompleted is not a function. (In 'image.ios.sd_setImageWithURLPlaceholderImageCompleted(value, placeholderImage, function () {

                image.isLoading = false;

            })', 'image.ios.sd_setImageWithURLPlaceholderImageCompleted' is undefined)

@pap5508 did you find a solution to this? I'm having the same issue.

@99hats @pap5508 either of you guys figure this out? I'm seeing the same issue on a similar plugin as well: https://github.com/triniwiz/nativescript-image-cache-it


Ability for users to define custom frames via datapack:yote:

where’s my subm:arr:ine

bruh that's a hoagie


Fix recursive struct issue

Structs that contains themselves in a dynamic array are not recursive and do not have infinite size, as int the example below:
struct C {
    C [2][3][][2] m;
}

@xermicus I implemented the fix for Polkadot as well, but I could not write tests for it because I've hit a problem in ABI generation (#1520). Can you advise if I should maintain the changes I made in Polkadot or revert them?


chore: update contracts to latest deployed version

Thanks! Should we also update the config that we provide in the docs to add the walrus package ID?

Done in 3997a82563eedeaa09dc562044845a2399f468bd.


Timer not working

Hello, Thank you wery much for developing this project. I would like to inform you that timer isnt working when watching the movie it shows all the movie lenght. Also i would like to ask you please to fix the GENRE problem the Genr for movies and users dosn't work PLEASE FIX them. I'm starting to consider if this project will be continued to donate to developers.
And it would be nice IOS app. Thank you!

Due to inactivity surrounding this topic I am closing it. If this is not solved please reopen the issue.


Infinite DMRG for TFI in examples/d_dmrg.py might need psi.canonical_form()

Describe the bug
I tried running example_DMRG_tf_ising_infinite from examples/d_dmrg.py with g=0.6. It prints the following UserWarning about unnormalized MPS:
E, psi, M = example_DMRG_tf_ising_infinite(0.6)
correlation length:<PHONE_NUMBER>682145
UserWarning: Correlation length: largest eigenvalue not one. Not in canonical form/normalized?

If I run psi.canonical_form(), this goes away.
psi.canonical_form()
psi.correlation_length()

0.8842916986002104

Should the script perhaps include a call to psi.canonical_form() to ensure the output psi is canonical?
Minimal example or code extract
It's taken from d_dmrg.py, but I include it here for completeness.
import numpy as np

from tenpy.networks.mps import MPS
from tenpy.models.tf_ising import TFIChain
from tenpy.models.spins import SpinModel
from tenpy.algorithms import dmrg

import logging
logging.basicConfig(level=logging.INFO)

def example_DMRG_tf_ising_infinite(g):
    print("infinite DMRG, transverse field Ising model")
    print("g={g:.2f}".format(g=g))
    model_params = dict(L=2, J=1., g=g, bc_MPS='infinite', conserve=None)
    M = TFIChain(model_params)
    product_state = ["up"] * M.lat.N_sites
    psi = MPS.from_product_state(M.lat.mps_sites(), product_state, bc=M.lat.bc_MPS)
    dmrg_params = {
        'mixer': True,  # setting this to True helps to escape local minima
        'trunc_params': {
            'chi_max': 30,
            'svd_min': 1.e-10
        },
        'max_E_err': 1.e-10,
    }
    # Sometimes, we want to call a 'DMRG engine' explicitly
    eng = dmrg.TwoSiteDMRGEngine(psi, M, dmrg_params)
    E, psi = eng.run()  # equivalent to dmrg.run() up to the return parameters.
    print("E = {E:.13f}".format(E=E))
    print("final bond dimensions: ", psi.chi)
    mag_x = np.mean(psi.expectation_value("Sigmax"))
    mag_z = np.mean(psi.expectation_value("Sigmaz"))
    print("<sigma_x> = {mag_x:.5f}".format(mag_x=mag_x))
    print("<sigma_z> = {mag_z:.5f}".format(mag_z=mag_z))
    print("correlation length:", psi.correlation_length())
    # compare to exact result
#     from tfi_exact import infinite_gs_energy
#     E_exact = infinite_gs_energy(1., g)
#     print("Analytic result: E (per site) = {E:.13f}".format(E=E_exact))
#     print("relative error: ", abs((E - E_exact) / E_exact))
    return E, psi, M

E, psi, M = example_DMRG_tf_ising_infinite(0.6)

psi.canonical_form()
psi.correlation_length()

The resulting state actually is in canonical form, as you can verify with psi.norm_test().
DMRG checks that at the end, and calls psi.canonical_form() otherwise.
However, here you get a "cat" state, a macroscopic superposition of |+x>  and |-x>. Calling psi.canonical_form() selects one of the two sectors, such that the subsequent psi.correlation_length() gives reasonable numbers (and log(2) less entanglement!).
It's a somewhat special case, because the TFI chain has so quickly decaying singular values that you represent even the cat state at that bond dimension with (almost) no truncation error. For virtually any other model, the truncation error actually helps to select one of the two degenerate ground states.
Interestingly, I also don't get the cat state if I use charge conservation in this case.

If i run the example with the latest tenpy, the final DMRG state is not in canonical form and is subsequently converted;
In [2]: example_DMRG_tf_ising_infinite(.6)
infinite DMRG, transverse field Ising model
g=0.60
final DMRG state not in canonical form up to norm_tol_final=1.00e-10: norm_err=3.71e-07, calling psi.canonical_form()
canonical_form_infinite: project to significantly smaller chi
canonical_form_infinite: project to significantly smaller chi
canonical_form_infinite: project to significantly smaller chi
canonical_form_infinite: project to significantly smaller chi
E = -1.0922385835548
final bond dimensions:  [7, 7]
<sigma_x> = 0.94574
<sigma_z> = 0.31576
correlation length: 0.8843019050672333
Analytic result: E (per site) = -1.0922385835545
relative error:  2.470011580308288e-13

So I would say everything works as intended and I will close this.
If I am missing something, feel free to reopen =)


Build and run on windows

This PR adds additional build tags to ensure nex can build and run on Windows.

Rather than have us continue to get pings every time you commit... can you leave this in draft until it's ready for review?

I can't digest a PR of this size. I think the only option is to merge it and then deal with the consequences in multiple smaller PRs after this.
So let's call my approval of this PR a begrudging approval.


Adding Integration Test for Phone Number Authentication in Firebase

Implement integration test for verifying phone number sign-in with Firebase Auth. Please review and approve.

FYI, CI for the auth integration tests only run for PRs from a branch in the main firebase-ios-sdk repo in order to access the needed credentials.

Replaced by #13538


add uniska campus

@Muharir17 First stage of verification passed, official domain is uniska-bjm.ac.id as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Muharir17 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


The issue  "'webp/decode.h' file not found" is still exist

I not sure whether I forked the wrong version (But I think the master brach is the correct one, am  I?) or the issues is still exist. or it is just exist in SDWebImageDemo project.
Very appreciate to your help, thank you very much.
I found libwebp folder in my vender folder is empty, Is there a possible that I need download libwebp by myself?

step:
1、 cd into your SDWebImage directory.
2、git submodule init.
3、git submodule update.


How to add JSDoc Typechecking to SvelteKit

image: https://user-images.githubusercontent.com/6764957/152372196-ded316b8-3111-4690-bb71-1fc801d2c471.png
slug: jsdoc-swyxkit
category: tutorial
canonical_url: https://swyxkit.netlify.app/how-to-add-jsdoc-typechecking-to-sveltekit
As I build out swyxkit, I am finding that I am no longer prototyping and that I need to be able to refactor with confidence.
This makes it the right time to introduce types!
I was tempted to use TypeScript since I am more familiar with that, but since SvelteKit is written with JSDoc types, I figured I'd finally give that a try as I had never tried it before.

Verdict
You can see my successful conversion attempt here: https://github.com/sw-yx/swyxkit/pull/23/

I'm pleased to report that I think JSDoc Typechecking is a perfect match for light-logic projects like this blog starter - when you don't want to slow your builds down to strip out types, and you don't REALLY need to strictly typecheck every little thing. IMO you should basically aim to typecheck just the riskiest parts of your code, which are mostly function boundaries, API responses and non-string values like Date.
The whole process took me about 30 mins and I already found myself experiencing the benefits of typechecking as I tweaked the return signatures of some functions and changed the props of some components (amazing work by @dummdidumm who maintains the Svelte Language Server - it can even detect when required props are missing!)
What follows here is an intro to Just Enough JSDoc Typechecking so you can get going with this on your own project.
Step 1: Simple variable declaration typing
The most basic jsdoc typing you can do is typing variable declarations. Since JS does implicit string conversion, I think you get the most mileage out of typing any component prop that isn't a string.
<script>
	// FeatureCard.svelte
	/** @type {Date} */
	export let date;
</script>

This just helps prevent ugly unintended stringification.
The SvelteKit docs also strongly encourage you to annotate the SvelteKit APIs in pages:
<script context="module">
	// src/routes/__layout.svelte
	/** @type {import('@sveltejs/kit').Load} */
	export async function load({ url }) {
		return {
			props: {
				origin: url.origin
			}
		};
	}
</script>

and API routes:
// src/routes/api/blog/[slug].json.js

/**
 * @type {import('@sveltejs/kit').RequestHandler}
 */
export async function get() {
	return {
		body: { /* etc */},
		headers: {
			'Cache-Control': `max-age=0, s-max-age=${60}` // 1 minute.. for now
		}
	};
}

Of course, most of your data is gonna come with more complex types, which you will need to reuse...
Step 2: Make a .d.ts file
You're going to pull your types, particularly reusable types, from this file. Rich says you should put it in /src/lib/types.d.ts so you can take advantage of SvelteKit's aliasing. Stub out your types and build them up as you convert the rest of the files...
// /src/lib/types.d.ts
export type GHComment = {
	// etc
}

export type GHMetadata = {
	// etc
}

Step 3: Imported typing for variable declaration
Now you can annotate more complex component props:
<script>
	// Comment.svelte
	/** @type {import('$lib/types').GHComment} */
	export let comment;
</script>

that wasn't too bad! Go through all your Svelte files and annotate; you'll probably find that you will need to flesh out your .d.ts file types as you go. However, you'll still need to annotate API responses for full safety...
Step 4: Typing Node.js functions
Node.js code probably has the strongest reasons to properly annotate functions since this has the most data risk - you wanna be warned any time the type signature of inputs or outputs change. Here's how to do it:
/**
 * @param {import('$lib/types').GithubIssue} issue
 * @returns {import('$lib/types').ContentItem}
 */
function parseIssue(issue) {
   // ...
}

If you are parsing data and just need to annotate inline functions, that's possible too:
// before
issues.forEach((issue) => {/* etc */})

// after
issues.forEach(
	  /** @param {import('$lib/types').GithubIssue} issue */
	  (issue) => {
	  }
)

Date sorting needs a bit of special love and care:
// normal
_allBlogposts.sort((a, b) => b.date - a.date); // Error: The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type

// ts
_allBlogposts.sort((a, b) => b.date.valueOf() - a.date.valueOf()); // use valueOf to make TS happy https://stackoverflow.com/a/60688789/1106414

Step 5: Run your code!
You can do steps 1-4 entirely in the editor, relying on the language server, but the real test of whether or not you broke anything is just running your code. I caught two big mistakes in my refactor, mostly to do with not properly typing my API responses.
Further reading

JSDoc Reference in TypeScript Docs
You can also use JSDoc for libraries! and output a .d.ts file for your consumers! says Bart Veneman

I like the approach with JSDoc, compared to Typescript it is less restricted therefore seems easier to handle.
I recently switched for SvelteKit development from Typescript to JSDoc, initiated by reading your blog post a couple of weeks ago. Thanks for sharing the idea.

thanks for the comment!


Github action to check for image updates

Changes:

Adds a github action to check for image updates.
Creates a PR when an update is available and changes the version to the latest one.

Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[X] Build related changes
[ ] Other (please describe):

Testing
Requires testing

[ ] Yes
[X] No

In case you checked yes, did you write tests?

[ ] Yes
[X] No

Further comments (optional)
For the current version, the following sources are used:
Consensus and validator client versions are taken from templates/envs/mainnet/consensus folder.
Execution client versions are taken from templates/envs/mainnet/execution folder.
Prysm gbc-prysm-beacon-chain and gbc-prysm-validator images are taken from denver validator and consensus folder.
New versions are taken from Github releases and package repository.

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

Coverage data is based on head (9b40bf0) compared to base (52987f5).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #132   +/-   ##
========================================
  Coverage    84.25%   84.25%
========================================
  Files           35       35
  Lines         2089     2089
========================================
  Hits          1760     1760
  Misses         263      263
  Partials        66       66

Flag
Coverage Δ

unittests
84.25% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


dolphinEmuMaster: 20180430 -> 20180609

Motivation for this change
Simple update.
On a side note, I can't seem to get the Vulkan backend working on this commit or the previous, is there anything special that needs to be done in the config or is this a dolphin/nixos problem?
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Perhaps the vulkan-loader expression needs to be wrapped into one of the executables?

Turns out that's exactly what I had to do.
I'll submit another commit here shortly.

@GrahamcOfBorg build dolphinEmuMaster

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: dolphinEmuMaster
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

cc maintainer @MP2E

Success on x86_64-darwin (full log)
Attempted: dolphinEmuMaster
Partial log (click to expand)
-- Installing: /nix/store/i57iq18brs8m4wgq4xlwj4cgd8wa0w2j-dolphin-emu-20180609/Applications/DolphinWx.app/Contents/Resources/ro.lproj/dolphin-emu-wx.mo
-- Installing: /nix/store/i57iq18brs8m4wgq4xlwj4cgd8wa0w2j-dolphin-emu-20180609/Applications/DolphinWx.app/Contents/Resources/hr.lproj
-- Installing: /nix/store/i57iq18brs8m4wgq4xlwj4cgd8wa0w2j-dolphin-emu-20180609/Applications/DolphinWx.app/Contents/Resources/hr.lproj/dolphin-emu-wx.mo
-- Installing: /nix/store/i57iq18brs8m4wgq4xlwj4cgd8wa0w2j-dolphin-emu-20180609/Applications/DolphinWx.app/Contents/Resources/ca.lproj
-- Installing: /nix/store/i57iq18brs8m4wgq4xlwj4cgd8wa0w2j-dolphin-emu-20180609/Applications/DolphinWx.app/Contents/Resources/ca.lproj/dolphin-emu-wx.mo
-- Installing: /nix/store/i57iq18brs8m4wgq4xlwj4cgd8wa0w2j-dolphin-emu-20180609/Applications/DolphinWx.app/Contents/Info.plist
glibPreFixupPhase
post-installation fixup
strip is /nix/store/yyak5sjv68n9vdgnkd2cb5djk1l9sqj5-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/i57iq18brs8m4wgq4xlwj4cgd8wa0w2j-dolphin-emu-20180609

Success on x86_64-linux (full log)
Attempted: dolphinEmuMaster
Partial log (click to expand)
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/y9c00bjqrcpp6f2v3kblyxwb7vywvwn4-dolphin-emu-20180609
shrinking /nix/store/y9c00bjqrcpp6f2v3kblyxwb7vywvwn4-dolphin-emu-20180609/bin/.dolphin-emu-nogui-wrapped
shrinking /nix/store/y9c00bjqrcpp6f2v3kblyxwb7vywvwn4-dolphin-emu-20180609/bin/.dolphin-emu-wx-wrapped
gzipping man pages under /nix/store/y9c00bjqrcpp6f2v3kblyxwb7vywvwn4-dolphin-emu-20180609/share/man/
strip is /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/y9c00bjqrcpp6f2v3kblyxwb7vywvwn4-dolphin-emu-20180609/bin
patching script interpreter paths in /nix/store/y9c00bjqrcpp6f2v3kblyxwb7vywvwn4-dolphin-emu-20180609
checking for references to /build in /nix/store/y9c00bjqrcpp6f2v3kblyxwb7vywvwn4-dolphin-emu-20180609...


Fix: Error overlay

Removed noisy error overlay in dev mode

@Tbaut thanks for pointing to the existing overlay 👍


looks like http://www.rainbowstream.org/ si squatted

Hi,
It seems that rainbowstream is redirected to a fake Flash download page.
Thx;
F

I revoked the domains a while ago and seems that someone took it to host fake content. Couldn't do anything about this :/