text:
[webview_flutter] add mixedContentMode option for Android WebView

Description
Add support of mixedContentMode for Android WebView.
Related Issues
Fixes flutter/flutter#43595 and flutter/flutter#24975
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

@amirh Please Take A Look.
Thank you.

Not sure what's the meaning of branch-guard — Cirrus CI failure.
This failing check didn't show at first.
Clicking Details shows error message:
{
  "message": "If you would like to help us test the Checks API during its preview period, you must specify a custom media type in the 'Accept' header. Please see the docs for full details.",
  "documentation_url": "https://developer.github.com/v3/checks/suites/#get-a-single-check-suite"
}

Thanks for the great work @dotcink! Any update on this, @amirh? Right now my app just looks pretty jarring with unloaded images everywhere.

Thanks for the great work @dotcink! Any update on this, @amirh? Right now my app just looks pretty jarring with unloaded images everywhere.

Please thumbs up 👍 flutter/flutter#43595, Flutter team use this to guide the issue prioritizing.

Hi @dotcink any news on the issue this PR is trying to address? The only reason that the PR is not merged is because of the failed checks?

Hi @dotcink any news on the issue this PR is trying to address? The only reason that the PR is not merged is because of the failed checks?

I just submitted another common solution. This PR might close if possible.

Thanks for the submission! We’re currently working through a large backlog of PRs, and this will require non-trivial review, so it will take some time before we’re able to review it. As explained in CONTRIBUTING.md, votes for the corresponding issue are the primary way we’re prioritizing non-trivial reviews, so we encourage anyone interested in this PR to vote for the corresponding issue.

I just submitted another common solution. This PR might close if possible.

Closing in favor of: https://github.com/flutter/plugins/pull/3721

I just submitted another common solution. This PR might close if possible.

Closing in favor of: #3721

So would #3721 be prepared to be reviewed and merged please?

I just submitted another common solution. This PR might close if possible.

Closing in favor of: #3721

There isn't a decision yet that that's the way we want to go, so for now both should stay open.

So would #3721 be prepared to be reviewed and merged please?

Please see https://github.com/flutter/plugins/pull/3721#issuecomment-800566453

Adding a setting for this makes sense in the new structure we'll be using, but it's blocked on https://github.com/flutter/flutter/issues/94051: we'll want to support platform extensions to WebSettings instead of adding this to the main class, and have a way of configuring the web view that doesn't require yet another highly-specific optional parameter.
We can leave this open for now and it can be adjusted to fit the new structure once that work is done.
(/cc @bparrishMines and @mvanbeusekom who will be working on that restructing.)

Latest status is that we're still waiting on https://github.com/flutter/flutter/issues/94051.
Before this can land even after that is fixed, the conflicts will need to be resolved.

Latest status is that we're still waiting on flutter/flutter#94051. Before this can land even after that is fixed, the conflicts will need to be resolved.

OK, I'll resolve the conflicts according to the new solution.

webview_flutter v4 has finally been completed, which included fixing the platform interface to that we can make additions to it without breaking changes. That means that this is finally unblocked! Thanks for your patience while we worked through the restructuring.
webview_flutter v4 uses a Dart-first implementation, where the platform channel boundary is as close as possible to the underlying host APIs, and plugin logic is written primarily in Dart rather than the host language. That means that this PR will need to be updated to follow that model. Please let us know if you have questions about updating to v4 (and https://github.com/flutter/plugins/pull/6881 may be useful as an example of adding a feature in the v4 structure).

@dotcink Are you still planning on updating this for compatibility with v4?

(Marking this as a Draft pending that update.)

OK, I'll check the new v4 in the weekend.

We've just completed the migration of the plugin code to the flutter/packages repository, as described in https://flutter.dev/go/flutter-plugins-repo-migration, and this repository is now being archived. Unfortunately that means that all in-progress PRs here must be moved to flutter/packages.
Please see our instructions for an explanation of how to move your PR, and if you have any issues moving your PR please don't hesitate to reach out in the #hackers-ecosystem channel in Discord.
Our apologies that your PR was caught in this one-time transition. We're aware that it's disruptive in the short term, and appreciate your help in getting us to a better long-term state!

authors: Hixie Vasques1995 ditman dotcink edisonywh stuartmorgan


text:
Flutter2.2.3运行报错

../../../flutter223/.pub-cache/hosted/pub.flutter-io.cn/extended_image-5.1.0/lib/src/gesture_detector/gesture_detector.dart:302:9: Error: Type 'GestureLongPressDownCallback' not found.
final GestureLongPressDownCallback? onLongPressDown;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../flutter223/.pub-cache/hosted/pub.flutter-io.cn/extended_image-5.1.0/lib/src/gesture_detector/gesture_detector.dart:318:9: Error: Type 'GestureLongPressCancelCallback' not found.
final GestureLongPressCancelCallback? onLongPressCancel;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../flutter223/.pub-cache/hosted/pub.flutter-io.cn/extended_image-5.1.0/lib/src/gesture_detector/gesture_detector.dart:409:9: Error: Type 'GestureLongPressDownCallback' not found.
final GestureLongPressDownCallback? onSecondaryLongPressDown;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../flutter223/.pub-cache/hosted/pub.flutter-io.cn/extended_image-5.1.0/lib/src/gesture_detector/gesture_detector.dart:425:9: Error: Type 'GestureLongPressCancelCallback' not found.
final GestureLongPressCancelCallback? onSecondaryLongPressCancel;

FYI @zmtzawqlp

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
fix limited permission overlay not showing in some cases

Fixes https://github.com/fluttercandies/flutter_wechat_assets_picker/issues/618
Before:

After:

Closing in favor of #627

@all-contributors Add @Dimilkalathiya for code.

source: gharchive/pull-request


text:
Add optional parameter withThumbnails when fetching contacts

By default, all thumbnails are fetched. There should be an optional parameter to specify whether contacts should be fetched with or without the thumbnails.
This would probably fix #32

Wouldn't it be better to fetch thumbnails only on demand?
getThumbnailForContact(...)
If I load all contacts and the user doesn't scroll to the end of the list, it might fetch a lot of thumbnails for nothing.

Right, I forgot there is no way to load a particular contact with a given Id.
I still guess it would be nice to have the option to load contacts with or without thumbnails, but we could indeed have another method to either :

Get the thumbnail for a given Contact (as you said)
or
Query for a single contact (with a given Id?), with or without thumbnails. This would also allow us to get updates on a single contact without getting all of them again.

Added via PR #52

authors: clovisnicolas lukasgit zoechi

license: mit

license_source: bigquery


text:
Can't find a way to run ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION

How can I run e ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION intent
I checked out this page https://developer.android.com/reference/android/content/Intent#intent-structure but can't find it.
I need to figure out what to put as the action argument
I tried
android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION
ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION
action_manage_all_files_access_permission
all of them failed with No Activity found to handle Intent
Sorry, I'm not an Android developer and I don't know all the Android-specific stuff.

    const String ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION =
        'android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION';

    final intent = AndroidIntent(
        action: ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION,
        data: Uri.encodeFull('package:com.example.connectivity_test'));

    intent.launch();

Here is a link to the page from the android developer site:
https://developer.android.com/reference/android/provider/Settings#ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION
A few things to note as you search for these actions. The actual string value of the action is specified in the documentation like this:
Constant Value: "android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION"
The other part to note is that data is expected to be a Uri. Therefore I used the Uri.encodeFull method. I tested this on my phone and it worked. I hard-coded my package name, but I could have used the package_info_plus plugin to retrieve it.
https://pub.dev/packages/package_info_plus
PackageInfo packageInfo = await PackageInfo.fromPlatform();

Uri.encodeFull('package:${packageInfo.packageName}')

authors: harriseldon shessafridi


text:
Allow single condition in ensures clause

e.g. to write
#[flux::sig(fn(b:bool) ensures b)]
pub fn assume(b: bool) {
    if !b {
        panic!("assume fails")
    }
}

This also makes me think about panic in general. Normally you would like to prove the absence of panics, but the soroban example may be a compelling use case where you want the opposite. In general, you probably want both
fn assume(b: bool) ensures b {
    if !b { panic!("failed assume") }
}

fn unreachable<T>() -> T requires false {   // or `fn unreachable() -> ! requires false` in nightly
    panic!("entered unreachable code")
}

ok I think I've fixed the above.

authors: nilehmann ranjitjhala

repo: flux-rs/flux

license: MIT


text:
GitHub Actions App Build guide

When I was reviewing some of the docs I contributed earlier and trying to apply them to a project, I found the "Docker Build" example to be lacking in the existing "Manifest Generation" tutorial. It does what it needs to do for there, which is to briefly cover docker build, but only a side-note and an example of "what we told folks to do back when Flux v1 was widely used."
This doc shows a single GitHub Actions workflow that produces suitable builds for BOTH git tags (ideally tags which are valid semver numbers) AND git branches.
The old example of how to build a latest image only uses the git SHA or REVISION as a tag name and that's not suitable for Flux anymore (you should use Sortable Image Tags instead) or building images from semver tags. (The example is intentionally this way, it's meant to highlight that we can still use whatever 8-character SHA tagging strategy that Flux v1 users did, it just requires a bit of help from CI in the form of manifest generation.)
This example is supposed to be simpler, and follows all the guidance of Flux v2 from the ground up with no CI manifest generation. So this example does both (build from git tags AND git branches), so it should be a good example to highlight when we just want to show what is a minimum CI task needed to work with Flux that you should not outgrow.
I did not address caching at all, and I mentioned image provenance (Cosign) only to clarify that it is not covered here. I have assumed the Docker build is short enough that caching doesn't matter but a follow-on article might be worthwhile, showing more advanced CI based on this one, but with additions taking advantage of all Flux features.

Side-note: I did not yet consider the placement of the article in the TOC list eg. weight: 50 so I have marked this as a draft. I'll make an adjustment but my perception right now is this guide is basically ready for review, other than that one detail.
I wanted to get a look in the Preview before marking it as ready for review, but I am out of time for this today, anyone is welcome to submit feedback now.

