text:
Make phoenix crash detection configurable.

Fixes #807
Summary

Add default['firezone']['phoenix']['crash_detection']['enabled'] to Firezone config.
Add table entry for this new config option in the configuration file doc.

Pull Request Test Coverage Report for Build d45e60d7f1e5ccb55cb470372b0c0a5066d02b29-PR-813

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

Totals

Change from base Build 2423bb7a2a65d1a1cc4be0eb9478ed18551205c8:
0.0%

Covered Lines:
983

Relevant Lines:
1417

💛  - Coveralls

authors: akrousset coveralls


text:
Fix redirect always happening when issuing cert

Supercedes #967

Pull Request Test Coverage Report for Build de1784c2126b59c0feb74d81b0c036bf8d4de094-PR-968

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

Totals

Change from base Build 50845b0edea192d79c1cb7e7a2a6d7d943bad529:
0.0%

Covered Lines:
1063

Relevant Lines:
1569

💛  - Coveralls

source: gharchive/pull-request

authors: coveralls jamilbk

repo: firezone/firezone

license_type: permissive

license_source: github-api


text:
🛑 FirstQuadrant API is down

In 3d8021a, FirstQuadrant API (https://api.firstquadrant.ai/health) was down:

HTTP code: 502
Response time: 1295 ms

Resolved: FirstQuadrant API is back up in 53987cc.

source: gharchive/issue

repo: firstquadrant-ai/status

license: MIT


text:
[QUESTION] Documented communication flow

Hi @fishbigger thx for this project, I started to port it to Node/TS. Is there any reference to the complete flow of communication with the Tapo server?  (handshaking, keys to be passed, etc etc)
Do you reverse engineer it from scratch or there's some documentation available? Thx a lot!

There is no official documentation but K4CZP3R documented the work done on the home assistant forums into the communication protocol of the plug.

authors: fishbigger robertcasanova


text:
Generating docs take and long time

When running dbt docs generate is take over 10 mins to complete and uses lots of CPU resources producing the catalog.
When running with debug turned on the following gets written out:
2019-06-20 16:57:55,546 (MainThread): On "<None>": cache miss for schema "my_project.my_dataset", this is inefficient

along with:
2019-06-20 16:57:56,829 (MainThread): with schema=99439170, model_name=None, relations=[
<BigQueryRelation my_project.my_dataset.`cloudaudit_googleapis_com_data_access_20161114`>,
<BigQueryRelation my_project.my_dataset.`cloudaudit_googleapis_com_data_access_20161115`>
.....

which is a date sharded table containing hundreds of shards.
The interesting thing is the cloudaudit_googleapis_com_data_access is the only one in the dataset that is not used or referenced by DBT. In the same dataset there is 2 other date sharded tables containing over a thousand shards, which are referenced as a source in DBT, but they are not printed out
sources:
  - name: google_analytics
    database: my_project
    schema: my_dataset
    loader: ga360
    tables:
      - name: ga_sessions_*
      - name: ga_sessions_intraday_*

Thanks for the report @whittid4 - we'll check it out! My initial thinking:

high cpu usage sounds like an agate problem? I recall this being an issue with seeds, but not sure if that's exactly what's happening here
we're probably iterating over the individual date shards, which is probably undersirable

repo: fishtown-analytics/dbt-docs


text:
SpyThrottle: npm package update

Please, update npm package from master for spyThrottle usage.
Thank you!

Hey @fisshy thanks for this. I'll check out the new version on npm. My issue was that both the types.ts and the runtime didn't have the spyThrottle method exposed for some reason, even though the docs on npm and the master version had it.

Hey @fisshy I'm experiencing the same issue - missing spyThrottle in the ts module, I did install the latest (v1.8.3)
Any workaround for this?

@sarithgunathilaka I can't see why it shouldn't be there, could you provide a codepen/plunkr to demonstrate the issue?

I think spyThrottle is missing from the types definition at https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-scroll

The type definition for spyThrottle has been added to DefinitelyTyped.
I think, You need to upgrade the version of @types/react-scroll to 1.8.7.

authors: GabrielCTroia HannaBabrouskaya fisshy franciscohanna92 hyeewooon sarithgunathilaka

repo: fisshy/react-scroll

license: mit

license_source: bigquery


text:
Fixes missing semicolon

This was causing some problems for our code validators :)

Thanks, merged :)

authors: fisshy therippa


text:
update field descriptions

PR Overview
This PR will address the following Issue/Feature:
https://github.com/fivetran/dbt_app_reporting/issues/18
This PR will result in the following new package version: v0.3.1

Updates the description for field source_type to reduce the number of characters. As such this is not a breaking change.
Please detail what change(s) this PR introduces and any additional information that should be known during the review of this PR:
See above
PR Checklist
Basic Validation
Please acknowledge that you have successfully performed the following commands locally:

[x] dbt compile
[x] dbt run –full-refresh
[x] dbt run
[x] dbt test
[x] dbt run –vars (if applicable)

Before marking this PR as "ready for review" the following have been applied:

[x] The appropriate issue has been linked and tagged
[x] You are assigned to the corresponding issue and this PR
[x] BuildKite integration tests are passing

Detailed Validation
Please acknowledge that the following validation checks have been performed prior to marking this PR as "ready for review":

[x] You have validated these changes and assure this PR will address the respective Issue/Feature.
[x] You are reasonably confident these changes will not impact any other components of this package or any dependent packages.
[x] You have provided details below around the validation steps performed to gain confidence in these changes.

View new docs
Standard Updates
Please acknowledge that your PR contains the following standard updates:

Package versioning has been appropriately indexed in the following locations:

[x] indexed within dbt_project.yml
[x] indexed within integration_tests/dbt_project.yml

[x] CHANGELOG has individual entries for each respective change in this PR

[n/a] README updates have been applied (if applicable)

[n/a] DECISIONLOG updates have been updated (if applicable)
[x] Appropriate yml documentation has been added (if applicable)

dbt Docs
Please acknowledge that after the above were all completed the below were applied to your branch:

[ not yet] docs were regenerated (unless this PR does not include any code or yml updates)

If you had to summarize this PR in an emoji, which would it be?

:dancer:

[ ] dbt docs after review is completed


text:
Fix broken link in Shopify transform package README

Fixes a broken link in the Shopify transform package README, as noted in Slack. The rest of the README's URLs are functional.

Backend change was needed in order for the integration tests to pass. Once that was updated I was able to see success. LGTM!

Thank you!


text:
Please improve error reporting with 'validate.py'

When running validate.py against a non-existing configuration file, the following output is returned:
./validate.py --ignore-input-output --software bulk-config2.json
Traceback (most recent call last):
  File "./validate.py", line 41, in <module>
    args = vars(parser.parse_args(sys.argv[1:]))
  File "/usr/lib64/python2.7/argparse.py", line 1705, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/usr/lib64/python2.7/argparse.py", line 1737, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/usr/lib64/python2.7/argparse.py", line 1946, in _parse_known_args
    stop_index = consume_positionals(start_index)
  File "/usr/lib64/python2.7/argparse.py", line 1902, in consume_positionals
    take_action(action, args)
  File "/usr/lib64/python2.7/argparse.py", line 1795, in take_action
    argument_values = self._get_values(action, argument_strings)
  File "/usr/lib64/python2.7/argparse.py", line 2235, in _get_values
    value = self._get_value(action, arg_string)
  File "/usr/lib64/python2.7/argparse.py", line 2264, in _get_value
    result = type_func(arg_string)
IOError: [Errno 2] No such file or directory: 'bulk-config2.json'

It would be great if this IOError could be properly trapped so the script returns more descriptive output.
./validate.py --ignore-input-output --software bulk-config2.json
***ERROR***
Missing configuration file: bulk-config2.json

Thank you for your feedback! this seems to be an improvement rather than a bug. I am really tied up with other work. I wonder that would you like to contribute to this as a contributor? That would be awesome!

authors: fl-yu rmarable


text:
soc-current/soc_power are inverted

I would expect during discharge that the current and power would be negative (e.g, -3.5) and during charging they would be positive.  But here they are reversed..
When I read the data using the iOS app that is the way they are shown.  And when I read them in my own code (C# serial/rs485), they are correct as well.

This depends on how you define direction of battery current, which is arbitrary.
Here I assume that current flow is positive during discharge, as the technical flow is from bat(+) through the load to bat(-).
Some BMS and Charger use the inverse direction.
I might add an option so you can inverse the direction.

OK.. for now I just went into the source code and removed the "-" in front of the current reading ... That fixes if for me.
All my shunts and devices report it this way (negative during discharge), so its now consistent for me.

OK.. for now I just went into the source code and removed the "-" in front of the current reading ... That fixes if for me.
All my shunts and devices report it this way (negative during discharge), so its now consistent for me.

OK.. for now I just went into the source code and removed the "-" in front of the current reading ... That fixes if for me.
All my shunts and devices report it this way (negative during discharge), so its now consistent for me.

I've just pushed version 0.0.37 which adds an option to invert the current


text:
Added support for output power management protocol

This adds support for output-power-management-protocol-v1 so that the clients can sue it to turn off/on outputs.

Nice, thanks!

authors: anriha flacjacket

repo: flacjacket/pywlroots

license: NCSA


text:
docs: Added contributors list

Description

There were no contributors shown directly in the documentation
Updated contributors list in the documentation : )
This is a showcase
It is not breaking anything!

Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[x] I have followed the Contributor Guide when preparing my PR.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[x] I have updated/added relevant examples in examples or docs.

