ValidateSanitizedInput: allow for validation using array_key_exists()

Just like, isset() and empty(), array_key_exists() is a way to validate a variable exists and should therefore be recognized by this function.
Note the difference between the functions:

isset( $foo['bar'] ) - checks whether the key bar exists in the array $foo and has a value assigned to it.
! empty( $foo['bar'] ) - checks whether the key bar exists in the array $foo and has a non-falsy value assigned to it.
array_key_exists( 'bar', $foo ) - checks whether the key bar exists in the array $foo. I.e. when using array_key_exists() a null value is acceptable.

Which validation method is used, should be left up to the judgement of a developer.
All three will prevent Undefined variable notices, so in my opinion, array_key_exists() should be regarded as a valid way of validating a variable.
Includes unit tests covering the change in Sniff::is_validated().
The change in Sniff::is_in_isset_or_empty() is currently not (sufficiently) unit tested as the only sniff which uses the method, ValidatedSanitizedInput, requires for a superglobal to have an array key set and therefor doesn't throw an error for the use of $_POST in a call to array_key_exists().

Just tripped up on this myself in client-related code, so a belated +1 for getting this merged ;-)


Error on require "Use of const in strict mode"

My app is throwing an error when trying to execute the line:
var Qs = require('qs);

Here is the error:
/home/ed/Documents/projectalchemy/node_modules/qs/lib/index.js:5
const Stringify = require('./stringify');
^^^^^
SyntaxError: Use of const in strict mode.
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/home/ed/Documents/projectalchemy/app.js:5:10)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)

the latest release of qs requires node 4.0.0 or greater. update your node and this error will go away.

Just figured this out myself and came here to close the issue only to see you'd already done it. Thanks

What is the recommendation for people using this module in browsers (e.g. via Browserify)? Even the latest Safari does not support const in strict mode.

use babel or something similar to transpile

Thanks. I'll stay on 5.x for now and add a transpiler if more modules follow suit.

Just got hit by this issue as well... but Browserify's global transforms don't seem to do anything here :(

@wayneashleyberry Same problem here, back to qs 5 until this gets sorts or browser support is better


Manual adding PopupView is not working

Cannot find 'ClassReference' in scope
And many other errors

Hey @deepakibo, please provide details - what exactly did you do, and what you got, please attach pictures if you can

Giving some compile time error xcode 14

Are you adding all the source files to you project?

@deepakibo please make sure you are using the whole Source folder or user pod/spm


fix(versions): update Activiti/example-runtime-bundle versions into master

UpdateBot pushed maven dependency: org.activiti.cloud.rb:activiti-cloud-runtime-bundle-dependencies to: 7.1.155

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.rb:activiti-cloud-runtime-bundle-dependencies 7.1.155


Added uploader to Piratebay search results

Added uploader to Piratebay search results
Updated ThePirateBayAdapterTest

?

Sorry the delay. I reaaly missed this notification!

thanks :)


Milestone3: Condition mission

Condition mission
In this milestone I:

Added reserve and cancel functionality
Added styles

From your design, the not a member button needs a bit of padding on the left and right for it to look professional and match the design given.
When  the join mission button is clicked, the not a member button changes to active member but the background color doesn't change to blue as stated in the design. Kindly fix this. Thank you

Hey @mohisa302 😊,
Good job!
STATUS: APPROVED! 🥇 💯

Your project is complete! There is nothing else to say other than... it's time to merge it :shipit: 🚀
Congratulations! 🎉
#Highlights

All linters checks passed✔
Good commit message ✔
Join Mission button working properly ✔
Implemented requested changes ✔

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
You can also consider:
N/A
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Link your tenant to your subscription steps missing

The documentation contains a point to Link your tenant to your subscription. The actual steps to do this are not included though.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 588fc4d6-0c4d-297d-cfe1-8562728fdc4d
Version Independent ID: cf117c91-90fa-036b-9763-a3c16b398a33
Content: Tutorial - Create an Azure Active Directory B2C tenant
Content Source: articles/active-directory-b2c/tutorial-create-tenant.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@greenbittechnologies
Thanks for your feedback! We will investigate and update as appropriate.

@greenbittechnologies
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

@greenbittechnologies
Thanks for your feedback!
In Create an Azure AD B2C tenant section, by making sure that you use the Microsoft Entra tenant that contains your subscription (step 2), you're making the subscription available to your Azure AD B2C tenant, so that you can link it in step 7. So, we don't have a separate section just for that, but since that's an important step, we mention it at the beginning of the article. I hope this helps #please-close.


Slow detection

Hi,
What could be the reason that the scan detection takes time?
It wasn't like that before.
The thing is that the detection time is random and unstable,
but it usually reaches 3,4 seconds (when I put intervals of one second in the timeout)
Version 5.1.1

I think I found the source of the issue.
autoStart was set to false, when I removed so actually set it back to true, the scanning is fast now.
What is actually the effect of this property? (especially in a case where it set to false)
Since I sometimes affect the streams manually to stop the scanner and reboot manually, so I thought that this property should be false.

When it is set to false, you have to manually start the scanner. There is no other meaning for this parameter. If scanning itself is slow, then that is a different bug. (saying scanning is slow because the scanner isn't running is not a bug, in theory then it is infinitely slow because you'll never get scan results anyway)


Resolved conflict

Fixes Issue

Closes #226
Changes proposed

Screenshots

Note to reviewers

Thanks, @CBID2 & @Eugene44-hub could you please review this PR?


fix(build): Require correct dependencies for prod build

Some of the dependencies required by npm run start:prod aren't currently installed with npm install --production.
See #1852 for reference.
This also moves some of the require's in Gulpfile inside tasks so that they wouldn't be required if unrelated tasks are run (i.e. start:prod task).
Also changed several semver ranges from ^ to more strict ~.

To test this, do:
git clone https://github.com/simison/mean.git mean-simison
cd mean-simison
git checkout restructure-prod-build
npm install --production
NODE_ENV=production npm run start:prod

I'd be especially interested to have @mleanos look at those protractor changes I made!

I ran into an issue with our default Gulp task. It actually sets the NODE_ENV to "development". And the Procfile starts the app using gulp default. This will cause the application to run in Development mode regardless of what NODE_ENV is set to. In my case, I want my Heroku deployment to run in "production" mode.
If I remove the 'env:dev' from the default Gulp task, the application runs in whatever NODE_ENV I set in my environment variables.
@simison @Ghalleb Do you have thoughts on this?

@mleanos I'm not really familiar with Heroku. What would you recommend?

@mleanos On second thought:

npm start should probably just use existing NODE_ENV and default to development. In package.json scripts we could have:

'start': 'if [ $NODE_ENV == "production" ]; then npm run start:prod; else npm run start:dev; fi'

... but that test could be also at Gulpfile.js — might be even more clear to have it there? I'm not exactly sure how well bash conditionals work e.g. in Windows machines.