In the linked PR, I found that caching is not that hard to add, but there are a few things I tripped over. I almost think it's worth it to address caching.
- name: Build and push
  id: docker_build
  uses: docker/build-push-action@v3
  with:
    context: .
    push: true
    tags: |
      ${{ env.IMAGE }}:${{ steps.prep.outputs.BUILD_ID }}
      ${{ env.IMAGE }}:${{ steps.prep.outputs.LATEST_ID }}
    cache-from: type=registry,ref=ghcr.io/kingdonb/river-data-explorer:buildcache
    cache-to: type=registry,ref=ghcr.io/kingdonb/river-data-explorer:buildcache,mode=max

Then again I'm not sure – we would have to make a choice, for example I chose here the registry cache mode, because I used a multi-stage build and it took me a while to find this doc: build-push-action/cache.md which explains about cache modes min and max, and why you might need to choose the registry mode instead.
Maybe we can leave the details about caching out, but just add a link to this document and suggest it as a follow-up reading. It has a lot of helpful information for example, did you know that context: . is required, else caching will not work? It's not mentioned in this document, except that all the examples just do it. I can't tell you how many times I've tried to implement caching docker builds on GitHub Actions and I never saw that, (now it's no wonder it never worked for me before! 🤯 )

@kingdonb maybe we should publish this as a blog post? Docker actions do change a lot, the caching was broken some time ago, so we had to do all sorts of tricks in Flux, see https://github.com/fluxcd/notification-controller/blob/main/.github/workflows/e2e.yaml#L72. There is a bug chance the examples in this doc will not work in a month or two. If you don't plan to maintain this on long run, better to have this as a blog post.

That's one reason why I thought it would be a good idea to avoid a discussion of caching.
Maybe there should be a blog post instead, but whatever is in the article right now, I think is pretty ever-green. I'd be in favor of merging it here as-is, then maybe publish a blog post about it later.

I'm giving it another read through at this point to check for errors, then I will squash and write back here when I think it's ready for one last review. 👍

ef43017 is the last commit before squash, rebasing now. I've reordered the "extra resources" at the end and added some additional text to help everything flow better.

authors: kingdonb stefanprodan

repo: fluxcd/website


text:
🛑 Farmacias is down

In 4f35423, Farmacias (https://extranet.osam.org.ar/Consulta/farmacias) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Farmacias is back up in 66bf2bb.

repo: flvanney/OSAMuptime


text:
New Message Badge / Notifiication New Unread Message

Anyone know how to make this badge ?
i don't see this feature.
Is this need cloud function ? i think yes

Yes you need a cloud function. I will be archiving this repo soon, so I recommend you copy the code if you want and then you can do any logic you want, including this with cloud functions.

authors: demchenkoalex kopianan


text:
I can't modify the mysql my.cnf file

I have tried to modify the default configuration of the mysql database. I find the path from it but is read-only by filesystem.
Or is there an other method to configure mysql db ?

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.

authors: titanous xanderu

repo: flynn/flynn


text:
Test tweaks

The extra logging in TestReleaseImages is for #1123, see commit messages for more comments.

LGTM

authors: lmars titanous


text:
configure keycloak with nexus automatically

Hi,
Thank you for this plugin. What I really want to know is how all these steps can be done automatically as it contains a lot of manual steps, which is not acceptable in my current scenario.
Thank you

Thanks @marctanguy . If it is possible, you can share your automatic scripts :).

@flytreeleft read the api endpoints for nexus and make a rest call using curl for each of the tasks you want to automate.

@aliartiza75 Yes, calling API via curl is a good idea. Thank you! :)


text:
Custom type should insert itself into hooks as necessary

Example of custom types in https://github.com/Azzoo/fortune/blob/patch-3/test/app.js
If a custom type is registered, it should have the opportunity to participate in the read/write fortune lifecycle to manipulate the data travelling into & out of the API.
This will avoid the need to manually add hooks to each resource to do any manipulations (provide our date example as a starting point)

closed here: https://github.com/flyvictor/fortune/pull/180
and here: https://github.com/flyvictor/fortune/pull/181

authors: craigedmunds dmskr

repo: flyvictor/fortune


text:
Running flyway in docker-compose fails to connect to database.

For example, when trying to run OpenMetadata with flyway, the migration stops because of connection issues. Here is a minimal setup that produces the error on a Ubuntu 22.04 system with Docker Compose version v2.29.1:
version: '3'

services:
  db:
    image: postgres:13
    environment:
      POSTGRES_DB: testdb
      POSTGRES_USER: testuser
      POSTGRES_PASSWORD: testpass
    ports:
      - "5432:5432"
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U testuser -d testdb"]
      interval: 5s
      timeout: 5s
      retries: 5
    networks:
      - flyway

  flyway:
    image: flyway/flyway:7-alpine
    command: -url=jdbc:postgresql://db:5432/testdb -user=testuser -password=testpass -connectRetries=60 migrate
    volumes:
      - ./sql:/flyway/sql
    depends_on:
      db:
        condition: service_healthy
    networks:
      - flyway

networks:
  flyway:
    driver: bridge

Results in:
docker compose up
WARN[0000] /home/sdrwacker/openmetadata/flyway-test/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 2/0
 ✔ Container flyway-test-db-1      Created                                                                                0.0s
 ✔ Container flyway-test-flyway-1  Recreated                                                                                0.1s