Breaking Change?
No
Migration instructions

[ ] Yes, this PR is a breaking change.
[x] No, this PR is not a breaking change.

Contributors are already shown. It's part of the default layout of github. Why duplicate it?  Furthermore, why use a third party tool that links to an outside source that could go offline?

We've already had a PR for this that has been closed, please search through the PRs before opening new ones. :)

Hey I only have tried to improve the documentation.
I thought it would look great but it didn't!
And I had not contributed for spamming purposes. If you don't like it, simply don't merge this. But don't label it as spam!
And Thanks for your reviews and suggestions : )

Hey I only have tried to improve the documentation.
I thought it would look great but it didn't!
And I had not contributed for spamming purposes. If you don't like it, simply don't merge this. But don't label it as spam!
And Thanks for your reviews and suggestions : )

We had no issues posted for a change like this and we have already closed both an issue and PR regarding that change, so if you would have just done a quick search before you posted it you would have known it wouldn't be accepted and not have taken time from our already strained maintainers.
I also had a look at your profile and you had put up several PRs to repositories that clearly break the rules of Hacktoberfest (which has all been reported now) and also PRs that hadn't even read through the PRs template (which clearly stated that an issue should be created first), this made it even clearer to me that this deserved to get the spam label. My suggestion for you is that you read through the rules for the next years Hacktoberfest so that you can be an asset to the open source community, instead of a roadblock.

authors: atulyakhatri munsterlander spydon

repo: flame-engine/flame


text:
Try to build zero dependency executiable

See link for details
https://steveperkins.com/using-java-9-modularization-to-ship-zero-dependency-native-apps/

This could be worth looking into: https://github.com/moditect/moditect#vertx, although I'm not sure if it's a priority to create modular runtime image :D

I'd wait a little bit. Better to spend time on  functionality

authors: leogomes nbogojevic

repo: flamegrapher/flamegrapher


text:
rename project

ideas so far:
juntossi

haha thats a good name! I bought a temporary domain that Im playing with called qtzl.app. I had to buy one to start playing with it. idk if i can rename it

Love the name!


text:
[connect4] catch message edit errors

Catches when the connect4 message gets deleted/bot loses perms to speak in that channel. Also casts data tracking to a string and uses start_adding_reactions so that the game can begin before all reactions are added.

Thanks for the Pr ❤

repo: flaree/Flare-Cogs


text:
Move mergemock-integration to separate bash script

📝 Summary
This moves the mergemock integration tests to a separate bash script. This script will properly wait for each step to finish initializing before starting the next. The mergemock environment variables should still work as expected.
⛱ Motivation and Context
Fixes #192. I also like doing stuff.

✅ I have run these commands

[x] make lint
[x] make test
[x] make run-mergemock-integration
[x] go mod tidy

Codecov Report

Merging #193 (e6e73fb) into main (3721723) will decrease coverage by 2.37%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #193      +/-   ##
==========================================
- Coverage   73.41%   71.03%   -2.38%
==========================================
  Files           6        6
  Lines         598      618      +20
==========================================
  Hits          439      439
- Misses        134      151      +17
- Partials       25       28       +3

Flag
Coverage Δ

