Does Tugboat Support Multiple Teams Yet?

I'm a member of 2 DO teams and I can only see Droplets for one of my teams.

@zlanich Is that possible through the API? I thought each key only allows access to one team

each key is separate for each team, i would think do would need to release the concept of global keys... but idk

I'm not certain off the top of my head if the API has team support with one API key, but even if you need separate API keys, it would be nice to be able to configure multiple keys, one for each team and to either be able to use a flag to specify which team you're administering or for it to do so automatically if possible.
Best Regards,
Zach Lanich
Business Owner, Entrepreneur, Creative
Owner/Lead Developer
weCreate LLC
www.WeCreate.com

On Jul 14, 2016, at 4:21 PM, Peter Souter<EMAIL_ADDRESS>wrote:
@zlanich Is that possible through the API? I thought each key only allows access to one team
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

agreed, some support would be nice, each key is individual to each team i just tested it.

 I would have looked into it a while ago lol.
Best Regards,
Zach Lanich
Business Owner, Entrepreneur, Creative
Owner/Lead Developer
weCreate LLC
www.WeCreate.com

On Oct 6, 2016, at 3:53 PM, Mike DeVita<EMAIL_ADDRESS>wrote:
agreed, some support would be nice, each key is individual to each team i just tested it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

i know enough to get dangerous lol not enough to consider worthy on contributing any good code though.
Sent from my iPhone

On Oct 6, 2016, at 1:09 PM, zlanich<EMAIL_ADDRESS>wrote:
I wish I knew a lick of Ruby. I would have looked into it a while ago lol.
Best Regards,
Zach Lanich
Business Owner, Entrepreneur, Creative
Owner/Lead Developer
weCreate LLC
www.WeCreate.com

On Oct 6, 2016, at 3:53 PM, Mike DeVita<EMAIL_ADDRESS>wrote:
agreed, some support would be nice, each key is individual to each team i just tested it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@zlanich @mikedevita It's possible to implement this, just not sure of the UX. Any ideas appreciated?
Would something like an environmental flag be good?
TUGBOAT_TEAM=developers tugboat create awesome_app_server
With a config with multiple team entries:
---
authentication:
  developers:
    access_token: b4wf7B7xn6r6TW6Cb4wf7B7xn6r6TW6Cb4wf7B7xn6r6TW6C
  admins:
    access_token: 6SfuFs4ysrVtZHFL6SfuFs4ysrVtZHFL6SfuFs4ysrVtZHFL6SfuF
ssh:
  ssh_user: root
  ssh_key_path: "~/.ssh/id_rsa"
  ssh_port: '22'
defaults:
  region: lon1
  image: centos-6-5-x64
  size: 512mb
  ssh_key: ['foo_key']
  private_networking: 'false'
  backups_enabled: 'false'
  ip6: 'false'

As a workaround for now, you could have multiple entries in the ~/.tugboat file and change by commenting and uncommenting for now

Yeah that would be good and if no team is specified it'd work as normally expected.
Sent from my iPhone

On Oct 8, 2016, at 12:10 PM, Peter Souter<EMAIL_ADDRESS>wrote:
@zlanich @mikedevita It's possible to implement this, just not sure of the UX. Any ideas appreciated?
Would something like an environmental flag be good?
TUGBOAT_TEAM=developers tugboat create awesome_app_server
With a config with multiple team entries:

authentication:
developers:
access_token: b4wf7B7xn6r6TW6Cb4wf7B7xn6r6TW6Cb4wf7B7xn6r6TW6C
admins:
access_token: 6SfuFs4ysrVtZHFL6SfuFs4ysrVtZHFL6SfuFs4ysrVtZHFL6SfuF
ssh:
ssh_user: root
ssh_key_path: "~/.ssh/id_rsa"
ssh_port: '22'
defaults:
region: lon1
image: centos-6-5-x64
size: 512mb
ssh_key: ['foo_key']
private_networking: 'false'
backups_enabled: 'false'
ip6: 'false'
As a workaround for now, you could have multiple entries in the ~/.tugboat file and change by commenting and uncommenting for now
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Add guidance on rendition prefetching to docs

Follow up to #8069

@gasman How do you feel about the use of versionadded here? I know it's usually reserved for reference-like docs, but I thought it might be useful in helping devs looking at the latest docs to understand that the optimisations won't work in their pre-3.0 project.


Card response not supporting more than 1 button

Currently the card response only support 1 button, is there any reason to it?
Thanks.

@gsfeng  did u solve it? Even i couldn't solve it! Is there a way you found out? Let me know bro

@Mrinnaal I customized the code for it to work as of now.

@gsfeng can you share me the code and how u did it? I tried payload also but it is kind of giving the same response. Please let me know bro.


First draft

Based on discussions at weekly AOS meetings and other discussions with Doug Neill.

Should we add a discussion on the origin of the elevation angle for each of the components?

First draft is in acceptable for to sync with the master branch.  Further edits will be conducted on additional branches.


[Compose Resources] commonMainResourceAccessors is not generated in multi-module architecture using Kotlin 2.0.0