Attaching to db-1, flyway-1
db-1      |
db-1      | PostgreSQL Database directory appears to contain a database; Skipping initialization
db-1      |
db-1      | 2024-08-06 11:08:13.243 UTC [1] LOG:  starting PostgreSQL 13.15 (Debian 13.15-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
db-1      | 2024-08-06 11:08:13.243 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
db-1      | 2024-08-06 11:08:13.243 UTC [1] LOG:  listening on IPv6 address "::", port 5432
db-1      | 2024-08-06 11:08:13.251 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1      | 2024-08-06 11:08:13.259 UTC [27] LOG:  database system was shut down at 2024-08-06 11:08:08 UTC
db-1      | 2024-08-06 11:08:13.264 UTC [1] LOG:  database system is ready to accept connections
flyway-1  | WARNING: Connection error: The connection attempt failed. (Caused by connect timed out) Retrying in 1 sec...

Is there any additional configuration needed to make this work again?

@sorenwacker Hi! Have you managed to fix the error? I personally find flyway to be the most unstable open source, that I've tried.

authors: bingo-soft sorenwacker

repo: flyway/flyway


text:
How to override zig version

Howdy,
Any suggestions on how I can override the zig version for master?

Sadly this repository suffers from neglect and the zig version is woefully outdated.
If you want to help, clone this repo, do
nix flake update zig-binaries

and check if everything still works.
If you're consuming this from a flake, you can instead in your flake do
{
    inputs = {
        zig-binaries.url = "github:mitchellh/zig-overlay"; # you are now responsible to keep this up-to-date
        zicross = {
            url = "github:flyx/Zicross";
            inputs.zig-binaries.follows = "zig-binaries"; # override my input with yours
        };
    };
}

authors: flyx rupurt

repo: flyx/Zicross


text:
Persistent storage?

I restarted my computer and all the chats I had are lost. I am using docker command to run hollama. Any suggestions?

@quaintdev all of the data is stored in your browser's localStorage.
Where you by any chance using Hollama in an incognito/private window?
If so, the moment you close the window all the data gets wiped.

Oh ok. I had cleaned up the browser data and in that it probably got lost.
Any plans to support permanent storage or to export the data stored in browser?
Thanks for creating hollama. I love it!

Unfortunately there are no immediate plans for supporting a more permanent storage solution.
This is primarily because the app was architected to be able to run entirely on the browser without any external dependencies
There's definitely a lot of potential we can unlock if the Docker or Desktop versions of the app have a more powerful database, but right now the focus is on getting the best UX possible with the constraints of a browser environment.
That being said I'd like to add an option to at least import/export sessions #126

authors: fmaclen quaintdev

repo: fmaclen/hollama


text:
Garage door with Hôrmann

Hi
I have added a garage door interface for Hörmann and I get an error in the tydommqtt
it's impossible to switch the garage door....

my logs:
2024-11-15 21:24:33,477 - Starting tydom2mqtt
2024-11-15 21:24:33,478 - Hassio environment detected: loading configuration from /data/options.json
2024-11-15 21:24:33,479 - Validating configuration ({
"deltadore_login": null,
"deltadore_password": "",
"log_level": "DEBUG",
"mqtt_host": "1
"mqtt_password": "e**************************************************************3",
"mqtt_port": 1883,
"mqtt_ssl": false,
"mqtt_user": "xxxxxxxxxxxx",
"thermostat_cool_mode_temp_default": 26,
"thermostat_custom_presets": null,
"thermostat_heat_mode_temp_default": 16,
"tydom_alarm_home_zone": 1,
"tydom_alarm_night_zone": 2,
"tydom_alarm_pin": "1****6",
"tydom_ip": "1xxxxxx",
"tydom_mac": "xxxxxxxxxxx"",
"tydom_password": "#*******1",
"tydom_polling_interval": 300
}
2024-11-15 21:24:33,479 - The configuration is valid
2024-11-15 21:24:33,480 - tydom.TydomClient    - DEBUG   - Initializing TydomClient Class
2024-11-15 21:24:33,480 - tydom.TydomClient    - INFO    - Configure local mode (1xxx)
2024-11-15 21:24:33,482 - asyncio              - DEBUG   - Using selector: EpollSelector
2024-11-15 21:24:38,903 - tydom.MessageHandler - INFO    - Device update (id=1731665702, endpoint=1731665702, name=Garage 1, type=garage_door)
2024-11-15 21:24:38,903 - sensors.Switch       - ERROR   - 'level'
2024-11-15 21:24:38,903 - gmqtt.mqtt.package   - DEBUG   - Sending PUBLISH (q0), 'b'homeassistant/switch/tydom/1731665702_1731665702/config'', ... (445 bytes)
2024-11-15 21:24:38,904 - gmqtt.mqtt.package   - DEBUG   - Sending PUBLISH (q0), 'b'homeassistant/binary_sensor/tydom/thermicdefect_tydom_1731665702_1731665702/config'', ... (251 bytes)
2024-11-15 21:24:38,904 - gmqtt.mqtt.package   - DEBUG   - Sending PUBLISH (q0), 'b'binary_sensor/tydom/thermicDefect_tydom_1731665702_1731665702/state'', ... (3 bytes)
2024-11-15 21:24:38,905 - sensors.Sensor       - INFO    - Binary sensor created / updated : thermicDefect OFF
2024-11-15 21:24:38,905 - gmqtt.mqtt.package   - DEBUG   - Sending PUBLISH (q0), 'b'switch/tydom/1731665702_1731665702/state'' (NULL payload)
2024-11-15 21:24:38,906 - gmqtt.mqtt.package   - DEBUG   - Sending PUBLISH (q0), 'b'switch/tydom/1731665702_1731665702/attributes'', ... (179 bytes)
2024-11-15 21:24:38,906 - sensors.Switch       - INFO    - Switch created / updated : Garage 1 1731665702_1731665702 None
2024-11-15 21:24:38,906 - tydom.MessageHandler - DEBUG   - Incoming data parsed with success
2024-11-15 21:24:38,907 - tydom.MessageHandler - WARNING - Unknown message type received ([]
)
2024-11-15 21:24:38,908 - tydom.MessageHandler - DEBUG   - Incoming data parsed with success
2024-11-15 21:24:38,971 - gmqtt.client         - DEBUG   - [CMD 0x30] b'\x00Cbinary_sensor/tydom/thermicDefect_tydom_1731665702_1731665702/state\x00OFF'
2024-11-15 21:24:38,971 - gmqtt.client         - DEBUG   - [RECV binary_sensor/tydom/thermicDefect_tydom_1731665702_1731665702/state with QoS: 0] b'\x00OFF'
2024-11-15 21:24:38,971 - gmqtt.mqtt.utils     - DEBUG   - FREE MID: None
2024-11-15 21:24:38,976 - gmqtt.client         - DEBUG   - [CMD 0x30] b'\x00(switch/tydom/1731665702_1731665702/state\x00'
2024-11-15 21:24:38,976 - gmqtt.client         - DEBUG   - [RECV switch/tydom/1731665702_1731665702/state with QoS: 0] b'\x00'
2024-11-15 21:24:38,978 - gmqtt.mqtt.utils     - DEBUG   - FREE MID: None
2024-11-15 21:24:38,979 - gmqtt.client         - DEBUG   - [CMD 0x30] b'\x00-switch/tydom/1731665702_1731665702/attributes\x00{"device_id": 1731665702, "endpoint_id": 1731665702, "id": "1731665702_1731665702", "switch_name": "Garage 1", "name": "Garage 1", "device_type": "switch", "thermicDefect": false}'
2024-11-15 21:24:38,979 - gmqtt.client         - DEBUG   - [RECV switch/tydom/1731665702_1731665702/attributes with QoS: 0] b'\x00{"device_id": 1731665702, "endpoint_id": 1731665702, "id": "1731665702_1731665702", "switch_name": "Garage 1", "name": "Garage 1", "device_type": "switch", "thermicDefect": false}'
2024-11-15 21:24:38,979 - gmqtt.mqtt.utils     - DEBUG   - FREE MID: None
2024-11-15 21:24:41,716 - gmqtt.client         - DEBUG   - [QoS query IS EMPTY]
2024-11-15 21:24:46,718 - gmqtt.client         - DEBUG   - [QoS query IS EMPTY]
2024-11-15 21:24:51,723 - gmqtt.client         - DEBUG   - [QoS query IS EMPTY]
2024-11-15 21:24:56,727 - gmqtt.client         - DEBUG   - [QoS query IS EMPTY]

Hello
3.5.3 image missing some details.
@romainboucher published an image here that work perfectly for this devices.

OK thanks for that.
How can I install this on a Raspberry Pi, I tried the command docker ~ pull ghcr.io/romainboucher/tydom2mqtt:master
but I get the answer:
master: Pulling from romainboucher/tydom2mqtt
no matching manifest for linux/arm64/v8 in the manifest list entries

Hi @LGO44, can you try this fix :
docker pull ghcr.io/romainboucher/tydom2mqtt:all-platforms.

Hi @LGO44, can you try this fix :
docker pull ghcr.io/romainboucher/tydom2mqtt:all-platforms.

This fix doesn't solve this issue


text:
Reordering of NAMES definition might provide better browser.name results

Great plugin, thank you.
With the current order of the NAMES keys, when you check browser.name you get back platform instead of browser name for Android Chrome (returns 'Android', not 'Chrome') and iPhone Safari (returns 'iPhone', not 'Safari').
Could I suggest the order to be as follows (I'm not doing a pull requests as I'm not sure how this will affect your overall plugin - I'm just testing it out and am locally monkey-patching it as follows:
    NAMES = {
      :blackberry  => "BlackBerry",
      :chrome      => "Chrome",
      :core_media  => "Apple CoreMedia",
      :firefox     => "Firefox",
      :ie          => "Internet Explorer",
      :android     => "Android",  # android above safari otherwise default android browser shows up as 'safari'
      :safari      => "Safari",
      :ipad        => "iPad",
      :iphone      => "iPhone",
      :ipod        => "iPod Touch",
      :nintendo    => "Nintendo",
      :opera       => "Opera",
      :phantom_js  => "PhantomJS",
      :psp         => "PlayStation Portable",
      :playstation => "PlayStation",
      :quicktime   => "QuickTime",
      :xbox        => "Xbox",

      # This must be last item, since Ruby 1.9+ has ordered keys.
      :other      => "Other",
    }

#204 now isolates the platform information into its own object (Browser#platform).

Fixed by v2.0.0, just released.

authors: fnando workcloud-jenkins

repo: fnando/browser


text:
Remove old-style func.yaml generation from fn init

This is mainly an exercise in cleaning up the codebase, but I would like to have fn init without any --trigger behave like fn init --trigger none.  This would let us remove a lot of duplicated code in init.go.
run, deploy etc are not affected, only init.

Yep, this is exactly what should happen - --trigger none was just a bridge to keep both worlds working during the V2 development.

repo: fnproject/cli


text:
OrCapability

This PR will add OrCapability. OrCapability will work once status update rules are updated.
Current plan

[x] Add capability-defined method to check if prerequisites are satisfactory (hasPrerequisitesSatisfied)
[x] Add tests for Capability hasPrerequisitesSatisfied
[x] Add OrCapability

Deprecated by #3806


text:
Add support for block storage

I'm adding this issue as a reminder. There is a branch with this work in there, but it isn't ready to go yet.

Thanks for the reminder,I am planning to port the rest of the PRs from fog/fog to this repo

It was a reminder for myself, I have lots of api clients to support :)

👍

repo: fog/fog-digitalocean


text:
bug: lazy unset GIT_DIR and GIT_WORK_TREE environment variables

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.1
Operating system/version
Linux
Describe the bug
Since this commit lazy.nvim unsets GIT_DIR. This was done to not interfere with its internal use of git, as stated in #434. Few months later, this unset GIT_WORK_TREE.
While this is a sane default behavior, it breaks my workflow. I, just like the user of #434, use those variables to manage my dotfiles, but use nvim to edit them, and plugins like gitsigns or the one used to blame lines need those variables to be set.
Adding a way to alter this behavior would be appreciated. For example, right now I'm using this hack:
131,132c131,134
<   env.GIT_DIR = nil
<   env.GIT_WORK_TREE = nil
---
>   if not env.DISISDOT then
>     env.GIT_DIR = nil
>     env.GIT_WORK_TREE = nil
>   end

So if I set DISISDOT set to true, lazy.nvim would not overwrite the other two variables.

If the suggested change is not implemented, this is the workaround I've been using for few weeks and works just fine.
Patch ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/process.lua with dots_patch.txt using patch -bf ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/process.lua -i /path/to/dots_patch.txt
Remember that lazy.nvim will complain about tampering it's code when updating itself. So you should reverse the patch when applying an update.
If you want to automate the entire process, edit ~/.config/nvim/lua/config/autocmd.lua and add the following autocommands

This will set DISISDOT to true if working with a dotfile

vim.api.nvim_create_autocmd({ "BufReadPost" }, {
  pattern = { "*" },
  callback = function()
    local file = vim.api.nvim_buf_get_name(0):gsub("/.*/", "")
    if
      os.execute(
        "/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME ls-files --error-unmatch "
          .. file
          .. " >/dev/null 2>&1"
      )
    then
      -- $DISISDOT will signal lazy.nvim to not overwrite $GIT_DIR and $GIT_WORK_TREE
      -- REMEMBER that this works because you changed the behaviour of ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/process.lua
      vim.env.DISISDOT = true
      vim.env.GIT_DIR = vim.env.HOME .. "/.dotfiles/"
      vim.env.GIT_WORK_TREE = vim.env.HOME
    end
  end,
})

This will deal with lazy.nvim updates

vim.api.nvim_create_autocmd({ "User" }, {
  pattern = { "LazyUpdatePre" },
  callback = function()
    os.execute(
      "patch -bfR ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/process.lua -i ~/dots_patch.txt"
    )
  end,
})
vim.api.nvim_create_autocmd({ "User" }, {
  pattern = { "LazyUpdate" },
  callback = function()
    os.execute(
      "patch -bf ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/process.lua -i ~/dots_patch.txt"
    )
    print("Patched!")
  end,
})

Steps To Reproduce

set GIT_DIR and GIT_WORK_TREE
use a plugin that use those variables

Expected Behavior
The variable should be unset by default, but the user should have the possibility to set them.

I don't really understand your use-case.
You can still set those variables in your env and they would be used by those plugins.
The lines you are referring to, just don't use those env vars for lazy specifically.
What's the problem you're trying to solve here?

I'm sorry I didn't explain the issue properly.
The plugins will use those env indeed.
The issue persist only for 'Git Blame Line' (space+g+b) and similar options.
This is probably because shortcut use float_cmd from lazy.util
and when spawning the terminal, those env vars are unset

authors: folke luigir-it


text:
bug: Macro and Other Message doesn't work even with solution and clean neovim

Did you check docs and existing issues?

[X] I have read all the noice.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of noice.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
Neovim: v0.10.2 , Noice: 4.5.2 stable
Operating system/version
Arch Linux,  6.11.5-arch1-1
Describe the bug
Macro and other message in the same category do not work.
I will provide a clean neovim with lazy init.lua and test it for yourself.
Steps To Reproduce
Here's the most barebones init.lua
--vim.g.loaded_netrwPlugin = 1

local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
	vim.fn.system({
		"git",
		"clone",
		"--filter=blob:none",
		"https://github.com/folke/lazy.nvim.git",
		"--branch=stable", -- latest stable release
		lazypath,
	})
end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
{
  "folke/noice.nvim",
  event = "VeryLazy",
  opts = {
    -- add any options here
  },
  dependencies = {
    -- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
    "MunifTanjim/nui.nvim",
    -- OPTIONAL:
    --   `nvim-notify` is only needed, if you want to use the notification view.
    --   If not available, we use `mini` as the fallback
    "rcarriga/nvim-notify",
    }
}
})

 require("noice").setup ({
    routes = {
      {
        view = "notify",
        filter = { event = "msg_showmode" },
      },
    },
  })