unittests
71.03% <ø> (-2.38%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

server/utils.go
61.22% <0.00%> (-4.74%)
:arrow_down:

server/service.go
80.20% <0.00%> (-2.16%)
:arrow_down:

cmd/mev-boost/main.go
4.87% <0.00%> (-0.61%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3721723...e6e73fb. Read the comment docs.

Okay. This is ready for review now.

that's great, thanks a lot!

authors: codecov-commenter jtraglia metachris

repo: flashbots/mev-boost


text:
Flashblocks BlockBuildingAlgorithm

A new BlockBuildingAlgorithm implementation is required for Flashblocks.
The idea is a timing config can be specified with the millis since last block it should "checkpoint". Checkpointing means to cache the orders at that point in time, and always use those orders as the head of the block when suggesting future blocks.
e.g. timings set to [250, 500, 750, 950] should result in:

While building block N

Between 0 - 250ms since block N-1, build_blocks produces and returns empty blocks
The first build_blocks call 250 - 500ms since block N-1 produces, caches, and returns f1 (Flashblock 1) using the existing simple gas price ordering algorithm.
Subsequent build_blocks calls 250 - 500ms since block N-1 returns f1.
The first build_blocks call 500 - 750ms since block N-1 produces, caches, and returns f2 (Flashblock 2) using the existing simple gas price ordering algorithm.
Subsequent build_blocks calls 500 - 750ms since block N-1 returns f2.
The first build_blocks call 750 - 900ms since block N-1 produces, caches, and returns f3 (Flashblock 3) using the existing simple gas price ordering algorithm.
Subsequent build_blocks calls 750 - 950ms since block N-1 returns f3.
The first build_blocks call 900 - ∞ms since block N-1 produces, caches, and returns f4 (Flashblock 4) using the existing simple gas price ordering algorithm.
Subsequent build_blocks calls 950 - ∞ms since block N-1 returns f4.

Notes

It should probably be a wrapper around an existing BlockBuildingAlgorithm implementation, like one that simply orders by gas price.
Flexible Flashblock counts and intervals per block

Hi had some questions about these steps, wanted to give some scenarios and clarify my undestanding.

Between 0 - 250ms since block N-1, build_blocks produces and returns empty blocks

So the very first time build_blocks is called will fall into this bucket?
Also does returns empty blocks refer to build_block, which returns Result<Box<dyn BlockBuildingHelper>>, instead of build_blocks, which has no return value?  Is the intention to eventually call input.sink.new_block?

The first build_blocks call 250 - 500ms since block N-1 produces, caches, and returns f1 (Flashblock 1) using the existing simple gas price ordering algorithm.

Say another call to build_blocks happens at 251 ms, so it falls into this bucket. We can call OrderingBuildingAlgorithm::build_blocks, which will end up calling input.sink.new_block?  We cache f1 by caching the BlockBuildingHelperFromProvider that was created.

Subsequent build_blocks calls 250 - 500ms since block N-1 returns f1.

Another call to build_blocks happens at 252 ms, so it falls into this bucket. It saves these SimulatedOrders for later. Not sure how to return f1 as noted earlier.

The first build_blocks call 500 - 750ms since block N-1 produces, caches, and returns f2 (Flashblock 2) using the existing simple gas price ordering algorithm.

Another call to build_blocks happens at 501 ms, so it falls into this bucket.  We add SimulatedOrders from the prior build_blocks call at 252ms to this current call's SimulatedOrders, and call OrderingBuildingAlgorithm::build_blocks.

Subsequent build_blocks calls 500 - 750ms since block N-1 returns f2.

Another call to build_blocks happens at 502 ms, so it falls into this bucket. It saves these SimulatedOrders for later. What happens if this is the last call to build_blocks, are these SimulatedOrders never submitted? Or are we guanteed a final build_blocks call post 950ms?
Thanks!

authors: liamaharon minnoise

repo: flashbots/rbuilder


text:
How to limit post value length？

like this
parser.add_argument('username', type=str, required=True,length=(1,64))

Keep in mind the type parameter is a callable that takes one parameter.  Use a function that checks whatever it needs to and raises ValueError with an appropriate message when the value isn't suitable.

authors: freddrake woshihaoren

repo: flask-restful/flask-restful


text:
[RFE] Support Secure Boot

Current situation
Flatcar currently does not support Secure Boot. We use a really old fork of shim and grub, and our artifacts are not signed in a way that works on machines with official UEFI CA keys.
Impact
Users can't run UEFI with Secure Boot enabled. This doesn't only affect bare metal installs but also some VMs (e.g. Azure Trusted Launch https://azure.microsoft.com/en-us/blog/announcing-preview-of-azure-trusted-launch-for-virtual-machines/).
Ideal future situation
Flatcar images contain EFI boot firmware signed with official UEFI CA keys, which make them compatible with Secure Boot on default provisioned UEFI firmware.
Implementation options
We still have https://github.com/kinvolk/flatcar-scripts/blob/main/image_inject_bootchain around. Our grub and kernel binaries are signed for secure boot but only with a dev key. We'll need to:

upgrade grub (with our patches - I believe most are obsolete)
upgrade shim
set up signing infrastructure with an offline CA key, and an online signing key
follow https://github.com/rhboot/shim-review to get a shim binary with our CA certificate signed
set up a pipeline to sign grub and kernel and inject them into release artifacts

Additional information
[ Please Add any information that does not fit into any of the above sections here ]

I think we also need to change the way we use the grub.cfg config file on the OEM partition to read in variables. Maybe we can reduce this to a OEM file that we parse for some OEM ID and inside the trusted GRUB configuration then check against this value to set the desired variables.

Hello! I am trying to install flatcar linux on my home PC. I am getting a "Secure Boot Violation: Invalid signature detected. Check Secure Boot Policy in Setup", after using the flatcar-install to install on the hard disk. Is this because I flatcar does not support secure boot?

@saulshanabrook
Correct, secure Boot is not supported (our EFI binaries are not signed).

I am correct in assuming that this PR along with some CA/signing infra changes you pointed out would resolve this issue?

Yes. The real work will be the CA/signing infra to get our shim trusted by the official UEFI CA.

Will secure boot support come after Flatcar finishes its ideal implementation of systemd-boot? I only just got a grasp on how secure boot works today (PK, KEK, db, dbx) and a small glimpse of what seems like a stringent process of approval. I would think at least the bootloader situation (shim -> systemd-boot) should be pretty well cemented before working through the mainstream UEFI signature approval process.
Resources:
https://techcommunity.microsoft.com/blog/hardwaredevcenter/updated-uefi-signing-requirements/1062916
https://github.com/rhboot/shim/wiki/reviewer-guidelines
There is no rush. I’m just trying to get a gauge of how prioritized this is. I’m hoping Flatcar becomes what I use for a lot, but without secure boot I’m leaning towards using other operating systems on bare metal and Flatcar in VMs which is okay, just I would love to manage an immutable fleet of Flatcar machines running Kubernetes clusters and minimizing downtime with Nebraska. Some people say I don’t have to worry about secure boot and that it’s not actually that secure, but I would like to see it because I think it carries some enterprise legitimacy with its signature approval process.
Thank you for all you have contributed so far, and congratulations on being accepted as a CNCF incubating project!

Work for secure boot support is in the end phases, we're going to be submitting the shim (together with our signing process and boot chain) for review in the coming weeks. This is not coupled to switching to systemd-boot, it will be based on the existing grub based boot process.
Here are some PRs if you're interested:

https://github.com/flatcar/shim-review/pull/1
https://github.com/flatcar/scripts/pull/2292 (this one is being split up into individual PRs that are getting merged).

authors: aw042 jepio joshenders pothos saulshanabrook

repo: flatcar/Flatcar


text:
sys-libs/glibc: update to 2.38-r13

Update sys-libs/glibc to 2.38-r13, mainly to address CVEs:

CVE-2024-2961
CVE-2024-33599
CVE-2024-33600
CVE-2024-33601
CVE-2024-33602

Based on Gentoo commit 1df9b3482f2e.
Flatcar changes are based on commit 8d2a98e18578.
Fixes https://github.com/flatcar/Flatcar/issues/1433.
Cherry-pick to Beta flatcar-3940.
Testing done
CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/sdk/1464/cldsv/

[x] Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
[x] Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

CI passed: http://jenkins.infra.kinvolk.io:8080/job/container/job/sdk/1464/cldsv/

cherry-picked to flatcar-3941

repo: flatcar/scripts


text:
App of the day tile papercuts

At narrow sizes the app of the day tiles have a number of issues:

[x] The "App of the Day" header is part of the left column. This means it wraps awkwardly at narrow sizes, even though there's enough space to its right. I'd make the header its own full-width element at mobile width.

[ ] The icon is not vertically centered on the name+summary, which looks especially off with longer summaries:

[ ] The summary needs a little bit of padding from the icon on the right, currently they can almost touch, which looks weird. Perhaps it'd also help to use a smaller font size for the summary here?

The icon is not vertically centered on the name+summary, which looks especially off with longer summaries:

If I'm not misunderstanding this, I've tried it and it made it look weird/broken. As it throws off the balance in that element.

Perhaps it'd also help to use a smaller font size for the summary here?

Done with the latest changes

authors: bertob razzeee

repo: flathub-infra/website


text:
Add basic appdata quality checks

We have new appdata quality guidelines now, some of which could be relatively easily checked in an automated way, including:

Icon fills the entire canvas (no transparent pixels)
Icon is a symbolic (i.e. all non-transparent pixels are the same color)
Name >20 characters
Summary >35 characters
No screenshot captions

That require writing a brand new tool that will be run on the content of the flatpak AFTER the build.

@bertob we should probably mention, that we only want to look at the english strings for now. (I have been thinking about translation in the past days)

3, 4 and 5 are in https://github.com/flathub-infra/flatpak-builder-lint/pull/246. Neither appstream-util or appstreamcli warns on 3 and 4. appstreamcli warns for 5 only in pedantic mode.

The icon checks are in the website moderation board nowadays. I don't think adding them in the linter makes sense, because at most we can raise a warning which is not very useful.
The moderation dashboard can provide a UI for the canvas etc.

authors: bbhtt bertob hfiguiere razzeee

repo: flathub/flatpak-builder-lint


text:
Pre-validation of NWB electrodes location for SI sorters Apps

@magland
Should we include electrodes location data as a pre-validation step for SI-based sorters?
I just encountered an error during job execution due to a NWB file not having valid electrodes location information, this looks like a cheap validation to make and it would be very helpful.
We could have something similar to what already exists for electrical_series_path, but with electrode_table columns as options for location.
@alejoe91 it looks like in SI nwbextractor this info is hardcoded to be fetched from rel_x , rel_y and rel_z columns. Can we make this flexible?

@luiztauffer that's a good idea
In pc-spike-sorting I use x, y, z and then fall back to rel_x, rel_y, rel_z. I agree this should be configurable somehow.
https://github.com/scratchrealm/pc-spike-sorting/blob/1c5250faf5219f056b266436c94fc14fc794a990/kilosort3/NwbRecording.py#L33-L51

authors: luiztauffer magland

repo: flatironinstitute/dendro


text:
Learning Equality Website changes

Made changes to CKEditor per Richard's instruction.
Per Carine's request:

Changed hyperlink on the "about page"
Changed fact and figures/numbers
Changed footer button styles (donate/contact)
Added intro text on the Kolibri Landing page, specifically below the Kolibri Intro
Commented out the donate section on LE main page (under "our impact")

Was the intended change to the "About" redirect supposed to be to this page? Or back to the home page? Currently the about links are taking me to this screenshot

'Jobs' and 'Internships' page have inconsistent data showing (updated parts say 4.3 billion)

@jtamiace think I'm done with changes for now. Will create a quick banner tomorrow as another pull request

authors: jtamiace khangmach

repo: fle-internal/fle-home


text:
Unable to pick up FileBrowserWidget 'selected' event.

How do I actually pick up the file selected event from the browser widget? The code below nicely renders a running filebrowser against my servers file system, and the selected filename and dirname are displayed on  the main webserver stdout , but the reaction below doesn't seem to fire so none of the debug lines get printed.
class FileViewer(ui.FileBrowserWidget):
    @flx.reaction('selected')
    def fileSelected(self,*events):
        print(f'DEBUG: We are in fileSelected reaction')
        ev = events[-1] # only care about last event
        print(f'DEBUG: File {ev.filename} selected in FileViewer')
        try:
            f = open(ev.filename,'r')
            if f.mode == 'r':
                contents = f.read()
                print (f'DEBUG: file content is: {contents}')
        except:
            print(f'ERROR: unable to open file {ev.filename} for reading')
        #now publish the file contents
        self.root.store.set_fileview(contents)

I cannot reproduce this (tried Firefox and Chrome); the reaction is invoked and the debug lines are printed. It only happens when you click a file (not a dir) and the printing happens in the webserver stdout (because it's a PyWidget).

Thanks for looking at this.  I'm using Chrome myself so your test would have covered that. Now I know my method of picking up the event should work I'll get a minimal case working then start adding in the rest of my code until I find what breaks it - I do have  a fair few libraries imported.

Even stripped down to a minimal case with no other stuff loaded this does not work for me, neither on edge or chrome. So why the difference between your tests and mine?
a) Are we testing the same versions? I'm running 0.8 from a pip install not master.
b) Might it be that I'm publishing the webapp on hostname/port not localhost? (longshot but I can't think of anything else).
The minimal example code is:
# imports
from    flexx           import app, event, ui, flx, config

## These two lines are  UNCOMMENTED when I run
#config.hostname = 'myhost'            # publish flexx app on hostname not just localhost
#config.port = 12345                   # serve flexx app on this port

class FileViewer(ui.FileBrowserWidget):
    print(f'DEBUG: Instantiated FileViewer instance')
    @flx.reaction('selected')
    def fileSelected(self,*events):
        print(f'DEBUG: We are in fileSelected reaction')
        ev = events[-1] # only care about last event
        print(f'DEBUG: File {ev.filename} selected in FileViewer')
        try:
            f = open(ev.filename,'r')
            if f.mode == 'r':
                contents = f.read()
                print (f'DEBUG: file content is: {contents}')
        except:
            print(f'ERROR: unable to open file {ev.filename} for reading')

if __name__ == '__main__':
    app = flx.App(FileViewer)
    app.serve('FileViewer')
    flx.start()

When running this no DEBUG messages are printed at all.  Output from the main server app below for a session where:
a) Connection with edge, browse file tree to location and click on file.
b) Connection with chrome browser, browse and click on file.
Sorry there are so many browse operations before finding the file.
(myit) [myit@xxxxxxxx flexx]$ ./filebrowsercase.py
Traceback (most recent call last):
  File "./filebrowsercase.py", line 4, in <module>
    config.hostname = 'ovmdba02.nhbc.ad'  # publish flexx app on hostname not just localhost
