Adding language profile

I use yomitan and your extension to learn Japanese and Chinese. Most times I forget my asbplayer extension Anki settings are setup for one of the 2 languages I study. I find that to switch I need to press at least 2 buttons to get it setup right (selecting deck and then note type). I think having a kind of setting profile would be nice to easily switch between 2 or more language study goals or even just card type goals(different Anki fields etc).
Since yomitan now supports multiple languages and has a setting for it like here

Do you think it'd be possible to have the extension find what language is chosen on a given profile (since profile names can vary) and therefore automatically switch to an asbplayer profile name, that matches the language being studied ?!
That way for yomitan users, we just have to be on the desired yomitan profile and the player could have the language anki settings too.
EDIT: Or rather simply just change profile based on the subtitles language!
I just thought of this idea but don't know anything about the difficulty of implementing this so I apologize if the idea is crazy. At the very least I think profiles in asbplayer Anki section or ones that affect the whole of asbplayer settings would be beneficial to many.
Really appreciate this extension and all the work put into it. This is one of my favorites. Thank you !

No plans to do any specific integrations with Yomitan but a way to quickly change anki settings can be considered as part of the anki settings revamp for 1.3.0

If you do decide to add a sort of profile feature I'd like to suggest subtitle settings or at the very least font settings be included in that feature because if one is switching profiles for the sake of another language, especially for languages that use kanji/hanzi glyphs, the font used could be important. Chinese has simplified and traditional character scripts and I use different fonts for Chinese and Japanese for example. It's just a thought I had because I have to switch the font every time too. Thank you for considering it, really appreciate your app

Settings profiles have been added. Automatically choosing a profile based on some criteria will be a backlog task.


Updated Doc: Change Formatting of Source Paper Link

Changed direct arxiv link to format with paper title and authors that looks like:
See Source Batch Normalization: Accelerating Deep Network Training by Reducing
Internal Covariate Shift, S. Ioffe, C. Szegedy.

@BradHuang1999 please sign CLA

@rthadur Already have. It seems that since I have integrated @kyscg’s change, we will need his consent as well

I've signed it

@rthadur @gbaned Gentle ping to pull

@BradHuang1999 can you please resolve conflicts.

Done.

@rthadur It's done, gentle ping to set CLA's to yes and pull. Thankss

@rthadur It's been a while, could you pull this in, all changes have been approved


ERROR Nuxt module should be a function: [object Object]

🐛 The bug
I'm getting the following error in my projects and on StackBlitz when upgrading to 2.0.0.
ERROR  Nuxt module should be a function: [object Object]

  at loadNuxtModuleInstance (node_modules/@nuxt/kit/dist/index.mjs:2555:11)
  at async Module.installModule (node_modules/@nuxt/kit/dist/index.mjs:2478:47)
  at async initNuxt (node_modules/nuxt/dist/index.mjs:4701:5)
  at async loadNuxt (node_modules/nuxt/dist/index.mjs:4871:5)
  at async loadNuxt (node_modules/@nuxt/kit/dist/index.mjs:2722:19)
  at async Object.run (node_modules/nuxi/dist/chunks/prepare.mjs:76:18)
  at async runCommand$1 (node_modules/nuxi/dist/shared/nuxi.bd0a2fa0.mjs:1680:16)
  at async Module.runCommand (node_modules/nuxi/dist/shared/nuxi.bd0a2fa0.mjs:2051:10)
  at async Object.setup (node_modules/nuxi/dist/chunks/add2.mjs:214:5)
  at async runCommand$1 (node_modules/nuxi/dist/shared/nuxi.bd0a2fa0.mjs:1652:5)

[18:31:25]  ERROR  Nuxt module should be a function: [object Object]

🛠 To reproduce
https://stackblitz.com/edit/nuxt-seo-2
🌈 Expected behavior
No error.
ℹ Additional context
I was running RC 23 and didn't have this issue.

just found this package and first install gave same error.

@harlan-zw it may be related to how the build module was configured. In the compiled, I'm seeing references to your computer.
For example in<EMAIL_ADDRESS>import jiti from<EMAIL_ADDRESS>
/** @type {import("/home/harlan/packages/nuxt-seo-solo/src/const")} */
const _module = jiti(null, {
  "esmResolve": true,
  "interopDefault": true,
  "alias": {
    "@nuxtjs/seo": "/home/harlan/packages/nuxt-seo-solo"
  }
})("/home/harlan/packages/nuxt-seo-solo/src/const.ts");

I unfortunatley got the same problem. I've tried configuring a resh project and installing it, just in case it was other configurations, but it still happens. I found that it happens ONLY when you place @nuxtjs/seo in the modules property within nuxt.config.ts, such as below:
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2024-11-01',
  devtools: { enabled: true },
  modules: [
    "@nuxtjs/seo"
  ]
})

Same here =\ checked older issues, suggesting installing color-mode, which didn't help.
and it happens only if you add @nuxtjs/seo in modules.

Same here. Removing the module from the list of modules got rid of the error.

Thank you all, sorry for the mishap, 3am releases :laughing: . Looks like the module was getting stubbed before the dist files were being pushed up. It's fixed in 2.0.2.


Auto-completion of HTML tags with tab doesn't work

Typing "div.route" for example or any kind of HTML followed by pressing TAB does not auto-complete to:
This works fine in any html file, but not inside any .vue file.
I've uninstalled and reinstalled both vetur and VS Code, but this no longer works.

It seems like my settings.json did not have:
"emmet.syntaxProfiles": {
        "vue-html": "html"
    }

Once added, it works fine. Although my work computer does not require that setting and it works fine as well as friend of mine, not sure why.

Glad you resolved it by yourself.
Maybe you have an older version of vetur, or another vue extension on your work computer.

Could be, I'll be sure to check Monday! Great extension thanks! 👍


User Feedback - Apply Page

A lot of comments on this page, although a lot centres on Design/UX (@nogainbar), should be of interest to @rebeccaradding as relates to content.
General Layout - Content

Two users skipped straight to /apply without exploring /about(What is founders and coders?) page - which houses FAQs and useful information. Should we link back to /about on the /apply so users looking to apply are directed to that page? At the moment there isn't a prompt for that.

Table of course dates: - Design

One user comments that rows are clearly delineated but columns are less obvious, could possibly do with column dividers?
Another comments that all columns after the first one are time periods, while first column is a title, which is initially confusing as visually they are equal. Thinks there should be a distinction for the left most column as its a title, or dividing line.

Steps to Apply Carousel: - Design / UX

Suggestion that Github/FreeCodeCamp should be hyperlinks.
Common issue - people thinking that the end of this carousel is the end of this page. Only 1 user got to the sections below after I told them they could keep scrolling! I think the problem is 1) there's no gap before the fold indicating the page goes on. 2) The carousel is a bit too long so when they see they've reached the end of the carousel the page hasn't started moving vertically again. 3) psychologically when vertical scroll doesn't equal vertical movement people feel like they're at the end.

Yellow Banner with Apply link -  Design / UX

Even though it's big and yellow - people don't interpret the banner as a button to express an interest / apply. They think of it as a 'notice' not a call to action.
Took people longer than it should to see the link to express interest.
Unless you actually read every word, you don't see the link at the end on 'HERE'.

Cohort Image Carousel - Content

User wonders why this is present. There's no context or explanation. Don’t think they realised it was a carousel (dots not that clear, not automatically turning).

A lot of comments on this page, although a lot centres on Design/UX (@nogainbar), should be of interest to @rebeccaradding as relates to content.
General Layout - Content

Two users skipped straight to /apply without exploring /about(What is founders and coders?) page
which houses FAQs and useful information. Should we link back to /about on the /apply so users looking to apply are directed to that page? At the moment there isn't a prompt for that.
that's really interesting. I think that is a good thing to think about! however, is that to do with the fact that the users you tested with already know what fac is?

Table of course dates: - Design

One user comments that rows are clearly delineated but columns are less obvious, could possibly do with column dividers?
- not sure about this design wise. doesnt seem to be a big problem.

Another comments that all columns after the first one are time periods, while first column is a title, which is initially confusing as visually they are equal. Thinks there should be a distinction for the left most column as its a title, or dividing line.
added an underline under the sprint, winter summer ect, maybe that will solve this!_

Steps to Apply Carousel: - Design / UX

Suggestion that Github/FreeCodeCamp should be hyperlinks.
Common issue - people thinking that the end of this carousel is the end of this page. Only 1 user got to the sections below after I told them they could keep scrolling! I think the problem is 1) there's no gap before the fold indicating the page goes on. 2) The carousel is a bit too long so when they see they've reached the end of the carousel the page hasn't started moving vertically again. 3) psychologically when vertical scroll doesn't equal vertical movement people feel like they're at the end.
-This is a technical issue which we are aware of... max has been trying to solve it but it looks to be tricky.. we are on it tho! @maxgerber

Yellow Banner with Apply link -  Design / UX

Even though it's big and yellow - people don't interpret the banner as a button to express an interest / apply. They think of it as a 'notice' not a call to action.
Changed link to be a button in the designs, wondering if that might make it more obvious!

Took people longer than it should to see the link to express interest.
Changed link to be a button in the designs, wondering if that might make it more obvious!

Unless you actually read every word, you don't see the link at the end on 'HERE'.

Cohort Image Carousel - Content

User wonders why this is present. There's no context or explanation. Don’t think they realised it was a carousel (dots not that clear, not automatically turning).
One of the suggestions was that the carousel will move automatically and also -
shal we move it to the about page or home page @rebeccaradding?

Regarding skipping to apply without reading FAQs - could we test with a couple of people who aren't familiar with FAC to see what they do?
Remove asterisk next to information about time zones
Yes - Github, FCC, and Codewars should all be links
There should be a line space between each prerequisite
Step 2 is missing the content about creating a website and Codewars
Cohort photos - add a title "Join our developer community" and should start with most recent London photo