-- require("core.options")
-- require("core.plugins")
-- require("core.plugin_config")
-- require("core.keymaps")

vim.api.nvim_set_hl(0, "LineNr", { fg = "#ef2f81" }) -- Change this to your desired color for relative line numbers
-- vim.api.nvim_set_hl(0, "CursorLineNr", { fg = "#00ff00" }) -- Change this to your desired color for the current line number

Expected Behavior
I should have a way of knowing when I'm doing a macro
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
	spec = {
		{
			"folke/noice.nvim",
			opts = {},
			dependencies = {
				-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
				"MunifTanjim/nui.nvim",
				-- OPTIONAL:
				--   `nvim-notify` is only needed, if you want to use the notification view.
				--   If not available, we use `mini` as the fallback
				"rcarriga/nvim-notify",
			}
		},
		-- add any other plugins here
	},
})

require("noice").setup ({
	routes = {
		{
			view = "notify",
			filter = { event = "msg_showmode" },
		},
	},
})

I Lazy Cleaned the uninstall packages, and git branch to modify it.


text:
fix: make day diff highlights more readable

Day diff highlights for delta are hard to read. See before and after:

Very willing to adjust colors, if these are not as desired. (The blue and green might clash a bit?) I fiddled a bit, but had trouble finding something that's distinct from the other background color, but doesn't have significantly worse contrast with the text than that bg color.
(Working on a fix for the _style_name and other bits being hard to read against blue -- these are set in the sublime colors to fixed values regardless of theme. This gets used for the bat colors which delta uses for syntax highlighting. I'm trying to get something that preserves mostly how the dark themes look, but makes day easier to read. Don't want to mess up anyone's existing theme if they like it, yknow.)

The problem was actually the colors. Delta. Colors shouldn't be defined in an extra since for the day theme, the colors are automatically generated.
I moved the color defs to colors.lua, so that should now be correct.
Feel free to open another PR with changes to the sublime scheme!

authors: folke riley-martine


text:
fix(terminal): assign magenta to correct terminal color

Description

This PR addresses 2 things:

Fixes the terminal color typo mentioned in #634
Adds PmenuMatch and PmenuMatchSel hl groups, see https://github.com/neovim/neovim/pull/29311

Related Issue(s)
FIxes #634
https://github.com/neovim/neovim/pull/29311

Screenshots
Here's before and after the PmenuMatch hl groups (Built in lsp completion):
Before:

After:

ty!

authors: folke kristijanhusak


text:
Manifest full_name

See https://github.com/metanorma/mn2pdf/issues/52

Would appreciate a review @ronaldtse

@alexeymorozov could you help bump version and release gem, and ping @Intelligent2013 when done? Thanks!

Yes, it's released as v1.7.0
/cc @Intelligent2013

@alexeymorozov thanks.

authors: Intelligent2013 alexeymorozov ronaldtse

repo: fontist/fontist


text:
[interpolatable] ZeroDivisionError on "unusual" outline

Running python -m fontTools.varLib.interpolatable jp-test.ttf on the attached font crashes with a ZeroDivisionError. Found via fontbakery
jp-test.ttf.zip
Error:
ERROR: ('float division by zero', 'jp-test.ttf')
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/just/code/git/fonttools/Lib/fontTools/varLib/interpolatable.py", line 1132, in <module>
    problems = main()
               ^^^^^^
  File "/Users/just/code/git/fonttools/Lib/fontTools/varLib/interpolatable.py", line 919, in main
    for glyphname, p in problems_gen:
  File "/Users/just/code/git/fonttools/Lib/fontTools/varLib/interpolatable.py", line 338, in test_gen
    this_tolerance, proposed_point, reverse = test_starting_point(
                                              ^^^^^^^^^^^^^^^^^^^^
  File "/Users/just/code/git/fonttools/Lib/fontTools/varLib/interpolatableTestStartingPoint.py", line 52, in test_starting_point
    correlation = vector[5] / abs(vector[0])
                  ~~~~~~~~~~^~~~~~~~~~~~~~~~
ZeroDivisionError: ('float division by zero', 'jp-test.ttf')

I'll take a look. Thanks.

authors: behdad justvanrossum

repo: fonttools/fonttools


text:
[tfmLib] New library for reading TFM files

New library for reading TeX Font Metrics files. Does not support writing them back.
Fixes #2352

@khaledhosny I'm planning to cut a new release today, is it ok if I merge this?

I was waiting for another reviewer, but if you are happy with it I’m happy. It already does what I need.

I only reviewed superficially as I don't know the details of TeX font metric data. Do you have in mind anyone who do and can review it? Otherwise, we take you as the ultimate "expert" and if issues arise we'll fix as we go along

Lets just merge.

authors: anthrotype khaledhosny


text:
mac下的homebrew不允许使用sudo模式安装了

第一步的初始化环境就过不去了，错误如下：
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.

这是自动安装virtualenv时报的错，我手动安装之后，报了新的错：
Running virtualenv with interpreter ～/anaconda3/bin/python3
Fatal Python error: Py_Initialize: unable to load the file system codec
LookupError: no codec search functions registered: can't find encoding
Current thread 0x00007fffdc9dc3c0 (most recent call first):

@winglight 建议用ubuntu,目前来说mac,windows是有各种奇怪的问题.

@foolcage 环境建多了，切换起来比较麻烦啊。。。
我看readme里提到，在mac上测试过，是不是已经有成功案例了呢？

@winglight 我之前在mac,ubuntu两边一起开发,但现在mac用得比较少了.更新后,可能有些问题.
晚点用pipenv来统一下吧.

@foolcage mac上很多坑啊，es和kibana都安装好了，但是项目下面各种基本操作都走不通：
1.先在工程下面运行：source ve/bin/activate，然后再跑schedule就不行了
···
python fooltrader/sched/sched_stock_meta.py
Traceback (most recent call last):
File "fooltrader/sched/sched_stock_meta.py", line 7, in
from fooltrader.connector import es_connector
ModuleNotFoundError: No module named 'fooltrader'
···
2.这是另一个错误：
···
from fooltrader.connector import es_connector
from: can't read /var/mail/fooltrader.connector
···
这总不至于是写死的路径吧？

authors: foolcage winglight

repo: foolcage/fooltrader


text:
No module named torch

你好，我在运行代码的时候在大环境下pip安装了pytorh，但是依然通不过vot套件测试。我用的python是anacoanda中的，但是报错说用的python是/usr/bin中的，不知如何解决这个问题？
报错代码如下：
Initializing workspace ...
Verifying native components ...
Testing TraX protocol support for tracker SiamRPN.
CLIENT: Creating process /usr/bin/python  -c "import sys; sys.path.append('/media/hp/01a64147-0526-48e6-803a-383ca12a7cad/WH/wh/vot/vot-toolkit/native/trax/python');sys.path.append('/media/hp/01a64147-0526-48e6-803a-383ca12a7cad/WH/TRACK/DaSiamRPN/code'); import vot_SiamRPN"
CLIENT: Working directory is /tmp/tpb39fd059_066a_453c_adea_bfa32f51b128
CLIENT: Starting process
CLIENT: Setting up TraX with standard streams connection
Traceback (most recent call last):
File "", line 1, in
File "/media/hp/01a64147-0526-48e6-803a-383ca12a7cad/WH/TRACK/DaSiamRPN/code/vot_SiamRPN.py", line 12, in
import torch
ImportError: No module named torch
CLIENT: Timeout reached. Stopping tracker process ...
CLIENT: Flushing streams
CLIENT: Process should be terminated.
CLIENT: Stopping logger.
CLIENT: Tracker exited (exit code 1)
CLIENT: Unable to establish connection.
CLIENT: Cleaning up.
CLIENT: Stopping logger thread
CLIENT: Stopping watchdog thread
CLIENT: Trying to stop process using protocol.
Tracker execution interrupted: Unable to establish connection.

我修改了环境，并用pip安装了torch-0.4.1，同样出错：
Testing TraX protocol support for tracker SiamRPN.
CLIENT: Creating process /usr/bin/python  -c "import sys; sys.path.append('/media/hp/01a64147-0526-48e6-803a-383ca12a7cad/WH/wh/vot/vot-toolkit/native/trax/python');sys.path.append('/media/hp/01a64147-0526-48e6-803a-383ca12a7cad/WH/TRACK/DaSiamRPN/code'); import vot_SiamRPN"
CLIENT: Working directory is /tmp/tpe05ea2e8_806e_4c04_a71d_8b70ac292c6f
CLIENT: Starting process
CLIENT: Setting up TraX with standard streams connection
Traceback (most recent call last):
File "", line 1, in
File "/media/hp/01a64147-0526-48e6-803a-383ca12a7cad/WH/TRACK/DaSiamRPN/code/vot_SiamRPN.py", line 12, in
import torch
File "/home/hp/.local/lib/python2.7/site-packages/torch/init.py", line 80, in
from torch._C import *
RuntimeError: stoi
请问这是什么原因？

Add one line of code in tracker_SiamRPN.m
set_global_variable('python','/path/to/python');
tracker_command = generate_python_command('vot_SiamRPN', {'/PATH/TO/CODE/FOLDER/'});

vot-toolkit will use system python by default.

我修改了环境，并用pip安装了torch-0.4.1，同样出错：
Testing TraX protocol support for tracker SiamRPN.
CLIENT: Creating process /usr/bin/python -c "import sys; sys.path.append('/media/hp/01a64147-0526-48e6-803a-383ca12a7cad/WH/wh/vot/vot-toolkit/native/trax/python');sys.path.append('/media/hp/01a64147-0526-48e6-803a-383ca12a7cad/WH/TRACK/DaSiamRPN/code'); import vot_SiamRPN"
CLIENT: Working directory is /tmp/tpe05ea2e8_806e_4c04_a71d_8b70ac292c6f
CLIENT: Starting process
CLIENT: Setting up TraX with standard streams connection
Traceback (most recent call last):
File "", line 1, in
File "/media/hp/01a64147-0526-48e6-803a-383ca12a7cad/WH/TRACK/DaSiamRPN/code/vot_SiamRPN.py", line 12, in
import torch
File "/home/hp/.local/lib/python2.7/site-packages/torch/init.py", line 80, in
from torch._C import *
RuntimeError: stoi
请问这是什么原因？

MATLAB 不支持PyTorch0.4.1！！！
https://github.com/votchallenge/vot-toolkit/issues/173

OK，那我能用pytorch 0.4.1以下版本在VOT套件中运行吗？

@xjtuwh
Thanks for your question. This repository is tested on python2.7 and PyTorch 0.3.1. You should use the same env.
If you still have a question, you can reopen this issue. But for now, I should close it.

authors: foolwood lb1100 xjtuwh

repo: foolwood/DaSiamRPN


text:
Fix server crash due to referencing client classes

Fixes #23 for 1.20.1
Should be able to cherrypick it forward to 1.20.4 if you decide to merge it.
Summary of changes:

Moved everything from WickedGuiDescription to WickedPaintingScreen as the description is referenced by server code. All the gui stuff should only happen on the client.
Marked ImageUtils#getOrLoadImage and WickedPaintingItem#appendTooltip as client-only methods. I think only the first one is necessary, but I figured it wouldn't hurt to cover both bases.

I considered moving the method to a client package but the annotation worked and this resulted in fewer changes, so figured I'd stick with it. You can make up your mind whether you want to refactor things more.

kinda forgot about #23 thanks

authors: Sollace fooooooooooooooo

repo: fooooooooooooooo/WickedPaintings


text:
bump JSON Schema test suite

as per #107
doing this separately from #108 because there are failing tests in draft3 and draft4 i.e. jesse's current implementation fails some "corner" cases
WORK IN PROGRESS

[x] draft3 - additionalProperties
[x] draft3 - ref
[x] draft4 - additionalItems
[x] draft4 - additionalProperties
[x] draft4 - enum
[ ] draft4 - ref
[x] draft4 - refRemote

FYI, I'm working on it

Have some difficulties with ref test case "Description: ref overrides any sibling keywords". We are currently crashing when we see that there are other validators siblings to $ref. But it seems that the test is supposed to just ignore all the other keys if there is a $ref defined. I have troubles trying to find a place where this logic can be hooked...

:wave:

Let's say that I'll merge it this Wednesday 8th of December, if there will be no objections until then =)

authors: andreineculau seriyps

repo: for-GET/jesse


text:
Deploying no longer reports progress

docker image salesforce/salesforcedx:7.113.0-slim
SFDX_USE_PROGRESS_BAR=false timeout 120m sfdx force:source:deploy --wait 122 -u Sandbox --testlevel RunLocalTests -x manifest/package.xml --checkonly
*** Deploying with SOAP API ***
Deploy ID: MYID

=== Status: Pending

No components deployed

Only === Status: Pending is written out, even though the test run goes on in the sandbox.
Then our CI system kills it with:

Too long with no output (exceeded 10m0s): context deadline exceeded

@mshanemc why is this behavior

I had this same problem some releases ago... I noticed you also seem to have CircleCI, so you can just set the no_output_timeout on your deployment step to avoid the job being canceled:
- run:
      name: Deploy to QA
      command: |
          timeout 90m sfdx force:source:deploy --targetusername qa --wait 92 --testlevel RunLocalTests --sourcepath ./src
      no_output_timeout: 92m

The above was the best solution I could find... Otherwise you will have to re-enable the status bar so the deployment progress is presented to STDOUT, and thus CircleCI won't cancel the job.... although the CLI will still present nothing to STDOUT on other machines if there's already another deployment running on that org... :P

@AndrewRayCode  The stdout was changed for that command when not using the progress bar to look more like this:
=== Status: Pending

No components deployed

=== Status: InProgress

3/95 components deployed. 0 errors.
0/0 tests completed. 0 errors.

=== Status: InProgress

20/95 components deployed. 0 errors.
0/0 tests completed. 0 errors.

... (more InProgress statuses)

=== Result: Failed

94/94 components deployed. 0 errors.
9/12 tests completed. 3 errors.

=== Test Results Summary
Passing: 9
Failing: 3
Total: 12
Time: 0

As to why it wasn't updating I don't know.  Looks like message queue issues but you said things were progressing in the org so not sure.

authors: AndrewRayCode MuriloKakazu shetzel

repo: forcedotcom/cli


text:
Test Classes not Enough Code Coverage

Hello,
I'm not a full time developer and we just learned that we need to update the classes for the B2BSyncCheckInventory, B2BSyncPricing, and B2BSyncDelivery classes due to the decommission of the Heroku sample
I've located the updated code and things are working in sandbox, but I'm having trouble deploying to prod because the test classes do not have enough code coverage.  Can you make any recommendations as to what I can add to the test classes for each to get more coverage?
Thank you!

Hey! This is effecting us too from getting our store to go live. Any help would be very much welcomed as we are trying to get this store up ASAP.

Hello, thank you for opening the issue! What is the test coverage that is seen right now @Heather-Hanson? In my system, I didn't hit a blocker with test coverage.

Didn't get a reply.

authors: Heather-Hanson lcrenshawSOA tarcang

repo: forcedotcom/commerce-on-lightning


text:
子类化UIStackView，在ios9一下将会失效

子类化UIStackView，在ios9一下将会失效

1

repo: forkingdog/FDStackView


text:
Field Configuration

The field configuration is different in the example then the official configuration (like angular-formly, ng-formly). We would like the configuration similar to them.
https://github.com/formly-js/ng2-formly/blob/master/src/core/components/formly.field.config.ts

got it, thanks Mohammed, I'll start working on this soon

Hey Mohammed, can you give me write access to vue-formly please? I just went to create a new branch and it said I don't have the correct access rights.

Can you try now?

Nope, still nothing. I can't even edit anything through the web interface so it's not just something on my machine.

Can you instead fork this project and make a PR?

I changed some settings, can you try now?

Perfect! thanks Mohammed.

authors: matt-sanders mohammedzamakhan

repo: formly-js/vue-formly


text:
在1.8版本下好像看不到插件？

在1.8版本下好像没法正常使用

在1.7的内核下安装后也看不到相应的插件


text:
"MySQL server has gone away" (even though it has not)

Forseti 2.8.0
Issue both for scanner and inventory so far..
See below for output. This has happened in a private install as well as with a customer.
We have tested:

CloudSQL is still there, and is not unresponsive in the admin console  (it can list databases)
Restarting CloudSQL instance does not fix it
Restarting Forseti Server fixes it.

forseti inventory create
{
  "errors": 0,
  "warnings": 0,
  "step": "",
  "finalMessage": false,
  "lastError": "",
  "id": "1542959478607997",
  "lastWarning": ""
}
Error occurred on the server side, message: <_Rendezvous of RPC that terminated with:
        status = StatusCode.UNKNOWN
        details = "Exception iterating responses: (_mysql_exceptions.OperationalError) (2006, 'MySQL server has gone away') [SQL: u'SELECT cai_temporary_store.name AS cai_temporary_store_name, cai_temporary_store.parent_name AS cai_temporary_store_parent_name, cai_temporary_store.content_type AS cai_temporary_store_content_type, cai_temporary_store.asset_type AS cai_temporary_store_asset_type, cai_temporary_store.asset_data AS cai_temporary_store_asset_data \nFROM cai_temporary_store \nWHERE cai_temporary_store.content_type = %s AND cai_temporary_store.asset_type = %s AND cai_temporary_store.name = %s'] [parameters: ('resource', 'google.cloud.resourcemanager.Organization', '//cloudresourcemanager.googleapis.com/organizations/xyz')] (Background on this error at: http://sqlalche.me/e/e3q8)"
        debug_error_string = "{"created":"@1542959489.276919886","description":"Error received from peer","file":"src/core/lib/surface/call.cc","file_line":1017,"grpc_message":"Exception iterating responses: (_mysql_exceptions.OperationalError) (2006, 'MySQL server has gone away') [SQL: u'SELECT cai_temporary_store.name AS cai_temporary_store_name, cai_temporary_store.parent_name AS cai_temporary_store_parent_name, cai_temporary_store.content_type AS cai_temporary_store_content_type, cai_temporary_store.asset_type AS cai_temporary_store_asset_type, cai_temporary_store.asset_data AS cai_temporary_store_asset_data \nFROM cai_temporary_store \nWHERE cai_temporary_store.content_type = %s AND cai_temporary_store.asset_type = %s AND cai_temporary_store.name = %s'] [parameters: ('resource', 'google.cloud.resourcemanager.Organization', '//cloudresourcemanager.googleapis.com/organizations/xyz')] (Background on this error at: http://sqlalche.me/e/e3q8)","grpc_status":2}"

MartenvanWezel@ could you provide the stackdriver logs related to the error above?

+Bruno Reboul brunoreboul@google.com
Hey Bruno, do you have these? I haven't seen this error on my local setup
yet...
On Mon, 26 Nov 2018 at 18:12, jjawad-google notifications@github.com
wrote:

MartenvanWezel@ could you provide the stackdriver logs related to the
error above?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/forseti-security/issues/2288#issuecomment-441740661,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP6sVOO5d5yEcyQafl15U4ZIsyd7bc-kks5uzC8hgaJpZM4YwlNk
.

Please let us know if this is working as we have submitted a couple of patches around CAI, if not please reopen.

We haven't seen this issue for awhile, will go ahead and close this. Feel free to reopen if the the issue still exists in the latest version.

authors: MartenvanWezel jjawad-google joecheuk

repo: forseti-security/forseti-security


text:
In Firewall IP Range is  open for all IP range

Hi Team
After Forseti Installation I noticed that this issue.

I installed forseti V2.18
I am having issue with Firewall -IP Range which is open for 0.0.0.0/0
Screen attached
I used deployment Manager

Thanks
Hari

Thanks for reporting this.  I believe the Source filters there only indicates where ssh is allowed from.  But actual access by ssh is managed and granted by IAM roles to resource owners, or the os-login role to non-resource owners.

Do you have any input on what alternative Source filters should be used, or what we can change here?

Hi Team
It is critical to open for all. All VPN should be update when installing forseti.

Hi @hariram01 , did you mean for the last comment to be for your team?  If it's for us (the forseti team), please let us know, and reopen this issue.
Thanks.


text:
Added progress callback function

Added callback for progress reporting (useful for md5 of large files with progress bars)

sorry to  merge so late, and I refactor it with es6


text:
Add NUFFT to package index

Homepage: https://cims.nyu.edu/cmcl/nufft/nufft.html
@lewisfish - I hope you don't mind me pinging you for help with a review. I'd appreciate if you can reviewing whether the package fulfills the criteria for the Fortran package index and approve/disapprove.

No worries, happy to help out. Package fulfills the criteria

authors: ivan-pi lewisfish


text:
[WIP] Fix sort support in JSON API serializer

The JSON API states that sort=param means ascending and sort=-param means descending. Current implementation had support for explicit querying for asc/desc with + or -.
For some (currently to me unknown) reason, Fortune only gives back ascending data no matter the parameter stating asc or desc.
More info: http://jsonapi.org/format/#fetching-sorting

If you're OK with this change, I'll update the tests too.

I implemented the JSON API serializer soon after it hit 1.0, maybe the backtracked on this or something or I misread, but at some point in time, the spec did explicitly require +. Also I think there's another unrelated problem: I changed the adapter spec so that sort requires boolean value instead of -1 or 1. I will investigate a fix.

Excellent!

Fixed in commit 61e83ae7bdcac4f11e4b60107d8c8a1d01ace8e2.

:+1:

repo: fortunejs/fortune


text:
Add Curl Rust Code Generator

PR Description
Added curl rust code generator and corresponding test file
Related Issues

Related Issue #151
Closes #151

Checklist

[x] I have gone through the contributing guide
[x] I have updated my branch and synced it with project main branch before making this PR
[x] I have run the tests (flutter test) and all tests are passing

Added/updated tests?

[x] Yes

@ashitaprasad @animator Please review this and let me know if any changes need to be done
Some pointers:

rust curl does not have a native query method that can be used to add query params so added it in the URL only
rust curl also does not provide method-specific functions for DELETE, PATCH and HEAD requests. The way I've implemented it is the way to make those calls.

I have tested the code generated for test cases on code sandbox and it is working as expected

also use curl::easy::List; is imported even when there are no headers in the codegen.
for example check your get 12 test case

Hey @Tanish2002
Thanks for pointing out the changes. I have fixed the mentioned issues 😄

LGTM!
The maintainers will give their review soon😄

In some of the post cases like post4, post7 etc. getting unused import warning. Please fix it
warning: unused import: `curl::easy::List`
 --> src/post7.rs:2:5
  |
2 | use curl::easy::List;
  |     ^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

@ashitaprasad Fixed it. This was happening because formdata content type header was not being added.

@apoorvdwi Do we need to send the formdata content type header here in this codegen? Is it not automatically added by the library? If you are providing it, why are you not adding any boundary?

curl rust does not explicitly sets the header, we have to do it. But since we are putting data in a easy form which is native supported we do not need a boundary here.

@apoorvdwi For json and text we need to set the relevant content-type header, but multipart-formdata always has additional boundary information. If it is natively supported then it means that the header is also being created automatically and what you are providing explicitly is not being used.
Print the request headers that are being sent with and without your explicit setting of multipart-formdata header and paste it in the comment below.

Got it. I checked the request with explicit content type and without it. It is coming in both the cases. My bad I got a bit confused.
I have fixed the headers to remove formdata type and updated test cases as well

@apoorvdwi I clearly said above

Print the request headers that are being sent with and without your explicit setting of multipart-formdata header and paste it in the comment below.

Share the outputs for both the cases.

Without content type set
{
  "content-length": "330",
  "accept": "*/*",
  "content-type": "multipart/form-data; boundary=------------------------273a16fce4d4da7d",
  "x-forwarded-for": "178.63.141.96",
  "x-forwarded-host": "apoorv.free.beeceptor.com",
  "x-forwarded-proto": "https",
  "accept-encoding": "gzip"
}

With content type
{
  "content-length": "330",
  "accept": "*/*",
  "content-type": "multipart/form-data; boundary=------------------------601231ad2c4a841c",
  "x-forwarded-for": "178.63.141.96",
  "x-forwarded-host": "apoorv.free.beeceptor.com",
  "x-forwarded-proto": "https",
  "accept-encoding": "gzip"
}

@apoorvdwi
Why are you setting these headers?
"accept": "/",
"x-forwarded-for": "178.63.141.96",
"x-forwarded-host": "apoorv.free.beeceptor.com",
"x-forwarded-proto": "https",
"accept-encoding": "gzip"
Do the following exercise for request model POST 4:

Generated codes (with and without your explicit setting of multipart-formdata header)
In the code add lines to print the request headers that are being sent.

Share the two codes below. I will run it on my PC and verify.

I'm not setting those headers
I'm running it from code sandbox and they are going through proxies to apoorv.free.beeceptor.com which is why headers are set.
Here are the codes -
Without content type
use curl::easy::Easy;

fn main() {
    let mut easy = Easy::new();
    let mut data = Vec::new();
    easy.url("https://apoorv.free.beeceptor.com").unwrap();
    easy.post(true).unwrap();

    let mut form = curl::easy::Form::new();

    form.part("text").contents(b"API").add().unwrap();

    form.part("sep").contents(b"|").add().unwrap();

    form.part("times").contents(b"3").add().unwrap();

    easy.httppost(form).unwrap();

    {
        let mut transfer = easy.transfer();
        transfer
            .write_function(|new_data| {
                data.extend_from_slice(new_data);
                Ok(new_data.len())
            })
            .unwrap();
        transfer.perform().unwrap();
    }

    let response_body = String::from_utf8_lossy(&data);

    println!("Response body:{}", response_body);
    println!("Response code: {}", easy.response_code().unwrap());
}

With content type
use curl::easy::Easy;
use curl::easy::List;

fn main() {
    let mut easy = Easy::new();
    let mut data = Vec::new();
    easy.url("https://apoorv.free.beeceptor.com").unwrap();
    easy.post(true).unwrap();

    let mut form = curl::easy::Form::new();

    form.part("text").contents(b"API").add().unwrap();

    form.part("sep").contents(b"|").add().unwrap();

    form.part("times").contents(b"3").add().unwrap();

    let mut list = List::new();
    list.append("Content-Type: multipart/form-data").unwrap();
    easy.http_headers(list).unwrap();

    easy.httppost(form).unwrap();

    {
        let mut transfer = easy.transfer();
        transfer
            .write_function(|new_data| {
                data.extend_from_slice(new_data);
                Ok(new_data.len())
            })
            .unwrap();
        transfer.perform().unwrap();
    }

    let response_body = String::from_utf8_lossy(&data);

    println!("Response body:{}", response_body);
    println!("Response code: {}", easy.response_code().unwrap());
}

In the code add lines to print the request headers that are being sent.

@apoorvdwi You have not added the lines like I said above.

I'm not sure how to print request headers from the code, don't see any native function in curl-rust, on the receiving side it can be done which is why I used a mock server

Then why did you share this in first place when I repeatedly asked you to print the headers that are being sent by the code.
This is simply not an ethical behaviour where instead of being honest in the first place you are simply wasting the time of maintainers who put in so much effort to provide the right feedback, just to get your PR accepted.
Take this as an assignment.
I am closing this PR. Once you have completed the assignment you can share it in this thread and raise a new PR.

@animator I think you misunderstood what I said
I used a mock server located at apoorv.free.beeceptor.com
I ran the code in the code sandbox and sent the request there.
The headers I pasted are what the server received
Here are the screenshots

authors: Tanish2002 animator apoorvdwi ashitaprasad


text:
EventDetailFragment automatically move to a section without scrolling

Describe the bug
In EventDetailFragment, sometimes it automatically moved to a below section before user trying to scroll or do something
Screenshots

Would you like to work on the issue?
Yes

Just add android:descendantFocusability="blocksDescendants in the organiser container

repo: fossasia/open-event-android


text:
Manage event selection of app

Bus handles click on the selection of event and the event fragment itself triggers the loading of event dashboard. Discuss and plan solution for this

@iamareebjamal
Currently, the bus is used for 2 purposes:

pushing event from events adapter to the presenter to open dashboard
handling the state of the main activity using storedEventId.

I think 2nd should be handled in the activity itself without the use of the bus. this will solve #375 too.

I think 1st should be handled by something else.
Because we do want a stored session event which is reactive. What solution do you propose we can use to make it happen without bus? The problem is with the clicks opening the fragment through bus.
Bus should only update the header view and currency and nothing else. The trigger on event fragment should be handled by something which is not connected to bus

The problem is with the clicks opening the fragment through bus.

what problem?

The repeated loading of event dashboard

No. problem is in the presenter's onStart which is handling state of the main activity.

Initial state of the main activity should be handled in onCreate of main activity

using the nullity of savedInstanceState

The thing is, bus is also transmitting a value. Which is valid for setting header info, but not for the loading of fragment. The fragment itself is loaded on rotation, so if the bus is not used to open the dashboard, it'll work fine. Yes, your solution is obviously needed, but it is related to #325
Try by adding take(1) to bus, it will only use 1st transmission from bus and after that rotation will load the fragment automatically

authors: iamareebjamal mejariamol

repo: fossasia/open-event-orga-app


text:
Add to write yaml

Signed-off-by: Jiyeong Seok jiyeong.seok@lge.com
Description

Add to write yaml
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Refactoring, Maintenance
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Awesome. 🙂 👍

authors: dd-jy soimkim


text:
[100% Free] Steam Codes {Generator}  Unused 2024

+(100%_Working)Free Steam Wallet Gift Card Codes 2024
Steam is one of the famous games app stores from where you can buy games and install them on your system to play them. The store is adding thousands of apps and games to make it the best app/game store for users. We all love playing the game, and most of the famous games are available on it.
CLICK HERE TO FREE GENERATOR
CLICK HERE TO FREE GENERATOR
There are a lot of games that are available for free; however, there are some apps and games which need to be purchased. But we all know that most users don’t want to spend their money on buying games. Either they go for different sources to install the game, or they start searching for the redeem codes through which they can get free money to buy and install the game.
We hope you are also looking for Free Steam Wallet Codes if you have opened this article. We will explain the Steam Wallet Codes who don’t know about it. Also, we will answer some queries of the users that they are searching randomly on the internet related to the Free Steam Wallet Codes. Be with us till the end if you are also excited to try the Free Steam Wallet Codes.
What are Free Steam Wallet Codes?
The users who don’t know about the Steam Wallet Codes, it is a way through which you can gift or recharge your wallet with money to buy any games or apps from the wallet. The players mostly buy the wallet codes, so they don’t have to buy the game from their cards each time when it is released. By having a sufficient balance in the Steam Wallet, you will be able to pay directly for it in a few steps. Thousands of users buy the wallet code to gift it to their family or relatives.
Similarly, the Free Steam Wallet Codes are the codes for which you don’t have to pay any money, and it is available for free to the players. They have to copy and paste the code to use it. There are a lot of sources through which you can get the Free Steam Wallet Codes. We are also going to list them below. Also, the Steam Wallet Codes’ value depends on your account’s region. We have listed the Free Steam Wallet Codes below. Check them out.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

.
.
.
.
.
.
.
.
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card
.
.
.
.
.
.
.
.

🔴📺📱👉 Click here Free Steam Gift Card
🔴📺📱👉 Click here Free Steam Gift Card

repo: foundation/foundation-sites


text:
rename log functions _log.level()

they have the same syntax now log.lua

@Arnaz87 what do you think?

bridge.lua and web_server.lua use the log bindings

Because they are being used, rename them instead

this got confusing

repo: foundpatterns/torchbear


text:
Script Wait for confirmations

Component
Forge
Describe the feature you would like
Right now, the forge script verifier gets a little confused if it doesn't find any bytecode, and just exists. An easy solution I use with Brownie, Hardhat, Truffle, and Ape is to just wait X confirmations before attempting a verification.
Having a flag to wait x confirmations would be great.
forge script script/MyScript.sol --wait-confirmations 6

And this will result in:
##
Waiting for receipts.
⠉ [00:00:12] [######################################################################################################################################################################################] 6/6 receipts (0.0s)

Additional context
No response

@PatrickAlphaC I think you were planning to work on this so I assigned it to you, if that changes lmk and I can unassign

Seems it might take me a lot longer than I thought it would 😅
sorry... could we unassign?

Hey @zerosnacks, is this still relevant? if so I'd like to give it a go

Hi @caiquejjx, sorry for my rate reply. This ticket is still relevant and we would love to get it in. Assigned to you :)

thank you @zerosnacks, just to be sure I understood this task, what we want is that if the --verify flag is passed along the --confirmations one we should wait for x confirmations and the logic for what it concerns the wait part should be done somewhere inside this function https://github.com/foundry-rs/foundry/blob/15fdb2a19ee2a038f7e72523c6a0b0c3cdc6c3e4/crates/script/src/sequence.rs#L256

Thanks @zerosnacks I can understand the concept but I don't completely get the implementation part, what I understand is:

We can count the amount of blocks by counting  the receipts inside the sequence object, as per what I understood each receipt is a block confirmation
If the script has more than one contract we should wait the confirmations for each contract
If the --confirmations flag is specified it should be automatically infered that args.verify is true

Can you confirm or correct me?
Sorry for the noobie questions, I'm still starting to learn blockchain dev and the foundry project itself, thanks for your patience

We can count the amount of blocks by counting the receipts inside the sequence object, as per what I understood each receipt is a block confirmation

We should implement it here:
https://github.com/foundry-rs/foundry/blob/0ed43cefa9c9cb93fa9f9b18ff73d04c1a07cf56/crates/script/src/broadcast.rs#L196-L197
https://github.com/foundry-rs/foundry/blob/0ed43cefa9c9cb93fa9f9b18ff73d04c1a07cf56/crates/script/src/broadcast.rs#L163
https://github.com/foundry-rs/foundry/blob/0ed43cefa9c9cb93fa9f9b18ff73d04c1a07cf56/crates/script/src/progress.rs#L169

If the script has more than one contract we should wait the confirmations for each contract

This is correct, the --confirmations flag applies to each contract deployment. We should start the verification process once all deployed contracts have been included in blocks > confirmations count.

If the --confirmations flag is specified it should be automatically infered that args.verify is true

No, the --confirmations flag should not infer verification, it is also a useful flag in other contexts (like re-orgs)

It is needed

Hey, sorry I just got back from vacation and wasn't able to get it working before going away. I was having a bit of a hard time with it but I still would like to push it a little more if that's ok also if someone more experienced want to take this to speed things up it's fine for me, i'm mostly here for the learning and doing what's best for the project.

@caiquejjx not a problem! Let me know how you get on, hopping on another ticket is also fine - this one is more complex than it seems on the surface

@zerosnacks I have unassigned me, I still didn't had time to look into it again but I'm also not hopeful I'll be able to solve it, guess it's above my current knowledge 😅

authors: PatrickAlphaC askucher caiquejjx mds1 zerosnacks

repo: foundry-rs/foundry


text:
BlockOutOfRangeError: block height is 23 but requested was 21

Component
Anvil
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (8f246e0 2023-04-28T00:03:59.802167368Z)
What command(s) is the bug in?
anvil
Operating System
Linux
Describe the bug
As the title says, we occasionally get errors similar to BlockOutOfRangeError: block height is 23 but requested was 21  and it seems like a race-condition happening when using emv_revert+evm_snapshot.
Since the requested is lower than the height, I assume the error is raised by https://github.com/foundry-rs/foundry/blob/8f246e07c89129b6effa89f0d71c4ac67758a155/anvil/src/eth/backend/mem/mod.rs#L1493
We cannot reproduce locally, and it only happens occasionally when running our typescript test suite in GitHub actions with the default runners (which is very resource constrained, but, e.g. cpulimit of anvil does not seem to reproduce).
We use (evm_snapshot+)evm_revert+evm_snapshot to reset state between each test. So I definitely expect that to be the culprit.
We are not using --prune-history (so https://github.com/foundry-rs/foundry/issues/4252 seems irrelevant)
We are not using forks in these tests (so https://github.com/foundry-rs/foundry/issues/4082 , https://github.com/foundry-rs/foundry/issues/3700 and https://github.com/foundry-rs/foundry/issues/3718 seems irrelevant)
I am not sure whether we are doing something we should not be doing or whether this is an actual bug.

One thing that can happen in our tests are 1) there can be pending transactions when we call revert - I would expect these to be dropped, but maybe the behavior is undefined? 2) we may have pending RPC calls to read from the chain - could this mess up the revert?

Experiencing a similar issue when trying to send a transaction via metamask to a local anvil node:
MetaMask - RPC Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"code":-32602,"message":"BlockOutOfRangeError: block height is 8 but requested was 18"}}}'