NameError: name 'config' is not defined
(myit) [myit@xxxxxxxx flexx]$ ./filebrowsercase.py
[I 17:32:32 flexx.app] Asset store collected 2 new modules.
DEBUG: Instantiated FileViewer instance
[I 17:32:33 flexx.app] Serving apps at http://xxxxxxxx:yyyyyyy
[I 17:32:33 flexx.app] Starting Flexx event loop.
[I 17:32:57 flexx.app] Asset store collected 25 new modules.
[I 17:32:57 flexx.app] New session FileViewer qZ8cXWGGrKXVJcCu5DF7sWPi
/home/ None
/ None
/tmp None
/ None
/app None
/app/autotask None
/app/autotask/myIT None
/app/autotask/myIT/datafix_releases None
/app/autotask/myIT/datafix_releases/CHG0039729.57.CTASK0059649 None
/app/autotask/myIT/datafix_releases/CHG0038870.112.CTASK0059588 /app/autotask/myIT/datafix_releases/CHG0039729.57.CTASK0059649/table_comments.sql
[I 17:37:21 flexx.app] New session FileViewer gxzxdOuoVcTSLppOG4wUyM5A
/home/ None
/ None
/app None
/app/autotask None
/app/autotask/myIT None
/app/autotask/myIT/datafix_releases None
/app/autotask/myIT/datafix_releases/CHG0038870.115.CTASK0060835 None
/app/autotask/myIT/datafix_releases/CHG0038870.112.CTASK0059588 /app/autotask/myIT/datafix_releases/CHG0038870.115.CTASK0060835/fieioa_upd.sql

Further testing seems to show that the 'selected' event is emitted by our file browser but  only where the file is located in the directory our file browser is initially rooted ( i.e. by default the home directory for the user running the parent server session or, if it is set, the 'path' attribute of the fileviewer)
If we browse to any other directory from that originally displayed, although the files are visible and selectable, no 'selected' event is emitted upon their selection. Is this expected behaviour?
N.B. For my current usage this isn't what I intended but is actually very useful behaviour from a security aspect. For other purposes it isn't going to work at all.

authors: almarklein gwingnhbc

repo: flexxui/flexx


text:
EDM-648: Add validationSuffix for HTTP repositories

Adds a validationSuffix to HTTP repos
Adds a new repotester type
Refactoring of libraries

It requires to write tests for the repotester file, but I can do it in a follow up so we can get this into 0.3.0

@celdrake this will require to add a new field to the http repo structure

repo: flightctl/flightctl


text:
Don't preventDefault/stopPropagation by default

imho it's best to let the user decide when to preventDefault and stopPropagation

I think I agree. It seems a little unexpected that adding a call to proxy on a component would stop those events from bubbling. I can see that being a weird one to debug.
Similarly, with preventDefault. Would you expect, say a checkbox, to not check/uncheck simply because a proxy event has been attached to it?

authors: ahume giuseppeg

repo: flightjs/flight-with-event-proxy


text:
Proposal of compact syntax for Flight::route

This is an alternative of Resource controllers, for people like me that name routes in spanish but controllers in english (for cohesion)
Flight::route(
  '/users',
  UsersController::class,
  [
    'GET /' => 'list',
    'POST /' => 'handleRegister',
    // ...rest of definitions
  ]
);

Technically it seems like Flight::group, but it's for one controller

I like where you're going with this. I'm not sure if an array is the best way to assign the methods, or if those methods should be automatically assumed.....or maybe both? If you assign them it will follow how you assign them, but if you don't it will assume a standard. And maybe you could override just one of the methods if you wanted?
Just thinking out loud.

If you only assign 3 methods with their respective controller methods, the rest could be assumed but only if those methods are defined in the controller

If you only assign 3 methods with their respective controller methods, the rest could be assumed but only if those methods are defined in the controller

So suppose I define to /id/editar in Spanish, the edit method and then not finding that you have defined a PUT|PATCH /id/edit I would add an /id/edit to the edit method, but only if it exists and has not been defined

I think the use case is pretty good and the API is pretty easy to master.
You have an api in Spanish, and you only need the GET / and the POST / mapped to listAll and handleSave
Flight will see that there is no POST / definition to the store method, but since it is not defined it does not add it
Using a resource controller would be as simple as
Flight::route('/users', UserController::class);

// UserController.php
class UserController {
  function __construct(MyDependency $dep) {}

  function index(): void {}
  function show(string $id): void {}
  function create():  void {}
  function store(): void {}
  function edit(string $id): void {}
  function update(string $id): void {}
  function delete(string $id): void {}
}

I can get behind that. If you just define a controller then it will add those 7 routes by default.

Here is another example of the requested behavior
Flight::route('/posts', PostController::class);

class PostController {
  static function index(): void {}
  static function show(string $id): void {}
}

Flight will define the following routes:
[
  'GET /' => 'PostController::index',
  'GET /@id' => 'PostController::show'
]

Hi,
maybe i late to the party, however would be better to use
Flight::resource('/posts', PostController::class);

Like Laravel and CI4 does. ;)

You may be late, but just in time 😊. Still haven’t made any formal decisions about what to call it. Resource definitely makes sense and is more explicit than just “knowing” that you could assign resources as another parameter. Still thinking about it 🤔

Hi,
maybe i am late to the party, however would be better to use
Flight::resource('/posts', PostController::class);

Like Laravel and CI4 does. ;)

yeah, but what if you don't want to use the naming conventions for controller methods (index, store, etc...) the idea is customize names in route mapping

Hi @fadrian06 ,
above you only show the case for traditional  CRUD ( with all verbs),
Not the solution for customization.
For example, if you dont implement the edit or show CRUD, you can add a exception like Laravel or CI4 do.
CI4 :
routes->resource('photos', ['only' => ['index', 'update', 'delete']]);

// Or

$routes->resource('photos', ['except' => 'new, edit']);

the customs routes should be created as normal.
Nowadays for flexible router, if you are using a class (for controller) and PHP 8+,
Any router library or Framework have to implement options to use PHP attributes for routes definitions and even to define the path of template / view.
With this you dont have to manage files where the routes are defined ( this is way symfony works) and it is all in the class / controller.
For simple projects or  Web API,  this lib does what is necessary, and above solution also would be enough for your case. ;)

repo: flightphp/core


text:
NES: Source Links Broken

For a good chunk of the NES article's source links, they either link incorrectly, or the linked page seems to be down at the moment.

Every NESDev wiki link other then the ones for PPU nametables, PPU attribute tables, and PPU OAM (which all work fine) seem to be trying to link to an old page revision for each that doesn't exist(?). Removing the "&oldid=xxxx" from the URL has the page load up proper. Since a majority of the links used in the sources area of the page are from the NESDev wiki, you can see how that presents a problem.

Out of your control but worth mentioning:

Visual6502, their MySQL instance seems to be having a fun time.
The NES Cart Database links both time out on connection for me currently.

Thanks for the heads up. I added the NESDev wiki links with the oldid= parameter so they can show which revision in particular I'm basing the information on (as the wiki can change anytime). It seems NESDev doesn't store old revisions, so the the article's links don't work anymore. I'll just have to run the archiver on each one I guess.

authors: LunaDook flipacholas

repo: flipacholas/Architecture-of-consoles


text:
Not receiving activesupport notifications under 1.3.1

We upgraded from 1.1.2 to 1.3.1 and found that we no longer get activesupport notifications with this line in an initializer:
ActiveSupport::Notifications.subscribe("feature_operation.flipper") do
   # block was being called in 1.1.2 but not in 1.3.1
end

What might have changed?