npm run start:prod and npm run start:dev stick to using `'env:' Gulp tasks.

If you look at my PR #1854, I changed npm start to npm run start:prod in the procfile as this file is tipycally used for production only...

@Ghalleb thanks! So I'll merge this and that change can be done in your PR.


No-op change to trigger CI failures

Don't merge this. This is just a no-op change to help investigate what's all currently broken on Travis.

This change is

Just for reference, here are the failures. These all seem to be due to changes on Travis' side since the master branch for this project was passing at some point.
On python2.6 and pypy: "InsecurePlatformWarning: A true SSLContext object is not available."
/home/travis/build/coagulant/coveralls-python/.tox/coveralls3/lib/python2.6/site-packages/requests/packages/urllib3/util/ssl_.py:132: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
Traceback (most recent call last):
  File "/home/travis/build/coagulant/coveralls-python/.tox/coveralls3/bin/coveralls", line 11, in <module>
    load_entry_point('coveralls', 'console_scripts', 'coveralls')()
  File "/home/travis/build/coagulant/coveralls-python/coveralls/cli.py", line 62, in main
    result = coverallz.wear()
  File "/home/travis/build/coagulant/coveralls-python/coveralls/api.py", line 108, in wear
    response = requests.post(self.api_endpoint, files={'json_file': json_string})
  File "/home/travis/build/coagulant/coveralls-python/.tox/coveralls3/lib/python2.6/site-packages/requests/api.py", line 110, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/travis/build/coagulant/coveralls-python/.tox/coveralls3/lib/python2.6/site-packages/requests/api.py", line 56, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/travis/build/coagulant/coveralls-python/.tox/coveralls3/lib/python2.6/site-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/travis/build/coagulant/coveralls-python/.tox/coveralls3/lib/python2.6/site-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/home/travis/build/coagulant/coveralls-python/.tox/coveralls3/lib/python2.6/site-packages/requests/adapters.py", line 497, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: [Errno 1] _ssl.c:493: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

pypy3 I think is broken for everyone on Travis right now. See https://github.com/tqdm/tqdm/issues/318 as an example of an identical failure.
Installing setuptools, pip, wheel...
  Complete output from command /home/travis/build/c...overalls3/bin/python - setuptools pip wheel:
  Collecting setuptools
  Using cached setuptools-30.1.0-py2.py3-none-any.whl
Collecting pip
/home/travis/virtualenv/pypy3-2.4.0/site-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/_vendor/pkg_resources/__init__.py:83: UserWarning: Support for Python 3.0-3.2 has been dropped. Future versions will fail here.
pip requires Python '>=2.6,!=3.0.*,!=3.1.*,!=3.2.*' but the running Python is 3.2.5
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
  File "/opt/python/pypy3-2.4.0/lib-python/3/runpy.py", line 161, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/opt/python/pypy3-2.4.0/lib-python/3/runpy.py", line 74, in _run_code
    exec(code, run_globals)
  File "/home/travis/virtualenv/pypy3-2.4.0/site-packages/virtualenv.py", line 2328, in <module>
    main()
  File "/home/travis/virtualenv/pypy3-2.4.0/site-packages/virtualenv.py", line 713, in main
    symlink=options.symlink)
  File "/home/travis/virtualenv/pypy3-2.4.0/site-packages/virtualenv.py", line 945, in create_environment
    download=download,
  File "/home/travis/virtualenv/pypy3-2.4.0/site-packages/virtualenv.py", line 901, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/home/travis/virtualenv/pypy3-2.4.0/site-packages/virtualenv.py", line 797, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /home/travis/build/c...overalls3/bin/python - setuptools pip wheel failed with error code 1

Python 2.6 has been end-of-life'd, so let's drop support for that.
Can we specify a PyPy version to get past the SSL issue? AFAIK PyPy2 v5.6 should be compatible with Python 2.7.9+, which should fix this issue.
As for PyPy3.. we should probably do the same as they did in the tqdm issue you linked to fix it (ie. https://github.com/tqdm/tqdm/pull/325/files) -- temporarily, until Travis updates their default PyPy3 version.

Fixes are in #127.


Add offset prior scale parameter

Solves
#38

Skipping patch coverage alert since it concerns only 3 lines. In a future PR, the hyperparameter validation may be improved, maybe used Pydantic.


Beatmap backwards compatibility

Right now, the beatmaps are all parsed and written as if they were version 14, I don't know if this entails problems with older beatmaps. Maybe someone has some expertise on this? All the properties that used to be in the older versions, but aren't in the newer ones are implemented though, it's just the reading and writing process that doesn't check the version.

Closing this as the last issues with older versions should be fixed


[AppService] az webapp deployment github-actions add/remove: new commands

Description
New commands for adding/removing github actions to a webapp

az webapp deployment github-actions add
az webapp deployment github-actions remove

Testing Guide
Example usage:

Add:

Navigate to https://github.com/login/device to enter code

Authorize after entering in code

Remove:

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

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

@Juliehzl to review

I added two comments about the logging to use a consistent verb tense.
Can someone explain what's happening with the browser auth? From what I see, the CLI command will open the browser to start the auth flow. Once the user does that, is a PAT token created and placed on the user's dev box? Just trying to understand the auth flow better.

Thanks for the review Jason! I've updated the description with a few more details, the CLI command will tell you to navigate to the url "github.com/login/device" and enter in the code to authorize us. We will poll and wait up to 14 minutes for the user to do this, and once the user does, we will receive the PAT token from polling and use that token in the command. The token won't be stored anywhere so the user will have to do this process everytime unless they supply the PAT token. We can add a command to just retrieve the PAT token in the future, but I wasn't sure of where to put/how to name the command

Hi @calvinsID, before merge, please also get approval from other code owners and @JasonFreeberg as he is requesting change,

@Juliehzl can you review the lashes updates on this one & approve & merge?


ACL Manager does not recreate its REQ socket on error

If the plugin restarts, then ACL Manager does not recreate the REQ socket. That means that ACL Manager is happily sending data into the void.

It looks like :

There is no networkheartbeat code in the neutron plugin. So we cannot detect when the connection goes bad without changes to that side too. This is pretty much benign though since it is a SUB connection.
The only time that the REQ socket ever even gets used is at start of day. It also should get used when the

Net of this is that it's messy, and not clearly relevant in the very short term. It's certainly not a trivial fix to make.

Fixed in #114.


"Getting Started" plot:plot error

Hi I was trying to work through the getting started plotting example and ran into the following error:
My setup

SBCL:  2.4.1 installed via roswell
Quicklisp Distribution: 2023-10-21
Quicklisp Client: 2021-02-03
Emacs: 29.2 + Sly from MELPA 20231231
Mac OS X Sonoma 14.3.1

What I did
I began with the following bits and like some other reported issues with cephes but it still finishes the loading
CL-USER> (ql:quickload :lisp-stat)
To load "lisp-stat":
  Load 1 ASDF system:
    lisp-stat
; Loading "lisp-stat"
.................Library
#P"/Users/dmorado/.roswell/lisp/quicklisp/dists/quicklisp/software/cephes.cl-20231021-git/scipy-cephes/libmd-x86-64.dylib"
exists, skipping build......
(:LISP-STAT)
CL-USER> (in-package :ls-user)
#<PACKAGE "LS-USER">
LS-USER> (ql:quickload :plot/vega)
To load "plot/vega":
  Load 1 ASDF system:
    plot/vega
; Loading "plot/vega"

(:PLOT/VEGA)
LS-USER> (data :vgcars)
T

I can also run the other parts of the tutorial getting the means and tabular pretty-print output of the vgcars dataset.
What goes wrong
However when I try to run the plot:plot command I get the following error
Code
LS-USER> (plot:plot
  (vega:defplot hp-mpg
    `(:title "Horsepower vs. MPG"
      :description "Horsepower vs miles per gallon for various cars"
      :data (:values ,vgcars)
      :mark :point
      :encoding (:x (:field :horsepower :type :quantitative)
	             :y (:field :miles-per-gallon :type :quantitative)))))

Debugger
There is no applicable method for the generic function
  #<STANDARD-GENERIC-FUNCTION DATA-FRAME::COLUMN-LENGTH (1)>