It doesn't happen when sending the tx straight via cast.

I get his error when running cast run on a tx to an anvil node

hmm, could you provide an example of how to reproduce this? that would help me debugging this

hmm, could you provide an example of how to reproduce this? that would help me debugging this

I unfortunately cannot send the full code but generally the flow is

I fork anvil with a goerli rpc
I deploy a smart contract and send a transaction
I run cast run <tx_hash>
I get the following error

Executing previous transactions from the block.
2023-12-31T08:38:33.147839Z ERROR sharedbackend: Failed to send/recv `basic` err=failed to get account for 0xbeFe7DabDF096d389eF332fd2874268b81dd8ADF: (code: -32602, message: BlockOutOfRangeError: block height is 10299038 but requested was 10298993, data: None) address=0xbeFe7DabDF096d389eF332fd2874268b81dd8ADF
Error:
backend: failed while inspecting: Database error: failed to get account for 0xbeFe7DabDF096d389eF332fd2874268b81dd8ADF: (code: -32602, message: BlockOutOfRangeError: block height is 10299038 but requested was 10298993, data: None)

running it with -q does not change the result.
I know the account does exist and has made transactions that have succeeded ...

Hi there,
Getting a similar issue while running an anvil process as a "private test blockchain", and deploying blockscout to visualize what's happening up there.
Any idea if we can do something to help, reproduce, debug?
Thanks a lot for the help