It's probably because of test_help.rb in https://github.com/flippercloud/flipper/blob/main/lib/flipper/test_help.rb. It doesn't pass any options for the instrumenter (usually active support notifications by default if you're using rails) and it defaults to a "noop" instrumenter, which I believe doesn't do anything?
It would be nice if it was possible to have it respect the instrumenter in the test help

authors: iftheshoefritz thomas-tz

repo: flippercloud/flipper


text:
Admob Pro License

Hi Sir,
I want to buy Admob Pro License
Can you help me to implement the interstitial ads on navigation menu

The license fee only cover the usage of this plugin for commercial.
Please read the documentation and example code to learn how to use it, if any question, you can ask here.

I only have basic html skills
my apps are based on simple html only, only article as a content
If you can help me to implement the interstitial ads on navigation menu in index.html, I'll buy the license
I'll sent my index.html later

@wahyuxo to my understanding, an app needs some logic, even very basic. I guess you need learn some javascript to make it an app.

I use cordova to make app and I have the complete and working html5 template (include jquery.mobile and other javascript), I've tested it with admob_simple.js and the banner and interstitial appeared in my app, but the interstitial appear a few second after the app opened, and it break the admob rules.
The interstitial should be appeared in the transtition page before the next page appeared.
I want to call the interstitial to appear in the transatition page between index.html and the next page
I hope you understand it and can help me
thanks

Okay, now I understand.
I can check if I can help if you can send me (rjfun.mobile at gmail dot com):
1, your index.html file;
2, your ad unit id (created in your admob portal)

I've sent you my index and ad unit via email (grapmarbel at yahoo dot com)
Title : "Wahyuxo Interstitial Github + ( Index Template File )"
I hope you can help me
thanks

I did received your email and downloaded your files from dropbox, but unfortunately, when open it in browser, it does not work properly and always show error loading page. Sorry, I have no time to debug your app, you need resolve it.

You should remove cordova.js in the folder before to try it in the browser, because cordova.js will be loaded first before the index.html opened
I forget to remove the cordova.js from the folder
I've sent you a new file without cordova.js, you should be able to open it properly
I hope you can help me
thanks

Yes, when I remove the following things to get it loaded in broswer.
		<script type="text/javascript" charset="utf-8" src="cordova.js"></script>
		<script type="text/javascript" src="admob_simple.js"></script>

I can see clickable items in the browser, but when I click the items, it always shows Error Loading Page.

Oks I see the problem,
You should open the file in Mozilla browser
I've tried to open it in Opera and the button always shows Error Loading Page
But, I have some applications from this template and run smoothly in my android devices.

authors: floatinghotpot wahyuxo

repo: floatinghotpot/cordova-admob-pro


text:
crash with model body-pix-float-050-8.tflite

System: Fedora 36
Backscrub: version heads/main-0-g4f70bc1 (Tensorflow: build tags/v2.8.0-0-g3f878cff5b6, run-time 2.8.0)
opencv 4.5.5
Launching backscrub with:
backscrub -c /devvideo0 -v /dev/video3 -m body-pix-float-050-8.tflite

crash at libbackscrub.cc line 368
	cv::resize(ctx.ofinal(ctx.in_roidim),tmpbuf,ctx.mroi.size());

ctx.ofinal has a size of 33x33 and ctx.in_roidim 257x257
Modify the code to
	ctx.ofinal.copyTo(tmpbuf);
        cv::resize(tmpbuf,tmpbuf,ctx.mroi.size());

solve the problem partially. Of course, the result is not very nice.
(With the arguments -d -d there is a crash again).

The -d increases the debug level. Thus if you see the crash with the more verbose code paths this indicates that you're still hitting some invalid states that just are hidden on low verbosity.

The effect of the debug level is known.
The primary problem is the call cv::resize(ctx.ofinal(ctx.in_roidim),tmpbuf,ctx.mroi.size());.
As far I understood the code, ctx.ofinal(ctx.in_roidim) implies scaling (here) or cropping.  The call within cv::resize don't always work. I had a similar issue while trying to crop the input image in order to not have the video output stretched.

As we have now identifed here: https://github.com/floe/backscrub/pull/153#discussion_r967831025 this is a result of the output stride inherent in the model, that our existing design takes no account of.

For the body-pix segmentation we have an output size 33x33 and with my modifications I don't have seen differences between the original and the modified code (if I except crashes, which are no more present).

authors: BenBE jjsarton phlash

repo: floe/backscrub


text:
Camera + Detect edits

Description
Addition of resolution selection to CAMERA.
Move YOLOV3 check/download to OBJECT_DETECTION node from bash script.

[x] I've included a concise description of what each node does

Styleguide

[x] My node adheres to the styleguide for Flojoy nodes

Docs

[x] I've submitted a PR for a documentation page for the new node(s) that contains usage examples (see docs.flojoy.io)

@dstrande Could you please update the docstring to align with Styleguide as you modified these nodes? Everything else LGTM

@smahmed776 let me know how it looks now then I'll deal with the nodes conflicts.

@smahmed776 good to merge

repo: flojoy-io/nodes


text:
node.js is not necessary for building on emscripten

looks like node is coming with the emscripten SDK, the check whether it exists can be removed
from 'fips diag tools'

Fixed for OSX, but must be checked on Linux too.

Nope, it's still required for the emscripten SDK on Linux. Closing this bug

repo: floooh/fips


text:
sokol_args.h: also parse argc/argv in emscripten build

Basically just removed all ifdefs disabling parsing of argc/argv in emscripten build.

Looks good to me, I'll give it a quick whirl and then merge.

And merged. Thanks!

authors: floooh thehink

repo: floooh/sokol

license: Zlib


text:
Add OpenSea Base Mint Ingestor

A PR to add an OpenSea Base Mint Ingestor to the Mobile Minting platform. For Issue #7
How to get the contract address of a Drop (mint collection) on OpenSea:
Example minting page URL: https://opensea.io/collection/parallel-ocs-24-starter-bundle/overview
First, make sure that the Drop is hosted on the Base chain. This is shown on the minting page.
On the minting page, right next to the name, click on the 'more' (three dots) icon.
Among the options, select 'View on Basescan' which will open a new window on Basecan with the contract address.
Please for your perusal @christinehall

Hi 👋
Excited to see this come in 🥳
It looks like the URL → Contract functionality isn't viable here. That's okay (I think @christinehall mentioned you chatted) but in that case, can we:

Return false for all supportsUrl calls — this ingestor does not support ingesting by URL
Remove any logic for that callpath (I got a little confused reading it since it then passes a hardcoded contract to the ingest via contract method, which seems wrong?)
Sync the main mobile minting repo to your fork, and merge main → your branch.
Use setCreator on the builder to set the creator properties e.g. here https://github.com/floornfts/mobile-minting/blob/main/src/ingestors/fxhash/index.ts#L51

Cheers!

How is it looking now? I could only add name, and websiteUrl  for setCreator properties to the builder.

Thank you for the update!! 🥳 🙏
We've gotten a little behind on reviewing these, but will be spending some time over the next 48 hours, so look out for some feedback soon! Thank you! 🙏

thank you. please can i make more submissions while you're at it?

Hi 👋
I just tried a basic ingestion locally and it doesn't appear to work for me?

using
yarn run dry-run opensea contract 8453:0x0852af8836a0fbf8dc7a3556b3dd46109d29d0fb

Can you make sure that it works (or let me know what I'm doing wrong)
Ingestion via URL -- I do believe this data is available via API and would like to see both URL & contract support ideally

yes you're right. i was taking the creatorName and creatorWebsite from the external_url property returned from calling baseURI which is an IPFS URL.
i thought it was smart, but the mint you tried to ingest did not provide external_url hence the error.
please allow me some time to get the data via API (https://docs.opensea.io/reference/api-overview) and update the PR accordingly.

hi @chrismaddern
please i have updated the PR to enable mint ingestion via both URL and contract and all tests passed.
the only caveat here is that you'll need to define OPENSEA_API_KEY in .env.
you can obtain an API key using this guide: https://docs.opensea.io/reference/api-keys
thanks!

Hi @mawutory 👋
I added an Opensea API Key, and ran the tests, merged with the latest state of main
  opensea
    ✔ createMintTemplateForUrl: Returns a mint template for a supported URL (692ms)
    ✔ createMintTemplateForContract: Returns a mint template for a supported contract (384ms)
    OpenSeaIngestor-auto
      ✔ supportsUrl: Returns true for a supported URL (132ms)
      ✔ supportsUrl: Returns false for unsupported url (https://opensea.io/collection/)
      ✔ supportsUrl: Returns false for unsupported url (https://notopensea.io/collection/parallel-ocs-24-starter-bundle/overview)
      ✔ supportsContract: Returns true for a supported contract (62ms)
      ✔ supportsContract: Returns false for an unsupported contract (95ms)
Error Simulating: undefined, {"calls":[{"type":"CALL","from":"0x965ef172b303b0bcdc38669df1de3c26bad2db8a","to":"0x7210587dd3df11efb7d6f34f970b32bf30bbc967","value":"0x2631116b55e000","gas":"0x80000000000000c0","gasUsed":"0x5518","input":"0x64869dad0000000000000000000000000cc9601298361e844451a7e35e1d7fcd72750e470000000000000000000000000000000000000000000000000000000000000001","error":"execution reverted"}],"logs":[]}
      1) createMintTemplateForUrl: Returns a mint template for a supported URL
      ✔ createMintForContract: Returns a mint template for a supported contract (406ms)

It looks like the contractParams on the MintInstructions will not correctly simulate. I haven't had a chance to look at why, but if you merge main into this repo, your tests should fail too and you can debug. 🙏

thanks @chrismaddern for the review.
i have merged main into this repo and the tests still do pass for me:

i assume that the address in contractParams: '[address, 1]' shall be replaced with the user (minter) address, no?
according to the ABI, that's the right input format and should work:
{
      "inputs": [
        {
          "internalType": "address",
          "name": "minter",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "quantity",
          "type": "uint256"
        }
      ],
      "name": "mintSeaDrop",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }

@mawutory you will need to add the value:
SIMULATE_DURING_TESTS=true

to your .env file — this will make it run an onchain simulation during tests.
This is in the .env.sample now, but you will have made your copy before that was added! 🙏

@chrismaddern thanks!
please is there a way i could access the user address outside of the mint builder and maybe log it to the console?

@chrismaddern thanks!
please is there a way i could access the user address outside of the mint builder and maybe log it to the console?

Ofcourse.
The code that simulates it is also in this repo and you can see the address used here:
https://github.com/floornfts/mobile-minting/blob/main/src/lib/simulation/simulation.ts#L57

@chrismaddern i know where the issue seems to be coming from.
visibility of mintSeaDrop() on proxy contracts is marked as nonpayable, meaning that sending ether to the contract is handled differently.
i will push the edit in about ~2hrs

@chrismaddern the simulation is successful only if the minter address is the same as the signer or an empty address 0x000... which reverts to the signer address as default.
thus, we cannot mint to a user address.
what happens now?

Thanks @mawutory -- that is indeed a problem. That indicates that this minting method is not compatible with Mobile Minting (at least with the current integration approach)
I'm going to reach out to the Opensea team to see if there's a path forward here.

@chrismaddern is there going to be a reward for the attempt? i am already working on a fix but that would require modifying simulation.ts. so i'm not really sure it's going to get merged.

Closing this for now. Let's focus on getting your Manifold ingestor across the line.
We can revisit merging this (and will still pay the bounty if we do) if we can get Opensea onboard with giving our signers permission.
Will let you know!

authors: chrismaddern mawutory

repo: floornfts/mobile-minting


text:
Searchguard denied indices that has date math name

ES Version: 5.2.2
Search Guard Version: 5.2.2-15
JVM : Java 8
OS: Redhat 7
Nodes: 3 Master, Data nodes and 1 Client node
Search Guard denied this index name: <users-{now/d}> ,
although we have got the name users-* in the sg_roles.yml
When we add this pattern  <users-* it works well.
I think that searchguard checks the index name before elastic evaluate the "real" name.
Elastic Date Math:
https://www.elastic.co/guide/en/elasticsearch/reference/current/date-math-index-names.html#date-math-index-names

Do you have an existing index where <users-{now/d}> should match? I can reproduce it only if there is no such index.

may be a related question, how could we use regex (exclude '*') in indices within sg_roles.yml, like '\d', for example:
role_application_bteye_ddB4kBOJFO8rsgUy:
  cluster:
  - indices:admin/get/my_index_\d{1}\d{2}
  - CLUSTER_COMPOSITE_OPS
  indices:
    my_index_\d{1}\d{2}:
      '*':
      - READ

is above example ok?

Fixed with v16 (released today)

@Zuckonit thats not related, pls. ask your question here https://groups.google.com/forum/#!forum/search-guard

authors: Zuckonit floragunncom netanel246

repo: floragunncom/search-guard


text:
Some blocks have no 'has_children' key in _data

See line 101 in block.py (return self._data["has_children"])

Page data from the API has no has_children property. 7f7a6f4c339faa2465e78d158469bef45e1eddf3 now shows this to the user and offers a method to turn Page objects into ChildPage objects which include the property.

repo: floscha/pythonic-notion-sdk


text:
Supporting pyglet renderer in Aimsun

required changes:

[ ] replace traci calls with generic kernel calls in the renderer
[ ] add required vehicle methods (e.g. get_timedetla, etc...)

@AboudyKreidieh The renderer does not invoke kernel in any way. In fact, all it requires are several lists and params. If you can specify how to add required vehicle methods, I can help with this one.

we need to abstract any calls to traci_connection to kernel calls, so that similar methods can be implemented with aimsun. Then we will have to implement them in aimsun and see if it works

Might be overreaching. Closing this until we actually want it.

repo: flow-project/flow


text:
Running td-agent on ec2 instance

Problem
I am unable to run td-agent service on my ec2 instance to read logs from my containers and push them to cloud watch.
I have already posted the issue with aws support, but doesn't worked for me.
Problem is when I am editing the td-agent. Conf file according to my requirements I couldn't able to restart the service.
Sorry to say but i cant share logs and journalctl -xe output.
I have tried through many links and official documentation as well.
Can anyone suggest some other useful links, will be helpful.
Thanks
...
Steps to replicate
Provide example config and message
Expected Behavior or What you need to ask
...
Using Fluentd and CloudWatchLogs plugin versions

OS version
Bare Metal or within Docker or Kubernetes or others?
Fluentd v0.12 or v0.14/v1.0

paste result of fluentd --version or td-agent --version

Dependent gem versions

paste boot log of fluentd or td-agent
paste result of fluent-gem list, td-agent-gem list or your Gemfile.lock

Incomplete and no response issue.
Closing.


text:
bug: Kafka Cluster Filter CR has a missing brace.

Describe the issue
When Kafka output plugin is enabled in fluentd via values.yaml, fluentd is throwing error that the corresponding Filter for kafka does not have a valid expression/value .
To Reproduce
Enable Kafka using values.yaml.
fluentd:
output:
kafka:
enable: true
brokers: "cloudflow-strimzi-kafka-bootstrap.cloudflow.svc:9092"
topicKey: app
defaultTopic: app
useEventTime: true
Check the fluentd-0 logs. Throws ruby issue for the missing brace in ClusterFilter.
kubectl edit clusterfilters.fluentd.fluent.io fluentd-filter
value: ${record["kubernetes"]["namespace_name"]
Expected behavior
The filter expression should be valid  as below
value: ${record["kubernetes"]["namespace_name"]}
fluentd should be running without errors and forward logs successfully to kafka endpoint
Your Environment
- Fluent Operator version: v1.6.1
- Container Runtime:
NAME="Red Hat Enterprise Linux"
VERSION="8.4 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.4"
- Operating system: Kubernetes 1.27
- Kernel version: 4.18.0-305.el8.x86_64

How did you install fluent operator?
helm install fluent-operator https://github.com/fluent/fluent-operator/releases/download/v1.6.1/fluent-operator.tgz -f values_updated.yaml
Additional context
No response

Kindly update on this as this issue is seen even in latest version

repo: fluent/fluent-operator


text:
fluentd-kubernetes-daemonset with alpine-graylog crashes on startup

After closing the match section in docker-image/v0.12/alpine-graylog/conf/fluent.conf i created a image and applied a yaml based on fluentd-daemonset-papertrail.yaml. The pod loads but crashes directly after start with
2018-05-11 14:03:26 +0000 [info]: reading config file path="/fluentd/etc/fluent.conf" 2018-05-11 14:03:26 +0000 [info]: starting fluentd-0.12.33 2018-05-11 14:03:26 +0000 [info]: gem 'fluent-plugin-gelf-hs' version '1.0.6' 2018-05-11 14:03:26 +0000 [info]: gem 'fluent-plugin-kubernetes_metadata_filter' version '1.0.2' 2018-05-11 14:03:26 +0000 [info]: gem 'fluent-plugin-record-reformer' version '0.9.1' 2018-05-11 14:03:26 +0000 [info]: gem 'fluent-plugin-secure-forward' version '0.4.5' 2018-05-11 14:03:26 +0000 [info]: gem 'fluentd' version '0.12.33' 2018-05-11 14:03:26 +0000 [info]: adding match pattern="fluent.**" type="null" 2018-05-11 14:03:26 +0000 [info]: adding filter pattern="kubernetes.**" type="kubernetes_metadata" 2018-05-11 14:03:27 +0000 [info]: adding match pattern="**" type="gelf" /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- gelf (LoadError)
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' 	from /fluentd/vendor/bundle/ruby/2.3.0/gems/fluent-plugin-gelf-hs-1.0.6/lib/fluent/plugin/out_gelf.rb:11:in class:GELFOutput'
from /fluentd/vendor/bundle/ruby/2.3.0/gems/fluent-plugin-gelf-hs-1.0.6/lib/fluent/plugin/out_gelf.rb:3:in <module:Fluent>' 	from /fluentd/vendor/bundle/ruby/2.3.0/gems/fluent-plugin-gelf-hs-1.0.6/lib/fluent/plugin/out_gelf.rb:1:in <top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' 	from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /fluentd/vendor/bundle/ruby/2.3.0/gems/fluentd-0.12.33/lib/fluent/plugin.rb:172:in block in try_load_plugin'
I did not change anything else than the fluent.conf.

I'm facing the same problem today. Have been looking into it too but I'm not very familiar with Ruby.

Hi,
I fix this in #144

authors: adamp524 astmuc tchelovilar

repo: fluent/fluentd-kubernetes-daemonset


text:
v1.13.2

Which issue(s) this PR fixes:
Fixes #
What this PR does / why we need it:
prepare changelogs for next release.
Docs Changes:
https://github.com/fluent/fluentd-website/tree/master/content/blog/
should be updated later.
Release Note:
N/A

Added #3451 and #3315

The release date should be determined.

Added recent #3450, #3390.

#3390 was merged, rebase and ship it.

v1.13.2 was pushed to rubygems!

repo: fluent/fluentd


text:
Please add title replacement for describe functions

There is an open PR for this. Would be excellent to have this. Please ship. Thanks!!!
https://github.com/fluentsoftware/data-driven/pull/3

:+1: for this fix

and context, too, please!  Thank you for the library!

authors: elliotf grawk jlutzhbo

repo: fluentsoftware/data-driven


text:
refactor: remove deprecated code in file utils

Ⅰ. Describe what this PR does
refactor: remove deprecated code in file utils
Ⅱ. Does this pull request fix one issue?

NONE
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/test fluid-e2e

authors: TrafalgarZZZ cheyang

repo: fluid-cloudnative/fluid


text:
Live streaming  buffer problem

Hello,
I'm using Nimble HLS streaming with chunk duration and count of  6 seconds,
when the streaming start it buffer some seconds, but this buffer became less and less and after some time , the buffer is very small and the stream experience continuous stops and start....
As I can see is a player issue and not a server configuration.
How to solve this?
Really thank you.

probably hls.js needs to be configured, if you could provide the m3u8 source, we could test it.

Hello, thank you for the support.
Now the stream server is off. I could send  you the link in private?
What you mean for "to be configured".
I'm, coming from TheoPlayer that was working out of the box and the same stream works correctly.

Hi @openaspace, as this issue is old I would suggest updating Fluid Player if you still have this problem, otherwise you can try changing the configuration of  hls.js, you can check the API docs here. I'll leave a sample of how you can change the settings within Fluid Player:
var instance = fluidPlayer('fluid-player', {
    modules: {
        configureHls: (options) => ({
            maxMaxBufferLength: 30, // Max length of buffered video
            startLevel: 4, // Starting quality level - 4 is usually Full HD (1080p)
            ...options,
        })
    }
});

Closing the issue due to inactivity, @openaspace feel free to open a new issue if you still have this problem

authors: Joel2B leroybm openaspace

repo: fluid-player/fluid-player


text:
Problem selecting and playing cropped (I don't mean trimmed, as in shortening the video) videos on my iOS device or simulator

Steps to Reproduce

Download my example code at https://github.com/nathantew14/video_picker_test

Record a portrait video on your iPhone.

Edit the video. Trim it slightly so that you save it as a new clip. Crop as shown. Any crop along the height of the video (i.e. such that the sides are not clipped) will result in a video that can be played just fine in my app.

Execute flutter run on the code sample

Tap on the video camera icon to select and play the videos from steps 1-2. Notice that all the videos play just fine. Notice also in the prints that both the VideoInfo package and VideoPlayerController agrees on the video dimensions and aspect ratio.

Repeat 2-5, this time cropping as such:

Now, the videos appear with a black bar on the left. The bar is larger the more you crop from the side of the video. Notice also in the prints that the VideoInfo package and VideoPlayerController now instead disagree on the video dimensions and aspect ratio.

Now, try playing the broken videos after toggling "compress videos" (green means the videos will be compressed with the video_compress package). The video now appears different, and the prints of the video aspect ratio from the VideoInfo package agree with that from VideoPlayerController.

Now, duplicate the original video, then edit it and rotate it 90°, then save it. Any videos cropped from this landscape video, regardless of dimension, seems to play fine.

I've tried uploading the "broken" videos to Google Drive, then downloading and selecting them on an iOS Simulator as well as an Android Virtual Device. With the same video, the issue persists on the iOS Simulator, but not on the AVD.

Code sample

import 'dart:io';

import 'package:flutter/material.dart';
import 'package:flutter_video_info/flutter_video_info.dart';
import 'package:image_picker/image_picker.dart';
import 'package:video_compress/video_compress.dart';
import 'package:video_player/video_player.dart';

void main(List<String> args) {
  runApp(const MaterialApp(
    home: MyApp(),
  ));
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  bool shouldCompress = false;
  final ImagePicker _picker = ImagePicker();
  VideoPlayerController? _videoPlayerController;
  late double aspectRatio;

  void selectVideo() async {
    XFile? video = await _picker.pickVideo(source: ImageSource.gallery);

    if (video == null) {
      return;
    }

    // get rid of the old controller if it exists,
    // i.e. selecting a video mulitple times
    _videoPlayerController = null;
    String videoPath = video.path;

    VideoData? videoInfo;

    final flutterVideoInfo = FlutterVideoInfo();
    videoInfo = await flutterVideoInfo.getVideoInfo(videoPath);

    print(
        '--------------------------------------------------------------------');
    print('before compression: ');
    print('videoInfo.width: ${videoInfo!.width}');
    print('videoInfo.height: ${videoInfo.height}');
    aspectRatio = (videoInfo.width! / videoInfo.height!);
    print('videoInfo aspectRatio: $aspectRatio');
    File videoFile = File(videoPath);

    final tempController = VideoPlayerController.file(File(videoPath));
    await tempController.initialize();
    aspectRatio = tempController.value.aspectRatio;
    print('tempController width: ${tempController.value.size.width}');
    print('tempController height: ${tempController.value.size.height}');
    print('tempController aspectRatio: $aspectRatio');

    if (shouldCompress) {
      final mediaInfo = await VideoCompress.compressVideo(videoPath);
      print(mediaInfo!.toJson());
      videoPath = mediaInfo.path!;
    }

    print('after compression: ');
    videoInfo = await flutterVideoInfo.getVideoInfo(videoPath);
    print('videoInfo width: ${videoInfo!.width}');
    print('videoInfo height: ${videoInfo.height}');
    aspectRatio = (videoInfo.width! / videoInfo.height!);
    print('videoInfo aspectRatio: $aspectRatio');
    videoFile = File(videoPath);

    _videoPlayerController = VideoPlayerController.file(videoFile);
    await _videoPlayerController!.initialize();
    aspectRatio = _videoPlayerController!.value.aspectRatio;
    print(
        '_videoPlayerController width: ${_videoPlayerController!.value.size.width}');
    print(
        '_videoPlayerController height: ${_videoPlayerController!.value.size.height}');
    print('_videoPlayerController aspectRatio: $aspectRatio');

    setState(() {});
    await _videoPlayerController!.play();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(actions: [
        Row(
          children: [
            const Text('compress video: '),
            Switch(
                activeColor: Colors.greenAccent,
                value: shouldCompress,
                onChanged: (value) {
                  shouldCompress = value;
                  setState(() {});
                }),
          ],
        ),
        IconButton(
          icon: const Icon(Icons.video_camera_back_outlined),
          onPressed: selectVideo,
        ),
      ]),
      body: Center(
        child: _videoPlayerController == null
            ? const Text('select a video')
            : Padding(
                padding: const EdgeInsets.all(8.0),
                child: AspectRatio(
                  aspectRatio: aspectRatio,
                  child: VideoPlayer(_videoPlayerController!),
                ),
              ),
      ),
    );
  }
}

Logs

verbose logs too long

nathan@Nathans-MacBook-Pro-8 video_test % flutter analyze
Analyzing video_test...

   info • Avoid `print` calls in production code • lib/main.dart:45:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:47:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:48:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:49:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:51:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:57:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:58:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:59:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:63:7 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:67:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:69:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:70:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:72:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:78:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:80:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:82:5 • avoid_print

16 issues found. (ran in 1.8s)

nathan@Nathans-MacBook-Pro-8 video_test % flutter doctor -v
[✓] Flutter (Channel stable, 2.10.4, on macOS 12.3 21E230 darwin-x64, locale en-GB)
    • Flutter version 2.10.4 at /Users/nathan/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c860cba910 (8 days ago), 2022-03-25 00:23:12 -0500
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nathan/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

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

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

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

[✓] Connected device (2 available)
    • Nathan’s iPhone (mobile) • 00008020-001E6C962EA1002E • ios            • iOS 15.3.1 19D52
    • Chrome (web)             • chrome                    • web-javascript • Google Chrome
      100.0.4896.60

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

• No issues found!

@nathantew14
Thanks for the report. From the code sample you shared, you seem to be using below third party plugins:
import 'package:video_compress/video_compress.dart';
import 'package:flutter_video_info/flutter_video_info.dart';
Does the same behavior as you reported occur if you don't use above plugin and respective code ? Does the behavior persists only using video_player plugin ?

@darshankawar i'll try that again when i have access to my computer, which is going to be earliest this weekend

@darshankawar I've just tested it on a new project without those two packages installed and the issue persists.

@darshankawar I've made a fully working GitHub repo without the 2 other packages here: https://github.com/nathantew14/video_picker_test
hope to hear from you soon!

turns out better_player can play these problematic videos just fine, for anyone who encounters this problem. It has other problems in my app though...

Thanks for the update. Using the code sample provided and also using image_picker plugin example, I see the same behavior as reported, ie, if we crop a video by changing height of it (vertically), it plays properly as shown below:
https://user-images.githubusercontent.com/67046386/162677639-7600059d-0517-4243-afcf-a6badeb4b363.MP4
But if we crop a video by changing width (horizontally) and play it, we see a black bar as shown below:
https://user-images.githubusercontent.com/67046386/162677744-01638ddf-2629-4190-b834-cdfc84b507b1.MP4
The same occurs using plugin example:

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 2.10.4, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 2.10.4 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c860cba910 (3 days ago), 2022-03-25 00:23:12 -0500
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.13.0-0.0.pre.473, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.473 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4b9717ff7c (3 hours ago), 2022-04-10 21:59:08 -0400
    • Engine revision ed8322fc82
    • Dart version 2.18.0 (build 2.18.0-8.0.dev)
    • DevTools version 2.12.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

repo: flutter/flutter


text:
Add documentation on making changes to a new Flutter app

After the user goes through https://flutter.io/getting-started/ it would be really helpful if you have them make a few interesting changes to the default app, just to show them how easy it is to start building an app. You already make a change to show off hot reload, but I'm talking about something more significant, which would require adding additional code.

I believe @sethladd is looking into this

It's not on my plate or on my radar right now, but I agree that moving from Getting Started into a mini tutorial is a great idea.

Yes, this could be a page after "Test drive" and before "Write Your First Flutter app".

Issue moved to flutter/website #1996 via ZenHub

authors: Sfshaza mit-mit sethladd wmleler zoechi


text:
Widget to image(screenshot) not working properly on Flutter Web CanvasKit version with Flutter 3.

##Issue
Widget to image not working properly on Flutter Web CanvasKit version with Flutter 3. Basically, the Image widget became invisible from the screenshot/generated image. While other widgets are captured properly.
Steps to Reproduce
Run flutter run -d Chrome  --web-renderer canvaskit using the following code.
Try to capture an image with save FAB.
Expected results: Expected result Image should be captured as it looks on the UI. It should available on the bottom of the red container.
Actual results:  Image gets captured properly but the image widget is missing in the captured image.

Code sample

import 'dart:typed_data';

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'dart:ui' as ui;

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Image Capture Bug',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final key = GlobalKey();
  Uint8List? imageBytes;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Flutter Image Capture Bug'),
      ),
      floatingActionButton: FloatingActionButton(
        child: const Icon(Icons.save),
        onPressed: () async {
          imageBytes = await captureImage();
       setState((){

       });
        },
      ),
      body: ListView(
        children: [
          Center(
            child: RepaintBoundary(
              key: key,
              child: Row(
                mainAxisSize: MainAxisSize.min,
                children: [
                  Container(
                    height: 300,
                    width: 200,
                    color: Colors.red,
                  ),
                  Image.network(
                    "https://picsum.photos/200/300",
                    height: 300,
                    width: 200,
                  ),
                ],
              ),
            ),
          ),
          if(imageBytes != null)
          Center(
            child: Card(
              child: Column(
                mainAxisSize: MainAxisSize.min,
                children: [
                  const Text("Capture Image"),
                  Padding(
                    padding: const EdgeInsets.all(8.0),
                    child: Image.memory(imageBytes!),
                  ),
                ],
              ),
            ),
          )
        ],
      ),
    );
  }

  Future<Uint8List?> captureImage() async {
    double pixelRatio = 5;
    try {
      RenderRepaintBoundary? boundary =
          key.currentContext?.findRenderObject() as RenderRepaintBoundary?;
      ui.Image? image = await boundary?.toImage(pixelRatio: pixelRatio);
      ByteData? byteData =
          await image?.toByteData(format: ui.ImageByteFormat.png);
      Uint8List? pngBytes = byteData?.buffer.asUint8List();
      return pngBytes;
    } catch (e) {
      debugPrint("$e");
      return null;
    }
  }
}

Logs

Analyzing test_image_capture_web...
No issues found! (ran in 1.4s)

[✓] Flutter (Channel stable, 3.0.0, on macOS 12.3.1 21E258 darwin-arm, locale en-US)
    • Flutter version 3.0.0 at /Users/shofiul/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ee4e09cce0 (3 days ago), 2022-05-09 16:45:18 -0700
    • Engine revision d1b9a6938a
    • Dart version 2.17.0
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/shofiul/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-macos-aarch64) (build 1.8.0_322-b06)
    • All Android licenses accepted.

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

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

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/shofiul/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-2/212.5712.43.2112.8403254/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[!] Android Studio
    • Android Studio at /Users/shofiul/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-2/212.5712.43.2112.8233820/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2022.1)
    • IntelliJ at /Users/shofiul/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5080.210/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2021.3.3)
    • IntelliJ at /Users/shofiul/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/213.7172.25/IntelliJ IDEA CE.app
    • Flutter plugin version 64.0.4
    • Dart plugin version 213.5744.122

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 101.0.4951.64

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