docs: Page "Using Alternate Browsers" outdated

Type: docs
Ionic Version: 1.x
Platform: all
The content on page "Using Alternate Browsers" is outdated.
http://ionicframework.com/docs/cli/browsers.html

This issue was moved to driftyco/ionic-site#782

Hello, thanks for using Ionic!  Thanks for using Ionic!


Pick Dart SDK stable hotfix 2.17.2 into engine

Dart stable hotfix 2.17.2 (https://github.com/dart-lang/sdk/commit/677df743da81b27435224ac56506080e11df786d)
fixes two issues:

a Dart VM compiler crash (issue #100375).
code completion when writing method overrides (issue #49086).

Please pick this into a Fluttter engine and Flutter stable hotfix.

Note that we now want to merge stable 2.17.3 into flutter stable, not 2.17.2.
Fixes for 2.17.3 are (including those for 2.17.2)

a Dart VM compiler crash (issue #100375).
code completion when writing method overrides (issue #49027).
the dart pub login command (issue #3424).
analysis of enhanced enums (issue #49097).


Unresponsiveness after update

Spoke to @akinwale about this last week - a few users on discord experienced very poor performance after the latest android app update. Not sure if it's related to a long running install (lot of cache?) or something not being cleared during an update, but clearing app data has helped them. Need to investigate why this is happening.
System Configuration

Device:
Android version:

Anything Else

Screenshots

Internal Use
Acceptance Criteria

Definition of Done

[ ]  Tested against acceptance criteria
[ ] Tested against the assumptions of the user story
[ ] The project builds without errors
[ ] Unit tests are written and passing
[ ] Tests on devices/browsers listed in the issue have passed
[ ] QA performed & issues resolved
[ ] Refactoring completed
[ ] Any configuration or build changes documented
[ ] Documentation updated
[ ] Peer Code Review performed

I experienced this today and so have a couple other users. This should be bumped in priority. Not sure if it's related to cache or having multiple downloads. The UI does seem to lockup during SDK calls, but it's hard to tell.

One user that experienced this had it go away after deleting downloads, but it would come back after minimizing/reopening the app (then clear up after about 30 seconds). After clearing app data, the delay after minimizing goes away. So part of the problem is download data related, but there are still issues between upgrades until app data is cleared.

After testing with more downloads, I'm seeing more unresponsiveness. Sometimes it's definitely in the UI - for instance - I just loaded a video, it started playing, but the video was not moving (but audio was playing) and progress bar did not update until 6 seconds in.
Some questions:
When you call file list on the claim pages, is it called with the parameter for that particular claim?
Do you call file list by itself anywhere? If so, when?
Any other calls happening in the background repeatedly beside account_balance?

also seen in user videos, And could be related to the SDK not handling multiple downloads well...maxing out the user's connection (lbryio/lbry#1971)

Nope, that's a different issue. This is after the downloads are already completed

@tzarebczan we are expecting the next release addresses this. Please re-open if you still see this.


Add supporting for macOS 💻

Goal
Add supporting for OSX
Approach

Add target macOS
Add files to new target
Setup project properly

Open Questions and Pre-Merge TODOs

[x] This branch is unit tested
[x] This branch is updated with develop
[x] The documentation/Readme is up to date with the changes of this branch

Since Buddybuild doesn't have a native support for macOS, we can skip the tests on macOS with a CI since they are already run with iOS. Once we start having different test for different target then we can spend efforts running the tests for different targets.


Update the database repo from pipeline (Update the repo)

As a (developer) I want (the pipeline to create data models in the repo) So That (they may be consumed by an external process)
Additional Context

Would likely run on main merge
Dump to repo (root, hidden subfolder?)
Idea and SME via @rparfig

Acceptance Criteria

[ ] Given (a successful main merge), When (this pipeline is run), Then (updated/verified data model is available in the repo)

Definition of Done

[ ] Ready to Demo in Sprint Review
[ ] Documentation and/or scientific documentation exists and can be found
[ ] Peer Reviewed by 2 people on the team
[ ] Merged

--- via MS Teams
[8:43 AM] Pardo-Figueroa, Richard (Guest)
Roberts, Derek IIT:EX: Sounds good. This is related to your proposal to have a commit to "main" triggering a data model update. If the pipeline can produce a file like this, it can then be parsed by another (??) pipeline that updates the DataBC Data Catalogue as well as ER Studio.
This code still has to include additional attribution, and a portion for the table's comments and another for referential constraints. For now, is a simple version with the basic information, just to try it out and facilitate discussion:
SELECT row_to_json(data_dict) FROM (
select table_schema,
table_name,
column_name,
data_type,
case when character_maximum_length is not null
then character_maximum_length
else numeric_precision end as max_length,
is_nullable,
column_default as default_value
from information_schema.columns
where table_schema = 'app_fom' and table_name = 'attachment'
order by table_schema, table_name, ordinal_position
) data_dict;
Upon deployment if there is any change, we want to update/create a file with data model, data classification. A DDL file is a good MVP.
To use the BC Data Catalogue, we need to use the CKAN API. (Use the DDL from the Database and inteprete and feed DDL with other metadata to the API.

Long since solved by @mishraomp.


Animated Text: Holiday-Sized Update

you know how you just replace the animate block when someone enables the non-scratch lab features? do the same thing for fonts
shake effect is a bit goofy. not a big fan of the blur, and the text ends up getting cut off. it's 1AM right now so maybe there's an easy solution but I'm not seeing it

you know how you just replace the animate block when someone enables the non-scratch lab features? do the same thing for fonts

The code for this was already there, I just forgot to make the menu accept reporters when I moved everything to the upstream version. (I wrote this update on an older build originally).

shake effect is a bit goofy. not a big fan of the blur, and the text ends up getting cut off. it's 1AM right now so maybe there's an easy solution but I'm not seeing it

If you're not a fan it can be removed; it was moreso a test to see how adding new effects would hold up.

If you click on the "Enable Non-Scratch Lab Features" button, then one block disappears, while the very important "set font name", which is why you will now not be able to change to another font.

If you click on the "Enable Non-Scratch Lab Features" button, then one block disappears, while the very important "set font name", which is why you will now not be able to change to another font.

Can you show me a screenshot of this? It appears to work fine for me.

If you click on the "Enable Non-Scratch Lab Features" button, then one block disappears, while the very important "set font name", which is why you will now not be able to change to another font.

Can you show me a screenshot of this? It appears to work fine for me.

Oh, I'm sorry, it's okay, I made a mistake. ;)


Update numerical_feature.py

Minor fix: as_matrix() method is deprecated.
Getting a warning:
/home/jupyter/.local/lib/python3.5/site-packages/ludwig/features/numerical_feature.py:63: FutureWarning: Method .as_matrix will be removed in a future version. Use .values instead.
  np.float32).as_matrix()

Change it to .values
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.as_matrix.html
Code Pull Requests
Please provide the following:

a clear explanation of what your code dose
if applicable, a reference to an issue
a reproducible test for your PR (code, model definition and data sample)

Documentation Pull Requests
Note that the documentation HTML files are in docs/ while the Markdown sources are in mkdocs/docs.
If you are proposing a modification to the documentation you should change only the Markdown files, then recreate the documentation as explained in the mkdocs/README.md file with mkdocs build, which will create the HTML files automatically, and only after this create a commit.
api.md is automatically generated from the docstrings in the code, so if you want to change something in that file, first modify ludwig/api.py docstring, then run mkdocs/code_docs_autogen.py, which will create mkdocs/docs/api.md and then finally run mkdocs build which will generate the HTML in docs/.

Thanks for the PR. Seems fine to me, can you please confirm that all the tests run fine with this change (we still have to set up CI here, my bad)

Tests worked fine: https://pastebin.com/CUKR0Wsw.
In second commit I also modified an additional file (ludwig/features/binary_feature.py) with same changes.

Perfect, thank you so much!


Mention of Site Recovery

Assuming this is a leftover from when ASR would be used so renamed to Azure Migrate

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

@anvar-ms Could you review this proposed update to your article and enter #sign-off in a comment if it's approve for merge?
Thanks!

#sign-off

@ladykraken: I'm sorry - only the author of this article, @anvar-ms, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off


gnome-keyring test failure on staging

Issue description
See: https://hydra.nixos.org/build/88208186

I'm not able to reproduce the exact test failure. The first build I tried failed a test, the second passed. So that should confirm our suspicion that the tests can fail sometimes.

I'm not able to reproduce the exact test failure. The first build I tried failed a test, the second passed. So that should confirm our suspicion that the tests can fail sometimes.

I guess that means they're pretty flaky, and something we should be fixing upstream.
If they cause consistent problems we should just disable them.

Ah looks like we've seen this before in:

https://github.com/NixOS/nixpkgs/pull/45950#issuecomment-438295424

Looks like fedora doesn't run the check phase, arch runs it but doesn't record the failure. So I'm guessing we should turn checking off.

I agree, also looks like checks for gcr and libsecret are disabled in nixpkgs also.
This change is incoming shortly.


UNOCONV version

Is it a good practice to not to define any unoconv version?
RUN DEBIAN_FRONTEND=noninteractive apt-get -t jessie-backports install -y git unoconv && apt-get clean
anytime that we create the image it may use another (newer) version of unoconv.

We use the version of unoconv from Jessie backports at the moment that version is 0.7-1.1~bpo8+1 and it has been that version for more than a year.
Your are of course right regarding the version might change. The way we solve this ourselves is to use the prebuilt version from dockerhub as base image.
If you want to lock the version we are open to PRs :-)


Implement semver tags in CI/CD workflows

The ultimate purpose of this PR is to convert the current CI/CD workflows to leverage git tags. For dev builds, it will take the latest one, increment a patch level and append -dev and the runner id. The final build, that only runs when a new tag is created, uses the tag that triggered the workflow to build the temporary image and publish that one. Added a default to use 1.0.0 if there's no tag created. If this PR gets approved, creating 1.0.0 should solve this and things should go along just fine.
To view the workflow running, check my fork:

A PR: https://github.com/gsilvapt/surface/pull/2/checks
When tag was pushed: https://github.com/gsilvapt/surface/actions/runs/3989438992

In addition, since I was on it, I moved some files around, renamed others and tried to make things more easy to work with (no offense 🙏 ).

Superseded by #77 because this PR comes from a fork a the tokens are misbehaving (which kind of makes sense).


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 56 ms

Resolved: ClamAV performance has improved in 4478bd6.


Extended help pane

Hi, thank you for the tool that lets me binding.pry without running each process in its own terminal tab!
The contextual help shown in a separate pane is excellent. I only wish it were more verbose. My problem is that I like hotkeys but also have a terrible memory, so I would benefit from having not only the base shortcuts in there but also "z" for zooming in, "a", "d", and "v". I understand that you would have to truncate the help on smaller screens, but on mine, you have so much more space to utilize.

On a separate note, is it possible to scroll the output using the keyboard when focusing a process without entering the copy mode?

Great! Command search sounds like overkill, though, given that there is only a dozen shortcuts for each mode, but the idea to add a popup with all shortcuts I like.
less does it like this

htop like this

btop like this

Thank you for providing examples. The search can be useful for commands that are not bound. I also would like to extents capabilities of mprocs as a process manager, so I expect the number of commands to increase.
Let's keep this issue open to track the help window.

I've been using this tool for about two weeks daily, and I must say this is one of the handiest additions to my toolset of recent. Thank you for making it!

Thank you!


Unable to Load Model [Fabric 1.20.1]

https://github.com/cheicen/dungeonbosses
trying to make a custom mob for the first time, seem to have gotten to the point where it crashes every time I summon the mob for it can't find the geo file.
Any help is greatly appreciated

Given that the linked repo has zero content on it, can't really help. This is also an issue that would probably be handled better through support channels in the Discord, since GitHub issues are typically for issues with the library itself, not your mod using the library.


Added light domain, updated tests, refactored existing domains

Added light domain, updated tests, refactored existing domains

I really need help with this error.
The tests pass locally, they also pass here but somehow I get this error that I cannot reproduce :D

This can happen if you have 2 sentence matchers match the same sentence, but result in different slot values.


Cleanup residuals in metapg stage

Casually browsing through the API I notice that a large percentage of measurements have the failure column set to true.
Note: failure is set to true if:
row.exc != None
or row.residual_no != None
or row.msm_failure

see: https://github.com/TheTorProject/ooni-measurements/blob/master/measurements/api/measurements.py#L248
Is this a bug in the pipeline? Is it a bug in the API (I believe @darkk suggested I use that query and logic for setting failure)? Both?

As mentioned by @darkk in: https://github.com/ooni/api/issues/59#issuecomment-475587287, we should improving the centrifugation stage to properly process all measurements that currently have residuals.
Residuals are parts of the measurement JSON which are not recognised or understood by the data processing pipeline code.
Since we don't actually have a schema defined upfront, the pipeline works by pop()ing values from the parsed measurement dict and it expected the final dict to be empty. If it is not empty it will write these values inside of the residual table.
My understanding of how this should be done is the following:

Look at the residual table to understand what sort of extra not parsed values are present
Look in https://github.com/ooni/pipeline/blob/master/af/shovel/centrifugation.py at the pop() methods for the relevant measurement types and add support for popping the relevant values (and possibly putting them into an appropriate table)
Re-run the pipeline code to reprocess the residual values (@darkk some guidance and help from you on how to do this is needed)

In particular in relation to the last step @darkk said:

residual and exc fields are not updated on reprocessing

and I also see a similar comment in the code: https://github.com/ooni/pipeline/blob/master/af/shovel/centrifugation.py#L639
You also say that

so cleaning exc on reprocessing is an incorrect action to do. It's reingestion that should update exc. I don't remember if it actually updates exc, but it's trivial to test that

@darkk can you explain or provide documentation on:

[ ] How to test if reingestion updates exc
[ ] How to run a reingestion task for all the buckets and therefore update exc

Reingestion updates exc. You can test it with 1) ingest, 2) fix some exc, 3) reingest.
That's mostly documented in #183. There is a more concrete example in https://github.com/ooni/pipeline/issues/137#issuecomment-488035494


Ion-select-options rerendering in v4 beta

Bug Report
Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.
Ionic:

   ionic (Ionic CLI)          : 4.0.3 (/usr/local/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.0
   @angular-devkit/core       : 0.7.2
   @angular-devkit/schematics : 0.7.2
   @angular/cli               : 6.1.0
   @ionic/ng-toolkit          : 1.0.0
   @ionic/schematics-angular  : 1.0.1

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : browser 5.0.3

System:

   Android SDK Tools : 26.1.1
   ios-sim           : 5.0.13
   NodeJS            : v9.2.0 (/usr/local/bin/node)
   npm               : 5.6.0
   OS                : macOS High Sierra
   Xcode             : Xcode 9.2 Build version 9C40b

Environment:

   ANDROID_HOME : /Users/vinay/Library/Android/sdk/

Describe the Bug
Parent component has an array, which is passed to child component with @Input().
child component displays a ion-select with array elements as options.
parent modifies the array, but select popup(alert) remains same.
while new values of arrays are reflected in heading, confirming that values were propagated to child component.
Steps to Reproduce
Related Code
it will be nice to have a template on plunker or stackblitz
Expected Behavior
I would expect ion-select-options (in child) should reflect values of array when array changes in parent component and propagates it using @input to cild component
Additional Context
https://forum.ionicframework.com/t/ion-select-in-v4-beta/137554

this bug does exist in beta.17, and it's driving us mad. no amount of detectChanges, NgZone.run, etc seems to have any effect.

Could it be that this issue is the same like #16453 and #15716

It is possible the same as #16453, but we've tried the workarounds associated with #15716 with no luck.

Hi there,
Thanks for the issue! We have pushed a nightly build containing some fixes for loading/re-loading select options. Would you be able to try it out in your app and let me know if the issue you are running into here is fixed? (npm i @ionic/core@dev @ionic/angular@dev)
Thanks for your patience as we work to resolve this issue!


Feature/agents agentstype

aaaaaaaaaaaaaaaaaaaa

Mergeado no commit https://github.com/notgonnaleo/aurora/commit/4453a32c341024d4f731030887b82816dd3dfddf


[#152729372  #151849767] Constraints prop updates, having latest master updates from origin -- REQUIRES APP APPROVAL

we'll close this for now, and create a new PR with just the small set of changes..
so when we upstream, it'll be simpler for them to review (and no addition-and-subtraction of .idea files)


Add new layer modal shows broken styles

cc: @piensaenpixel

cc @javitonino

I feel it could be happening in the old editor too, take into account please 💋 .

@xavijam: the old editor seems to be unaffected, but thanks for pointing that out!

Backend seems fine for this one, only one geometry type is being returned and the CSS class is correctly applied. Looks like a missing width for the icon or something like that.


This PR introduces the autonomy service group to manage on-chain services

Proposed changes
This PR

Updates service manager contract

Add support for activating the service
Add support for registering the agent instances
Add support for deploying service on-chain

introduce autonomy service group to manage on-chain services

autonomy service activate to activate the service
autonomy service register to register agent instances
autonomy service deploy to deploy the service on-chain

Fixes
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce? (A breaking change is a fix or feature that would cause existing functionality and APIs to not work as expected.)
Put an x in the box that applies

[ ] Non-breaking fix (non-breaking change which fixes an issue)
[ ] Breaking fix (breaking change which fixes an issue)
[ ] Non-breaking feature (non-breaking change which adds functionality)
[ ] Breaking feature (breaking change which adds functionality)
[ ] Refactor (non-breaking change which changes implementation)
[ ] Messy (mixture of the above - requires explanation!)

Checklist
Put an x in the boxes that apply.

[ ] I have read the CONTRIBUTING doc
[ ] I am making a pull request against the main branch (left side). Also you should start your branch off our main.
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have locally run services that could be impacted and they do not present failures derived from my changes

Although this PR adds support for activating the service, registering the instances and deploying the service, these are base implementations of the functionalities. I still need to add proper exception handling and safe guards against edge cases. To do that we will require some testing tools, I will open a PR to add some testing tools for the autonomy.chain module before we move ahead


[requires.io] dependency update on master branch

Coverage remained the same at 100.0% when pulling 580357b9ce7c9ebc6ec9336d49bbf08887f4891d on requires-io-master into 398db52d1c2c5e72f95fe5386357816dfdddd8c4 on master.

Coverage remained the same at 100.0% when pulling 580357b9ce7c9ebc6ec9336d49bbf08887f4891d on requires-io-master into 398db52d1c2c5e72f95fe5386357816dfdddd8c4 on master.

Coverage remained the same at 100.0% when pulling 580357b9ce7c9ebc6ec9336d49bbf08887f4891d on requires-io-master into 398db52d1c2c5e72f95fe5386357816dfdddd8c4 on master.

Coverage remained the same at 100.0% when pulling 580357b9ce7c9ebc6ec9336d49bbf08887f4891d on requires-io-master into 398db52d1c2c5e72f95fe5386357816dfdddd8c4 on master.

Codecov Report

Merging #206 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #206   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          18     18
  Lines         461    461
  Branches       43     43
=====================================
  Hits          461    461

Coverage remained the same at 100.0% when pulling 922b3ed324d87860c5f69fc29ce91aacbf0937ed on requires-io-master into 0db7370b4ffe1eccd0759ba30cfaae9ecf373af1 on master.

Coverage remained the same at 100.0% when pulling 1bc05ac1a32d993ba49715d57b8721e840d37809 on requires-io-master into 0db7370b4ffe1eccd0759ba30cfaae9ecf373af1 on master.

Coverage remained the same at 100.0% when pulling 1bc05ac1a32d993ba49715d57b8721e840d37809 on requires-io-master into 0db7370b4ffe1eccd0759ba30cfaae9ecf373af1 on master.

Coverage remained the same at 100.0% when pulling 1bc05ac1a32d993ba49715d57b8721e840d37809 on requires-io-master into 0db7370b4ffe1eccd0759ba30cfaae9ecf373af1 on master.


Nuitka leaves unresolved symbol references when they can be easily resolved

In the below example Nuitka passes the "PROBLEM" line in the Cls2.mmm() body that calls the object that is not callable.
This later causes the run-time error.
In this case it is very easy to determine that Cls2.mmm is not callable, and to trigger a compile-time error at this line.
module1.py:
class Cls1():
    @property
    def p1():
        return Cls1.m1(self.m)
    def m1(x):
        if x == 1:
            return "x"

module2.py:
class Cls2():
    def mmm():
        return Cls1().p1() # PROBLEM!!! the uncaught mistake here: Cls1.p1 returns a string or None - both not callable!

This is currently not in the scope of Nuitka, monkey patching, meta classes, etc. all spoil what Cls1 is going to be at any given moment. You are welcome to join the effort to optimize classes more statically be contibuting.
The focus however is never going to make incorrect code detected at compiled time, but correct code to be faster at run time I fear.

monkey patching, meta classes, etc. all spoil what Cls1 is going to be at any given moment.

Our classes don't change over time.
This should help in optimizing situations like this.

Yes, thanks for pointing this out. Code enhancements of Nuitka would be the ideal followup.

I am just reporting issues based on my experience with using Nuitka in the project @ $JOB.
In the project like I work on all code is static. Nuitka should have an option like "assume-classes-are-unmutable".
And in such case if, for example, some class doesn't have some requested symbol - this should be a hard error, not just an item to try to resolve at the runtime.
Otherwise I am not involved with anything Python-related and can't submit patches.


Sometimes custom scrollbars do not appear

I am using Chrome Version 59.0.3071.115 (Official Build) (64-bit). I've witnessed this in versions of Firefox and Safari, as well as different versions of Chrome on my coworkers computers.
I would say 90% of the time everything renders fine, but occasionally the scrollbars don't render at all and I see what appears to be 2 sets of browser default scrollbars. After some investigation I have no idea what is causing it, other than that the custom styles are not being applied to the HTML elements that correspond to react-custom-scrollbars

How it looks when rendering incorrectly:

How it's supposed to render:

Yes, same here.
Any workaround?

Same here :(

Been holding out for a fix, or least a diagnosis on this issue. About to remove react-custom-scrollbars from my project unless @malte-wessel or someone has any ideas

I have the same problem from the beginning. This library never worked for me. Even the examples did not work. All I see is default scrollbars from Chrome or Firefox.

I'm having the same problem, the demo page shows the default scrollbars.
@malte-wessel may you chime in please?

I switched to react-scrollbars-custom, works like a charm on macOS.


⚠ Site ANTS has degraded performance

In f521b5e, Site ANTS (https://ants.gouv.fr) experienced degraded performance:

HTTP code: 200
Response time: 8629 ms

Resolved: Site ANTS performance has improved in f6a4267.


ResourcesNotFoundException: Resource ID #0x7f070016 type #0x3 is not valid

Related stacktrace:
android.content.res.Resources$NotFoundException: Resource ID #0x7f070016 type #0x3 is not valid
                 	at android.content.res.Resources.getDimensionPixelSize(Resources.java:827)
                 	at com.google.maps.api.android.lib6.impl.ax.d(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):5)
                 	at com.google.maps.api.android.lib6.impl.fh.<init>(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):6)
                 	at com.google.maps.api.android.lib6.impl.bo.az(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):16)
                 	at com.google.maps.api.android.lib6.impl.cz.d(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):2)
                 	at com.google.android.gms.maps.internal.q.aX(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):14)
                 	at dx.onTransact(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):4)
                 	at android.os.Binder.transact(Binder.java:1064)
                 	at com.google.android.gms.internal.maps.zza.zzc(com.google.android.gms:play-services-maps@@18.0.0:2)
                 	at com.google.android.gms.maps.internal.zzl.onCreate(com.google.android.gms:play-services-maps@@18.0.0:3)
                 	at com.google.android.gms.maps.zzag.onCreate(com.google.android.gms:play-services-maps@@18.0.0:3)
                 	at com.google.android.gms.dynamic.zac.zab(com.google.android.gms:play-services-base@@18.0.1:1)
                 	at com.google.android.gms.dynamic.zaa.onDelegateCreated(com.google.android.gms:play-services-base@@18.0.1:3)
                 	at com.google.android.gms.maps.zzah.zzb(com.google.android.gms:play-services-maps@@18.0.0:5)
                 	at com.google.android.gms.maps.zzah.createDelegate(com.google.android.gms:play-services-maps@@18.0.0:1)
                 	at com.google.android.gms.dynamic.DeferredLifecycleHelper.zaf(com.google.android.gms:play-services-base@@18.0.1:6)
                 	at com.google.android.gms.dynamic.DeferredLifecycleHelper.onCreate(com.google.android.gms:play-services-base@@18.0.1:1)
                 	at com.google.android.gms.maps.MapView.onCreate(com.google.android.gms:play-services-maps@@18.0.0:4)
                 	at com.google.maps.android.compose.GoogleMapKt.lifecycleObserver$lambda-11(GoogleMap.kt:191)
                 	at com.google.maps.android.compose.GoogleMapKt.$r8$lambda$ml76XdpXTOPqW4q28tKk_7GmLZk(Unknown Source:0)
                 	at com.google.maps.android.compose.GoogleMapKt$$ExternalSyntheticLambda0.onStateChanged(Unknown Source:4)
                 	at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.java:360)
                 	at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.java:202)
                 	at com.google.maps.android.compose.GoogleMapKt$MapLifecycle$1.invoke(GoogleMap.kt:172)
                 	at com.google.maps.android.compose.GoogleMapKt$MapLifecycle$1.invoke(GoogleMap.kt:168)
                 	at androidx.compose.runtime.DisposableEffectImpl.onRemembered(Effects.kt:81)
                 	at androidx.compose.runtime.CompositionImpl$RememberEventDispatcher.dispatchRememberObservers(Composition.kt:1091)
                 	at androidx.compose.runtime.CompositionImpl.applyChangesInLocked(Composition.kt:818)
                 	at androidx.compose.runtime.CompositionImpl.applyChanges(Composition.kt:839)
                 	at androidx.compose.runtime.Recomposer.composeInitial$runtime_release(Recomposer.kt:978)
                 	at androidx.compose.runtime.ComposerImpl$CompositionContextImpl.composeInitial$runtime_release(Composer.kt:3848)
                 	at androidx.compose.runtime.ComposerImpl$CompositionContextImpl.composeInitial$runtime_release(Composer.kt:3848)
                 	at androidx.compose.runtime.ComposerImpl$CompositionContextImpl.composeInitial$runtime_release(Composer.kt:3848)
                 	at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:519)
                 	at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.subcomposeInto(SubcomposeLayout.kt:468)
                 	at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.subcompose(SubcomposeLayout.kt:441)
                 	at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.subcompose(SubcomposeLayout.kt:432)
                 	at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.subcompose(SubcomposeLayout.kt:421)