hmm, could you provide an example of how to reproduce this? that would help me debugging this

I unfortunately cannot send the full code but generally the flow is

I fork anvil with a goerli rpc
I deploy a smart contract and send a transaction
I run cast run <tx_hash>
I get the following error

Executing previous transactions from the block.
2023-12-31T08:38:33.147839Z ERROR sharedbackend: Failed to send/recv `basic` err=failed to get account for 0xbeFe7DabDF096d389eF332fd2874268b81dd8ADF: (code: -32602, message: BlockOutOfRangeError: block height is 10299038 but requested was 10298993, data: None) address=0xbeFe7DabDF096d389eF332fd2874268b81dd8ADF
Error:
backend: failed while inspecting: Database error: failed to get account for 0xbeFe7DabDF096d389eF332fd2874268b81dd8ADF: (code: -32602, message: BlockOutOfRangeError: block height is 10299038 but requested was 10298993, data: None)

running it with -q does not change the result.
I know the account does exist and has made transactions that have succeeded ...

You're trying to simulate a tx that is in block 10298993 whereas your anvil fork is on block 10299038
Error message for this has been improved in cast:
cast run 0x731e6c4d6ec9df42dd3c31fbbe8ec85f9b0251268a3c6aaa1fb4adf5d2a036a5
Error:
Could not instantiate forked environment with fork url: http://localhost:8545