! Doctor found issues in 1 category.

This image shows the captured image has a missing image widget.

This is a very annoying issue!
It's quite challenging to to fully isolate it, and it's affecting a production app, thus any help from the Flutter team would be greatly appreciated!
Reproduction details:
✅ : No Issue
❌ : Issue reproduced
Safari browsers ✅
Chrome browsers, both on Desktop and on Mobile (Pixel 3 Chrome)
flutter run -d web-server --web-renderer canvaskit --release --web-hostname=0.0.0.0 --web-port=4242 ✅
flutter run -d web-server --web-renderer canvaskit --debug --web-hostname=0.0.0.0 --web-port=4242  ✅
This is odd because on local web-server release / debug mode it's working well..
Chrome browsers, both on Desktop and on Mobile (Pixel 3 Chrome) - Remote Release mode / PWA ❌
Things are getting weird here because if you release the same code on Firebase Hosting suddenly it stops working..
The only intuitive thing that comes to mind is that "https" makes some kind of a difference?
As the local modes are not secure, thus maybe something about the "https" breaks it?
Chrome browsers, both on Desktop and on Mobile (Pixel 3 Chrome) - Local VS-Code Debug Chrome ❌
But if that was the case why is it broken again on the Local VS-Code Debug Chrome instance?

3.0.0
x64
ee4e09c
11/05/2022
2.17.0 ❌