when called with arguments
  (#<DATA-FRAME (406 observations of 9 variables)>).
   [Condition of type SB-PCL::NO-APPLICABLE-METHOD-ERROR]

Restarts:
 0: [RETRY] Retry calling the generic function.
 1: [RETRY] Retry SLY mREPL evaluation request.
 2: [*ABORT] Return to SLY's top level.
 3: [ABORT] abort thread (#<THREAD "sly-channel-1-mrepl-remote-1" RUNNING {1001490003}>)

Backtrace:
 0: ((:METHOD NO-APPLICABLE-METHOD (T)) #<STANDARD-GENERIC-FUNCTION DATA-FRAME::COLUMN-LENGTH (1)> #<DATA-FRAME (406 observations of 9 variables)>) [fast-method]
 1: (SB-PCL::CALL-NO-APPLICABLE-METHOD #<STANDARD-GENERIC-FUNCTION DATA-FRAME::COLUMN-LENGTH (1)> (#<DATA-FRAME (406 observations of 9 variables)>))
 2: ((:METHOD INITIALIZE-INSTANCE :AFTER (DATA-FRAME)) #<error printing DATA-FRAME {10016B8493}>) [fast-method]
 3: ((LAMBDA (SB-PCL::|.P0.| SB-PCL::|.P1.|) :IN "/Users/dmorado/.roswell/lisp/quicklisp/dists/quicklisp/software/lisp-stat-20231021-git/data/vgcars.lisp") #<unavailable argument> #<unavailable argument>)
 4: ((:METHOD VEGA:WRITE-SPEC (VEGA::VEGA-PLOT)) #<PLOT HP-MPG: Scatter plot ..) [fast-method]
 5: ((:METHOD VEGA:WRITE-HTML (VEGA::VEGA-PLOT)) #<PLOT HP-MPG: Scatter plot ..) [fast-method]
 6: (PLOT:PLOT #<PLOT HP-MPG: Scatter plot ..)
 7: (SB-INT:SIMPLE-EVAL-IN-LEXENV (PLOT:PLOT (VEGA:DEFPLOT HP-MPG (SB-INT:QUASIQUOTE #))) #<NULL-LEXENV>)
 8: (EVAL (PLOT:PLOT (VEGA:DEFPLOT HP-MPG (SB-INT:QUASIQUOTE #))))
 9: ((LAMBDA NIL :IN SLYNK-MREPL::MREPL-EVAL-1))
10: (SLYNK::CALL-WITH-RETRY-RESTART "Retry SLY mREPL evaluation request." #<FUNCTION (LAMBDA NIL :IN SLYNK-MREPL::MREPL-EVAL-1) {10061B174B}>)
11: ((LAMBDA NIL :IN SLYNK-MREPL::MREPL-EVAL-1))
12: ((LAMBDA NIL :IN SLYNK::CALL-WITH-LISTENER))
13: (SLYNK::CALL-WITH-BINDINGS ((*PACKAGE* . #1=#<PACKAGE "LS-USER">) (*DEFAULT-PATHNAME-DEFAULTS* . #P"/Users/dmorado/") (* . T) (** :PLOT/VEGA) (*** . #1#) (/ T) ...) #<FUNCTION (LAMBDA NIL :IN SLYNK::C..
14: (SLYNK-MREPL::MREPL-EVAL-1 #<SLYNK-MREPL::MREPL mrepl-1-1> "(plot:plot ..)
15: (SLYNK-MREPL::MREPL-EVAL #<SLYNK-MREPL::MREPL mrepl-1-1> "(plot:plot ..)
16: (SLYNK:PROCESS-REQUESTS NIL)
17: ((LAMBDA NIL :IN SLYNK::SPAWN-CHANNEL-THREAD))
18: ((LAMBDA NIL :IN SLYNK::SPAWN-CHANNEL-THREAD))
19: (SLYNK-SBCL::CALL-WITH-BREAK-HOOK #<FUNCTION SLYNK:SLYNK-DEBUGGER-HOOK> #<FUNCTION (LAMBDA NIL :IN SLYNK::SPAWN-CHANNEL-THREAD) {1001C4FDFB}>)
20: ((FLET SLYNK-BACKEND:CALL-WITH-DEBUGGER-HOOK :IN "/Users/dmorado/.roswell/lisp/sly/git/slynk/backend/sbcl.lisp") #<FUNCTION SLYNK:SLYNK-DEBUGGER-HOOK> #<FUNCTION (LAMBDA NIL :IN SLYNK::SPAWN-CHANNEL-T..
21: ((LAMBDA NIL :IN SLYNK::CALL-WITH-LISTENER))
22: (SLYNK::CALL-WITH-BINDINGS ((*PACKAGE* . #1=#<PACKAGE "LS-USER">) (*DEFAULT-PATHNAME-DEFAULTS* . #P"/Users/dmorado/") (* . T) (** :PLOT/VEGA) (*** . #1#) (/ T) ...) #<FUNCTION (LAMBDA NIL :IN SLYNK::C..
23: ((LAMBDA NIL :IN SLYNK::SPAWN-CHANNEL-THREAD))
24: ((FLET SB-UNIX::BODY :IN SB-THREAD::RUN))
25: ((FLET "WITHOUT-INTERRUPTS-BODY-173" :IN SB-THREAD::RUN))
26: ((FLET SB-UNIX::BODY :IN SB-THREAD::RUN))
27: ((FLET "WITHOUT-INTERRUPTS-BODY-166" :IN SB-THREAD::RUN))
28: (SB-THREAD::RUN)
29: ("foreign function: call_into_lisp_")
30: ("foreign function: funcall1")

This was reported before.  I believe it's an issue with different version of the system.  What version of Quicklisp are you running?

The Quicklisp version is from 2021-02-03, but the distribution last update was from 2023-10-31.  I will look into that previous issue, apologies I didn't notice that the same problem had been posted before.

Solved?

I can confirm the same issue: The versions of plot and data-frame in quicklisp don't seem to work together. Updating plot, data-frame, lla and smoothers to the latest versions from github solved the problem for me.

OK, I'll leave this open until Quicklisp gets updated in case it happens again.

I had tried using the data-frame and plot from github into local-projects but then I got stuck with missing smoothers and lla (these are missing from the list of repositories to clone in the installation notes in the README.)  Following the comment above and adding those from source as well solved the problem for me.  Thanks again both for the advice and help.

@DustinMorado, is this issue still relevant?

Sorry for the late reply, but the issue is not relevant since I moved away from using the Quicklisp distribution to just building from source.


add Latvian language support

Hello.
Please review addition of Latvian language to the supported language list.

This has been published in<EMAIL_ADDRESS>


Remove codesign target from Makefile

The regular target for _output/bin/limactl$(exe) already does code signing unconditionally, and the redundant codesign target doesn't use -f, so would always fail anyways: _output/bin/limactl: is already signed

Nope, doesn't make a difference

Oops, closed the wrong PR :(

"wanting to codesign standalone after building through some other method besides make."

Doesn't sound like a reasonable use-case. If you build without make, why won't you codesign without make as well?
In the past you had to use it, like make clean exe codesign, but now exe includes the code signing, and the extra target is broken unless you add an -f. That's how I found out, and why I created the PR. 😄


Reading data from Alluxio, client/fuse stuck

Alluxio Version:
2.7.2
Describe the bug
After Alluxio cluster is launched, a concurrent reading program is launched running against Alluxio.
The read program uses 8 loading threads to load files from Alluxio Fuse pod consistently. With 40 nodes, the full dataset will be loaded into Alluxio.
2TB total data (30k files * on average 50MB each)
Part of the files' cache ratio is not 100%, some are 84%, some are 451%.
After that, running alluxio master copyToLocal will stuck.
Fuse read will be stuck.
No error was found in logs.
[root@jssz-admpi-319 ~]# alluxio fs ls /hdfstest-global/20220115/part-00135.gz
    81051534    PERSISTED 01-16-2022 07:44:15:457 84% /hdfstest-global/20220115/part-00135.gz
[root@jssz-admpi-319 alluxio fs copyToLocal /hdfstest-global/20220115/part-00135.gz .

And the file size is different from the actual file size
root@jssz-coeus-alluxio-01:~# hdfs dfs -ls hdfs://...../20220105/part-00135.gz
-rw-r--r--  2 sycpb hadoop  78356499 2022-01-06 07:21 hdfs://..../20220105/part-00135.gz
root@jssz-coeus-alluxio-01:~# hdfs dfs -get hdfs://..../20220105/part-00135.gz .
root@jssz-coeus-alluxio-01:~# ls -l ./part-00135.gz
-rw-r--r-- 1 root root 78356499 Feb 17 19:23 ./part-00135.gz

Restart Alluxio cluster and rerun distributedLoad, the problem solved.
To Reproduce
Steps to reproduce the behavior (as minimally and precisely as possible)
Expected behavior
A clear and concise description of what you expected to happen.
Urgency
Describe the impact and urgency of the bug.
Are you planning to fix it
Please indicate if you are already working on a PR.
Additional context
Add any other context about the problem here.

Correct some claim.
No distributed load have been run. I use a distributed program to read all the files under 1 folder and observe most of them (38 out of 40), stuck in reading some file and this behavior is consist.
The majority of file is correct, while there are some hole in files without 100% percent loaded percent.
This issue happen when I restarted master in k8s style. And for some file that can be read correctly, the size is different, too.

@Nizifan could you provide related logs and probably jstack so we can analyze based on that?

@jja725
I restart the instance so this is not reproducible at this time.
Also I check fuse and master log but found nothing special.

fuselog.txt fuse debug log
jstack (1).txt master jstack
This issue happen again, fuse will be stuck in reading it without any error. I think we should at least we should fix this.
73576958    PERSISTED 01-16-2022 11:41:55:547 93% /hdfstest-global/20220115/part-28329.gz
if I try to use copyToLocal
-rw-r--r-- 1 root root  64M Mar  2 15:16 part-28329.gz.e96Dkfha_copyToLocal_
@jja725 Plz help take a look

fuse-jstack-cache-3.txt
fuse-jstack-cache-2.txt
fuse-jstack-cache-1.txt
jstack-worker-cache3.txt
jstack-worker-cache2.txt
jstack-worker-cache1.txt

fuselog.txt fuse debug log jstack (1).txt master jstack
This issue happen again, fuse will be stuck in reading it without any error. I think we should at least we should fix this. 73576958 PERSISTED 01-16-2022 11:41:55:547 93% /hdfstest-global/20220115/part-28329.gz
if I try to use copyToLocal -rw-r--r-- 1 root root 64M Mar 2 15:16 part-28329.gz.e96Dkfha_copyToLocal_
@jja725 Plz help take a look

@Nizifan i took a look the fuse logs and master jstack, didn't find anything special.
Can we get the whole cluster log and worker jstack as well?

fuse-jstack-cache-3.txt fuse-jstack-cache-2.txt fuse-jstack-cache-1.txt jstack-worker-cache3.txt jstack-worker-cache2.txt jstack-worker-cache1.txt

is those jstacks related to https://github.com/Alluxio/alluxio/issues/15026?

fuse-jstack-cache-3.txt fuse-jstack-cache-2.txt fuse-jstack-cache-1.txt jstack-worker-cache3.txt jstack-worker-cache2.txt jstack-worker-cache1.txt

are those jstacks related to #15026?

Ok yes, seem I copy it to wrong place!

fuselog.txt fuse debug log jstack (1).txt master jstack
This issue happen again, fuse will be stuck in reading it without any error. I think we should at least we should fix this. 73576958 PERSISTED 01-16-2022 11:41:55:547 93% /hdfstest-global/20220115/part-28329.gz
if I try to use copyToLocal -rw-r--r-- 1 root root 64M Mar 2 15:16 part-28329.gz.e96Dkfha_copyToLocal_
@jja725 Plz help take a look

@beinan if a worker block is flaky or broken, reading from this flaky/broken block from disk may hang forever. Do you have ideas about whether this scenario is possible to happen in the current implementation? and if it's possible, do we have fallback mechanism to prevent forever hanging (client cannot read the block and client operations towards to block hangs)

@LuQQiu

fuselog.txt fuse debug log jstack (1).txt master jstack
This issue happen again, fuse will be stuck in reading it without any error. I think we should at least we should fix this. 73576958 PERSISTED 01-16-2022 11:41:55:547 93% /hdfstest-global/20220115/part-28329.gz
if I try to use copyToLocal -rw-r--r-- 1 root root 64M Mar 2 15:16 part-28329.gz.e96Dkfha_copyToLocal_
@jja725 Plz help take a look

@beinan if a worker block is flaky or broken, reading from this flaky/broken block from disk may hang forever. Do you have ideas about whether this scenario is possible to happen in the current implementation? and if it's possible, do we have fallback mechanism to prevent forever hanging (client cannot read the block and client operations towards to block hangs)

I'm not sure if it's the case, but we have seen some "forever hanging" in local cache when it's reading some page files from the ssd.  It rarely happens but quite annoying, so Bin added a time-bound page store to throw a timeout exception once the reading is longer than expected.
  Can we make sure the hanging is just happening while reading file from disk?

@beinan will worker jstack helps to see whether hanging is just happening while reading from disk? or maybe async-profiler with wall clock profiling?

@Nizifan Timeout logics has been added to the block read/write, but that requires extra thread/resources to keep track of the read/write

Thanks for that change!


Typo in stale issue message

What was wrong?
Minor typo from #863
How was it fixed?
Fixed typo
To-Do

[ ] Add entry to the release notes (may forgo for trivial changes)
[ ] Clean up commit history

Merging this in so it's not hanging over the next week while I'm afk. It's a very minor typo bugfix that got missed in a previously approved pr.


Add and colour assignees

If people are assigning themselves to pull requests as they are reviewing them, it's useful to colour the bar differently, and indicate who the assignee is.
This seems like the kind of feature that might usually live behind a toggle, but I wasn't entirely sure how that was usually done.

Thanks Mark, this is a nice addition.


I made the same changes to your training code and test code, but it failed during the test.

Very strange, I made the same changes to your training code and test code, but it failed during the test. Do you know why? The error is as follows: But I can successfully test by adding False to prop_model.load_state_dict(prop_saved), but such a test will cause the test accuracy to drop.

If you changed the network structure, you would also need to change this file: https://github.com/hkchengrex/STCN/blob/main/model/eval_network.py

If you changed the network structure, you would also need to change this file: https://github.com/hkchengrex/STCN/blob/main/model/eval_network.py

Yes, I made the same changes to this file but the problem still exists.

Well then maybe those changes are problematic. That's all I can tell from the error messages.


Expand testing of get_email

Using @flinz's parameterized test case, this adds tests for mocked IMAP and POP3 retrieval.
In order not to break the build, the IMAP case exempts a known error from failing the test because the fix for it is part of a get_email refactoring in the PR following this one, and the special-casing gets removed at that point.
There's plenty more testing that could be done, but this is a start that I wanted to get out there as a basis for further discussion on how we should handle email processing.

Current coverage is 53.96% (diff: 98.57%)

Merging #459 into master will increase coverage by 2.29%

@@             master       #459   diff @@
==========================================
  Files            32         32
  Lines          2872       2928    +56
  Methods           0          0
  Messages          0          0
  Branches        466        479    +13
==========================================
+ Hits           1484       1580    +96
+ Misses         1247       1202    -45
- Partials        141        146     +5

Powered by Codecov. Last update 1f63691...e8d0c5b

Although I waited a few days so that it wasn't too fresh in my head, please don't be shy to tell me of any areas that need more commenting because I know how it's always just too obvious to the author at the time but that I'll be glad for them in future! 😉


Embeddings not showing

When I load the embeddings provided in the demo, it shows empty no matter what I do.

Duplicate #18


Plastic Bars are not called Plastic Bars

Mod source
Factorio Mod Portal
Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[X] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[ ] Progression
[ ] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
Plastic Bars item is set as "React Aromatics with Syngas

Steps to reproduce
1: Open inventory
2: Search Plastic Bars - OH,  oh no, there isn't any!
3: Search "React Aromatics with Syngas" - Oh WE DO have plastic!
Additional context

Log file
No response

Thanks this is now fixed.


Fix typo in Getting Started section

The closing tag for <Header> was missing a forward-slash. 🤓

Awesome, thanks!


Water transparency setting does not work correctly

The water transparency setting is meant to match the same setting on Bedrock. However, on Bedrock, the water textures are solid instead of transparent, so their alpha is 255 * 0.8 = 204. However, since the Java water textures are semitransparent, their transparency is 180 * 0.8 = 144, creating overly transparent water.

To solve this, water textures should be raised to 255 alpha before applying the water_transparency value. If the solution is just replacing the water textures themselves, this will break compatibility with other resource packs, so the "flattening alpha" solution is better.
Here I've used a resource pack to demonstrate how this proposed fix would look. It makes oceans look much more natural.

Yes, I know that, but when I noticed it was late, I extracted the water texture from last xbox 360 update, and it was very ugly, and I doesn't used it.  But, saying that the water transparency setting doesn't work correctly is a bit of an exaggeration, because it's simply the texture, when I saw that I actually got scared lol

Well it's not just the texture, that's the thing. Although the fix you added in 1.3.1 fixes the default water, any texture pack applied above the default resources will have water that looks too transparent. That's why I suggested raising the alpha value of all water textures to 255 before applying the water_transparency changes.

Unfortunately, increasing the alpha value of the water texture is not simple, because to do this I would probably have to create a custom Render Type, which removes the transparency of the original texture, but implies changing the rendering of all fluids, and breaks compatibility with many mods

Oh, I see. That is unfortunate. Thank you for your responses and for your amazing work on this mod. I know I've been spamming you with bug reports and I apologize. I have just been enjoying playing the game with the Legacy visuals and menus so much! It is incredible what you've achieved in such little time.

You helped me a lot with all these issues and contributions


included examples

I tried out both examples (hello and taffy) on Windows 10 and they looked, interesting.
I think it would make more sense to create examples that are a bit better looking, if the project is at the stage where this is possible

Same expectation.
Many great projects have a wealth of examples, and some interesting examples may also spark new improvements. Sometimes the examples are more of a learning experience than the documentation.
List the examples I expect:
1, Show GIF images
2, Create a virtual keyboard (showing almost all keyboard-mouse interactions)
3, A menu window. Has all the characteristics of a menu, but it is a separate window. Similar:

4, Display a Markdown file

That'd be good
also, if WASM is possible with this library, a website example is a good idea.

Thank you for your interest! This is definitely on the agenda, however, we're still working on lower-level parts of the stack, to enable this.
As discussed in This Month in Xilem, March 2024, an objective for the next month is to get Xilem into a state where it can be demonstrated at RustNL.
Unfortunately, work of this kind on the Xilem side is largely blocked on the implementation of rfcs#1, which I believe is making good progress.
Those suggested examples are interesting, although I would like to ask for some clarification:

Is there any particular reason the image has to be in GIF format? I'm not sure that is a very strong example - I suspect SVG might be more suitable, as that makes better use of our vector graphics foundations?
I'm not sure what you're suggesting. Do you mean just a text field?
We are definitely aiming to do menus properly, but unfortunately this is made more difficult than it should be by winit.
Displaying markdown is definitely a useful property to have, but doing an actual integration properly would be quite challenging - this is due to markdown also permitting HTML tags, which means you need to implement large parts of a browser to make it work

On the comment of WASM:
This is quite a deep subject, but for the moment I would suggest using xilem_web instead of xilem for WASM. This is because it is implausible and/or impossible to integrate the Xilem widget layer into the web in a manner which is sympathetic to the needs of our users (e.g. in terms of accessibility).
I personally hope we can create a unified API on top of both, but that is very much future work. Our focus in the near term is on the non-web cases.


Nuxt Deployment on DigitalOcean // ERROR  Cannot find module '/workspace/@nuxt/eslint'

Environment

Package
@nuxt/eslint
Reproduction
Deploy app as described in docs to digitalocean with SERVER_PRESET=digital-ocean
Describe the bug
Get the following error in deployment:
[2024-06-14 14:17:10] │  ERROR  Error while requiring module @nuxt/eslint: Error: Cannot find module '/workspace/@nuxt/eslint'
[2024-06-14 14:17:10] │ Require stack:
[2024-06-14 14:17:10] │ - /workspace/index.js
[2024-06-14 14:17:10] │
[2024-06-14 14:17:10] │
[2024-06-14 14:17:10] │  ERROR  Cannot find module '/workspace/@nuxt/eslint'
[2024-06-14 14:17:10] │ Require stack:
[2024-06-14 14:17:10] │ - /workspace/index.js
[2024-06-14 14:17:10] │
[2024-06-14 14:17:10] │   Require stack:
[2024-06-14 14:17:10] │   - index.js
[2024-06-14 14:17:10] │   at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
Additional context
In nuxt.config.ts:
modules: ['@nuxt/eslint']
in package.json:
"devDependencies": {
"@nuxt/eslint": "^0.3"
}
Logs

We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required


Error/warn when converting JSON with nested values

See #365.

Hmmm, I may be wrong, I'll check back through the changelog. Thanks for letting me know!

Any update here? Very interested in this feature in in2csv (as you can probably tell from my recent tweets) :)

346f352e is the commit that broke it.

See #476

Hey, I'm having the same issue after using pip install. Do I have to compile the code from the repo to get the fix for this?

Yes, try:
pip install --upgrade -e git+git://github.com/wireservice/csvkit.git@master#egg=csvkit

oh snap! you are amazing. <3
On Fri, Oct 14, 2016 at 2:07 PM, James McKinney<EMAIL_ADDRESS>wrote:

Yes, try:
pip install --upgrade -e git+git://github.com/wireservice/csvkit.git@master#egg=csvkit
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wireservice/csvkit/issues/366#issuecomment-253893867,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATdJw2TnXjkadspW-gNc_usWZACjvEZKks5qz9LrgaJpZM4DBf00
.

--
Jeremy Benson | LAMP DeveloperGO LOCAL INTERACTIVE
http://www.golocalinteractive.com/
Corporate Woods Building 12
10975 Benson Drive, Suite 250
Overland Park, KS 66210


Add on_OS option

This is an enhacement request, so sorry to not use the issue template.
I use some plugins that I want to enable on certain OSs. I would like to use the same vim config on all my OSs and was wondering if your could implement an on_OS option so you could load the plugin only for certain OSs. In a similar way I use has('macunix') on vimscript.
Thanks,
A

It is not needed.  You can use has() instead.

Nice, can you please provide an example in a dein.toml config file?

Well...
[[plugins]]
repo = 'Shougo/vimshell.vim'
on_map = {n = '<Plug>'}
on_if = "has('win32')"
hook_add = 'nmap [Space]s  <Plug>(vimshell_switch)'
hook_source = 'source ~/.vim/rc/plugins/vimshell.rc.vim'

Thanks! Somehow I missed on_if

Somehow I missed on_if

I have thought that.


LooseApplication in a war module ignores ejb dependencies

As there is a check to only include jar dependencies, every dependecy which has set its type to ejb is ignored:
https://github.com/OpenLiberty/ci.maven/blob/41bbf7a4259dc05faab962ab97c4598c400f7282/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/applications/DeployMojoSupport.java#L303
A better solution would be to check the extension of the ArtifactHandler to be "jar": "jar".equals(artifact.getArtifactHandler().getExtension())
We have to use type ejb as the version is managed by a BOM which only defines the version for this type as it will be used sometimes in an ear.

So it sounds like the bug is being reported as an issue with a WAR with an EJB JAR dependency (the WAR may in turn be inside an EAR or it may be the "top level" artifact).   It's not an issue with the EAR itself containing an EJB JAR dependency.
Sometimes it gets confusing stepping through all the layers so just thought I'd note that to clarify.
Thanks for the suggestion.

@jonasrutishauser Can you provide an example pom.xml for the ejb jar and the war that includes it? We have an integration test already for a loose application war that includes and ejb (src/it/loose-war-ejb-it). So I want to make sure I recreate your exact scenario in order to test the fix that you proposed.


How do I use the pre-trained model to continue training on my dataset?

How do I use the pre-trained model to continue training on my dataset?

You can modify the training code's pipeline by first loading the model's checkpont before training.

You can modify the training code's pipeline by first loading the model's checkpont before training.

Does the provided "ours_t" checkpoint file share the same experiment setting with the default config? I tried to load these weights during finetuning, but it always fails.


More small fixes

fixing sif_path to the preferred by Jonathan set_sif, making sure Run_Number doesn't have issues if missing or not int,

Thank you, Zhaowei for finding them.


CI Failing on Master

Describe the bug
The CI tests which include rdkit are currently failing on master since 4 days ago. This roughly coincides with a new release of Rdkit on conda-forge.

I've found that QCEngine's deps (https://github.com/MolSSI/QCEngine/issues/252, fixed in https://github.com/MolSSI/QCEngine/pull/253) which happened to introduce an API-breaking change at a time near RDKit's recent release. Everything is passing for me locally now.
I fear this will require a QCEngine bump before 0.7.0. Pinning an implicit dependence to a lower version is the only alternative I can think of, and that is not appealing.

And just to resolve my confusion ("why does this QCEngine issue only show up in RDKit tests?") the example is skipped when RDKit is not installed, and this is encoded in the GHA script:
https://github.com/openforcefield/openforcefield/blob/3de67ca96265a3953c008e8e244c380d4aa81f2e/.github/workflows/CI.yml#L105-L115

Fixed for now (save one codecov step, the recent cron CI passed). Thanks for catching this @SimonBoothroyd!


How to Access apollo ros messages from outside of docker container?

I want to be able to access ROS messages published in the Apollo docker container with the rosmaster running in the Apollo docker container...
but be able to subscribe to these messages from the host outside of the docker container.
How can I do this?
Also How can I run RVIZ from INSIDE with docker container?

This use case is not supported in Apollo

Any work around?  To send ros messages to nodes that run outside of the docker container?

you can refer the solution #4892 .

@mickeyouyou
thanks, I found this too.   And it works for me. Can close this issue.

You are welcome, open a new issue if you have another question.


Capability to resolve embedded and multiple secrets in a OMElement

Purpose
When using encrypted secrets with cipher tool, current implementation doesn't allow to use embedded secrets and only allows to use a single secret in one string. This PR fixes it by iterating through each secret in the string and replacing only the $secret{key} fragment in the OMElement value with the decrypted secret.
:bangbang: Requires to get carbon-secvault changes before merging this PR.
Related issue

https://github.com/wso2/product-is/issues/14109

Related PR

https://github.com/wso2/carbon-secvault/pull/79

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2627790889

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2627790889
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2628917369

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2628917369
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2631267367

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2631267367
Status: failure

Only one test case is failing in the PR builder and shouldn't be related to the change.
[ERROR] Tests run: 1871, Failures: 1, Errors: 0, Skipped: 6

[ERROR] org.wso2.identity.integration.test.rest.api.user.approval.v1.UserMeApprovalTest.testListTasksWhenAvailable(org.wso2.identity.integration.test.rest.api.user.approval.v1.UserMeApprovalTest)
[ERROR] Run 1: UserMeApprovalTest.testListTasksWhenAvailable:141 1 expectation failed.
JSON path findAll{ it.presentationName == 'TestWorkflowAddUserForRestTask' }.size() doesn't match.
Expected: is <3>
Actual: <2>

Same test had failed in the previous run and has a different outcome.
[ERROR] Tests run: 1871, Failures: 1, Errors: 0, Skipped: 6

[ERROR] org.wso2.identity.integration.test.rest.api.user.approval.v1.UserMeApprovalTest.testListTasksWhenAvailable(org.wso2.identity.integration.test.rest.api.user.approval.v1.UserMeApprovalTest)
[ERROR] Run 1: UserMeApprovalTest.testListTasksWhenAvailable:141 1 expectation failed.
JSON path findAll{ it.presentationName == 'TestWorkflowAddUserForRestTask' }.size() doesn't match.
Expected: is <3>
Actual: <4>

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2634584206

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2634584206
Status: failure

Previously failed test had passed in the recent run and had failed a different one. Hence should be intermittent failure.
[ERROR] org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationMetadataPositiveTest.testGetSAMLMetadata(org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationMetadataPositiveTest)
[ERROR] Run 1: ApplicationMetadataPositiveTest.testGetSAMLMetadata:185 SAML Metadata returned from the API doesn't match.

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2647556659

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2647556659
Status: success


What is difference between conventional way and federated way

This is a simulation of what training using a Federated setting might look like.
Since the entire code is only run on a single kernel, it is only an experimental representation of Federated Learning.
It simulates a client instance with it's own shard of data and creates an object that can take a global model and train it on it's own data shard and returns updated model weights t the simulated server.
This codebase also contains an implementation of Federated Averaging which takes multiple weights of the same model and performs layer-by-layer averaging.

In this project, federated learning only selects a portion of users in each epoch to participate in the model parameter update process, whereas in the original scheme, all users need to participate in this process


Fixed option attemptToReturnJSONObject

That option allow us to receive a plain string as data but in reality it does not work.
The check was about having a value from the options and did not check for its real value.
This commit fix this.
Hope it will be merged soon 👍

Thanks @dral3x - this might actually be fixed in #60 but I need to check.
If it's not, then I'll add it in there.


What happens in UTC, stays in UTC.

Ensures that when we Time.iso8601 a date, the timezone offset is taken into account.

epic commit bro


chore: forc with latest version

updating this test

Would it be better to generate these things automatically in CI instead of checking them in?

@adlerjohn there wasn't a good way to source forc during development and on CI when we started. If we can get forc in CI then we can gitignore these.


Improve vault tunnel creation

This PR fixes the following:

when testing connection to the bastion before creating vault tunnels, we use the -N flag, which shouldn't be used as we are running a remote command (/bin/true)
when creating vault tunnels, if a problem occurs, there was a chance we could hang indefinitely - this change reduces the chance of a blocking channel so that this hanging doesn't occur

Improve Vault tunnel creation preventing indefinite hanging in certain situations

/assign @dippynark
@dippynark what is your feeling about my comments?

Thanks luke for tracking this down
/lgtm
/approve


docs: Set required GITHUB_TOKEN for pushing documentation to gh-pages.

Summary of changes
Changes introduced in this pull request:

Fix the authentication error when trying to upload docs to gh-pages.

Reference issue to close (if applicable)

Other information and links

I am not certain that this PR is enough. We might have to change the username from git to ChainSafe. Not sure.

#1366 fixes this problem. Closing.


Make an iOS app example

Based on the SDK: https://github.com/casdoor/casdoor-ios-sdk
Like how we make examples for others: https://casdoor.org/docs/how-to-connect/sdk/

@ziliangyu
/cc @xiaobeiswift


General question about usage in react-native

I'm planning to use this lib directly in react native without a server of course server for the OAuth and onboarding part but once have the token planning to use it directly from the client-side do you guys recommend this approach and what are the pros and cons of using like that keeping the caching and rate limiting from the square side in mind.
Thanks

hi @theahmadzai,
Can you share more about which APIs your app would be using? As for storing the User's access token on the device, we would recommend that your App use the PKCE Oauth flow which we recently released support for.

Not using this lib on the frontend anymore


Gradio demo error

I've tried to play the demo, but I've encountered the following error on the browser preview.

The Chrome developer tool shows the results of this error.
index.js:170     POST http://<IP_ADDRESS>:7860/run/predict 422 (Unprocessable Entity)
My environment settings

OS: Ubuntu22.04

I ran into the same issue. Update the gradio version (3.36.1) can fix it.
pip uninstall gradio==3.31.0
pip install gradio

The issue was resolved with the above solution. Thank you!


No event engine could be initialized from epoll1

What version of gRPC and what language are you using?
PHP 7.3.14 with grpc ext 1.27.0
What operating system (Linux, Windows,...) and version?
macos catalina
What did you do?
I set
grpc.enable_fork_support = 1
grpc.poll_strategy = epoll1

which gives
php -i
E0220 12:47:37.882918000<PHONE_NUMBER> ev_posix.cc:230]                   No event engine could be initialized from epoll1
[1]    27272 abort      php -i

What am I doing wrong?

https://github.com/grpc/grpc/blob/6dde2f43f70e10759bff06e09207d48f66beff36/doc/core/grpc-polling-engines.md#other-polling-engine-implementations-poll-and-windows-polling-engine
may be it do not support in max
try poiling-engine

Unfortunately these 2 flags
grpc.enable_fork_support = 1
grpc.poll_strategy = epoll1

are not supported in MacOS. PHP fork() supported is limited to linux and CLI.


Add first batch of TypeScript declarations

This PR adds the first chunk of TypeScript declarations to the existing code base as requested in #39.
Overall I believe these types are imperfect but still a good starting point. Over time we will iterate and improve them through usage and developer feedback.
What is included
The focus is on most of the commonly used features of @scatter-js/core, such as:

components used to initialize a Scatter dapp (creating a Network object, connect and login methods, etc)
most of the WALLET_METHODS
typings for Identity, Account and other objects returned from Scatter

In addition, typings for @scatter-js/eosjs2 and @scatter-js/lynx plugins are added.
What is not included

Accuracy. The existing code base lacks comments and documentation, so finding out the right types is not trivial. Over time this will, however, improve through feedback from developers.
Some less commonly used features are still missing types. For now, these are marked as any.
Some parts rely on existing typings from the eosjs package, mainly the Api and JsonRpc classes. However, I did not take the liberty of adding this package as a peer dependency (maybe @nsjames can tell me if it is ok or not) so for now, those types are replaced with any as well.

@AnyPang :smile:

@matei-radu It's great!
I use it in Egret,and it has the following compiling errors:
Error scatter-js/packages/core/types/index.d.ts (144,13): A rest parameter must be of an array type.
Error scatter-js/packages/core/types/index.d.ts (144,24): Cannot find name 'Parameters'.
Error scatter-js/packages/core/types/index.d.ts (144,57): Cannot find name 'ReturnType'.
Maybe the Egret has the lower version of the Typescripts compiler.How should I fix these errors?

Thanks for finding this!
I don't know what Egret is but you need TypeScript version 3.1 or above to use these types, which was released more than a year ago.
We will have to add "typescript": "^3.1.0" as a peer dependency to avoid such issues.

Awesome!
Gonna go over these tomorrow <3

So, everything looks good at a glance (haven't pulled locally yet),
but how does this handle the dynamically added methods such as ScatterJS.eos()?


Add SSHLog to emerging applications

Request to add SSHLog (https://github.com/sshlog/agent/) to the emerging app list.
The core eBPF code that monitors the SSH sessions is located here: https://github.com/sshlog/agent/blob/master/libsshlog/bpf/sshtrace.bpf.c

It looks like the build failed, can you check it again?

Sorry about that, I should have checked.  It should compile now.

Thanks for the addition!

Hi, I'm curious about how this project complies with the requirements to be listed in the applications page:

Projects can be listed on this page as "Major" or "Emerging". The requirements for being listed as "Emerging" are:

The project must be open source. All source code must be licensed under an open source license. Any documentation must be licensed under an open license.

However the main license of this project is the Redis Source Available License. To be clear I don't have anything against anyone listing what they want on their webpage, just pointing out an apparent inconsistency between the criteria and what's included.

Thanks for the report @danipozo, I think nobody realised there was a license incompatibility when looking at the PR.
My understanding is that we do want projects on the page to be “open”-source, in the sense that people can access and reuse the sources. Even though this is not a fun decision to make, I believe the best way forward is to remove SSHLog from the list. I just opened #585 to do that.

The eBPF code for SSHLog is GPL:
https://github.com/sshlog/agent/tree/master/libsshlog/bpf


Training process stuck with --distribute_modules flag

Hi, while executing:
torchrun --nproc_per_node gpu -m sae meta-llama/Meta-Llama-3-8B --distribute_modules --batch_size 1 --layers 24 25 --grad_acc_steps 8 --ctx_len 2048 --k 192 --load_in_8bit --micro_acc_steps 2,
I found that the training process gets stuck at step=8.
I debugged and traced the problem to: https://github.com/EleutherAI/sae/blob/f60c38daedfade52da1baf12343b52447af0d654/sae/trainer.py#L431 Has anyone encountered this issue?

I have not had issues with it getting stuck at an early step like step 8. It has sometimes gotten stuck at the very end of training.

I have not had issues with it getting stuck at an early step like step 8. It has sometimes gotten stuck at the very end of training.

I met the same problem here too. Tried pile-10k on gpt2, Gemma-2b, and Llama-3-7b, and all the training got stuck at the exact last step. Specifically, the program got stuck on Line 281 of https://github.com/EleutherAI/sae/blob/main/sae/trainer.py. At that point, the loss is a tensor(0.3034, device='cuda:0', grad_fn=).
Based on this issue, I want to ask:

If there's any fix to this issue.
If it's ok to directly skip the last step and harvest the SAE.


IOS not running

compile to ios not running

Hey @zainalsalamun! You need to have JDK installed on your Mac. To check if it's installed, run the command
java -version

in the Terminal. You can download it here.

Hello,
I have the same problem when compile the sample generated from KMM Wizard.
I checked jdk source path in AndroidStudio -> File -> Project Structure -> JDK Location : Applications/Android_Studio.app/Contents/jre/jdk/Contents/Home
In terminal echo $JAVA_HOME = /Applications/Android_Studio.app/Contents/jre/jdk/Contents/Home
But when compiling for IOS I get the following error:
ERROR: JAVA_HOME is set to an invalid directory: /Applications/Android
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
Command PhaseScriptExecution failed with a nonzero exit code
** BUILD FAILED **

+1

+1
is there any update on this?

Hi I was having a similar problem running the Xcode sample project, and it boiled down to a misconfigured OpenJDK installation.
If you have Homebrew installed, follow the steps described here: https://dev.to/gabethere/installing-java-on-a-mac-using-homebrew-and-jevn-12m8. If it fails, try this (that is what I did, and it seemed to worked):
$ brew tap AdoptOpenJDK/openjdk
$ brew install adoptopenjdk8


Beamer Delegate does not work as expected for initialPath of '/'

When using the following setup, the BeamerDelegate does not work properly.
Steps to reproduce:

Create a Beamer Delegate as follows:

BeamerDelegate(
  initialPath: '/',
  locationBuilder: BeamerLocationBuilder(beamLocations: [
      LocationA(), //This Location has pathBlueprint '/my/first/page';
      LocationB(),  //This Location has pathBlueprint '/my/second/page';
      LocationC(), //This Location has pathBlueprint '/';
     ]),
  );

Start the Flutter Mobile Application

Actual Behaviour:
Initial Page is selected by position in beamLocations list. This means you will se Location A.
Expected Behaviour:
Initial Page is selected by provided path blueprint. You should see Location C.
In Depth Problem Analysis:
When you provide the method "Utils.canBeamLocationHandleUri(BeamLocation beamLocation, Uri uri)" with a BeamLocation with pathBlueprint of ['/my/first/page'] and the Uri '/' it returns 'true'.
I would expect the method to return false.

Hi @fillsinger
Thanks for creating an issue!
This is an expected behavior. pathBlueprints are made so that they represent a stack of pages, not a single page, and therefore it is sufficient for a part of the path to match.
Nevertheless, I see that this could be confusing and sometimes unwanted. I will examine how we can improve on this, maybe with some strictMatch flag in BeamLocation.


[Question]: I can't share an SVG file on iOS.

What is your question?
При попытке поделиться SVG файлом на IOS, отрисовывается пустой экран. На Android я могу поделиться SVG file.
System info

IOS 15.6.1
Plugin version: 4.4.0

Steps to Reproduce
Call the shareFilesWithResult or shareFiles methods and pass the path to the file system with the SVG file.
Result

Flutter doctor -v
Flutter (Channel stable, 3.3.3, on macOS 12.5.1 21G83 darwin-x64, locale ru-RU)
    • Flutter version 3.3.3 on channel stable at /Users/goncharovivan/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18a827f393 (5 days ago), 2022-09-28 10:03:14 -0700
    • Engine revision 5c984c26eb
    • Dart version 2.18.2
    • DevTools version 2.15.0

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

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A309
    • 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)

[✓] VS Code (version 1.68.1)
    • VS Code at /Users/goncharovivan/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.48.0

[✓] Connected device (4 available)
    • SM G780G (mobile)  • RF8T2048LCP               • android-arm64  • Android 12 (API 31)
    • iPhone 12 (mobile) • 00008101-001A042A26D0001E • ios            • iOS 15.6.1 19G82
    • macOS (desktop)    • macos                     • darwin-x64     • macOS 12.5.1 21G83 darwin-x64
    • Chrome (web)       • chrome                    • web-javascript • Google Chrome 105.0.5195.125
    ! Error: iPhone 12 is busy: Fetching debug symbols for iPhone 12. Xcode will continue when iPhone 12 is finished. (code -10)

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

Logs
Only one line in the logs
[Default] Task Runner[48946]/1#4 LF=0 couldn't find entitlement CopresenceCore.Entitlement.publicAPI error nil
Checklist before submitting a question

[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I am using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

Looks like iOS is not showing any apps that accept SVGs. I guess that you could provide the mime types, but I have no idea if that would help or not.


Utilize data from product search as basic/list product scope

When we execute a search, we receive basic product data in the payload. We could use that payload to populate product details data for list scope for performance.

We decided to reconsider this ticket, as we should do some optimizations for product search first (especially differentiate scopes between typeahed search and actual search).


does not exit

Hi
running your program, its dumps ok!
but the program does not exit from nodejs
the dump is ready but does not give back the nodejs prompt

got it, I'll check it recently


Error copy

Error is difficult to understand. Can we update the copy to something that is easier to understand.
Andrea suggested this in the chat-
"in order to use a node bot you need to have node/npm installed in your machine https://nodejs.org/en/download/"

Following up on this error. My error was resolved by re-booting my system. So we may need to inform the user accordingly..


username auth will be deprecated soon

According to https://blog.jetbrains.com/youtrack/2019/08/features-to-be-discontinued-in-upcoming-youtrack-releases/ the username/password auth method will be deprecated in 2020.1 (will be probably released around March 2020)
I believe we should already migrate to the token auth method, to be prepared and also to be able to disable username/password logins to youtrack itslef when only oauth is really needed (currently I have the username/password method auth on, just for this plugin)
i.e.
The blog alos talks about deprecating the old api. Not sure if it is applicable here, but should be taken under consideration as well.
@jk1 what say you?

it seems that this actually relies on the youtrack server configuration to change and that is not in our hands, which contradicts their desire to make such a change...
I opened an issue to get that going - https://youtrack.jetbrains.com/issue/JT-54447, please vote it up

@regevbr token auth is actually supported by the plugin. Setting either a permanent token or an app password as a password in IDE should do the trick. Since it's not at all obvious, I probably should at least add a readme section to cover that.

which contradicts their desire to make such a change...

As far as I know the server form is something that's being worked on at the moment.

Thanks, that is very strange that it works as the code doesnt seem to handle it at all and it should be sent in a diffrent way than Basic auth. Can you please explain how it works as well?

I see that youtrack actually takes care of the matter for us, as it disregards the username when using perm token within a basic auth

Right you are, YouTrack accepts tokens as passwords in Authorization Basic header to let existing clients connect while they're not yet migrated to the Auhtorization Bearer.


Added recalculation of CheckList for PunchListItem Creation, Deletion…

… and certain Updates

I'm not sure if this enpoint in webapi returns right away, and if it returns at all.  Either way, we should not await it/require it to work.

I'm not sure if this enpoint in webapi returns right away, and if it returns at all. Either way, we should not await it/require it to work.

@TordJoranger @janid1967  I think the question in regards to the recalculation being awaited on, is whether or not we should do a rollback if we fail to recalculate, as I do agree that we don't really need to wait for the recalculation to be done for us to finish
If we don't care about the recalculation endpoint failing for whatever reason or not, we can just fire and forget, otherwise we probably should keep the await

I'm not sure if this enpoint in webapi returns right away, and if it returns at all. Either way, we should not await it/require it to work.

@TordJoranger @janid1967 I think the question in regards to the recalculation being awaited on, is whether or not we should do a rollback if we fail to recalculate, as I do agree that we don't really need to wait for the recalculation to be done for us to finish If we don't care about the recalculation endpoint failing for whatever reason or not, we can just fire and forget, otherwise we probably should keep the await

Ok, lets discuss it later, but we don't need to hold the pr over it.


Resolve todo and fix docstrings in fastaiv2 example

Motivation

Resolve the left TODO task of the fastaiv2 example.
Description of the changes

Remove lines by following  instructions in the comment
Fix docstring by following coding style of Optuna

@gen740 Could you review this PR? Please feel free to remove the assignment if you are busy.
CC @HideakiImamura


Added jshint check, npm test, TravisCI config, and cleaned up some code.

Are you still planning to do a slightly refactor of background.subscribe?

Not right now

We might as well go ahead and do it. It doesn't seem too big of a change.

LGTM

Merge?

I requested the refactoring to the background module, but I can give a stab at that myself.
I'll integrate these changes then close this PR.

I quieted my own dislike for the current implementation of the background module, I'm not particular concerned about it anymore.

If it helps, topic.get({ autoCreate: true }, function(err, topic) {}) is coming soon to gcloud :)
(get() (with an optional { autoCreate: bool }), create(), and exists() will be available for all of our objects)

Done. This has all been integrated.


Iam Login

I tried to connect to my webunits but I need to use the IAM id on the page
(School is LLLIS )
How can I do it
Cordialement

Login with the IAM id is unfortunately not supported by the webuntis python module.


VBMH Readme

This PR contains the readme for the setup of Virtual Bare Metal Hosts. It is set to be merged after the initial restructuring PR: https://github.com/suse-edge/metal3-demo/pull/24.

I left some comments in the rke2-cluster.md documentation but struggle to understand why all 3 PRs include (almost) the same files. Given the title of this PR I don't expect the RKE2 documentation here but please feel free to adjust as you see fit - I'm also fine with renaming the PR.

I think this is because I requested the large number of changes from the fork be split into several PRs - I was thinking of several logically independent commits which could be more easily reviewed, but evidently the dependencies between changes made that difficult to achieve.
At this point it's perhaps best to merge this to enable progress given the feedback from @atanasdinov has been resolved - the only issue I see with that is my feedback from https://github.com/suse-edge/metal3-demo/pull/24 wasn't addressed on this branch, so we'll perhaps have to merge that one first, then rebase this one (to ensure we're no longer referencing the forked charts repo)


The function still exists under the slot after swapping it with another one for a Windows Java Function App

OS: Win10
Build Version: 20220614.1
Regression: Previous release
Repro Steps:

Create a Windows Java Function App with App Service Plan host plan -> Create two slots (slot1 and slot2) to it.
Deploy a Java project to the slot1.
Swap slot1 with slot2.
Check whether there is no function under the Functions node of the slot1 after swapping slots.

Expect:
There is no function under the Functions node of the slot1.
Actual:
The function still exists under the slot1.

Hi @v-xinda
Could you confirm that this isn't a timing issue? As in, if you wait a few minutes and refresh slot1, does that resolve the issue?
If that doesn't resolve it, could you try re-loading VS Code and see if that resolves it?

@nturinski   Verified this issue on the latest build 20220714.4, it doesn't reproduce now. So close it.


Spanish support

Folder name in english

The resources should be located in Oqtane.Client\Resources,

Also please check my comment here


Update documentation.

Add model import.
Change running model command to m.command('start').

@veronicaguo I think we should add or update the announements on index.rst to say something about how v0.3.1 will not work with non-parameters, so this will break old models, they will have to migrate to use parameters.

I think we should update the API as well with some of the new classes and auto-document them.

in data-sources.rst add new DataParameter
.. autoclass:: DataParameter
ditto for outputs.rst
and formulas.rst, calculations.rst and simulations.rst

@veronicaguo Thanks for making those changes. This is looking good. Let me work on it today, maybe I can wrap it up. :)

fixes #95


Disposing of a map when pin focused using accessibility crashes the app on iOS

What package does this bug report belong to?
google_maps_flutter
What target platforms are you seeing this bug on?
iOS
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
  async:
    dependency: transitive
    description:
      name: async
      sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
      url: "https://pub.dev"
    source: hosted
    version: "2.11.0"
  boolean_selector:
    dependency: transitive
    description:
      name: boolean_selector
      sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  characters:
    dependency: transitive
    description:
      name: characters
      sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.0"
  clock:
    dependency: transitive
    description:
      name: clock
      sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
      url: "https://pub.dev"
    source: hosted
    version: "1.1.1"
  collection:
    dependency: transitive
    description:
      name: collection
      sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
      url: "https://pub.dev"
    source: hosted
    version: "1.18.0"
  csslib:
    dependency: transitive
    description:
      name: csslib
      sha256: "706b5707578e0c1b4b7550f64078f0a0f19dec3f50a178ffae7006b0a9ca58fb"
      url: "https://pub.dev"
    source: hosted
    version: "1.0.0"
  cupertino_icons:
    dependency: "direct main"
    description:
      name: cupertino_icons
      sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
      url: "https://pub.dev"
    source: hosted
    version: "1.0.6"
  fake_async:
    dependency: transitive
    description:
      name: fake_async
      sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.1"
  flutter:
    dependency: "direct main"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_lints:
    dependency: "direct dev"
    description:
      name: flutter_lints
      sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
      url: "https://pub.dev"
    source: hosted
    version: "2.0.3"
  flutter_plugin_android_lifecycle:
    dependency: transitive
    description:
      name: flutter_plugin_android_lifecycle
      sha256: b068ffc46f82a55844acfa4fdbb61fad72fa2aef0905548419d97f0f95c456da
      url: "https://pub.dev"
    source: hosted
    version: "2.0.17"
  flutter_test:
    dependency: "direct dev"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_web_plugins:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.0"
  google_maps:
    dependency: transitive
    description:
      name: google_maps
      sha256: "555d5d736339b0478e821167ac521c810d7b51c3b2734e6802a9f046b64ea37a"
      url: "https://pub.dev"
    source: hosted
    version: "6.3.0"
  google_maps_flutter:
    dependency: "direct main"
    description:
      name: google_maps_flutter
      sha256: ae66fef3e71261d7df2eff29b2a119e190b2884325ecaa55321b1e17b5504066
      url: "https://pub.dev"
    source: hosted
    version: "2.5.3"
  google_maps_flutter_android:
    dependency: transitive
    description:
      name: google_maps_flutter_android
      sha256: "714530f865f13bb3b9505c58821c3baed5d247a871724acf5d2ea5808fbed02c"
      url: "https://pub.dev"
    source: hosted
    version: "2.6.2"
  google_maps_flutter_ios:
    dependency: transitive
    description:
      name: google_maps_flutter_ios
      sha256: b644d205c235f85dc60e22f46172a868b1cd642afd5a52b3808c789e461b025a
      url: "https://pub.dev"
    source: hosted
    version: "2.4.1"
  google_maps_flutter_platform_interface:
    dependency: transitive
    description:
      name: google_maps_flutter_platform_interface
      sha256: "6060779f020638a8eedeb0fb14234818e5fa32ec45a4653d6428ab436e2bbc64"
      url: "https://pub.dev"
    source: hosted
    version: "2.4.3"
  google_maps_flutter_web:
    dependency: transitive
    description:
      name: google_maps_flutter_web
      sha256: "6245721c160d6f531c1ef568cf9bef8d660cd585a982aa75121269030163785a"
      url: "https://pub.dev"
    source: hosted
    version: "0.5.4+3"
  html:
    dependency: transitive
    description:
      name: html
      sha256: "3a7812d5bcd2894edf53dfaf8cd640876cf6cef50a8f238745c8b8120ea74d3a"
      url: "https://pub.dev"
    source: hosted
    version: "0.15.4"
  js:
    dependency: transitive
    description:
      name: js
      sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
      url: "https://pub.dev"
    source: hosted
    version: "0.6.7"
  js_wrapping:
    dependency: transitive
    description:
      name: js_wrapping
      sha256: e385980f7c76a8c1c9a560dfb623b890975841542471eade630b2871d243851c
      url: "https://pub.dev"
    source: hosted
    version: "0.7.4"
  lints:
    dependency: transitive
    description:
      name: lints
      sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  matcher:
    dependency: transitive
    description:
      name: matcher
      sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
      url: "https://pub.dev"
    source: hosted
    version: "0.12.16"
  material_color_utilities:
    dependency: transitive
    description:
      name: material_color_utilities
      sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
      url: "https://pub.dev"
    source: hosted
    version: "0.5.0"
  meta:
    dependency: transitive
    description:
      name: meta
      sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
      url: "https://pub.dev"
    source: hosted
    version: "1.10.0"
  path:
    dependency: transitive
    description:
      name: path
      sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
      url: "https://pub.dev"
    source: hosted
    version: "1.8.3"
  plugin_platform_interface:
    dependency: transitive
    description:
      name: plugin_platform_interface
      sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.8"
  sanitize_html:
    dependency: transitive
    description:
      name: sanitize_html
      sha256: "12669c4a913688a26555323fb9cec373d8f9fbe091f2d01c40c723b33caa8989"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  sky_engine:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.99"
  source_span:
    dependency: transitive
    description:
      name: source_span
      sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
      url: "https://pub.dev"
    source: hosted
    version: "1.10.0"
  stack_trace:
    dependency: transitive
    description:
      name: stack_trace
      sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
      url: "https://pub.dev"
    source: hosted
    version: "1.11.1"
  stream_channel:
    dependency: transitive
    description:
      name: stream_channel
      sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
      url: "https://pub.dev"
    source: hosted
    version: "2.1.2"
  stream_transform:
    dependency: transitive
    description:
      name: stream_transform
      sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  string_scanner:
    dependency: transitive
    description:
      name: string_scanner
      sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
      url: "https://pub.dev"
    source: hosted
    version: "1.2.0"
  term_glyph:
    dependency: transitive
    description:
      name: term_glyph
      sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
      url: "https://pub.dev"
    source: hosted
    version: "1.2.1"
  test_api:
    dependency: transitive
    description:
      name: test_api
      sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
      url: "https://pub.dev"
    source: hosted
    version: "0.6.1"
  vector_math:
    dependency: transitive
    description:
      name: vector_math
      sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.4"
  web:
    dependency: transitive
    description:
      name: web
      sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
      url: "https://pub.dev"
    source: hosted
    version: "0.3.0"
sdks:
  dart: ">=3.2.5 <4.0.0"
  flutter: ">=3.16.6"

Steps to reproduce

create new flutter app
add google_maps_flutter
create a map with a pin, that pushes new Material route when tapped
start the app
start Voice Over
focus the pin using Voice Over
double tap (equivalent to normal tap when using Voice Over)
app crashes

Alternatively, clone https://github.com/vitalsci-solutions/google-maps--pin-bug-repro, run the app and continue from Step 5
Expected results
The app shouldn't crash when using accessibility features (Voice Over)
Actual results
App crashes.
Using backtrace in Xcode, we can see the error:
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=1, subcode=0x191abdcf8)
    frame #0: 0x0000000191abdcf8 CoreFoundation`___forwarding___.cold.2 + 92
    frame #1: 0x0000000191937cf0 CoreFoundation`___forwarding___ + 1284
    frame #2: 0x0000000191a78950 CoreFoundation`_CF_forwarding_prep_0 + 96
    frame #3: 0x00000001ac62ba28 UIAccessibility`-[NSObject(AXPrivCategory) _accessibilityOpaqueElementParent] + 80
    frame #4: 0x00000001ac6249f0 UIAccessibility`-[NSObject(AXPrivCategory) _iosAccessibilityAttributeValue:] + 2992
    frame #5: 0x00000001ac60282c UIAccessibility`_copyMultipleAttributeValuesCallback + 536
    frame #6: 0x00000001c246d00c AXRuntime`___AXXMIGCopyMultipleAttributeValues_block_invoke + 64
    frame #7: 0x00000001c246cbe8 AXRuntime`_handleNonMainThreadCallback + 60
    frame #8: 0x00000001c246cea0 AXRuntime`_AXXMIGCopyMultipleAttributeValues + 368
    frame #9: 0x00000001c24a9038 AXRuntime`_XCopyMultipleAttributeValues + 368
    frame #10: 0x00000001c247b9b0 AXRuntime`mshMIGPerform + 280
    frame #11: 0x000000019193bd60 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60
    frame #12: 0x000000019193a7e8 CoreFoundation`__CFRunLoopDoSource1 + 520
    frame #13: 0x0000000191939e20 CoreFoundation`__CFRunLoopRun + 2244
    frame #14: 0x0000000191939478 CoreFoundation`CFRunLoopRunSpecific + 608
    frame #15: 0x00000001d4e924f8 GraphicsServices`GSEventRunModal + 164
    frame #16: 0x0000000193d5d62c UIKitCore`-[UIApplication _run] + 888
    frame #17: 0x0000000193d5cc68 UIKitCore`UIApplicationMain + 340
  * frame #18: 0x00000001022f479c Runner`main at AppDelegate.swift:6:13 [opt]
    frame #19: 0x00000001b465edcc dyld`start + 2240

Code sample
Code sample
repo: https://github.com/vitalsci-solutions/google-maps--pin-bug-repro
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

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

const LatLng _kMapCenter = LatLng(52.4478, -3.5402);

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('VoiceOver Bug Repro'),
      ),
      body: Center(
        child: GoogleMap(
          initialCameraPosition: const CameraPosition(
            target: _kMapCenter,
            zoom: 7.0,
          ),
          // markers: <Marker>{_createMarker()},
          markers: {
            Marker(
              markerId: MarkerId('marker_1'),
              position: _kMapCenter,
              infoWindow: InfoWindow(title: 'Tis is a title'),
              onTap: () {
                print('Marker tapped');
                Navigator.of(context).push(
                  MaterialPageRoute(
                    builder: (context) {
                      return Scaffold(
                        body: Column(
                          mainAxisAlignment: MainAxisAlignment.center,
                          children: [Text("henlo"), BackButton()],
                        ),
                      );
                    },
                  ),
                );
              },
              consumeTapEvents: true,
            )
          },
        ),
      ),
    );
  }
}

Screenshots or Videos

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/28502567/ab42641e-c5d8-4cd9-bd86-5a935b74021f

Logs
Logs
It doesn't matter if I start the app from VS Code, Xcode or terminal with flutter run
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.4 23E5180j darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.86.0)
[✓] Connected device (3 available)
    ! Error: Browsing on the local area network for NAME. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
    ! Error: Browsing on the local area network for NAME. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

• No issues found!

I've also been able to reproduce this without navigating.
Just removing the GoogleMap Widget from the tree also causes the crash (but not as consistently as navigating):
...
body: !_visible
          ? Container()
          : GoogleMap(
              initialCameraPosition: const CameraPosition(
                target: _kMapCenter,
                zoom: 7.0,
              ),
              markers: {
                Marker(
                  markerId: MarkerId('marker_1'),
                  position: _kMapCenter,
                  onTap: () async {
                    print('Marker tapped');
                    setState(() => _visible = false);
                  },
                )
              },
            ),
...

What's important is that the pin is focused by VoiceOver when the map disappears.
I.e. if the setState from above were in Flutter Button, the crash doesn't happen

Thanks for the report. Reproduced this issue on iOS whilst it doesn't occur on Android.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.16.9 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 41456452f2 (14 hours ago), 2024-01-25 10:06:23 -0800
    • Engine revision f40e976bed
    • Dart version 3.2.6
    • DevTools version 2.28.5

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.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 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)  • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop)  • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 120.0.6099.234

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

• No issues found!

[!] Flutter (Channel master, 3.20.0-1.0.pre.20, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.20.0-1.0.pre.20 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f8a77225f3 (13 hours ago), 2024-02-04 14:28:18 +0000
    • Engine revision f34c658b96
    • Dart version 3.4.0 (build 3.4.0-99.0.dev)
    • DevTools version 2.31.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.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 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (3 available)
    • iPad (mobile)   • 00008103-000A1464346A201E • ios            • iOS 17.2 21C62
    • macOS (desktop) • macos                     • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 121.0.6167.139

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

! Doctor found issues in 1 category.

Plugins do not directly manage a11y, so if this is Flutter-specific it is almost certainly an engine platform view bug rather than a plugin bug.

Is there any news? We have a device with voice over turned off, but has this issue
Translated Report (Full Report Below)
Incident Identifier: 39578B80-F19B-4B37-994D-B6D720D554AE
CrashReporter Key:   4faf5662afe4e408ae26a799cac37fcb49d872ae
Hardware Model:      iPhone16,2
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Date/Time:           2024-03-04 10:01:44.1546 +0800
Launch Time:         2024-03-04 10:00:48.4037 +0800
OS Version:          iPhone OS 17.2.1 (21C66)
Release Type:        User
Baseband Version:    1.22.05
Report Version:      104
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Codes: 0x0000000000000001, 0x0000000000000020
VM Region Info: 0x20 is not in any region.  Bytes before following region:<PHONE_NUMBER>4
REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
UNUSED SPACE AT START
--->
commpage (reserved)<PHONE_NUMBER>-7000000000 [384.0G] ---/--- SM=NUL  ...(unallocated)
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [5974]
Triggered by Thread:  0
Kernel Triage:
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libobjc.A.dylib               	       0x1875f2c14 objc_retain + 16
1   UIAccessibility               	       0x1a9fc579c -[NSObject(AXPrivCategory) _accessibilityIterateScrollParentsUsingBlock:includeSelf:] + 240
2   UIAccessibility               	       0x1a9fe2f44 -[NSObject(AXPrivCategory) _accessibilityVisibleFrame:] + 396
3   UIAccessibility               	       0x1a9fd498c -[NSObject(AXPrivCategory) _iosAccessibilityAttributeValue:] + 2892
4   UIAccessibility               	       0x1a9fb282c _copyMultipleAttributeValuesCallback + 536
5   AXRuntime                     	       0x1bfe2900c ___AXXMIGCopyMultipleAttributeValues_block_invoke + 64
6   AXRuntime                     	       0x1bfe28be8 _handleNonMainThreadCallback + 60
7   AXRuntime                     	       0x1bfe28ea0 _AXXMIGCopyMultipleAttributeValues + 368
8   AXRuntime                     	       0x1bfe65038 _XCopyMultipleAttributeValues + 368
9   AXRuntime                     	       0x1bfe379b0 mshMIGPerform + 280
10  CoreFoundation                	       0x18f2dbd60 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 60
11  CoreFoundation                	       0x18f2da7e8 __CFRunLoopDoSource1 + 520
12  CoreFoundation                	       0x18f2d9e20 __CFRunLoopRun + 2244
13  CoreFoundation                	       0x18f2d9478 CFRunLoopRunSpecific + 608
14  GraphicsServices              	       0x1d285a4f8 GSEventRunModal + 164
15  UIKitCore                     	       0x1916fd62c -[UIApplication _run] + 888
16  UIKitCore                     	       0x1916fcc68 UIApplicationMain + 340
17  My BMW                        	       0x100ba19cc main + 64
18  dyld

@liuxuleidota   +1
Have you solved the issue?

Seems the root cause it that FlutterPlatformViewSemanticsContainer has wild pointer when the page is dismissed.
A temp solution is simply disable the UIAccessibility in native view

@liuxuleidota  Thanks for your response, I will try it with the following code.
   self.webView.isAccessibilityElement = NO;
   self.webView.accessibilityElementsHidden = YES;

I believe this issue will be resolved by PR: flutter/engine#52484.

Will try


added a new coder to the list - Hacktoberfest 2022

I have competed the assignment and added myself to the list
Thanks for adding my pull request
Cheers!

Thanks for your valuable contribution 😊. Don't forget to ✨ our Repository.
If you want to contribute to our new Ideas Project -https://github.com/KapilKumar7/CreativeAppIdeas


Proposed way to start a hassio-addon periodically?

Better to keep the addon running and periodically run the script / program, or is there a way to restart the add-on periodically?

At the moment only with hassio API call. I task a crontab/watchdog for add-ons

So currently I would create a cron entry in the homeassistant container?

Or automation. You can call the api over the proxy /api/hassio/...

Hmm that sounds promising, where is this API located? How do I authenticate?

done with automation and 0.55