Can you provide more info, such as a sample project, repro steps, device and OS info?

@DSteve595 This bug randomly happens
I see an issue opened in official google-maps-utils as well
https://github.com/googlemaps/android-maps-utils/issues/532

@ForceGT It's hard to investigate this issue without more info. The most helpful thing would be for you to share a small project that reproduces this bug. If that's not possible, please share more info about the dependencies you're using (including their versions), and what your code is doing.

I've been experiencing this error too. I found a stackoverflow post about it. The suggestion to clear the cache or uninstall the app works for me, but the error can come back. Unfortunately I can't provide a simple example. I looked up 0x7f070016 in resources.arsc in the apk and it says it's drawable/abc_ic_arrow_drop_right_black_24dp. I don't reference that anywhere in my own code. It looks like the common factor is using Google Maps. The bug may be in the underlying library though, not Compose.


fixed: password length is correct now

The solution is not ideal, as it uses a loop, but for the hell of me I couldn't get that concatenation to work

Hello @evilcloud! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file utils/dclean.py:

Line 28:80: E501 line too long (85 > 79 characters)
Line 73:80: E501 line too long (81 > 79 characters)


alert() method doesn't work in WebView

I use the plugin webview_flutter to load a html page below:
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <title>Amaze UI 在线调试</title>
  <link rel="stylesheet" href="http://cdn.amazeui.org/amazeui/2.5.0/css/amazeui.min.css"/>