2.10.5
x64
5464c5b
18/04/2022
2.16.2 ✅ <-- Last Stable version where it works properly

--
--
--
--
--

2.11.0-0.1.pre
x64
b101bfe
16/02/2022
2.17.0 ❌

--
--
--
--
--

2.10.0-0.3.pre
x64
fdd0af7
27/01/2022
2.16.0 ✅ <-- Last beta version where it works properly

I am facing the same issue as shofizone.
`
collage-maker  master  flutter doctor -v                                                                                 ✔
[✓] Flutter (Channel stable, 3.0.1, on Ubuntu 20.04.4 LTS 5.13.0-41-generic, locale en_CA.UTF-8)
• Flutter version 3.0.1 at /home/user/snap/flutter/common/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision fb57da5f94 (4 days ago), 2022-05-19 15:50:29 -0700
• Engine revision caaafc5604
• Dart version 2.17.1
• DevTools version 2.12.2
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc1)
• Android SDK at /home/user/Android/Sdk
• Platform android-31, build-tools 31.0.0-rc1
• ANDROID_SDK_ROOT = /home/user/Android/Sdk
• Java binary at: /snap/android-studio/current/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
• cmake version 3.10.2
• ninja version 1.8.2
• pkg-config version 0.29.1
[✓] Android Studio (version 2021.1)
• Android Studio at /snap/android-studio/119/android-studio
• Flutter plugin version 65.2.2
• Dart plugin version 211.7808
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
[✓] Android Studio (version 2021.2)
• Android Studio at /snap/android-studio/121/android-studio
• Flutter plugin version 67.1.2
• Dart plugin version 212.5744
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] Android Studio
• Android Studio at /snap/android-studio/current/android-studio/
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = /snap/android-studio/current/android-studio/
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] VS Code
• VS Code at /snap/code/current
• Flutter extension version 3.40.0
[✓] Connected device (2 available)
• Linux (desktop) • linux  • linux-x64      • Ubuntu 20.04.4 LTS 5.13.0-41-generic
• Chrome (web)    • chrome • web-javascript • Google Chrome 101.0.4951.64
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
`