Context:
- Failed to get block for block number: 6715482
latest block number: 6715471

authors: 0x-r4bbit RonTuretzky adrienthiery lnist mattsse yash-atreya


text:
forge coverge aborts with no explanation

Component
Forge
Have you ensured that all of these are up to date?

[ ] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0 (6c0fce3 2023-07-14T02:45:44.842244000Z)
What command(s) is the bug in?
forge coverage
Operating System
macOS (Apple Silicon)
Describe the bug
got error:
$ forge coverage
[⠢] Compiling...
[⠔] Compiling 113 files with 0.8.20
[⠒] Solc 0.8.20 finished in 1.23s
Error:
Compiler run failed:
Error: Compiler error (/solidity/libyul/backends/evm/AsmCodeGen.cpp:68):Stack too deep. Try compiling with `--via-ir` (cli) or the equivalent `viaIR: true` (standard JSON) while enabling the optimizer. Otherwise, try removing local variables. When compiling inline assembly: Variable value0 is 1 slot(s) too deep inside the stack. Stack too deep. Try compiling with `--via-ir` (cli) or the equivalent `viaIR: true` (standard JSON) while enabling the optimizer. Otherwise, try removing local variables.

The error message is not helpful.
tried to run with --via-ir (either in command-line or in foundry.toml), but it seemed to be ignored.