</head>
<body>
  <button onclick="alert(123456)">alert</button>
<script src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="http://cdn.amazeui.org/amazeui/2.5.0/js/amazeui.min.js"></script>
</body>
</html>

But when I click the button "alert", the alert dialog doesn't show in Flutter. I open the html in Chrome, everything works well.
Does alert() method not support in Flutter?
output of flutter doctor -v:
[✓] Flutter (Channel beta, v1.3.8, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
• Flutter version 1.3.8 at /Users/yumi/Library/Android/flutter
• Framework revision e5b1ed7a7f (4 weeks ago), 2019-03-06 14:23:37 -0800
• Engine revision f4951df193
• Dart version 2.2.1 (build 2.2.1-dev.0.0 571ea80e11)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/yumi/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /Users/yumi/Library/Android/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1248-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4.1, Build version 9F2000
• ios-deploy 2.0.0
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 31.3.3
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1248-b01)
[✓] Connected device (2 available)
• M5 Note  • 621QECQP4P2HM    • android-arm64 • Android 7.0 (API 24)
• VKY AL00 • WJX7N17815008179 • android-arm64 • Android 7.0 (API 24)

are u solve it ? alert & confirm can not work

alert&confirm currently are not supported in webview_flutter , if u want it working , you must rebuild  webview_flutter  on native platform library or  don't  use alert in html(use self-build alert instead)