As painstaking as it was to trace it,
This issue is caused by https://github.com/flutter/engine/pull/30681 included in https://github.com/flutter/flutter/pull/96239
/cc @yjbanov @huycozy
✅ : No Issue
❌ : Issue reproduced
flutter run -d chrome --dart-define=BROWSER_IMAGE_DECODING_ENABLED=true --release ❌
flutter run -d chrome --dart-define=BROWSER_IMAGE_DECODING_ENABLED=false --release ✅
Opting-out from the BROWSER_IMAGE_DECODING_ENABLED flag fixes this particular issue, however would that cause any negative side-effects @yjbanov ?

Similar to a little bit of #99945

I tried to reproduce this issue on Flutter stable 2.10.5. It works properly on Flutter Web CanvasKit.

Demo

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.2.1 21D62 darwin-x64, locale en-VN)
    • Flutter version 2.10.5 at /Users/huynq/Documents/GitHub/flutter2.10.5
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (5 weeks ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

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

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

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

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Android Studio
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/203.7185775/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 2526BC1A-435D-4B08-B99C-44B928F2517B • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 101.0.4951.64

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

• No issues found!

The upstream Skia issue is https://bugs.chromium.org/p/skia/issues/detail?id=12721

Same issue as https://github.com/flutter/flutter/issues/94895

authors: borjandev harithay hterkelsen huycozy shofizone yjbanov


text:
Flutter in a Fragment, when showing keyboard, does not update insets/metrics

Our Flutter Android app must embed Flutter within a Fragment (not an Activity). We have some layout issues when showing the keyboard.
When Flutter is in a Fragment, and the keyboard is shown, the Flutter widgetsBinding.window.viewInsets.bottom is always zero, and didChangeMetrics() is never called. This yields bad layout while the keyboard is shown (e.g. dialogs are centered 'underneath' the keyboard, cannot autoscroll to focus nodes, etc).
Note we prefer to use android:windowSoftInputMode="adjustNothing" instead of adjustResize, since there is a one-frame jank when resizing the Flutter window between full-screen and above the keyboard. (Android stretches the fragment, then Flutter catches up and rebuilds). When previously using adjustResize, didChangeMetrics() was called, but the insets were still unchanged.
Steps to Reproduce

Embed Flutter in an Android fragment (with android:windowSoftInputMode="adjustNothing", to keep the window size constant)
Use SafeArea and Scaffold (with resizeToAvoidBottomInset left unset, defaulting to true)
Tap a TextField to show keyboard

Expected results:

Update window insets, which will rebuild the content to within the new bounds (allowing scroll-to-focus, recentering of dialogs, etc)
didChangeMetrics() is called

Actual results:

window Insets never change (bottom inset is always at zero), layout is unchanged
didChangeMetrics() is never called

Probably related to https://github.com/flutter/flutter/issues/103630

those two issues aren't related

Further update: setting resizeToAvoidBottomInset on Scaffold fixes the issue for Android API 29+ as far as I can tell. However for lower API levels, didChangeMetrics isn't called because FlutterView.onApplyWindowInsets isn't getting called.

This is starting to look like a bug on our side - we're hosting a FlutterFragment and we weren't properly piping through various lifecycle calls, most critically onPostResume.

@blasten Are you still working on this? If not, can you update the assignee and reprioritize? @dowski Any updates on if this is an Add2App bug?

This is a documentation issue. I filed https://github.com/flutter/flutter/issues/104297.  This issue can be closed.

authors: blasten chinmaygarde dowski felix-mittermeier monkeyswarm


text:
Support for basic formatting in Text widget via html or markdown

Not sure how hard it is but had a client request for basic (bold, italic, underline) formatting support in the text widget. I'm guessing that using html <strong>/<b>, etc or a markdown equivalent would be the best approach.

Let me know if that's not sufficient!

There's also this doc request: https://github.com/flutter/flutter/issues/6559

authors: Hixie lukef sethladd