Hey! this just means that you hit a stack too deep issue—this is somewhat common sadly and apart from the recommended workarounds in the compiler error we don't have too many ways around it. Let's take this to the foundry support channel so more people can chime in for workarounds!

The question is why foundry doesn't support the "remedy", which is via-ir compilation mode.
We had the same issue with sol-coverage, and found out that their latest version supports the via-ir compilation mode, and the solves the attack too deep problem.

Hey, before opening a new issue: Would it be possible to get more information on which file, contract or even function this happens? This would be amazing as otherwise the only method I know is brute force, which means commenting out the code, removing files, etc.
For new projects, I add the coverage report to the GitHub CI pipeline to make sure we don't run into this in the first place, but everyone has to work with legacy code from time to time.

that would be great to know which one has the issue. +1

that would be great to know which one has the issue. +1

+1

I don't have any optimization setting enabled on my normal "build"
Why don't I get this error when compiling the contracts and I get it when calling coverage?

I don't have any optimization setting enabled on my normal "build" Any idea why I don't get this error when compiling the contracts and I get it when calling coverage?

Hi @HadiEsna
Same here.
Could you find any solution for that?
I too get no problems when compiling or building, but get
Compiler error (/solidity/libyul/backends/evm/AsmCodeGen.cpp:67):Stack too deep. Try compiling with--via-ir(cli) or the equivalentviaIR: true(standard JSON) while enabling the optimizer. Otherwise, try removing local variables. When compiling inline assembly: Variable headStart is 1 slot(s) too deep inside the stack. Stack too deep. Try compiling with--via-ir(cli) or the equivalentviaIR: true (standard JSON) while enabling the optimizer. Otherwise, try removing local variables.
when running
forge coverage --report summary

authors: Evalir HadiEsna Hovooo Valentin-Seehausen drortirosh vasinl124


text:
Forge commands such as forge script & forge verify-contract are not working for chains with smaller block times.

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (0dceb53 2024-07-04T00:18:10.333518000Z)
What command(s) is the bug in?
forge script, forge verify-contract
Operating System
macOS (Apple Silicon)
Describe the bug
When running on chain operations such as forge script with --broadcast flag or running forge verify-contract on chains with smaller block times such as Lightlink (main net: phoenix, test net: pegasus; 1 block created every 0.5 second), produces errors, this was not an issue with previous versions such as forge 0.2.0 (85f25c6 2023-11-08T00:39:13.596331000Z) it works fine.
here is a repo that you can use to replicate: https://github.com/HareemSaad/Lightlink-Issue-Foundry-Bug.git
there is my output for pegasus deployment

this is my output for Sepolia deployment

as you can see pegasus deployment fails at getting receipts and verifying contracts, but Sepolia does not, BUT even though pegasus shows my deployment as failed it still deploys the contract but it does not verify

The issue is that mentioned network eth_getTransactionReceipt returns incorrect responses. cast receipt is also failing for transactions on those networks:
~ cast receipt 0x5bda9ea41560032e6fc3c71105faa33e85e188f02d949952031d55a3b2e85170 --rpc-url https://replicator.phoenix.lightlink.io/rpc/v1
Error:
deserialization error: missing field `effectiveGasPrice` at line 1 column 2544

Context:
- missing field `effectiveGasPrice` at line 1 column 2544

Hey @klkvr  so is there a fix for it?

The issue is that mentioned network eth_getTransactionReceipt returns incorrect responses. cast receipt is also failing for transactions on those networks:
~ cast receipt 0x5bda9ea41560032e6fc3c71105faa33e85e188f02d949952031d55a3b2e85170 --rpc-url https://replicator.phoenix.lightlink.io/rpc/v1
Error:
deserialization error: missing field `effectiveGasPrice` at line 1 column 2544

Context:
- missing field `effectiveGasPrice` at line 1 column 2544

Hey @klkvr so is there a fix for it?

Not on our side, it's the RPC returning an off-spec response so it should be fixed there

authors: DaniPopes HareemSaad klkvr


text:
Heritages inside non-core Compendiums have no Traits according to the sytem.

Reproduction Steps:

Install PF2e Extended
Modify Chosen of Lamashtu feat to search for Bugbear: { "choices": {  "filter": [    "item:ancestry:bugbear"  ],  "itemType": "heritage" }, "flag": "heritage", "key": "ChoiceSet", "prompt": "Choose a Heritage" }
Try and apply the modified feat to a character.
Watch the feat pull up no Heritages.
Import the PF2e Extended Heritages Compendium into the table.
Repeat step 3.
Watch it pull up Heritages from the Imported Material.

Bonus Bug: If none of a Ancestries' Heritages have the Ancestry in the trait bar they are unfindable by trait searching. The second one of them has the Ancestry trait in the trait bar they will all be found.

It doesn't appear you're searching by trait there.

I'm also not able to find "PF2e Extended." Is it a listed module?

I remembered there is a PF2e Expansion Pack and saw it has a bugbear ancestry. The reason why it only works if imported is because the module's heritages have old data, and importing the module's compendiums migrates its contents. There's nothing we can do there except ask the author to update their module.

authors: Teraunce stwlam


text:
Choices from an ActiveEffectLike array don't respect predicates

If you prepare an array with an ActiveEffectLike, and then use that array for the choices in a ChoiceSet, the user will be shown all choices regardless of the predicate set in each choice. This can notably be observed in a conscious mind granted by Psychic Dedication, which later takes Psi Development: the already chosen cantrip is not deducted from the choices.
As a way to reproduce, make a feat with the following rule elements, and note the arbitrary predicates. Regardless, when added to a character, both choices will be offered.
{
  "key": "ActiveEffectLike",
  "mode": "override",
  "path": "flags.pf2e.testArray",
  "priority": 10,
  "value": [
    {
      "label": "Choice A",
      "predicate": [
        "can-choose-A"
      ],
      "value": "choice-a"
    },
    {
      "label": "Choice B",
      "predicate": [
        "can-choose-B"
      ],
      "value": "choice-b"
    }
  ]
}

{
  "choices": "flags.pf2e.testArray",
  "flag": "testChoice",
  "key": "ChoiceSet",
  "rollOption": "test-choice"
}

This looks more like a feature request, not a bug report. Why is the expectation that the choiceset would respect the predicates, rather than the ae-like would only add options that get predicate (such as separate ae-likes per entry that keep adding to the list, each one individually predicated).
I think the choiceset respecting the predicates might be cleaner, I'd like a bit more context about this feature.

To give a bit more context: each conscious mind is defining a list of their respective standard and surface cantrips, predicated on the presence of the Psychic Dedication feat. Then it's used by a Choice Set in two instances: when the feature is added via the Psychic Dedication feat, and also when taking Psi Development later. This is done via AE-likes to avoid having to make multiple Choice Sets for each conscious mind in Psi Development.
As for why not use multiple predicated AElikes, this is the approach I take in #14483, but it was implemented originally by Tikael (#14069) in the way I exemplify in the issue description with the expectation that the predicates in each choice would be respected. I can't speak for him obviously, but it seems like a reasonable expectation to predicate the array in the AELike, whatever that may be, and then have it behave like any old array of Choices you would input manually. I hope that helps explain it a bit!

I can see the value in adding it, I'm more asking if you knew the original context by which choice sets pulling from flags existed in the first place.

Got it, my bad. The only other instance I'm aware of is automaton enhancements, but that's separate AE-Likes adding choices, as opposed to a single one adding predicated choices.

authors: CarlosFdez pedrogrullada


text:
Persistent Boost without rule elements

Based on the damage type from the offensive boost, to apply the same damage as persistent damage I used this RE:
{"damageType":"{actor|flags.pf2e.inventor.offensiveBoost}","diceNumber":1,"dieSize":"d6","key":"DamageDice","label":"Persistent Boost","predicate":[{"or":[{"and":["feature:weapon-innovation","item:id:{actor|flags.pf2e.innovationId}"]},{"and":["feature:armor-innovation","unarmed"]}]}],"selector":"strike-damage","category":"persistent"}

It seems that the selectors have changed from *-weapon-group-attack to *-group-attack-roll. There are several other places where we use this, so I suspect it's a bug.
Current non-working:
"selector": [
	"bow-weapon-group-attack",
	"crossbow-weapon-group-attack"
]

This works:
"selector": [
	"bow-group-attack-roll",
	"crossbow-group-attack-roll"
]

authors: sambomb simonward


text:
Testing triton on 30b model vs quant_cuda

I am actually seeing a ~3x slow down on a medium sized input/output. 60s on triton (nightly) vs 20s (latest qptq-llama cuda branch). About ~240 input tokens and output is the same amount.
Not sure if I am doing something horribly wrong here as it doesn't match or get close to the expected values.

Thank you for the report.  What's the speed like on larger contexts?  GPU?  Measurement method?

Closing this issue since code base has changed since last report.

authors: diegomontoya fpgaminer

repo: fpgaminer/GPTQ-triton