You can use
flutter_webview_plugin:
    git:
      ref: "dev/fix_alert_not_work_in_webview"
      url: "https://github.com/jerryzhoujw/flutter_webview_plugin"
      source: git

this as temp in pubspec.yaml before merge PR

Hi, there is a PR on the way you can follow it here https://github.com/fluttercommunity/flutter_webview_plugin/pull/522

Hi @yumi0629
are you referring to the first party plugin webview_flutter or the third party flutter_webview_plugin?
If the latter you may want to open an issue in the dedicated github, otherwise,
if you are still experiencing the issue with the latest stable version of Flutter
please provide your update flutter doctor -v
and your flutter run --verbose?
Also, to better address the issue, would be helpful
if you could post a reproducible minimal code sample
or the steps to reproduce the problem.
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so it's always better to open new issues and reference related issues.

When i using alert, I had a good experience.
onPageFinished: (url) async {
  try {
    var javascript = '''
      window.alert = function (e){
        Alert.postMessage(e);
      }
    ''';
    await _webViewController?.evaluateJavascript(javascript);
  } catch (_) {}
  setState(() {
     isLoading = false;
   });
},

JavascriptChannel(
  name: 'Alert',
  onMessageReceived: (JavascriptMessage message) {
    // TODO popup
  },
 )

Thank you, you save my life

evaluateJavascript

hello , my controller does not have evaluateJavascript .
I used the last version.

@andynvt wow!! it is good ida.
but, confirm can't get return value.
window.confirm = function(str) {
  if (typeof Confirm !== 'undefined') {
    Confirm.postMessage(str);
  }
};

    return JavascriptChannel(
      name: 'Confirm',
      onMessageReceived: (JavascriptMessage message) async {
    return showDialog<bool>(
      context: context,
      builder: (_) {
        return AlertDialog(
          content: Text(message.message),
          actions: <Widget>[
            FlatButton(
              child: Text("Cancel"),
              onPressed: () {
                Navigator.pop(context, false);
              },
            ),
            FlatButton(
              child: Text("OK"),
              onPressed: () {
                Navigator.pop(context, true);
              },
            ),
          ],
        );
      },
    );

        // true / false
        print(a);
      },
    );

As this issue is currently the top search result in Google regarding this issue.
I'm updating the solution here for anyone who comes here for an answer.
Now it's working on Flutter 1.22.6
I was searching for why I couldn't select text in the webview, and I found the solution below.
This also solves the confirm/alert dialog issue.
Sorry don't remeber the original issue/ticket where I found the solution. If anyone finds please link below.
Thanks,
Hope this helps.
@override
void initState() {
  super.initState();
  if (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
}

It's not clear to me why this was closed, since the description was clear about what the issue is and that it was with webview_flutter; re-opening, but updating labels per the comment above to indicate that this only happens with Virtual Display.

I can confirm that the issue still persists on the latest master 2.5.0-6.0.pre.21 and stable 2.2.3
on both android and ios with webview_flutter: ^2.0.10.

flutter doctor -v
[✓] Flutter (Channel master, 2.5.0-6.0.pre.21, on macOS 11.5.1 20G80 darwin-arm, locale en-GH)
    • Flutter version 2.5.0-6.0.pre.21 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 40e8620a27 (3 hours ago), 2021-08-06 09:14:50 +0430
    • Engine revision 431ac604da
    • Dart version 2.14.0 (build 2.14.0-383.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/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-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.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-7249189)

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

[✓] Connected device (3 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android
      12 (API 31) (emulator)
    • iPhone 12 (mobile)          • F2592D43-5FE3-46BB-8A2B-A38BA468DCE9 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • Chrome (web)                • chrome                               • web-javascript • Google
      Chrome 92.0.4515.131

• No issues found!

[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.1 20G80 darwin-arm, locale en-GH)
    • Flutter version 2.2.3 at /Users/nexus/dev/sdks/flutter
    • Framework revision f4abaa0735 (5 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

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

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.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-7249189)

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

[✓] Connected device (3 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android
      12 (API 31) (emulator)
    • iPhone 12 (mobile)          • F2592D43-5FE3-46BB-8A2B-A38BA468DCE9 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • Chrome (web)                • chrome                               • web-javascript • Google
      Chrome 92.0.4515.131

• No issues found!

Sample code for reference
import 'dart:io';

import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

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

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

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

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

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

class _MyHomePageState extends State<MyHomePage> {
  @override
  void initState() {
    super.initState();

    // enable hybrid composition
    if (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
  }

  final String _html = """
  <!DOCTYPE html>
  <html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>Amaze UI</title>
    <link rel="stylesheet" href="http://cdn.amazeui.org/amazeui/2.5.0/css/amazeui.min.css"/>
  </head>
  <body>
    <button onclick="alert(123456)">alert</button>
  <script src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
  <script src="http://cdn.amazeui.org/amazeui/2.5.0/js/amazeui.min.js"></script>
  </body>
  </html>
  """;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: WebView(
        initialUrl: 'flutter.dev',
        onWebViewCreated: (WebViewController controller) {
          controller.loadUrl(
            Uri.dataFromString(_html, mimeType: 'text/html').toString(),
          );
        },
      ),
    );
  }
}

worked for me. thanks

As this issue is currently the top search result in Google regarding this issue. I'm updating the solution here for anyone who comes here for an answer.
Now it's working on Flutter 1.22.6 I was searching for why I couldn't select text in the webview, and I found the solution below. This also solves the confirm/alert dialog issue.
Sorry don't remeber the original issue/ticket where I found the solution. If anyone finds please link below.
Thanks, Hope this helps.
@override
void initState() {
  super.initState();
  if (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
}

this solution worked for me thanks.

@override
void initState() {
  super.initState();
  if (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
}

fix my problem .. thanks

Does this only fix for android? In iOS the alert still not popping up.

In my Flutter web app (running in Chrome with Flutter 2.10.5), this alert did not appear and I found this in the console log:

[Intervention] Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://chromestatus.com/feature/5082396709879808

Maybe is related

webview_flutter will not display alert() on iOS because the package does not implement an ios-specific runJavaScriptAlertPanelWithMessage function.
For it to work it needs to implement something like this: https://github.com/fluttercommunity/flutter_webview_plugin/pull/522
Any existing setting or setting WebView.platform will be insufficient.

For anyone who is searching on Google for something like "JavaScript not working on iOS Webview with Flutter," you may have encountered the same issue as me. I was testing if JavaScript was working by using the most simple way with "alert('test');" but it didn't work. Therefore, I concluded that JavaScript might be blocked in WebViews on iOS devices. However, the true answer is that this plugin simply does not support the alert() function. (╯°□°)╯︵ ┻━┻ ︵
So if you're testing if JavaScript is working or not, don't use alert() to get the answer. Surprisingly, alert() does work on Android devices.

Hello everyone, to this day the problem is relevant on the iPhone. alert() not showing

Hello everyone, to this day the problem is relevant on the iPhone. alert() not showing

I am able to reproduce this issue on the latest master and stable channels using the latest version of the webview_flutter package (webview_flutter: ^4.2.0).
Code Sample

import 'dart:io';

import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

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

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

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

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

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

class _MyHomePageState extends State<MyHomePage> {
  late final WebViewController _webViewController;

  @override
  void initState() {
    super.initState();
    _webViewController = WebViewController()
      ..loadRequest(Uri.dataFromString(_html, mimeType: 'text/html'));
  }

  final String _html = """
  <!DOCTYPE html>
  <html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>Amaze UI</title>
    <link rel="stylesheet" href="http://cdn.amazeui.org/amazeui/2.5.0/css/amazeui.min.css"/>
  </head>
  <body>
    <button onclick="alert(123456)">alert</button>
  <script src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
  <script src="http://cdn.amazeui.org/amazeui/2.5.0/js/amazeui.min.js"></script>
  </body>
  </html>
  """;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: WebViewWidget(controller: _webViewController),
    );
  }
}

  flutter doctor -v
[✓] Flutter (Channel master, 3.11.0-2.0.pre.55, on macOS 13.3 22E252 darwin-arm64, locale en-NG)
    • Flutter version 3.11.0-2.0.pre.55 on channel master at /Users/dammya/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 835b892d7f (12 days ago), 2023-05-07 01:30:22 +0530
    • Engine revision 23f730efbf
    • Dart version 3.1.0 (build 3.1.0-83.0.dev)
    • DevTools version 2.23.1

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

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
    • 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.78.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] VS Code (version 1.78.0)
    • VS Code at /Users/dammya/.Trash/Visual Studio Code 20.07.05.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • sdk gphone arm64 (mobile)  • emulator-5554                        • android-arm64  • Android 11 (API 30) (emulator)
    • iPhone 14 Pro Max (mobile) • D7F3302D-D66F-4B89-B8CF-DBEE1CDB5449 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 13.3 22E252 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[✓] Flutter (Channel stable, 3.10.1, on macOS 13.3 22E252 darwin-arm64, locale en-NG)
    • Flutter version 3.10.1 on channel stable at /Users/dammya/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d3d8effc68 (31 hours ago), 2023-05-16 17:59:05 -0700
    • Engine revision b4fb11214d
    • Dart version 3.0.1
    • DevTools version 2.23.1

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

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
    • 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.78.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] VS Code (version 1.78.0)
    • VS Code at /Users/dammya/.Trash/Visual Studio Code 20.07.05.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • sdk gphone arm64 (mobile)  • emulator-5554                        • android-arm64  • Android 11 (API 30) (emulator)
    • iPhone 14 Pro Max (mobile) • D7F3302D-D66F-4B89-B8CF-DBEE1CDB5449 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 13.3 22E252 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