The official statement says: Starting with 1.6.10, you can place resources in any module or source set, as long as you are using Kotlin 2.0.0 or newer, and Gradle 7.6 or newer.
However, when the resources are placed in another module then composeApp (I don't know whether it name or application plugin dependent) they are not generated
Affected platforms

All
Versions
Libraries:

Compose Plugin version: 1.6.10
Kotlin version: 2.0.0
Gradle version: 8.7

To Reproduce
Steps to reproduce the behavior:

Download zip archive
Click run Android app
Navigate to App.kt and try to uncomment 36 line

Expected behavior
The resources could be imported from another module
Screenshots

Demo
KotlinProject 2.zip

I'm getting a similar problem but with fonts
Config:
compose-plugin = "1.6.10"
kotlin = "2.0.0"

jetbrainsCompose = { id = "org.jetbrains.compose", version.ref = "compose-plugin" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlinVersion" }

// res config:
compose.resources {
    publicResClass = true
    packageOfResClass = "sample.resources"
    generateResClass = always
}

Code to expose font:
@Composable
public fun workSans(): FontFamily {
    return FontFamily(Font(Res.font.worksans_default))
}

Caused by: java.lang.IllegalStateException:
Unable to load font Font(assetManager, path=composeResources/sample.resources/font/worksans-default.ttf, weight=FontWeight(weight=400), style=Normal)
                                                                                at androidx.compose.ui.text.font.FontListFontFamilyTypefaceAdapterKt.firstImmediatelyAvailable(FontListFontFamilyTypefaceAdapter.kt:195)
                                                                                at androidx.compose.ui.text.font.FontListFontFamilyTypefaceAdapterKt.access$firstImmediatelyAvailable(FontListFontFamilyTypefaceAdapter.kt:1)
                                                                                at androidx.compose.ui.text.font.FontListFontFamilyTypefaceAdapter.resolve(FontListFontFamilyTypefaceAdapter.kt:133)
                                                                                at androidx.compose.ui.text.font.FontFamilyResolverImpl$resolve$result$1.invoke(FontFamilyResolver.kt:93)
                                                                                at androidx.compose.ui.text.font.FontFamilyResolverImpl$resolve$result$1.invoke(FontFamilyResolver.kt:92)
                                                                                at androidx.compose.ui.text.font.TypefaceRequestCache.runCached(FontFamilyResolver.kt:192)
                                                                                ... 131 more

Testproject.zip

Guys, do you know is it possible to share resources between composeApp and server?
I can't do it because it says my server module should be marked as multiplatform module (because resources module, that I apply to server module` should be also marked as multiplatform) - https://kotlinlang.slack.com/archives/C3PQML5NU/p1716676813612929

Guys, do you know is it possible to share resources between composeApp and server? I can't do it because it says my server module should be marked as multiplatform module (because resources module, that I apply to server module` should be also marked as multiplatform) - https://kotlinlang.slack.com/archives/C3PQML5NU/p1716676813612929

How is this related to the issue?

same issue here using
kotlin = "2.0.0"
compose = "1.6.20-dev1646"
whenever I try to create a composeResources directory I only get suggested this which is the old impl

is one

@sereden you forgot about the src dir: move resources/commonMain -> resources/src/commonMain

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


⚠ ClamAV has degraded performance

In c42ac37, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 195 ms

Resolved: ClamAV performance has improved in f47aac5.


cargo installer trying to write to /etc (creating /etc/bash_completion.d) and failing as user on macos

On the latest macos there is no /etc/bash_completion.d yet ./x.py build tries to mkdir /etc/bash_completion.d as per the error message below despite prefix in the config.toml set to a local home folder and not expecting it to write anything outside the user space.
This is doing "./x.py install" after a successful "./x.py build" with config set to have "extended=true" for all the tools to build and install and profile being "compiler".
...
Building stage2 tool cargo-credential-1password (aarch64-apple-darwin)
Compiling syn v1.0.91
Compiling serde_derive v1.0.125
Compiling serde v1.0.125
Compiling serde_json v1.0.59
Compiling cargo-credential-1password v0.1.0 (/Users/alex/Documents/GitHub/rust-lang/rust/src/tools/cargo/crates/credential/cargo-credential-1password)
Finished release [optimized] target(s) in 7.99s
Dist cargo-1.64.0-dev-aarch64-apple-darwin
finished in 5.046 seconds
Install cargo stage2 (Some(aarch64-apple-darwin))
install: creating uninstall script at /Users/alex/.local/lib/rustlib/uninstall.sh
install: installing component 'cargo'
mkdir: /etc/bash_completion.d: Permission denied
install: error: directory creation failed. see logs at '/Users/alex/.local/lib/rustlib/install.log'
Build completed unsuccessfully in 0:06:36
The prefix is set to "/Users/alex/.local" FYI.
Here is the install.log FYI:
$ umask 022 && mkdir -p "/Users/alex/.local/lib/rustlib"
$ echo "3" > "/Users/alex/.local/lib/rustlib/rust-installer-version"
install: creating uninstall script at /Users/alex/.local/lib/rustlib/uninstall.sh
$ cp /Users/alex/Documents/GitHub/rust-lang/rust/build/tmp/tarball/cargo/aarch64-apple-darwin/cargo-1.64.0-dev-aarch64-apple-darwin/install.sh /Users/alex/.local/lib/rustlib/uninstall.sh
install: installing component 'cargo'
$ echo "cargo" >> "/Users/alex/.local/lib/rustlib/components"
$ umask 022 && mkdir -p "/Users/alex/.local/bin"
install: copying file /Users/alex/.local/bin/cargo
$ cp /Users/alex/Documents/GitHub/rust-lang/rust/build/tmp/tarball/cargo/aarch64-apple-darwin/cargo-1.64.0-dev-aarch64-apple-darwin/cargo/bin/cargo /Users/alex/.local/bin/cargo
$ chmod 755 /Users/alex/.local/bin/cargo
$ echo "file:/Users/alex/.local/bin/cargo" >> "/Users/alex/.local/lib/rustlib/manifest-cargo"
$ umask 022 && mkdir -p "/Users/alex/.local/libexec"
install: copying file /Users/alex/.local/libexec/cargo-credential-1password
$ cp /Users/alex/Documents/GitHub/rust-lang/rust/build/tmp/tarball/cargo/aarch64-apple-darwin/cargo-1.64.0-dev-aarch64-apple-darwin/cargo/libexec/cargo-credential-1password /Users/alex/.local/libexec/cargo-credential-1password
$ chmod 755 /Users/alex/.local/libexec/cargo-credential-1password
$ echo "file:/Users/alex/.local/libexec/cargo-credential-1password" >> "/Users/alex/.local/lib/rustlib/manifest-cargo"
$ umask 022 && mkdir -p "/Users/alex/.local/libexec"
install: copying file /Users/alex/.local/libexec/cargo-credential-macos-keychain
$ cp /Users/alex/Documents/GitHub/rust-lang/rust/build/tmp/tarball/cargo/aarch64-apple-darwin/cargo-1.64.0-dev-aarch64-apple-darwin/cargo/libexec/cargo-credential-macos-keychain /Users/alex/.local/libexec/cargo-credential-macos-keychain
$ chmod 755 /Users/alex/.local/libexec/cargo-credential-macos-keychain
$ echo "file:/Users/alex/.local/libexec/cargo-credential-macos-keychain" >> "/Users/alex/.local/lib/rustlib/manifest-cargo"
$ umask 022 && mkdir -p "/etc/bash_completion.d"
install: error: directory creation failed. see logs at '/Users/alex/.local/lib/rustlib/install.log'

I could obviously fix it by sudo creating the required /etc/bash_completion.d and sudo chmod it to o=rwx to let it install successfully but this does not seem right to me.

The Gentoo-specific bug related to this, is here https://bugs.gentoo.org/689562

I hit the same problem and eventually worked out that I can get past it by adding --sysconfdir=/place/i/can/write/to to my ./configure options


Dutch translation of title template, headings, labels

Summary
Add Dutch (nl) translations of title template, headings, labels, etc for locale code nl.
Potential Contributors
Only the StatConfig.py needs to be modified to implement this. Look for a comment block that has a list of steps necessary to contribute a locale. Start by creating a fork. Then create a branch in your fork for the new feature.
Please don't edit the README with the new locale code, despite the Pull Request template requesting that documentation is updated. Changes to the README automatically go live in the GitHub Marketplace listing for the action. I'll take care of updating README with the new locale code in the list of locales when I create the release that contains it to ensure that documentation is consistent with latest release.

Hi, can I pick this one up for hacktoberfest? I'm a native Dutch speaker

Hi @lovelacecoding yes. I just assigned you the issue.

Added a PR for the translation. It's PR #166


Use WineHQ repo

This is a partial fix to resolve issue #3 . The ENTRYPOINT change must still be added to allow Gecko (& maybe mono?) to be used correctly. I will add this script later, unless someone else beats me to it.
I chose to drop --install-recommends from the winehq-stable installation as I felt it was not necessary.
The only minor improvement is that gnupg / apt-transport-https could be removed at the end if so desired.

I did some tests and found that wine from winehq repo runs as 64bit-wine instead of 32bit-wine.
If I download 64bit version https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86_64.msi instead of 32bit version https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi and store it in /usr/share/wine, gecko is found and gets installed. The workaround with softlinks to ~/.cache/wine is not needed.
In general I found that many Windows applications run well with 32bit-wine, but not with 64bit-wine.
wine 1.8 from debian stretch repo runs as 32bit-wine and is quite stable and reliable and integrates well in debian.
Other wine versions, 64bit as well as 32bit, and up to wine version 3.9, are already available with PlayOnLinux.
I prefer to stay with wine 1.8 from debian repo and provide other versions with PlayOnlinux. That seems to be the most reliable and stable setup.
I decide not to merge your pull request, sorry. Thanks for your contribution!

You are correct regarding the symlinks.
Would you accept a new PR with wine set to be 32bit?

I found that debian backports provide wine 3.01!
https://packages.debian.org/stretch-backports/wine
Would you like to create a PR with wine installed from debian backports? I would appreciate it. (If not, I will do it myself. Also, x11docker/lxde-wine will need the same setup.)
It may also make sense to download both version 32-bit and 64-bit of gecko if one wants to run wine64.
I feel better with installations from debian repository as they are mostly better tested and integrated than packages from third partys.

I can make a PR later today with Wine 3 from backports and the WINEARCH variable set.


Replace the Manager Ticket...Interface

Replace all the Manager (define a tag and an argument for the class, status, history, ...) as to replace the Interface from the Manager definition

Following the example of the TicketManager :
class TicketManager extends AbstractManager
{
    public function __construct(EntityManagerInterface $manager, string $class, string $defaultStatusName)
    {
        parent::__construct($manager, $class);
    }
}

Within the Extension, we will give the ticketing.entities.ticket as $class and the ticketing.default_status_name as $defaultStatusName
We will need to create the parameter ticketing.default_status_name in the config


Dependency check CWE not parsed correctly

Bug description
It appears the default 1035 CWE is always taken as a fallback when importing a dependency check report (recent ones).
It seems that line 25 of the parser would treat CWE as a single field, whereas now, there could be several per a 5.1.1 dependency check output?
<vulnerability source="NVD">
          <name>CVE-2012-5882</name>
          <severity>MEDIUM</severity>
          <cvssV2>
            <score>4.3</score>
            <accessVector>NETWORK</accessVector>
            <accessComplexity>MEDIUM</accessComplexity>
            <authenticationr>NONE</authenticationr>
            <confidentialImpact>NONE</confidentialImpact>
            <integrityImpact>NONE</integrityImpact>
            <availabilityImpact>NONE</availabilityImpact>
            <severity>MEDIUM</severity>
          </cvssV2>
          <cwes>
            <cwe>CWE-79</cwe>
          </cwes>
          <description>Cross-site scripting (XSS) vulnerability in the Flash component infrastructure in YUI 2.5.0 through 2.9.0 allows remote attackers to inject arbitrary web script or HTML via vectors related to uploader.swf, a similar issue to CVE-2010-4208.</description>
          <references>
            <reference>
[... truncated ... ]

Hi Madchap,
I saw the same issue with sonar scanner: there is sometimes several cwe. currently we take only the first one.
The problem is that cwe is an integer in the model right now so it can't hold several values without changing the model which will affect all the scanners; we could add a new field though;

either varchar and holds all the cwe
or something like it's done for the endpoints with two more tables dojo_endpoint, dojo_finding_endpoint

You could use a foreign key to the CWE table. Or add an array field (only for postgres, though).


Trackpad doesn't work on surface go's type cover

Hi there,
I'm playing with my new surface go, and nomadbsd starts just fine on it.
It's the 4GB RAM model, as depicted here: https://www.microsoft.com/en-us/p/surface-go/8V9DP4LNKNSZ/L8M8?activetab=pivot%3Aoverviewtab
The keyboard on the type cover works just fine, but the trackpad doesn't do anything, neither click the mouse not move it.
How can I go about debugging this? I would really love to use nomadbsd on this machine!

Ha, it works! Brilliant :+1: Thanks
Note that the type cover occasionally disconnects, and it makes typing a bit of a pain. All is good with a traditional keyboard attached to USB though.


Update index.adoc

Fix typo - add space between Validate and Documents

Thanks @tomasb-iss This seems to be fixed now, so I am closing this PR.


The system is not displaying the name of the user who performed a action on patient file

Actual Results
The system is not displaying the name of the user who have performed a record or update in the system
Expected results
The system should display for each kind of visit the name of the user and the date that the information was recorded or updated
Steps to reproduce
Login to POC-> Go to clinical module-> Search for a patient who has visit history-> Look at the clinical summary
Screenshot/Attachment (Optional)

 The system is not displaying the name of the user who performed a action on patient file


linker command failed with exit code 1 when bitcode enabled

using the latest Bolts framework...
Frameworks/Bolts.framework/Bolts(BFExecutor.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Hey @mungra, the latest release was still compiled without bitcode, though you can get it working if you use Cocoapods or build from source.
We are tracking to compile with bitcode starting from the next release (1.2.3)
I am going to keep this one open for now.

thanks for the quick reply @nlutsenko ! Cool i'll check it out on Cocoapods

@mungra 1.3.0 is out and it was compiled with the public Xcode 7.0, as well as it includes bitcode slices.
This issue should be resolved now even if you are using precompiled framework from releases page.

working perfectly! thanks @nlutsenko !


[batchai] logger: specify 'group' resource type

Changes logger output on az batchai cluster create to specify that the resource type it's creating is a resource group.

was: Creating %s resource for auto-storage account
now: Creating %s resource group for auto-storage account

Unsure if this counts as docs only. If it doesn't, let me know and I'll update HISTORY.rst. Thanks!

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

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

Looks like this does need a version update:
The following modules have invalid versions:
azure-cli-batchai
See above for the full warning/errors
The command "./scripts/ci/precheck_header.sh" exited with 1.
...
Done. Your build exited with 1.

@matthchr Hey Matt, maybe this should be rolled into someone else's update? Not sure we want a version bump just for this. If you're not the correct contact, who might I ping? Thanks -MM

@mmacy update the package version is not critical, you just need to update the setup.py and add an entry to the HISTORY.rst

@mmacy update?

@troydai Whoops, forgot about this one. Will try to get to it today!

@troydai How's this looking?


API endpoint for deleting old update status

Is your feature request related to a problem? Please describe.
Our system continuously makes updates to the document, while meilisearch will generate a 'Update' object which helps us to track the asynchronous process. However the update history seems never to be deleted, and currently there's no endpoint for doing it. We want to track the current updating activity by calling the GET /indexes/:index_id/updates, and the response list will grow to thousands of records if our system keeps updating the index.
Describe the solution you'd like
We want to have a endpoint to DELETE the past 'Update' object with a specific time range, or number of records to delete.

Another potential solution: provide the option for MeiliSearch to delete old updates automatically. For instance, "keep only the last 1,000 updates." Like potentially storing all the updates in an LRU cache.

Another potential solution: provide the option for MeiliSearch to delete old updates automatically. For instance, "keep only the last 1,000 updates." Like potentially storing all the updates in an LRU cache.

Hello @Nick-Mazuk @vence722,
Two great features, we already planned to add the ability to delete old updates status. But the idea of a kind of LRU cache is a great idea. We could investigate on that. I invite you both to add a feature request on our roadmap!


Collectors partitioning by

I usually accept such PRs, since they are correct, but I would like to encourage you again to start using var keyword when possible.


Class 'Kunnu\Dropbox\DropboxApp' not found

Currently migrating API v1 to v2, and I'm having a hard time on uploading a file and receiving an error.
Error:
<IP_ADDRESS>:39086 [500]: /dropbox-php-sdk/upload.php - Class 'Kunnu\Dropbox\DropboxApp' not found in /var/www/html/dropbox-php-sdk/upload.php on line 18

What about something like require '../vendor/autoload.php'; in upload.php? Do you use composer autoload?

Thanks you


Update to theme + some additional functionality

Major edits to most files.

Updates overall theme (removes Grindr branding).
Adds some additional styling to chat UI.

Also adds some new functionality:

Unofficial/browser-based "favorites" bar.
Photo lightbox.

I tested this, while it looks good, it still has some issues.  I was not able to switch between the grid and map, and the bar for the favorites was overlayed on top the the drop down for the map.  Also the about me section of the profile on the right hand side was cutting off words.


refactor!: Changed avset name to key

Description
Minor changes to examples supporting Availability Sets.
Changed the var name from availability_set_name to availability_set_key because in fact a key is used.
Changed the var name from availability_set to availability_sets to be compliant with naming convention (plural).

Motivation and Context
It doesn't solve any issues, it's just a cosmetic change so the var names reflect reality, naming convention and the "key convention".
However, these examples will not be compatible with tfvars files from previous releases, hence "breaking change".

How Has This Been Tested?
Example with Availability Sets after changing the var name has been deployed in the lab and in customer's environment.

Screenshots (if appropriate)

Types of changes

Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes if appropriate.
[x] All new and existing tests passed.

Would be great to rename var.availability_set to var.availability_sets at some point - to better reflect it's contents and align with convention used for other variables.

As per Michal's suggestion - I changed the name of variable availability_set to availability_sets in the same examples (to comply with naming convention) as it makes sense to change both of these vars' names at the same time.


To discuss: Data structure for filters

As of https://github.com/fractal-analytics-platform/fractal-web/issues/678#issuecomment-2548530766, we are not anymore defining attribute filters for workflow tasks. But we still have type filters. On the other hand, we are introducing attribute filters for jobs, but not type filters. This would be a validation layer which is not defined in the database schema but rather in the application/API schemas, which is a scenario we always try to avoid (it's more complex and error prone, and it requires redundant definitions).
Our suggestion (with @mfranzon) is that we should also split the data structure in two parts, attributes and types, rather than having single homogeneous filters objects + validation.
We describe the different options below, and suggest that we pick the third (or even fourth) one.
Notes:

We describe the different options under the assumption that we don't need the "exclude" field any more (see https://github.com/fractal-analytics-platform/fractal-server/issues/2154), but this is not a critical point.
Task input_types are not used for filtering, but rather to validate the image list after filtering took place. Thus they are not related to the current discussion, and they would not require any change.

1. Current situation
DatasetV2.filters = {"types": {"is_3D": false}, "attributes": {"well": "B03"}}
WorkflowTaskV2.intput_filters: {"types": {"is_3D": false}, "attributes": {"well": "B03"}}

2. Original plan for complex filters
DatasetV2.filters = {"types": {"is_3D": false}, "attributes": {"well": ["B03"]}}   # note that we now have a list of possible wells
WorkflowTaskV2.input_filters: {"types": {"is_3D": false}}                          # note that here we only accept "attributes"
JobV2.filters = {"attributes": {"well": "B03"}}                                    # note that here we only accept "types"

3. Improved plan for complex filters
DatasetV2.type_filters = {"is_3D": false}
DatasetV2.attribute_filters = {"attributes": {"well": ["B03"]}}
WorkflowTaskV2.type_filters: {"is_3D": false}
JobV2.attribute_filters = {"well": "B03"}}

At the cost of one additional field, we are removing one level of nesting from all these JSON objects.
4. Improved plan for complex filters / without attribute filters for dataset
To discuss: are dataset attribute filters actually relevant? If not, we could go even further and have
DatasetV2.type_filters = {"is_3D": false}
WorkflowTaskV2.type_filters: {"is_3D": false}
JobV2.attribute_filters = {"well": "B03"}}

I'd be in favor of 3. I do think there is likely a point for dataset attribute filters.


[BUG] Broken links in Rider

System info

Playwright Version: 1.38.0
Operating System: Windows
Browser: n/a
Other info: IDE - rider

Source code

[x] I provided exact source code that allows reproducing the issue locally.

Steps
Type the following code into Rider
await using var browser = playwright.Chromium.LaunchAsync();
await using var context = await browser.NewContextAsync();
await context.Tracing.StartAsync(new()
{
  Screenshots = true,
  Snapshots = true
});
var page = context.NewPageAsync();
await page.GotoAsync("https://playwright.dev");
await context.Tracing.StopAsync(new()
{
  Path = "trace.zip"
});

When hovering over StopAsync/Path/ etc Rider gives a suggested link which no longer exists. I'm happy to update the links, but I can't find them on this repository although this repo definitely has the code e.g. StopOptions .
Expected
To redirect to this following link
https://playwright.dev/dotnet/docs/api/class-tracing
Actual
I'm redirected here which doesn't exist
https://learn.microsoft.com/en-us/dotnet/api/Microsoft.Playwright.TracingStopOptions.Path?view=netstandard-2.0

It looks like a Rider bug to me since we don't have the links in our source code / nuget file which we distribute. I tried the following (after adjusting your code since it was not syntactically correct)
using var playwright = await Playwright.CreateAsync();
var browser = await playwright.Chromium.LaunchAsync();
var context = await browser.NewContextAsync();
await context.Tracing.StartAsync(new()
{
    Screenshots = true,
    Snapshots = true
});
var page = await context.NewPageAsync();
await page.GotoAsync("https://playwright.dev");
await context.Tracing.StopAsync(new()
{
    Path = "trace.zip"
});

I would recommend to reach out to the Rider support tracker.

Closing as per above.

Thanks @mxschmitt! Will reach out to the peeps at rider. Ironically that code with the syntax issue came straight from the playwright website (wasn't able to use my code). Will make a PR for that.


Write errors to stderr

Closes #669
Description
This should be discussed as it is a breaking change and can break someone's workflow.

For contributor use:

[X] Targeted PR against master branch
[X] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[X] Code follows the standards mentioned here
[ ] Updated relevant documentation
[X] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

This is good, thank you. Just wondering how to make it so it doesn't break for someone that was piping outputs etc. I feel if we keep both for some time won't help much as anyhow we can't detect usage of each stream. Maybe just an appropriate note in release notes could be enough. Any thoughts/ideas?

@sideninja that is my concern too actually, maybe we announce and then merge in few releases ahead?


Is the source code for this player complete?

I downloaded the source codes of this project but some css files and others are missing and a dist folder.
Where do I download these files?

It's complete. Much like many front-end packages, we don't include the dist folder to avoid merge conflicts etc with minified code.
More info is here:
https://github.com/sampotts/plyr/discussions/2094


Make Take iterator for gradient inclusive of both end colors, add tests

As mentioned in the third point of #156, this PR includes the bounds of the gradient along with more equal distribution of colors returned from the iterator.
In the current version of the iterator, (self.from_head) / (self.len) will approach 1 but never equal 1 which results in the upper gradient bound being excluded. The current behavior of take() is surprising if one expects the last color step to be the max color of the gradient. This PR increases step distance so the user receives an iterator of colors that evenly traverses from the minimum bound of the gradient to the maximum. The step is increased by subtracting 1 from self.len in the calculation of i. The calculation for i will then include

0 when self.from_head is 0
1 when self.from_head == self.len - 1.

The assignment of i has a conditional for when self.len is 1. This avoids division by 0 which results in NaN parameters for the iterator color returned in the case of take(1). The check needed to be added to the DoubleEndedIterator, otherwise it would NaN on 1 as well. The behavior of take(1) before this PR is to supply the minimum color in the gradient.
Pictured below is an example of the difference between current behavior and this PR in 3 sets of Lch gradients. The 1st, 3rd, and 5th rows are the current implementation of the iterator and the others are from the PR with the final step being inclusive of the maximum gradient color specified. The gradients are no longer skewed towards the beginning. The penultimate steps are very close to the current behavior's final step.

gradient::test::simple_slice fails as a result of this PR.
---- gradient::test::simple_slice stdout ----
thread 'gradient::test::simple_slice' panicked at 'assert_relative_eq!(t1, t2)

    left  = Rgb { red: 0.8888888888888888, green: 0.0, blue: 0.1111111111111111, standard: PhantomData }
    right = Rgb { red: 0.875, green: 0.0, blue: 0.125, standard: PhantomData }

', palette/src/gradient.rs:453:13

#[test]
    fn simple_slice() {
        let g1 = Gradient::new(vec![
            LinSrgb::new(1.0, 0.0, 0.0),
            LinSrgb::new(0.0, 0.0, 1.0),
        ]);
        let g2 = g1.slice(..0.5);

        let v1: Vec<_> = g1.take(10).take(5).collect();
        let v2: Vec<_> = g2.take(5).collect();
        for (t1, t2) in v1.iter().zip(v2.iter()) {
            assert_relative_eq!(t1, t2);
        }
    }

The simple slice test passes when
let v1: Vec<_> = g1.take(10).take(5).collect();

is changed to
let v1: Vec<_> = g1.take(9).take(5).collect();

The size of the slice has increased so the test failed. Here are g1.take(10).take(5), g2.take(5).
g1.take(10).take(5)
Rgb { red: 1.0, green: 0.0, blue: 0.0, standard: PhantomData }
Rgb { red: 0.8888888888888888, green: 0.0, blue: 0.1111111111111111, standard: PhantomData }
Rgb { red: 0.7777777777777778, green: 0.0, blue: 0.2222222222222222, standard: PhantomData }
Rgb { red: 0.6666666666666667, green: 0.0, blue: 0.3333333333333333, standard: PhantomData }
Rgb { red: 0.5555555555555556, green: 0.0, blue: 0.4444444444444444, standard: PhantomData }
g2.take(5)
Rgb { red: 1.0, green: 0.0, blue: 0.0, standard: PhantomData }
Rgb { red: 0.875, green: 0.0, blue: 0.125, standard: PhantomData }
Rgb { red: 0.75, green: 0.0, blue: 0.25, standard: PhantomData }
Rgb { red: 0.625, green: 0.0, blue: 0.375, standard: PhantomData }
Rgb { red: 0.5, green: 0.0, blue: 0.5, standard: PhantomData }
simple slice test

g1.take(9).take(5) produces the same results as g2.take(5) and passes the test.
g1.take(9)
Rgb { red: 1.0, green: 0.0, blue: 0.0, standard: PhantomData }
Rgb { red: 0.875, green: 0.0, blue: 0.125, standard: PhantomData }
Rgb { red: 0.75, green: 0.0, blue: 0.25, standard: PhantomData }
Rgb { red: 0.625, green: 0.0, blue: 0.375, standard: PhantomData }
Rgb { red: 0.5, green: 0.0, blue: 0.5, standard: PhantomData }
Rgb { red: 0.375, green: 0.0, blue: 0.625, standard: PhantomData }
Rgb { red: 0.25, green: 0.0, blue: 0.75, standard: PhantomData }
Rgb { red: 0.125, green: 0.0, blue: 0.875, standard: PhantomData }
Rgb { red: 0.0, green: 0.0, blue: 1.0, standard: PhantomData }
g1.take(9).take(5)
Rgb { red: 1.0, green: 0.0, blue: 0.0, standard: PhantomData }
Rgb { red: 0.875, green: 0.0, blue: 0.125, standard: PhantomData }
Rgb { red: 0.75, green: 0.0, blue: 0.25, standard: PhantomData }
Rgb { red: 0.625, green: 0.0, blue: 0.375, standard: PhantomData }
Rgb { red: 0.5, green: 0.0, blue: 0.5, standard: PhantomData }

I've amended the simple_slice_test.

Thanks for the feedback. I've updated the documentation in gradient.rs, let me know if there are any other places to mention or corrections to be made. Terminology around explaining the change feels very clunky but did my best to streamline it.
I hope I understood your comment. Now, the logic is more explicit about the special cases and the interpolation is isolated. The "let if" was opaque and not ideal.

I updated the readme to mention an example in an updated /gfx/readme_gradients.png. However I wasn't sure if the readme_examples were automatically built at some point. I copied the relevant gradient portion into a local test file to work out, then I reinserted and ran the --features strict test to make sure it built.

I had some trouble getting the macro for assert_relative_eq to work in the doc test example. It ended up looking more like the unit tests.

That's fine. I just didn't remember if the required trait was implemented for Vec, so I took a chance.
I think this look good to go now! Do you want to squash any of the fixups before it's merged? Otherwise I'll order it to be merged as soon as I get to it tomorrow. :slightly_smiling_face:

(sorry, clicked the wrong button there)

Great 👍
Do you want to edit the PR title or original comment to mention anything?

No, I think it's fine the way it is.
bors r+


Distribution Not Found error

I'm using Arch Linux and after some packages update I'm getting the following error with subliminal:
subliminal download -l en video.mkv
Traceback (most recent call last):
  File "/usr/bin/subliminal", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3019, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 655, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 963, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 849, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'subliminal==2.0.5' distribution was not found and is required by the application

Is there any way to fix it?

I'm encountering the same problem.

Have you tried installing in a fresh virtualenv?

Ah, that was the solution! Thanks.

Didn't know what exactly means "install in a fresh virtualenv", so I just reinstalled the whole thing using the setup.py script and it seems to work now.
Thanks!


:sparkles: Rewrote command registration and added cogs

Changes

adds: Cogs. Look at the cog example to see how it works. Also kills old cog system.
fixed: Commands and Message Components are registered when a class is initiated. This makes pincer a lot more modular and any class can register a cog now. as long as it inherits from Interactable FUNCTIONAL BOTS WILL BE IMPOSSIBLE IF THIS GETS MERGED.
improvements: ...

Check off the following

[x] I have tested my changes with the current requirements
[x] My Code follows the pep8 code style.

Codacy not happy:

Check failure on line 142 in pincer/cog.py

I think codacity is just being dumb

@Sigmanificient you asked for a lot of changes to ChatCommandHandler but i'm not changing them because I want this to be merged at some point. ChatCommandHandler has been exactly the same for a while. I just moved the file that it was in.

@Sigmanificient you asked for a lot of changes to ChatCommandHandler but i'm not changing them because I want this to be merged at some point. ChatCommandHandler has been exactly the same for a while. I just moved the file that it was in.

Well i'm starting to understand the lib, little by little, so i make idea suggestions xD

I'm not happy with this so I'm gonna make some major modifications. I will reopen once thats done.

Time to be reviewed again :skull:


⚠ Adacta-fintech.com has degraded performance

In 14dfe72, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1116 ms

Resolved: Adacta-fintech.com performance has improved in fef36bc.


issue when focus on an input

this scroll is not completed to the desired target, also the onDone() event is not called.
demo : https://jsfiddle.net/2mfg8tda/10/

The issue is that you are calling scrollTo on keydown, and as soon as you release the key, the keyup event fires and cancels it.
Here is an updated fiddle that works as expected: https://jsfiddle.net/2mfg8tda/11/
changes:

keyup instead of keydown
added onDone and onCancel to the programmatic scrollTo


Duplicate Methods

Method RelatonIso::DocumentIdentifier#all_parts is defined at both lib/relaton_iso/document_identifier.rb:3 and lib/relaton_iso/document_identifier.rb:24. (warning:Lint/DuplicateMethods)

There is RelatonBib::DocumentIdentifier#all_parts method in parent class.
Rubocop climes it as an offence. There are many offences in the code but we should try to reduce the number of them, not make new.
By conventional, if there is an instance variable the getter should has same name as the variable. We have @all_parts instance variable in the RelatonIso::DocumentIdentifier but the method #all_parts isn't getter, it's setter. I think the method should be named #set_all_parts_true or #set_all_parts(all_parts=true), and I don't think we need attr_accessor :all_parts at alll.

I fixed it


updated title

Someone pointed to me that we should use a Pre on the title since we are not using PLAsTiCC data. :)

Kernel was updated.


SA1135CodeFixProvider InvalidCastException

A code fix provider was disabled. This was the callstack Roslyn reported:
System.InvalidCastException : Unable to cast object of type 'Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax' to type 'Microsoft.CodeAnalysis.CSharp.Syntax.QualifiedNameSyntax'.
   at StyleCop.Analyzers.ReadabilityRules.SA1135CodeFixProvider.GetReplacementName(TypeSyntax symbolNameSyntax,TypeSyntax nameSyntax)
   at StyleCop.Analyzers.ReadabilityRules.SA1135CodeFixProvider.GetReplacementNode(SemanticModel semanticModel,UsingDirectiveSyntax node,CancellationToken cancellationToken)
   at async StyleCop.Analyzers.ReadabilityRules.SA1135CodeFixProvider.GetTransformedDocumentAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetChangedSolutionAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputeOperationsAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetPreviewOperationsAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.GetPreviewResultAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedActionWithNestedFlavors.<>c__DisplayClass11_0.<GetPreviewAsync>b__0(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T](<Unknown Parameters>)

It's been a while, so no chance of you remembering what the code actually looked like before applying the fix? :-)
Or what analyzer version was used?

I'm afraid not.

I had a look at this again just now. Given the current code, this crash makes little sense to me. I also notice that this analyzer was updated regarding qualified names (which the crash is related to) in about the same time as this was reported. Since we also have no repro code or info about used version, I suggest closing this as not reproducable. What do you think, @sharwell?


Error 'HuggingFaceCode::setApiToken' not found in VSCode

While Type: Hugging Face Code: Set API token in VSCode (Mac OS) getting
Command 'Hugging Face Code: Set API token' resulted in an error (command 'HuggingFaceCode::setApiToken' not found)

I ran it as described but got the same error.

got same error

I just ran into this.
OS: Mac OS 13.5.2
VSCode: 1.82.0
HF Code Autocomplete: v0.0.38
I disabled Google Cloud Code, restarted VSCode, and was able to add my HF API key.
When I updated VSCode Duet AI (Google Cloud Code) had been enabled by default.  There seems to be an incompatibility between HF Code Autocomplete and Google Cloud Code.
Hope that helps!

@wmchurchill3 It worked fine! Thanks for the info!

The login command will change in the upcoming release. Feel free to open another issue if the problem persists.


"Necșești", "Belciug" and "Gârdești" are listed in the drop-down menu

Description:
"Necșești", "Belciug" and "Gârdești" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Necșești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Necșești, TELEORMAN (Necșești)" and "Comuna Necșești, TELEORMAN".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Belciug" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Belciug, TELEORMAN (Necșești)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Gârdești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Gârdești, TELEORMAN (Necșești)".


winget install Microsoft.NuGet does not work

Create issues related to the winget.exe client here

Brief description of your issue
winget install Microsoft.NuGet

Does not install nuget. The exe is a binary, not an installer. It also points to latest which will break as soon as there is a new latest. See https://www.nuget.org/downloads.
from #6884 by @cilerler
Url: https://dist.nuget.org/win-x86-commandline/latest/nuget.exe

Steps to reproduce
winget install Microsoft.NuGet

Expected behavior

Actual behavior

Environment
[winget --info]
Windows Package Manager version
Windows: Windows.Desktop version
Package: Microsoft.DesktopAppInstaller version

Any other software?

You are right.
Unfortunately, NuGet does not have an installer.
And I copied it from the original commit accepted and reversed after that, and use it as a placeholder with the correct location until (a) winget supports EXE installations (b) NuGet provides an installer.
We have same kind of needs for apps like CURL, etc.
Also, if it was copying it to a specified path, and add it into the PATH, having the latest would not be a real problem, you would only need to use -force.

The issue with latest is the checksum will not match.
Sha256: 3ce2f08716277ce3a7556893b0a39e5c2bf1dd6765afd54843700d4a35d7c058

As I stated above winget install Microsoft.NuGet --force will pass the checksum issue.
But it won't place it into the C:\Program Files (x86)\NuGet folder and add that folder into the PATH environment variable, and that is the main issue, and that is the reason I said, I added that as a placeholder.
The original entry is here https://github.com/microsoft/winget-pkgs/pull/227/files

https://github.com/microsoft/winget-cli/issues/194 is the blocking issue. This isn't an installer it's a standalone .exe.

WinGet 1.3 now supports portable exe files so Microsoft NuGet has been added. You can install it with winget install Microsoft.NuGet.

Windows Package Manager 1.3 has been released 🎉


Responsive Fixes

Hey @DanCanetti ,
Great Work ! It looks way better than our current version !
Had a suggestion though,
Can you get the Yes & No boxes side by side in one line for PwD, Gender and Sort By just like you did in Category?

Hey @ShubhamPalriwala, thanks! I've made that update and it looks like that's now part of the this PR Radio side-by-side. Let me know if you have any further suggestions!

@DanCanetti looks awesome !
Thanks a lot for helping us in here !


500 MB+ of user Data?

I have done several backup and restores of my Pixel 3 XL recently while I have been migrating to Android 11.
I have noticed that my backup programs have been hanging on backing up NachoNotch and upon investigating I have discovered that the app contained more than 500 MB of user data.
I'm not sure if the sheer size of this is causing backup issues, as I do have other apps with more data that back up properly.  As I have no idea what this data consists of it is possible there are thousands of small files that take an indeterminable time to backup.  I have let the backup run for over 30 minutes trying to backup this app and eventually have to kill it and then purge the user data.
I should mention that while I have used the app in the past, it has been reinstalled from scratch on my phone without ever being used and apparently still generates over 500 MB of user data.
I can't determine why an app that provides this function needs to generate such large amounts of user data.
Can a description of this excessive user data be provided?

I have no idea where that data would be coming from.
Can you install this APK over the release version (remove the .zip extension)? It will set the app's data to be world-readable, so you'll be able to use ADB to browse to /data/data/com.xda.nachonotch/ and see what's taking up so much space.
Tell me what you find.
app-release.apk.zip

Thanks.  I needed to purge that data in order for my backup to complete - and I am reloading my phone from scratch now.
I'm 95% sure that this is the second time this occurred though - as I recall seeing this large amount of data several months ago when I was backing up.  I thought about posting here at that time, but I guess I lost track.
I will keep my eye on it over the next few weeks and see if it grows.  Again - I haven't actually been using the app, but have reinstalled it with every build so I would have it available if I wanted it.  I'm not sure I even launched the apk since last time.
Thanks for the response and I'll let you know what I find.

Also...just to prove I'm not crazy:


[AutoPR] postgresql/resource-manager

Created to accumulate context: postgresql/resource-manager

Build output:

Build output:


Extending TGI benchmarking and documentation

This PR extends the Readme for TGI benchmarking and adds additional benchmarks.
It includes:
-A note about downloading and tagging TGI image if you aren't building it locally(discussed with @dacorvo in https://github.com/huggingface/optimum-neuron/pull/605 )
-Llama3-70B example on both Inferentia and Trainium.
-instructions on how to compile models not available in the hub (e.g. 32 core Llama3-70B)
-A run_all.sh script that will generate benchmarks for different concurrencies. (if there is an easier way to do this, like passing a list into the benchmark.sh script, I don't know how).
-Does not change the existing examples in case you are using them for any TGI tests.
-Adds some batch size=one metrics
Before submitting

[X ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[X ] Did you make sure to update the documentation with your changes?
[N/A ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Ability to not "collapse" if an error is present?

Hi, we've been using redux-logger for a while and it's worked great in most scenarios. We've been collapsing most actions by default, but we want to expand them automatically if an error is present. However, the collapsed function only receives getState and action as parameters. Is there a way to access error (similar to how we can access it in level)?
This is critical because otherwise it's really hard to spot errors.

See: https://github.com/LogRocket/redux-logger#collapse-actions-that-dont-have-errors


creating zoners for qeynos aqueduct and freeport aqueduct.  More to come probably as I go through every ZP

added quests thing where I added "~" onto 2 things that were missing them.  I literally checked every single quest


Linux Support?

Been working on trying to get this working in linux via Wine and Bottles but the best I can do is get the base application to load. If I try to launch triggers or the map the application crashes. Is there any native Linux support in the works or documentation on dependencies required to get it working in Wine or Bottles.

I have no idea on that front. I do have a LONG TERM plan to add native support for linux, but its a ways down the road :(

@zelezack , what did you do to get rid of the Autofac error? Or did you not have that?
Unhandled Exception: System.TypeLoadException: Could not load type of field 'EQTool.App:container' (1) due to: Could not load file or assembly 'Autofac, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=17863af14b0044da' or one of its dependencies.

@zelezack , what did you do to get rid of the Autofac error? Or did you not have that? Unhandled Exception: System.TypeLoadException: Could not load type of field 'EQTool.App:container' (1) due to: Could not load file or assembly 'Autofac, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=17863af14b0044da' or one of its dependencies.

Same issue here. I'd love to see how it got fixed.

@ryandward @alinuxfan Was never able to resolve the error. Best I was able to do was load it into Bottles and it would load EQTool into the task bar but when I would select one of the options like Map or Spells it would crash. Gave up messing with it for the time being.

Seems to work on Linux right now. Ubuntu 22.04. Automatically found my log files (not in standard folder structure). Going to keep testing

ohhh damn nice!!! That was a total shot in the dark that i made. Glad to hear it might be working!

Are you guys just downloading the zip and running with wine? Any particular dotnet deps that have to be installed?

Will have a new deployment for linux on wine heading out soon

Release deployed, please download a NEW linux version from https://github.com/smasherprog/EqTool/blob/main/README.md

Let me know if it will now work

Also, it would be helpfull to move this convo to discord if its not allready there
https://discord.gg/Z6RPUMNcY2

Linux channel created in discord, lets move this convo there


Add filter with koa 2

Is there a way to use addFilter() with koa2?

Yes, you can pass the configureEnvironment option with a function that will receive the Nunjucks environment. See the example here.

Ok. thanks.

No problem. 🙂


Ban Appeal

Hey, I was banned for hacking with fly hacks. That's my bad. I read the rules and saw xraying and "hacking" to be bannable, but not a fly mod. Typically when I think of the term "hacks", I assume a hacked client. I'm not exactly too experienced with modded minecraft and how they classify this stuff, as I'm more from the PvP scene of Minecraft. I figured since pokemon can already fly and people give out /fly all the time, it wouldn't be too big a deal, but I definitely understand how it'd give me an unfair advantage over other players, and that's the general point of this rule. I have enjoyed this server quite a bit, as I am the leader of a town with a few of my close friends. I apologize for this, and I have deleted the mod completely.
Oh, and my IGN is BootyHadMeLike, just to be sure xd

Your ban will be moved to a 3 day tempban starting today, but please remember that we do not condone hacks. If you are caught again with any hack mod you will be instantly banned. Thanks!


Added my resume and card

#15
I have added my resume and card

@Dikshant005 do a git pull and then update This PR


Debug JS remotely with typecript

Current Behavior
Remote JS debugging does not work with typescript and haul version 1.0.0-beta.4. When you try and debug js remotely the following error is thrown: Cannot read property 'BlobBuilder' of undefined
Expected Behavior
Currently downgrading to version 1.0.0-beta.2 of haul allows the JS to be remotely debugged version 1.0.0-beta.4 of haul should behave the same.
Haul Configuration (webpack.haul.js)
I am using the typescript configuration that allows synthetic imports which can be found here: https://github.com/callstack-io/haul/blob/master/docs/Recipes.md#typescript
Your Environment

software
version

Haul
1.0.0-beta.4

react-native
0.47.1

node
8.1.4

yarn
0.27.5

In my case this was caused by the socket.io-client dependency bundled with Reactotron. Removing Reactotron fixed the issue.

I'm getting this error (Cannot read property 'BlobBuilder' of undefined) when trying to launch the remote debugger while using haul and reactotron in conjunction.  Granted, reactotron still works fine so in most cases I don't need the remote debugger, but it's still quite strange

I think it has something to do with the way i load socket.io.
Loading it with var io = require('socket.io-client') might be a fix.
I guess the execution environment of javascript is different while chrome debugging, so I think BlobBuilder needs to be handled differently.  This may be what loading socket.io-client directly does.
What I type into my editor and what runs is pretty far apart these days.  😸
In v2 we ended up removing socket.io entirely from Reactotron.  A little websocket-ery does the trick just fine.
If you do pin it down, lemme know tho (either here or over on our repo).

@skellock I'll be looking forward to v2 then!  We actually just today updated to v1.13.2 and remote debugging seems to be working again 🎉

Is this closable? Our project uses Typescript and we've had debugging working on the last several versions.


$ionicListDelegate.showOptionButtons() feature

Currently the $ionicListDelegate supports closing opened options buttons but does not support opening then.
This would be a nice feature and useful for cases when you are building apps for peope that may have any discapacity and want to preserve the modern UI desing of ionic instead of placing buttons in your list.
What if your item is an image and you don't want to put a button on top of it or you could open the options on a tap or if you are filtering and only have one result you could present the options opened already, just to make a few examples.

Greetings @devconcept!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

+1 I agree.  I'm trying to somehow briefly display the option buttons to indicate that they are there.  Almost like a bounce effect.  But if there is no support to open them, this is impossible.

Hello all! Is this still an issue with the latest version of ionic? Thanks!

@jgw96 I just made a new project using the CLI and Ionic version 1.3.1 and I got the following output from the $ionicListDelegate object

So yes, this is still an issue because there is no available method to programatically open the buttons

Hello, thanks for opening an issue with us! At this time we are not planning on adding any new features to Ionic 1. Because of this, I am going to be closing this issue for now. Thanks for using Ionic!


CDI-566 container events explicitly mentioned as synchronous.

Sorry to nag like this, but from grammar point of view, I think it  isn't really common to put an adverb after a verb.
E.g.:
"Portable extensions are encouraged to fire synchronously an event with ..."
Wouldn't it be better to use "to synchronously fire ..."
The way it is now it just seems a bit weird to me (in all three sentences). But then again, sorry to bother with details :)

Actually I was thinking about this. I will update it as you suggested.

Seems good to me


Change the recursive pattern to the simple Array.forEach

I changed the recursive pattern to the simple repeating statement using 'Array.forEach' and 'sqlite.Statement'.
This requires PR #23

I integrated this into PR #25


Running multiple elastalert instances using the same writeback index

For logical separation and security reasons we need to run several instances of elastalert, with possibly differing (unrelated) configs and rules. Since Elastalert creates 5 indexes and we would like to avoid cluttering the elasticsearch it would be nice to run multiple instances using the same writeback index. It might be the case that we spin up an elastalert for a use case run it for a few days than delete it, in this case we would need jobs to manage stale indexes and clean.
Do you think this can be solved with some configuration so the different elastalerts won't clash? I did not found a solution for this.
If it is not possible I have two ideas to solve it:

The first is to make sure somehow (with randomization) that the rules names in the different Elastalerts will not clash in this case since it works in a per rule basis as I see can I can circumvent this issue. Do you agree? Do you see a problem with this solution?
If thats not working I plan to add an instance ID to each Elastalert instance and make sure each elasticsearch request is filtered by this ID... but it would be nice to solve it without this.

Also can I ask if there was a reason for using 5 indexes rather than one index and 5 document type inside that idex?

For your second question, the answer is that later versions of ElasticSearch (I believe 7) is doing away with document types. They were deprecated in version 5 or 6.

I did not know that, thanks for the info. We use version 6 and I have not yet checked out version 7.

Is the issue you have that you can't filter the alerts per instance? You could use an enhancement to add the instance ID and overwrite the index mapping to make that field as keyword.

Yep, that is my issue. What you are suggesting I think can work, but native support would be better. I started to implement something into elastalert close to what you suggested, I have an optional config attributed called instance_id and if it is present it will filter everything by this when executing queries. For now, it is only implemented and working for the things I need, I might leave it this way, or do you think it could be merged in/interesting to others as well?

I honestly don't know if there is appetite for distinguishing instances running to the same writeback index. I, personally, would just use the enhancements option.
I do know that the beta branch has accepted my PR to be able to specify a writeback_suffix per rule which then could be used to separate out instances into their own index.


lerp function signature

It should be lerp(0, 1, at: 0.5) instead of the current lerp(a: 0, b: 1, param: 0.5)

Same for C4Point

actually, there's a lot of things like this I think could make it into this ticket
C4Animation(0.25) {
   ...
}

I can't think of them off the top of my head, but I feel like I've noticed a lot.


Add Facebook authentication support

A very basic implementation. Also uses Facebook profile picture instead of gravatar.

+1
My wife and I own mini pigs and bought the domain Pigipedia.com because there is a distinct lack of factual information on the web about raising mini pigs as house pets. The most helpful info we've gotten is from a smattering of random files members of a Facebook group have uploaded. This Facebook group seems to be the current most popular destination for mini pig owners.
I love the simplicity of this wiki so we're going to use it, but to make it easy for Facebook group members to come contribute and help out I'll have to maintain a fork with this PR rolled in so they can use Facebook to authenticate.
Not a huge deal, but if this wiki just had some more authentication options someone like me would have zero reason to fork it :)


How to use templates

Hello,
I couldn't find how to use templates in the documentation. Does this sdk support using templates?

@enesTufekci
const data = {
	from: "Mailgun Sandbox<EMAIL_ADDRESS>	to<EMAIL_ADDRESS>	subject: "Hello",
	template: "alive_check",
	'h:X-Mailgun-Variables': {test: "test"}
};
mg.messages().send(data, function (error, body) {
	console.log(body);
});

@enesTufekci sorry, disregard my previous comment. this is for the other library mailgun-js which is not updated for 2 years. but it works, and this one has issues..

...
  const {
    title,
    slug,
  } = someDataSource;

  const mailgunData = {
    from<EMAIL_ADDRESS>    to<EMAIL_ADDRESS>    subject: `Email ${title}`,
    template: 'name-of-the-template-you-made-in-mailgun-web-portal',
    'h:X-Mailgun-Variables': JSON.stringify({ // be sure to stringify your payload
      title,
      slug,
    }),
    'h:Reply-To'<EMAIL_ADDRESS>  };

  try {
    const response = await mailgun.messages.create(consts.DOMAIN_NAME, mailgunData);
...

Make sure the value of 'h:X-Mailgun-Variables' is a JSON string like {"title":"A title", "body":"The body"}. Passing an object is incorrect.

Hi, I wold like to join to this question and also ask how one can and an array of objects and render it in the template. I can't. find any documentation to this. For example we are using a % xx % syntax for our template, is it possible to render an arrays with it ?

For example you pass the following data to h:X-Mailgun-Variables
JSON.stringify({
    "arrayItems": [
        {
            "question": "test_question",
            "answer": "test_answer"
        },
        {
            "question": "test_question",
            "answer": "test_answer"
        }
    ]
});

In template you put something like this

    {{#each arrayItems}}

        {{ question }}
        {{ answer }}

    {{/each}}

You can find docs here and the link is on the right side of Mailgun template editor page.

Thanks, that worked !
are you by any chance familiar with the following usage:
['recipient-variables']: {
   [recipient]: data,
}

instead of h:X-Mailgun-Variables ?
As I understand it should be used in case of sending different payloads to different recipients. I can't find any documentation for this (might it be a legacy api ?).
With this writing we were using % xx %  syntax instead if {{ xx }}.

@igor-dv  I just checked and tested. So as you said we use {{xyz}} in template but use %recipient.xyz% for recipient variables. Mailgun docs can be way better haha.
...
  const mailgunData = {
    from: 'Example.com Mailer<EMAIL_ADDRESS>    to<EMAIL_ADDRESS><EMAIL_ADDRESS>    subject: 'Recipient Var Test - %recipient.title%',
    html: 'Here\'s %recipient.title% and link',
    'recipient-variables': JSON.stringify({
<EMAIL_ADDRESS>{
        title: 'Me',
        slug: 'href-var',
      },
<EMAIL_ADDRESS>{
        title: 'You',
        slug: 'slug-recipient-var-c',
      },
    }),
  };

  try {
    const response = await mailgun.messages.create(consts.DOMAIN_NAME, mailgunData);
...

yeah, also with the recipient syntax I wasn't able to render an array. maybe I messed up with the different options 😅

Would be super if this could be added to the documentation. I had the same issue where I couldn't find any way to send with templates, and the only resources I found applied to the old mailgun-js package

Hello @chenxian352.
Thank you for sharing these awesome examples.
This is a PR https://github.com/mailgun/mailgun-js/pull/194 to add your examples to the readme of the repository.
Did I catch everything correctly?
Do you want to add anything else?

Hey Olexandr,
Glad my example is helpful. I had a brief look and I think that's it. :)
Kind regards,
Ian
https://ianc.dev
On 9/15/2021 8:12:10 PM, olexandr-mazepa @.***> wrote:
Hello @chenxian352 [https://github.com/chenxian352].
Thank you for sharing these awesome examples.
This is a PR #194 [https://github.com/mailgun/mailgun-js/pull/194] to add your examples to the readme of the repository.
Did I catch everything correctly?
Do you want to add anything else?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [https://github.com/mailgun/mailgun-js/issues/91#issuecomment-919798952], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AET3RRI7OCJHR7MMVAD3M5TUCBINTANCNFSM4WM4KCOQ].

Hi @iannngit do you have any idea if we are able to use 'recipient-variables' with template?


Support for the undefined field

Hello,
in decco v1.6.0 the support for the undefined fields was introduced. Is there a plan to introduce the same support in spice? Namely
let rawData = %raw("undefined")

@spice
type spiceUndefinedField = option<string>

switch rawData->spiceUndefinedField_decode {
| Ok(result) => Js.log2("RESULT SPICE: ", result)
| Error(error) => Js.log2("ERROR SPICE: ", error)
}

@decco
type deccoUndefinedField = option<string>

switch rawData->deccoUndefinedField_decode {
| Ok(result) => Js.log2("RESULT DECCO: ", result)
| Error(error) => Js.log2("ERROR DECCO: ", error)
}

Fails in spice with ERROR SPICE:  {path: '', message: 'Not a string', value: undefined}
Works in decco resulting in RESULT DECCO:  undefined
It would be very nice to have this, since now there is no way, that I know of, to handle easily undefined value.

Thank you for letting me know that decco's new feature. I didn't look into it yet, but it would not be difficult to implement, I guess.
Side note, ReScript v11 supports the unboxed variants that are the feature for this use case exactly.

Sorry for coming back so late.
I took a look at Decco's corresponding PR https://github.com/reasonml-labs/decco/pull/80, and it's a bit confusing, because undefined is not a JSON format in the first place. Like Spice, Decco is a JSON (de)serializer, so I think the undefined value is an error.

No problem. I understand that there is always a lot to do and this "feature" is not something important.
Regarding the undefined in JSON, you are of course right. There is nothing like undefined data type, there is only null, and it is true that you do not need to treat undefined in most of the cases, but in the edge cases it is convenient when you communicate with the not-typed JS world. I see reasons to not have this behavior, but at the same time also reasons to have it, and inclining more to the latter. The decision is up to you and I would definitely understand that you have the other opinion and keep the behavior as it is now. It is not a blocked in any way and we have gratefully migrated from decco to spice. Thank you for the great work. The better variant handling and optional record field support is great.

I'll close this issue, but if you run into any specific issues in the future, please let us know about them so we can discuss them further.


Fix provided shortcut

Win + D displays and hides the desktop.
Did you mean Win + R ?

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

Verified the update; will merge the pull request. Thanks @BondarencoM


LP Manager Not Available

The button for the LP Manager on the pools is not clickable, so there is no way to remove liquidity from my pools. EZ Pool still works.

You can remove a pool by clicking the switch toggle beside the Add Liquidity label.

After clicking, it should look like this:

And then you can proceed in selecting the tokens for your existing liquidity pool. Here's a post that might help you: https://www.reddit.com/r/HEADLINECrypto/comments/wfspkn/hdx_took_a_different_ux_approach_when_removing/

Thank you!


Any plans for C bindings ?

Hello,
I am reaching out in regards to support of C language, how viable is it in your opinion?
Are there any plans of having C SDK of minio or at least a header wrapper for C that will be linked to CXX library via minio-cpp?
Thank you !

Not yet. Any contributions are welcome!


Adding OpenAPI endpoint and updated API definition

Description
Only adding the server part and 2 minimal endpoints before starting to work on the groups requests
Type of change

New feature (non-breaking change which adds functionality)

Testing steps
Run CI, no new UT for the moment

@Sergey1011010 yes, I copy&pasted part of the HTTP server code because I'm doing more or less the same. I will have less endpoints than aggregator and I don't know yet if I will need the authentication part, because groups definition won't contain any confidential information at all.


CustomServer Environment Variable

I've tried every way I can find to get the env variable for SLServer CUSTOM_SERVER to work.
It's a nightmare just to pass a JSON object correctly. I think there should be more information/details on how to do this properly in the readme. I finally got it to load, but now every time I try to join I get this:

and I see this in the synclounge logs:

Same issue with Vivaldi and Firefox.
Same issue whether using my reverse proxy (caddy with https for both SLServer and SyncLounge) or local IP:ports for all URLs.
version: '3.3'
services:
    synclounge:
        container_name: synclounge
        restart: unless-stopped
        ports:
            - '8088:8088'
            - '8089:8089'
        environment:
            DOMAIN: synclounge.server.com
            WEB_ACCESSURL: https://synclounge.server.com
            AUTOJOIN_ENABLED: "true"
            CUSTOM_SERVER: '{ "name": "SyncLounge", "location": "Earth", "url": "https://syncloungeslserver.server.com", "logo": "https://synclounge.server.com/flags/usa.png","image":"https://synclounge.server.com/flags/usa.png" }'
        image: starbix/synclounge

Yeah, this is a bug that should be fixed when https://github.com/samcm/synclounge/pull/171 is merged

@LostSoulfly The above has been merged, could you please test again?

Definitely some progress. The lounge name and location now appears, as does the load.
However, I'm not able to join.
I've tried it with and without /slserver.

I now see this at boot as well:

Thanks for the Caddy config! I added to the reverse-proxy docs!

Thanks all

@MagicalCodeMonkey
I updated my code above with the full caddy config for synclounge. Previously it only had the slserver portion.

Updates incoming! I modified it a bit, just to fit in one subdomain instead of multiple, mostly since there isn't any actual need to access / for the server.
You can also make edits yourself at any point if you pull up the page and click the Pencil icon to edit it. It should automatically create a branch and PR for your edits when you commit the changes.


Python cant find 'main' module

When i execute any code block, e.g.,
print("hello")

i get the following error:
/usr/bin/python3: can't find '__main__' module in '/home/user/'

The Python path is set to /usr/bin/python3 as it is where python is installed for me
Os is Ubuntu 22.04 and Obsidian was installed through a .deb package
Obsidian version 1.0.0
Execute Code version 1.1.0

This is strange and shouldn't happen as python doesn't need a main module.
Try adding changing your snippet to:
if __name__ == "__main__":
    print("hello")

Are you using the notebook mode for python? If yes, try switching to the normal mode.

I tried running the code and it returned the same error.
if __name__ == "__main__":
    print("hello")

Then i turned ON Notebook mode and then i got this error.
    return _get_module_details(main_name)
  File "/usr/lib/python3.10/runpy.py", line 140, in _get_module_details
    raise error("No module named %s" % mod_name)
ImportError: No module named __main__

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 189, in _run_module_as_main
    mod_name, mod_spec, code = _get_main_module_details(_Error)
  File "/usr/lib/python3.10/runpy.py", line 241, in _get_main_module_details
    raise error("can't find %r module in %r" %
runpy._Error: can't find '__main__' module in '/home/user/'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 192, in _run_module_as_main
    sys.exit(msg)
SystemExit: /usr/bin/python3: can't find '__main__' module in '/home/user/'
hello

So i finally manages to print hello but with some errors :D
(my user dir is changed to "user" to cover sensitive info)

I just ran the same code after a while, and it all seems to works now... thanks :100:

I'm glad your problem was fixed :)
For future reference purposes, did you do anything specific to fix it?

Nope, I wish I did. I just ran the code again and it worked... sry :D


Flutter Datatable crashes with List view in cell - error: missing column size?

I am seeing this error message on my mobile, even though the same code worked just fine in the Android Emulator...
Other users have this error as well, eg https://stackoverflow.com/questions/58132781/flutter-can-i-use-listviewbuilder-inside-a-datacell-of-a-row-in-datatable
NEEDS-COMPOSITING-BITS-UPDATE
...  parentData: offset=Offset(0.0, 0.0) (can use size)
...  constraints: BoxConstraints(0.0<=w<=391.4, h=383.4)
...  size: MISSING
...  specified column widths: {0: IntrinsicColumnWidth(flex: 1.0), 1: IntrinsicColumnWidth(flex: null), 2: IntrinsicColumnWidth(flex: null)}
...  default column width: FlexColumnWidth(1.0)
...  table size: 3×4
...  column offsets: unknown
...  row offsets: []
RenderObject: RenderTable#b8071 relayoutBoundary=up3 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
  parentData: offset=Offset(0.0, 0.0) (can use size)
  constraints: BoxConstraints(0.0<=w<=391.4, h=383.4)
  size: MISSING
  specified column widths: {0: IntrinsicColumnWidth(flex: 1.0), 1: IntrinsicColumnWidth(flex: null), 2: IntrinsicColumnWidth(flex: null)}
  default column width: FlexColumnWidth(1.0)
  table size: 3×4
  column offsets: unknown

Here is Flutter doctor

[√] Flutter (Channel stable, 1.20.1, on Microsoft Windows [Version 10.0.16299.1932], locale hu-HU)
    • Flutter version 1.20.1 at C:\flutter
    • Framework revision 2ae34518b8 (5 days ago), 2020-08-05 19:53:19 -0700
    • Engine revision c8e3b94853
    • Dart version 2.9.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\....\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[!] VS Code (version 1.47.3)
    • VS Code at C:\Users\....\AppData\Local\Programs\Microsoft VS Code
    X Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (2 available)
    • Pixel 2 (mobile)                   • HT83L1A03199  • android-arm64 • Android 10 (API 29)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86   • Android 10 (API 29) (emulator)

! Doctor found issues in 1 category.

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

Hi @giorgio79,
Can you provide flutter doctor -v and a minimal complete reproducible code sample that shows the issue ?
Also provide the emulator and device with api level on which you experienced this issue.
Thanks.

Here is an example. Having a simple ListView in a Datatable cell will crash it on mobile! Works fine in the emulator...
DataTable(
columns: [
DataColumn(label: Text('RollNo')),
DataColumn(label: Text('Name')),
DataColumn(label: Text('Class')),
],
rows: [
DataRow(cells: [
DataCell(Text('1')),
DataCell(Text('Arya')),
DataCell(
Container(
height: 30,
child: ListView(
children: [
ListTile(
title: Text('Sun'),
),
ListTile(
title: Text('Moon'),
),
ListTile(
title: Text('Star'),
),
],
),
),
),
]),
DataRow(cells: [
DataCell(Text('12')),
DataCell(Text('John')),
DataCell(Text('9')),
]),
DataRow(cells: [
DataCell(Text('42')),
DataCell(Text('Tony')),
DataCell(Text('8')),
]),
],
),

Tried on latest Stable (1.20.1) and It does throw an error:
I/flutter (29470): RenderViewport does not support returning intrinsic dimensions.
I/flutter (29470): Calculating the intrinsic dimensions would require instantiating every child of the viewport, which
I/flutter (29470): defeats the point of viewports being lazy.

When we try to use a ListView inside Row element. But not sure if this is intended or correct implementation inside Datatable.
I am leaving this issue for further analysis.

This error is due to an IntrinsicWidth required by RenderTable when performLayout, so just give the ListView parent Container an intrinsic width.

No candy unfortunately.
I solved it by adding cold hard width and height values for the Container...

══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during performLayout():
RenderViewport does not support returning intrinsic dimensions.
Calculating the intrinsic dimensions would require instantiating every child of the viewport, which
defeats the point of viewports being lazy.
If you are merely trying to shrink-wrap the viewport in the main axis direction, consider a
RenderShrinkWrappingViewport render object (ShrinkWrappingViewport widget), which achieves that
effect without implementing the intrinsic dimension API.

The relevant error-causing widget was:
  DataTable

When the exception was thrown, this was the stack:
#0      RenderViewportBase.debugThrowIfNotCheckingIntrinsics.<anonymous closure> (package:flutter/src/rendering/viewport.dart:360:9)

Same situation here, the only solution currently is to either specify a fixed parent Container's height, or to use a SingleChildScrollView with a Row as a child instead of a ListView..

Same situation here, the only solution currently is to either specify a fixed parent Container's height, or to use a SingleChildScrollView with a Row as a child instead of a ListView..

Reproduces on stable 3.3 and the master 3.7.

code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);
  final String title;
  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;
  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: DataTable(
          columns: const [
            DataColumn(label: Text('RollNo')),
            DataColumn(label: Text('Name')),
            DataColumn(label: Text('Class')),
          ],
          rows: [
            DataRow(cells: [
              const DataCell(Text('1')),
              const DataCell(Text('Arya')),
              DataCell(
                Container(
                  height: 30,
                  child: ListView(
                    children: const <Widget>[
                      ListTile(
                        title: Text('Sun'),
                      ),
                      ListTile(
                        title: Text('Moon'),
                      ),
                      ListTile(
                        title: Text('Star'),
                      ),
                    ],
                  ),
                ),
              ),
            ]),
            DataRow(cells: [
              DataCell(Text('12')),
              DataCell(Text('John')),
              DataCell(Text('9')),
            ]),
            DataRow(cells: [
              DataCell(Text('42')),
              DataCell(Text('Tony')),
              DataCell(Text('8')),
            ]),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

logs
Restarted application in 394ms.
Reloaded 1 of 640 libraries in 2,075ms (compile: 10 ms, reload: 41 ms, reassemble: 2018 ms).
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during performLayout():
RenderViewport does not support returning intrinsic dimensions.
Calculating the intrinsic dimensions would require instantiating every child of the viewport, which
defeats the point of viewports being lazy.
If you are merely trying to shrink-wrap the viewport in the main axis direction, consider a
RenderShrinkWrappingViewport render object (ShrinkWrappingViewport widget), which achieves that
effect without implementing the intrinsic dimension API.

Another exception was thrown: 'package:flutter/src/rendering/table.dart': Failed assertion: line 1236 pos 12: '_rowTops.length == rows + 1': is not true.
Another exception was thrown: RenderBox was not laid out: RenderCustomPaint#8aecd relayoutBoundary=up3
Another exception was thrown: Updated layout information required for RenderSemanticsAnnotations#8e8ea NEEDS-LAYOUT NEEDS-PAINT to calculate semantics.

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-3.0.pre.33, on macOS 12.6 21G115 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-3.0.pre.33 on channel master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (38 minutes ago), 2022-12-05 18:27:21 -0800
    • Engine revision a309d239c4
    • Dart version 2.19.0 (build 2.19.0-463.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly
      to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.55.20221129

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.94

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.53.20221101

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!


fix: closes Cursor jumping issue if the ref passed isn't a ref object…

Closes #247

Closed in favour of https://github.com/cchanxzy/react-currency-input-field/pull/276


Add ArrayPrimitiveTypeExpressionFactory.

When cloning Primitives all that needs to be done is copy the source
array to the target array.  Instead of calling the
PrimitiveTypeExpressionFactory call for every element you can use the
static Array.Copy method to assist.
Depending upon the primitive type, the performance gain is different.
In the tests I have, which are coded against 4.6.1, will have a
performance gain of any where from about 98% to almost 225%.  Byte
Array, for whatever reason, has a performance gain of about 6800% ... I
have no idea why byte arrays are so much different.
Int Arrays go from about 2,386,634 ops per sec to 4,727,659 (98% increase)
String arrays go from about 1,926,782 ops per sec to 5,730,086 (197% increase)
TimeSpan arrays go from about 1,988,071 ops per sec to 4,650,697 (133% increase)
DateTime arrays go from about 1,930,501 ops per sec to 4,210,105 (118% increase)
Delegate arrays go from about 1,659,751 ops per sec to 5,404,864 (225% increase)
Byte arrays go from about 58,083 ops per sec to 4,053,648 (6879% increase)
I would like supply a unit test to easily display the difference in
performance in the master project, but given the interface, it is not
exactly straight forward.  I generated the numbers above from running
the changes suggested from a local release build in my current test
setup.

There is a small bug.  Will fix it and recreate the request.


Final tweaks for Zwave panel

Description:
Modifies the set_config parameter to allow setting the string of the parameter instead of the index.
This will resolve #7608
In case of wrong value nothing is set for the parameter. Internal checks in OZW handles this. The behaviour is the following: Node does not respond at all to the command.
This is the last tweaks to get the zwave panel fully operational.
Related issue (if applicable): fixes #7608

Is this a viable solution @andrey-git ? https://github.com/home-assistant/home-assistant/pull/7652/commits/75b29badc4d671fd2f577c6ab71aa90cd12410c3

Cherry picked for 0.45


Figure out why local docker+jupyter command fails

ewenger@Edwards-MBP ~ % docker run -it --name test-emod -p 8888:8888 edwenger/emod-demo jupyter lab --ip <IP_ADDRESS>
/srv/conda/envs/notebook/lib/python3.8/subprocess.py:848: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
[I 2021-09-09 17:39:33.894 ServerApp] jupyter_offlinenotebook | extension was successfully linked.
[I 2021-09-09 17:39:33.894 ServerApp] jupyter_resource_usage | extension was successfully linked.
[I 2021-09-09 17:39:33.907 ServerApp] jupyterlab | extension was successfully linked.
[I 2021-09-09 17:39:33.921 ServerApp] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/jupyter_cookie_secret
[I 2021-09-09 17:39:34.361 ServerApp] nteract_on_jupyter | extension was found and enabled by nbclassic. Consider moving the extension to Jupyter Server's extension paths.
[I 2021-09-09 17:39:34.361 ServerApp] nteract_on_jupyter | extension was successfully linked.
[I 2021-09-09 17:39:34.361 ServerApp] nbclassic | extension was successfully linked.
[I 2021-09-09 17:39:34.478 ServerApp] jupyter_offlinenotebook | extension was successfully loaded.
[I 2021-09-09 17:39:34.479 ServerApp] jupyter_resource_usage | extension was successfully loaded.
[I 2021-09-09 17:39:34.481 LabApp] JupyterLab extension loaded from /srv/conda/envs/notebook/lib/python3.8/site-packages/jupyterlab
[I 2021-09-09 17:39:34.481 LabApp] JupyterLab application directory is /srv/conda/envs/notebook/share/jupyter/lab
[I 2021-09-09 17:39:34.486 ServerApp] jupyterlab | extension was successfully loaded.
[I 2021-09-09 17:39:34.497 ServerApp] nbclassic | extension was successfully loaded.
[I 2021-09-09 17:39:34.497 ServerApp] nteract extension loaded from /srv/conda/envs/notebook/lib/python3.8/site-packages/nteract_on_jupyter
[I 2021-09-09 17:39:34.499 ServerApp] nteract_on_jupyter | extension was successfully loaded.
[I 2021-09-09 17:39:34.499 ServerApp] Serving notebooks from local directory: /home/jovyan
[I 2021-09-09 17:39:34.499 ServerApp] Jupyter Server 1.4.1 is running at:
[I 2021-09-09 17:39:34.499 ServerApp] http://df86cb91de6c:8888/lab?token=2328a7fe990dee0e62eefa1672ff062d89e30edabdf9949a
[I 2021-09-09 17:39:34.499 ServerApp]  or http://<IP_ADDRESS>:8888/lab?token=2328a7fe990dee0e62eefa1672ff062d89e30edabdf9949a
[I 2021-09-09 17:39:34.499 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 2021-09-09 17:39:34.505 ServerApp] No web browser found: could not locate runnable browser.

will be obsolete after #9