• No issues found!

This problem still existing in 2023 ??? The alert not show on iOS.

For anyone interested in working on this, the approach we would want to take is to delegate the alert information the plugin client via a Dart callback, rather than implementing a specific native UI. (If someone wants native UI, then can then implement that callback by calling a plugin that shows native dialogs.)

We are considering moving to another package because of this problem.
When do you expect this issue to be resolved?


Inconsistency of material fonts with canvaskit renderer (beta channel)

Steps to Reproduce
The following simple material app shows different fonts when using the canvaskit rendered for the web:
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        home: Scaffold(
            appBar: AppBar(title: Text("B flat is written B\u{266D}"))));
  }
}

The result shown when using the html renderer is this:

And this is result obtained with the canvaskit (please, mind the incorrect displaying of the unicode character for the music flat symbol):

I cannot see any relevant information in logs. Here's the log with the html renderer:
[+14611 ms] Waiting for connection from debug service on Chrome... (completed in 15,2s)
[   +1 ms] Synced 28.6MB.
[        ] <- accept
[        ] Caching compiled dill
[  +74 ms] Using Google Chrome 88.0.4324.96

[+2122 ms] [CHROME]:2021-01-24 20:20:49.669 Google Chrome[19218:1452973] Error loading
/Library/CoreMediaIO/Plug-Ins/DAL/XpressionPlugin.plugin/Contents/MacOS/XpressionPlugin:
dlopen(/Library/CoreMediaIO/Plug-Ins/DAL/XpressionPlugin.plugin/Contents/MacOS/XpressionPlugin, 262): no suitable image found.  Did find:
[   +1 ms] [CHROME]:    /Library/CoreMediaIO/Plug-Ins/DAL/XpressionPlugin.plugin/Contents/MacOS/XpressionPlugin: code signature in
(/Library/CoreMediaIO/Plug-Ins/DAL/XpressionPlugin.plugin/Contents/MacOS/XpressionPlugin) not valid for use in process using Library Validation:
mapping process and mapped file (non-platform) have different Team IDs
[        ] [CHROME]:    /Library/CoreMediaIO/Plug-Ins/DAL/XpressionPlugin.plugin/Contents/MacOS/XpressionPlugin: stat() failed with errno=9
[ +155 ms] [CHROME]:
[        ] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:61741/devtools/browser/193568cc-e91c-4ab7-99e7-d886ee2a903d
[ +745 ms] DwdsInjector: Received request for entrypoint at http://localhost:61471/main_module.bootstrap.js
[   +9 ms] MetadataProvider: Loading debug metadata...
[  +14 ms] MetadataProvider: Loaded debug metadata
[  +16 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:61471/main_module.bootstrap.js
[+1957 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:61856/3DF5K40oYb8=/ws

[   +9 ms] Debug service listening on ws://<IP_ADDRESS>:61856/3DF5K40oYb8=/ws
[        ] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[   +1 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[        ] been thoroughly tested in production environments.
[        ] For more information see https://flutter.dev/web
[        ] 🔥  To hot restart changes while running, press "r" or "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".

And here's the one with CanvasKit:
[+13855 ms] Waiting for connection from debug service on Chrome... (completed in 14,4s)
[        ] Synced 28.6MB.
[        ] <- accept
[        ] Caching compiled dill
[  +86 ms] Using Google Chrome 88.0.4324.96

[+2234 ms] [CHROME]:2021-01-24 20:23:53.787 Google Chrome[19729:1460290] Error loading
/Library/CoreMediaIO/Plug-Ins/DAL/XpressionPlugin.plugin/Contents/MacOS/XpressionPlugin:
dlopen(/Library/CoreMediaIO/Plug-Ins/DAL/XpressionPlugin.plugin/Contents/MacOS/XpressionPlugin, 262): no suitable image found.  Did find:
[   +1 ms] [CHROME]:    /Library/CoreMediaIO/Plug-Ins/DAL/XpressionPlugin.plugin/Contents/MacOS/XpressionPlugin: code signature in
(/Library/CoreMediaIO/Plug-Ins/DAL/XpressionPlugin.plugin/Contents/MacOS/XpressionPlugin) not valid for use in process using Library Validation:
mapping process and mapped file (non-platform) have different Team IDs
[        ] [CHROME]:    /Library/CoreMediaIO/Plug-Ins/DAL/XpressionPlugin.plugin/Contents/MacOS/XpressionPlugin: stat() failed with errno=9
[ +132 ms] [CHROME]:
[        ] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:63920/devtools/browser/0583e713-116d-4d8d-8277-d761d5ed2d31
[ +740 ms] DwdsInjector: Received request for entrypoint at http://localhost:63629/main_module.bootstrap.js
[   +4 ms] MetadataProvider: Loading debug metadata...
[  +11 ms] MetadataProvider: Loaded debug metadata
[   +8 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:63629/main_module.bootstrap.js
[+1835 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:63957/PwCpGv0J53U=/ws

[   +8 ms] Debug service listening on ws://<IP_ADDRESS>:63957/PwCpGv0J53U=/ws
[        ] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[   +2 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[        ] been thoroughly tested in production environments.
[        ] For more information see https://flutter.dev/web
[        ] 🔥  To hot restart changes while running, press "r" or "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".

The output of flutter analyze follows:
Analyzing font_test...
No issues found! (ran in 2.4s)

And the output of flutter doctor -v:
[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on macOS 11.1 20C69 darwin-x64, locale es-ES)
    • Flutter version 1.25.0-8.3.pre at /Users/vmorilla/devel/flutter
    • Framework revision 5d36f2e7f5 (10 days ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/vmorilla/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.96
    ! Error: IPadi is not connected. Xcode will continue when IPadi is connected. (code -13)

• No issues found!

possible duplicate of https://github.com/flutter/flutter/issues/73645  and https://github.com/flutter/flutter/issues/73628
@vmorilla
given this pr, are you experiencing the issue with the latest master?

possible duplicate of https://github.com/flutter/flutter/issues/73645  and https://github.com/flutter/flutter/issues/73628
@vmorilla
given this pr, are you experiencing the issue with the latest master?

@iapicca It is solved in master. Thanks a lot.

@iapicca It is solved in master. Thanks a lot.


Suggestion on README.md.

python -m SimpleHTTPServer codes only run on python 2,
but considering that many people are using version 3,
It's good to post the code for python3.
python -m http.server

Added in https://github.com/ml5js/ml5-examples/pull/29


Distributes as docker image; but still requires local golang setup

This is the first application built for lattice; so tried to look at its build system to create the docker image used in lattice examples.
As per instructions I cloned the repo somewhere and I ran:
./build.sh

This fails with:
Compiling for linux...
main.go:9:2: cannot find package "github.com/pivotal-cf-experimental/lattice-app/handlers" in any of:
	/usr/local/go/src/github.com/pivotal-cf-experimental/lattice-app/handlers (from $GOROOT)
	/Users/drnic/Projects/go/src/github.com/pivotal-cf-experimental/lattice-app/handlers (from $GOPATH)
main.go:10:2: cannot find package "github.com/pivotal-cf-experimental/lattice-app/helpers" in any of:
	/usr/local/go/src/github.com/pivotal-cf-experimental/lattice-app/helpers (from $GOROOT)
	/Users/drnic/Projects/go/src/github.com/pivotal-cf-experimental/lattice-app/helpers (from $GOPATH)
main.go:11:2: cannot find package "github.com/pivotal-cf-experimental/lattice-app/routes" in any of:
	/usr/local/go/src/github.com/pivotal-cf-experimental/lattice-app/routes (from $GOROOT)
	/Users/drnic/Projects/go/src/github.com/pivotal-cf-experimental/lattice-app/routes (from $GOPATH)
Constructing Dockerimage
^C^CCleaning up...

Ahh, so its a golang app.
Now I have to do golang things first? Not ./build.sh?
$ go get ./...
go install: no install location for directory /Users/drnic/Projects/lattice/apps/lattice-app outside GOPATH
go install: no install location for directory /Users/drnic/Projects/lattice/apps/lattice-app/handlers outside GOPATH
go install: no install location for directory /Users/drnic/Projects/lattice/apps/lattice-app/helpers outside GOPATH
go install: no install location for directory /Users/drnic/Projects/lattice/apps/lattice-app/routes outside GOPATH

So I have to move my lattice app out of my folder of lattice apps and into my $GOPATH?
Thought: if the assumption is that user has lattice and possible direct access to docker - could ./build.sh use lattice/docker and a golang container to compile the app? Would this become a more homogenous experience for "building lattice apps"?

For example, this pattern - build a linux verison on a host machine, then pack it into a docker image, will be much much harder to reproduce for other application languages.
If we're not going to build/compile the app in the final Dockerfile, then perhaps a different Dockerfile could be used for compilation/staging to produce production asset. Then the existing Dockerfile becomes to one that packages those assets into a production Docker image.

:) @drnic
Lattice-App is not intended to be an exemplar of constructing dockerimages.
  You want buildpacks that can take your source code andconstruct artifacts that can be run on a platform.  ;)
This is something Docker does not offer a lot of help with.
It's something we want to explore building a light-weight version of in Lattice.  That is likely going to be our next priority -- stay tuned...
Until then - Lattice runs Dockerimages but does not help you construct those Dockerimages.

Hiya @drnic,
I came across this issue while scrubbing our backlog. I think we all agree that building docker images is a pain, but doing the full run of how to do that is not necessary for lattice-app documentation. Especially now that the team has started work on the 'condenser' epic (buildpacks -> droplets), I'm going to close this issue as not a bug. As always, feel free to re-open if you think anything is lost by my doing so.
--
Marco Nicosia
Product Manager
Pivotal Software, Inc.


Molecular-web framework is not consuming distributed tracing request headers passed from an external web service.

I am making a REST call from an external web service (which is using spring-sleuth for distributed tracing at zipkin) to a node js microservice (which is using molecular-web framework), service is being called and result is returned however moleculer-web is not consuming x-b3-traceid & x-b3-spanid request headers used for distributed tracing and the tracing is working only when services are invoked using the broker directly.
Since the headers are not consumed by the called service, there is no tracing linking between these two services. Ideally, the called service should have caller service's id as parent id but in this case that is not happening, they are generating separate tracing graphs.
Additionally, the parent context is being created only when the it is called thru molecular node js service.
node-js-service.js:
.
.
.
actions: {
create(ctx) {
ctx.call("any-service", {
.
.
.
context.js:
.
.
.
call(actionName, params, opts = {}) {
opts.parentCtx = this;
.
.
.

API Gateway - route hooks did wonders 🥇 #49
https://moleculer.services/0.12/docs/moleculer-web.html#Route-hooks
routes: [{              path: "/api",              onBeforeCall(ctx, route, req, res) {                     ctx.parentID = req.headers["x-b3-spanid"];                     ctx.requestID = req.headers["x-b3-traceid"]; },

Hi, sorry to resurrect an old issue, but I am looking to establish distributed tracing between several moleculer apps.  I used x-correlation-id with some success but this doesn't work with spans.  I've tried the onBeforeCall and using a custom mw but because these are invoked after the call to the rest action, I can't set the ctx.parentID to marry it up to the calling span.
Am I missing something?


Editor #62. fix wavesurfer and control bar overflow

What is this PR for?

make wavesurfer responsive to resize
improve wavesurfer cursor click accuracy
improve wavesurfer performance
fix control bar overflow

What type of PR is it?
Bug Fix, Improvement
Todos

[ x] - make wavesurfer responsive to resize
[ x] - improve wavesurfer cursor click accuracy
[ x] - improve wavesurfer performance
[ x] - fix control bar overflow

What is the Github issue?

#62
How should this be tested?

Screenshots (if appropriate)

Questions:

Do the license files need updating? No
Are there breaking changes for older versions? No
Does this need new documentation? No

yarn.lock should be modified, this is not a mistake
I installed some package and type defs


The Typora pkg cannot work. The downlaod URL cannot be reached.

Describe the Bug
The Typora pkg cannot work:
https://github.com/NixOS/nixpkgs/blob/594b74c47629b9ca6cd9e16e7e90fc77a1a853d0/pkgs/applications/editors/typora/default.nix
To Reproduce
During the package installation, This message will occur:
trying https://www.typora.io/linux/typora_0.9.73_amd64.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
error: cannot download typora_0.9.73_amd64.deb from any mirror

The URL https://www.typora.io/linux/typora_0.9.73_amd64.deb cannot be reached.

@worldofpeace anyone can solve the problem?


Preview/7.0.0

:white_check_mark: Build TheIdServer 7.0.0-preview1-0250.build.2751 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/11ec5b1618 by @)


redis is inaccessible

A basic redis service appears to be inaccessible:
apiVersion: v1
kind: Service
metadata:
  name: redis
spec:
  ports:
  - port: 6379
    name: tcp
    protocol: TCP
    targetPort: 6379
  selector:
    service: redis

Please add assignees

Probably related to https://github.com/istio/pilot/issues/964?

Note this is not a headless service.  issue reported:  https://groups.google.com/forum/#!topic/istio-users/7AhQOq9ligg

headless TCP PR merged: https://github.com/istio/pilot/pull/1197

@ijsnellf can you confirm that this issue can be closed?

Issue moved to istio/istio #1407 via ZenHub


Update dependencies

Update all dependencies to the latest version. Tests still pass fine.

jsonstream had issues https://github.com/apocas/dockerode/issues/142#issuecomment-109048277
If dockerode's tests are passing, everything should be OK. Nevertheless needs to be double checked.

I was mostly caring about debug, because the output did not match that of other parts of our application. So I thought, why not see if all can be upgraded :)

👍

Debug bumped.


Building a basic Schwab client

Hi @tylerebowers thank you for this.
Abstract
I'm trying to build my first Schwab Python client and hitting some walls. I was very happy to stumble onto your repo, and want to use it as a stepping stone to a simple client that can fetch a token via OAuth and download a list of positions from my TDA (Schwab) account.
What I've done
I've registered and been approved for developer access, and created my first app on beta-developer.schwab.com. I added my appSecret and appKey to universe.py. The status of my app is currently Approved - Pending, like so:

(that may be the problem, not sure...)
Problems
First "problem" was I had to comment out stream from the main.py imports because the window_terminal package is only compatible with Windows and Linux (I use macOS...)
SUPPORTED_PLATFORMS = ('Windows', 'Linux')
assert (platform.system() in SUPPORTED_PLATFORMS), 'Platform not supported'

Next I was getting this somewhat cryptic error which turned out to be a red herring
-bash: ./main.py: cannot execute: required file not found

The actual problem was the main.py file was saved with Windows line-endings, which was throwing off my shell. Switching it to Unix format cleared that up.
TL;DR
So where I am now is this:
~/Schwab-API-Python 🐍 v3.12.2 (schwab-api)main!? $ ./main.py
Welcome to the unofficial Schwab api interface!
Github: https://github.com/tylerebowers/Schwab-API-Python
[ERROR]: Error in reading/writing token file, creating new token file.
[USER]: Please authorize this program to access your schwab account.
[USER]: Click to authenticate: https://api.schwabapi.com/v1/oauth/authorize?client_id=JvcExxxxxxxxxxxxxxxxxxxxxxxxxxxx&redirect_uri=https://<IP_ADDRESS>
[INFO]: Opening browser...
[INPUT]: After authorizing, wait for it to load (<1min) and paste the WHOLE url here:
(never loads)

screenshot:

Is any of this normal in your opinion?

Approved - Pending means pending approval. Wait for the status to be approved. They really need to change this status, I have seen so many questions about this.


remove rh-dialog

fixes #70
remove rh-dialog for now.  It is waiting in the restore-dialog branch for further development.

@mwcz - The tests keep failing. It's trying to npm install rh-dialog.


Add Permit command

https://github.com/DTheIcyDragon/Bot-V5/pull/9/commits/db18008cd3cc788750c4980b15ab4dd324a862f2#r1013401703
Resolve this and we're good to go


Can't export volumeTitle from Juris-M

Hello.
First of all, thank you for such useful tool.
Problem is, that I can't  export  volumeTitle field from Juris-M with BBT BibLaTeX. Better JSON see that field:
  {"id":"AleksaiteLietuviuteatroistorija2009","accessed":{"date-parts":[[2011,2,17]]},"archive":"NN","archive_location":"Kn. mugė","call-number":"4109 xy","editor":[{"family":"Aleksaitė","given":"Irena"}],"ISBN":"978-9955-868-18-7","issued":{"date-parts":[[2009]]},"language":"lt","note":"p; sud.; Kn.","number-of-pages":"583","publisher":"Gervelė","publisher-place":"Vilnius","source":"10","type":"book","title":"Lietuvių teatro istorija","title-short":"Lietuvių teatro istorija. Kn. 4","volume":"4","volume-title":"1980-1990"}
]

My postscript line is if (this.item.volumeTitle) { this.add({ name: 'part', value: this.item.volumeTitle }); } It is similar to other lines, that is working perfectly.
I changed volumeTitle formatting to volumetitle, volume-title, VolumeTitle, Volumetitle, Volume-Title and nothing works. Maybe I am doing something wrong?
Report ID:
MGBU7ZAC-euc
Exporter used:
Better BibLaTeX
Thank you once more.

I understood my silly mistake: item type was manuscript, not book, so rule not worked.
Sorry for the noise and thank you for hard work.

Glad you got it sorted.


Always use unstable sort for simple types

When calling #sort! without a block, if two elements have the same binary representations whenever they compare equal using #<=>, then they are indistinguishable from each other and swapping is a no-op. This allows the use of unstable sorting which runs slightly faster and requires no temporary allocations, as opposed to stable sorting which allocates memory linear in the collection size.
Following this criterion, the only reference type that supports unstable sorting is:
class Foo
  include Comparable(self)

  def <=>(other : self) : Int32
    object_id <=> other.object_id
  end
end

Primitive floats do not support it, as the signed zeros compare equal but have opposite sign bits. For simplicity, unions also aren't touched; either they don't have a meaningful, non-null #<=> defined across the variant types, or they break the criterion (e.g. 1_i32 and 1_i8 have different type IDs).
#sort always delegates to #sort!. This does not affect #sort_by! since the projected element type alone doesn't guarantee the original elements themselves can be swapped in the same way.

I suppose Slice(UInt8) and StaticArray(UInt8) should also be binary equal?

I'm also wondering if we could generalize this property (e.g. via a module) so we don't need to hard-code a compatibility list in Slice#sort!. Instead, types could declare binary equivalent comparison as an opt-in mechanism, which would open this feature for types from user code.

Two Slices may compare equal but differ in @read_only.
StaticArray and Tuple are probably fine if all their element types are, but it would be difficult to have those types conditionally include a module.

Argh. I wish we had readability of a slice as a type information, not a runtime property.


crash on launch 1.14 using Cotton 0.6.1+1.14 /fabric loader 1.14-21

Crash:
http://puu.sh/DwzUr/188e8b3ba2.txt
Cotton 0.6.1+1.14
fabric loader 1.14-21

This has to do with Client Commands, not Cotton main.


Migrate water quality assessment app to Experience Builder

Full app name is the Department of Environmental Quality's Beneficial Uses and Water Quality Assessment Map
Benefit

Migrate data and app from UGRC infrastructure to DEQ's AGOL
Deprecate another UGRC-managed app
Simplify data management, or at least data transfer from source to AGOL and app

Acceptance Criteria

[ ] Migrate/transfer data to DEQ AGOL
[ ] Configure web map and application in DEQ AGOL

Notes
SBA
Risks

Data cannot be easily managed or migrated to AGOL
DEQ/DWQ staff time for feedback and validation
Experience Builder configuration limitation

Issue Reference
refs #

Q5 Sprint 1 Notes

SBA sent for approval July 23
Meeting scheduled for August 6 to discuss data migration, hosting, and maintenance in DEQ AGOL

Julian Carroll sent an email this morning with a link to a new experience builder app that they have developed in-house that seems to be the replacement for this. They are asking about how to get wq.deq.utah.gov pointed at their new app so I assume that this is the end of the road for this task unless @ZachBeck has some additional information.


Bump G4HepEM submodule to current master

This simply bumps the G4HepEM submodule to the latest master to support #87, which requires a G4HepEmParameters object to use with G4HepEmData.
The only change added is support for serialising the G4HepEmParameters struct, and a new G4HepEmState struct to hold pointers to G4HepEmData and the G4HepEmParameters used to calculate it.  There are no breaking interface changes.
Full details in mnovak42/g4hepem#46.

I guess rebasing + merging is preferred for this, right?

That should be fine, it's branched off the current tip of master, so no conflicts.


parallel_build.csh is broken on macs

 Running checkout_externals
Processing externals description file : Externals.cfg
Checking status of externals: gmao_shared, esma_cmake, esma_env, cplfcst_etc, mapl, umd_etc, geosgcm_app, geosgcm_gridcomp, ncep_shared,
Checking out externals: gmao_shared, esma_cmake, umd_etc, esma_env, cplfcst_etc, mapl, ncep_shared, geosgcm_app, geosgcm_gridcomp,
Processing externals description file : Externals.cfg
Checking out externals: ecbuild, ^N
Processing externals description file : Externals.cfg
Checking out externals: geoschem_gridcomp, mom,

cat: /proc/cpuinfo: No such file or directory
Unknown site. Detected 0 cores and setting interactive build

   ================
    PARALLEL BUILD
   ================

g5_modules: Setting BASEDIR for gs6101-parcel.ndc.nasa.gov
Making build directory: /Users/mathomp4/Models/GEOSgcm-from-github/GEOSgcm/build

Parallel build using how many CPUs (1 minimum)? [0] 4

if: Expression Syntax.

The issue is obviously that /proc/cpuinfo is not on Darwin. The thing to use on Mac is:
$ sysctl -a | grep machdep.cpu.core_count
machdep.cpu.core_count: 4

uname -s should be able to tell us we're on Darwin.


[ADP-2878] remove remove wallet from dblayer

This is part of the epic to remove (unused) multi-wallet support in DBLayer

[x] Remove removeWallet from DBLayer record
[x] Remove deleteWallet functionality from Wallet module

ADP-2878

bors r+


Error Handling Improvement and Dynamic Memory Allocation

Implement more detailed error handling and logging to provide better insight into why certain addresses fail during the scanning process. This could involve adding error codes or messages to help diagnose issues.
Instead of statically allocating the I2C command handle (i2c_cmd_handle_t cmd), consider dynamically allocating it inside the loop to save memory, especially if the loop iterates through a large number of addresses.

Configurability -> i2c


[BUG] Cognitive Speech: Unable to set profanity filter

Library name and version
Microsoft.CognitiveServices.Speech 1.28.0
Describe the bug
SpeechConfig.SetProfanity(ProfanityOption) has no effect when using Intentrecognizer.
Expected behavior
I expect the same effect for all recognizers.
When setting up a SpeechConfig, i did set the Profanity like so:
SpeechConfig.SetProfanity(ProfanityOption.Raw)
So far so good - when using the speechConfig for a Speechrecognizer.
But when using an intentrecognizer instead of the speechrecognizer, the setting has no effect no matter which enum i select.
Actual behavior
SpeechConfig.SetProfanity(ProfanityOption) has no effect (in case of being used in an intentrecognizer)
Reproduction Steps

note:
this is pseudocode based on the ms examples. just for illustration

static string speechKey = Environment.GetEnvironmentVariable("SPEECH_KEY");
static string speechRegion = Environment.GetEnvironmentVariable("SPEECH_REGION");

var speechConfig = SpeechConfig.FromSubscription(speechKey, speechRegion);
speechConfig.SpeechRecognitionLanguage = "en-US";
speechConfig.SetProfanity(ProfanityOption.Raw);

using var audioConfig = AudioConfig.FromDefaultMicrophoneInput();
using var speechRecognizer = new SpeechRecognizer(speechConfig, audioConfig);

Console.WriteLine("Speak into your microphone.");
var speechRecognitionResult = await speechRecognizer.RecognizeOnceAsync();

this is correct, the output is conforming the profanityOption
static string languageKey = Environment.GetEnvironmentVariable("LANGUAGE_KEY");
static string languageEndpoint = Environment.GetEnvironmentVariable("LANGUAGE_ENDPOINT");
static string speechKey = Environment.GetEnvironmentVariable("SPEECH_KEY");
static string speechRegion = Environment.GetEnvironmentVariable("SPEECH_REGION");

using var audioConfig = AudioConfig.FromDefaultMicrophoneInput();
using var intentRecognizer = new IntentRecognizer(speechConfig, audioConfig)

var cluModel = new ConversationalLanguageUnderstandingModel(
languageKey,
languageEndpoint,
cluProjectName,
cluDeploymentName);
var collection = new LanguageUnderstandingModelCollection();
collection.Add(cluModel);
intentRecognizer.ApplyLanguageModels(collection);

Console.WriteLine("Speak into your microphone.");
var intentRecognitionResult = await intentRecognizer.RecognizeOnceAsync();

this is not correct, the output is ignoring the profanityOption
Environment
Win 10 and Win 11
Visual Studio 17.3.3 (among others)
dotnet sdk 6.0.403 (among others)
The issue is existent at least since version 1.23.0 of the package. At least i started developing with that version and had the issue since then.

Adding Service team to look into this.


VlcMediaplayerOptions cannot work

this.vlcControl1.VlcMediaplayerOptions = new[] { "--no-audio" };
this is in function InitallizeComponent(). it do not work.
and I add a button, and add Options to the button's click event, When the VLCplayer was playing , I press that, but it didn't work.

OK,I should add the code before the function EndInit().
But I want to know how to control the player runtime.

You can control the volume using :
vlcControl1.Audio.Volume = 50; or vlcControl1.Audio.IsMute = true;


oAuth querystring params with square-bracket characters

Background: Magento REST APIs use querystring parameters that have square brackets.
Problem: Unfortunately, Request throws "[TypeError: Cannot convert object to primitive value]" when using params with square bracket characters.
Example:
var queryString = {};
queryString['filter[1][attribute]'] = 'entity_id';
queryString['filter[1][neq]'] = '2';
request.get({
url: configHelper.magento.urlRootApi + 'products',
qs: queryString,
oauth: oauth,
json: true
}, function(e, r, body) {
Notes:

These Magento APIs themselves have been tested and work on the same request using the Chrome Advanced REST client.
I've tried using encodeURIComponent on the queryString params before they go to Request, but I believe Request ends up double-encoding them.

I know I'm digging up the dead here, but I ran into the same issue.  I ended up forking the request project and hacking in @trevorwilliams' suggestion.  For those who may come after, you can see that commit here: https://github.com/psyklopz/request/commit/9abf4aaef2febe3f2da027c86ab4e7fe22ec170e

Perhaps some day it will make sense to correct how qs is collapsing filters down.  They end up being objects, which give "Object" when printed to a string.  So I can't imagine this ever works with any service using square brackets in the parameter list AND trying to generate an OAuth signature...

@mikeal This issue still exist. Will this pull request https://github.com/psyklopz/request/commit/9abf4aaef2febe3f2da027c86ab4e7fe22ec170e
get merged?


Food Website

Introduction
Hello Sir,
I want to add my new Food website project in this repo.
This project includes  contains my project on my Food Website😋. I have made it using HTML,CSS & JS. It contains a menu card of different cuisines such as Biriyani , Chinese, Paneer Mania, Veg as well as South Indian.🍕 .
Screenshots

Additional Context
Please assign me this issue under OSEN (Collab-code Carnival)

@Shu12388y @avinash201199 Please assign me this issue under OSEN

@apu52 start working


fix multiple WWW-Authenticate header to one

WWW-Authenticate header should only have one
What issue does this PR address?
every WWW-Authenticate header should atleast have one auth schema, because we only used bearer token authentication, we should only have one WWW-Authenticate header.Currently it returns two likes below

WWW-Authenticate: Bearer
WWW-Authenticate: error="invalid_token"

test on https://demo.identityserver.io/connect/userinfo
Does this PR introduce a breaking change?
No
Please check if the PR fulfills these requirements

[x] The commit follows our guidelines
[ ] Unit Tests for the changes have been added (for bug fixes / features)

Other information:

reference https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.47

The field value consists of at least one challenge that indicates the authentication scheme(s) and parameters applicable to the Request-URI

the second one don't have schema