python extension make vscode crash when go to definition

Environment data

Jupyter server running: N/A

Extension version: v2020.6.89148

VS Code version: 1.46.1

Setting python.jediEnabled: false

Setting python.languageServer: Microsoft

Python and/or Anaconda version: Python3.6.2

OS: Windows | Mac | Linux (distro):macOS Mojava 10.14.6

Virtual environment: pyenv

VS Code version: 1.46.1

Extension version (available under the Extensions sidebar):  v2020.6.89148

OS and version: macOS Mojava 10.14.6

Python version (& distribution if applicable, e.g. Anaconda): CPython3.6.2

Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pyenv

Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): Language Server

Value of the python.languageServer setting: Microsoft

Expected behaviour
go to definition normally
Actual behaviour
vscode crashed when use go to definition
Steps to reproduce:
Backgroud: I have two project in current workspace, such as projectA, projectB, and vscode crashed when i go to definition in the projectB, but it is ok when i use the same code to test the function 'go to definition' in projectA.
When hover on get_html in the last line, and go to definition, it make vscode crash, and I
disabled all extensions except Python (from microsoft), it still have this problem (I tried many times), but when i disable this extension, everything is ok.
import asyncio
import time
async def get_html(url):
    print("start get url")
    await asyncio.sleep(2)
    print("end get url")

if __name__ == "__main__":
    start_time = time.time()
    loop = asyncio.get_event_loop()
    loop.create_task('')
    tasks = [get_html("http://www.google.com") for i in range(10)]

Logs

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

Error Python Extension: 2020-06-23 11:21:10: Detection of Python Interpreter for Command python3.7 and args  failed as file  does not exist
workbench.desktop.main.js:sourcemap:265 [Extension Host] Error Python Extension: 2020-06-23 11:21:10: Failed to get interpreter information for '/Users/fitz/.pyenv/shims/python3.7' [Error: Command failed: "/Users/fitz/.pyenv/shims/python3.7" "/Users/fitz/.vscode/extensions/ms-python.python-2020.6.89148/pythonFiles/pyvsc-run-isolated.py" "/Users/fitz/.vscode/extensions/ms-python.python-2020.6.89148/pythonFiles/interpreterInfo.py"pyenv: python3.7: command not foundThe `python3.7' command exists in these Python versions:  3.7.2  3.7.2/envs/bottle  3.7.2/envs/django-locallibrary-tutorial  3.7.2/envs/fortest  3.7.2/envs/shop  bottle  django-locallibrary-tutorial  fortest  shopNote: See 'pyenv help global' for tips on allowing both      python2 and python3 to be found.	at ChildProcess.exithandler (child_process.js:308:12)	at ChildProcess.emit (events.js:203:13)	at maybeClose (internal/child_process.js:1021:16)	at Socket. (internal/child_process.js:430:11)	at Socket.emit (events.js:203:13)	at Pipe. (net.js:588:12)] {  killed: false,  code: 127,  signal: null,  cmd: '"/Users/fitz/.pyenv/shims/python3.7" "/Users/fitz/.vscode/extensions/ms-python.python-2020.6.89148/pythonFiles/pyvsc-run-isolated.py" "/Users/fitz/.vscode/extensions/ms-python.python-2020.6.89148/pythonFiles/interpreterInfo.py"'}

Can you try running this from a terminal and share what your get?
/Users/fitz/.pyenv/shims/python3.7 /Users/fitz/.vscode/extensions/ms-python.python-2020.6.89148/pythonFiles/pyvsc-run-isolated.py /Users/fitz/.vscode/extensions/ms-python.python-2020.6.89148/pythonFiles/interpreterInfo.py

You may have to change the version number in the path depending on the version of the extension installed.

The output is the following:
pyenv: python3.7: command not found
The `python3.7' command exists in these Python versions:
3.7.2
Note: See 'pyenv help global' for tips on allowing both
python2 and python3 to be found.
And I solved this problem by rename my project directory to english(there were some non-English characters), I hope this could be improved, any way, thanks for your help!

@fitzlm I am glad that you were able to find a solution. Can you provide some details on what you had used for the path? I would like to be able to reproduce the issue so we can address this.

It is a directory named in Chinese, and there is no other special.

Version: 1.52.1
Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523
Date: 2020-12-16T16:30:02.420Z
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.2.0
I didn't create a new ticket because I think I'm facing the same issue with @fitzlm , vscode crashes when my Python project directory contains Chinese characters. Simply changing the path from [../chinese/handler.py] to [../中文/handler.py] will reproduce the issue. Thanks and looking forward the solution! (which is Chinese char insensitive..)

Version: 1.52.1
Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523
Date: 2020-12-16T16:30:02.420Z
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.2.0
I didn't create a new ticket because I think I'm facing the same issue with @fitzlm , vscode crashes when my Python project directory contains Chinese characters. Simply changing the path from [../chinese/handler.py] to [../中文/handler.py] will reproduce the issue. Thanks and looking forward the solution! (which is Chinese char insensitive..)

@shihanmax We have released a new and more performant language server called Pylance which likely solves these issues you are reporting.  You can download Pylance from the marketplace and install it alongside the core Python extension. Because our team's development efforts have shifted to support the new language server, we'd encourage you to try it out.

@shihanmax We have released a new and more performant language server called Pylance which likely solves these issues you are reporting.  You can download Pylance from the marketplace and install it alongside the core Python extension. Because our team's development efforts have shifted to support the new language server, we'd encourage you to try it out.

@karthiknadig Thanks, I'll try it.

@karthiknadig Thanks, I'll try it.

We recommend using either Jedi (behind LSP) or Pylance going forward. Closing this, since we can't repro it with either of them.


[Devtools] CNCF Cleaner Tasks

What does this PR do?:
Summarize the changes. Are any stacks or samples added or updated?
These changes aim to increase the CLO Monitor score for devfile/registry as part of the CNCF Cleaner badge
Which issue(s) this PR fixes:
Link to github issue(s)
Works to resolve tasks outlined in https://github.com/devfile/api/issues/1368
PR acceptance criteria:

[ ] Contributing guide
Have you read the devfile registry contributing guide and followed its instructions?
[ ] Test automation
Does this repository's tests pass with your changes?
[ ] Documentation
Does any documentation need to be updated with your changes?
[ ] Check Tools Provider
Have you tested the changes with existing tools, i.e. Odo, Che, Console? (See devfile registry contributing guide on how to test changes)

How to test changes / Special notes to the reviewer:

In most of our docs we have been linking to the code of conduct and governance under devfile/api:

https://github.com/devfile/api/blob/e37cd6b0b4ac21524a724e68373746393b91b9ed/CODE_OF_CONDUCT.md
https://github.com/devfile/api/blob/e37cd6b0b4ac21524a724e68373746393b91b9ed/GOVERNANCE.md

@maysunfaisal Does CLO scanning require this to be directly in the repository?

I think we may be able to just link from the readme to the code of conduct and governance. Initially I think I may have misunderstood the requirements but it may just be the file has to be in the repo OR a section in the readme for it

In most of our docs we have been linking to the code of conduct and governance under devfile/api:

https://github.com/devfile/api/blob/e37cd6b0b4ac21524a724e68373746393b91b9ed/CODE_OF_CONDUCT.md
https://github.com/devfile/api/blob/e37cd6b0b4ac21524a724e68373746393b91b9ed/GOVERNANCE.md

@maysunfaisal Does CLO scanning require this to be directly in the repository?

I think we may be able to just link from the readme to the code of conduct and governance. Initially I think I may have misunderstood the requirements but it may just be the file has to be in the repo OR a section in the readme for it

If the files are needed in each repository, a middle ground alternative is we could provide links in the repository code of conduct and governance documents to the devfile/api project documents to still remove the need to update this information in many places.

I made changes based off your suggestions, I believe linking out from the readme will be sufficient because the header is there in the readme and it will check for that.
So far I have only found Odo as a user but will add more as I find it, this PR isn't mergeable yet as I still need to add a few more tasks

There are 2 tasks as part of this issue that I believe should be marked as exempt from the checks:

[ ] Best Practices / GitHub Discussions
[ ] Legal / Trademark Disclaimer

As we keep everything in devfile/api that also means we only have discussions enabled for that repo as well. Additionally, for the trademark it states that it doesn't work with dynamic sites (React, Angular, etc) and since our devfile-web is built with Next.js I believe that falls under React.
@michael-valdron @maysunfaisal what do you think?

@Jdubrick I am okay with those checks being skipped here!


[Feature]: Multil select in a table

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
My database table had a column that contained multiple selects, like a category that can have multiple subcategories. But in the table, there is no column type like multiple select. I think we need to develop this new feature
Why should this be worked on?
it will be very helpful in development.

Duplicate of #16026


How can i do data table custom design

Hi,
How can i do make a data table with custom design ?

Hi @iso57,
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this.
You may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


How to send mails with this?

Hey, this is more a question:
Is there any documentation how to send mails with this docker container after it is successfully installed and configured?
I wonder if there is a way to do something like this so that the host (that is hosting the docker container) is able to send mails using the mail command: https://github.com/nextcloud/vm/blob/1a0d3a584151a7921f677aaab5ea95a3393c3850/addons/smtp-mail.sh#L232
And also, can it make use of the host's /etc/aliases file?
Many thanks!

I've figured it out

@szaimen Something like that
# create bridge
docker network create -d bridge testsmtp

# run msmtpd
docker run -d -p 2500:2500 --name msmtpd --network testsmtp \
  -e "SMTP_HOST=smtp.example.com" \
  crazymax/msmtpd

# send test mail
docker run --rm -it alpine --network testsmtp \
  apk --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing add swaks && \
  swaks -f<EMAIL_ADDRESS>-t<EMAIL_ADDRESS>--server msmtpd:2500

Thanks! 👍

I think I will add swaks to ease debugging.


bug: assistant customization gets overwritten on chat renaming

I changed the icon of the assistant.
When the first message is created the right icon is used but as soon as the first message finished the icon getd reset. Maybe other settings get reset too i don't know.
This only happens when the chat gets autonamed, chats created via the assistant are unaffected apparently
Here are one picture just before and just after reset:

Other settings are not reset. I forgot to copy avatar setting to the new location.

Fixed in SpeakGPT 4.4


cherry-pick: [backport] gui, wallet: random abort (segmentation fault) btc#9683

backport from bitcoin #9683
(cherry picked from commit 5424ecff133ea957862d13f3d6c31a5ca27391db)

Merging now because CI passes and already ACK since cherry-picked.


Add response trailers for bandwidth limit filter (API Changes only)

I want use this PR to discuss whether this change is acceptable. If it's acceptable, I will create another PR with the implementations.
Commit Message: Add response trailers for the bandwidth limit filter delays.
Additional Description: This is useful when downstream want to understand how much delays that is caused by bandwidth limit filter.
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

cc @nitgoy @mattklein123 @yanavlasov @tonya11en (bandwidth limit filter owners)

This is a feature that @garyyang2002 added to our internal fork at Microsoft based on user feedback. He's trying to see if it makes sense to merge it back to envoy upstream. @mattklein123, @yanavlasov please chime in.

Sorry for the late response. Yes, I think it makes sense to merge it upstream.


Add session files to tutorials

Just thinking out loud here but wondering if it would be worthwhile to attach saved session files for key points in our tutorials?
Reason I ask is that I wanted to go produce the same image from a tutorial and found the only way I could do it was to follow the tutorial. Would have been great to be able to just run a session that produced it.

Great idea, but session files don't work well cross machines.


HF datasets: spaCy, cleanlab, weak supervision

Uploading HF datasets for the following tutorials:
-SpaCy,
-Cleanlab,
-Weak supervision
Tutorials will be modified as well with the corresponding instructions

Hi,
I made some changes to the files. I think I got what you meant (more or less), let me know if this is OK.


add locate component - [closed]

In GitLab by @liyanq528 on May 18, 2018, 07:49
Merges 20180428 -> dev

In GitLab by @wknet123 on Nov 13, 2019, 10:57
closed


Player list sorting

Sort by column and team (since there's no "team" column yet)

Should be very possible now that https://github.com/PazerOP/tf2_bot_detector/commit/dd6ef5b3fe1ed2f112a76b711751148e14b3d4ef is merged with imgui 1.80, which has the Tables API.

Should be very possible now that https://github.com/PazerOP/tf2_bot_detector/commit/dd6ef5b3fe1ed2f112a76b711751148e14b3d4ef is merged with imgui 1.80, which has the Tables API.


Cannot find module '@vitest/utils/diff' or its corresponding type declarations.

Describe the bug
After updating vitest to 0.30.0, running tsc --noEmit will raise the following errors:
node_modules/@vitest/runner/dist/utils.d.ts:5:29 - error TS2307: Cannot find module '@vitest/utils/diff' or its corresponding type declarations.

5 import { DiffOptions } from '@vitest/utils/diff';
                              ~~~~~~~~~~~~~~~~~~~~

node_modules/vitest/dist/index.d.ts:6:37 - error TS2307: Cannot find module '@vitest/snapshot/environment' or its corresponding type declarations.

6 export { SnapshotEnvironment } from '@vitest/snapshot/environment';
                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reproduction
https://codesandbox.io/p/sandbox/practical-darwin-sq0t0x?file=%2Fpackage.json
Run yarn test in this repo and you will see the error.

System Info
N/A (Codesandbox environment)

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I meet similar errors when update from 0.29 to 0.30.


Tflite use USB camera with android image classification app

System information

Have I written custom code (as opposed to using a stock example script
provided in TensorFlow): No
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.10
Python version: 3.10

Describe the problem
I am new to android and building the tflite image classification app in tensorflow/examples using android studio. I want to make use of a USB camera instead of the mobile back camera to detect the images for classification. How can I achieve that?
What changes do i need to make in CameraFragment.kt to make sure the app can search for a connected USB camera as well? currently the default app only searches for back camera as in this code https://github.com/tensorflow/examples/blob/0bbf4fe43fbf41b7174b9ce4a64d69bd33aadd21/lite/examples/image_classification/android/app/src/main/java/org/tensorflow/lite/examples/imageclassification/fragments/CameraFragment.kt
thanks

Original Issue: https://github.com/tensorflow/tensorflow/issues/61445


Segmentation fault with 2.6.x update

Describe the bug
After updating to <IP_ADDRESS> oxide stopped working, trying to manually start tarnish it just throws segmentation fault upon launching oxide. I think it is related to a change in the toolchain https://github.com/toltec-dev/toltec/issues/322
I have both manually installing the latest version of oxide and using opkg
Version Information:

Device: reMarkable 1
OS: <IP_ADDRESS>]
Version 2.1.2

It is not really a bug, just an incompatibility with the newest xochitl version :)

Closing as this isn't an issue with Oxide itself, but the tooling used to build it. I'm waiting on https://github.com/toltec-dev/toltec/pull/310 to be merged in toltec to support it.


GoodGammaP Test broken on GCC 7.3

This came up on this other issue - I think @bgoodri knew what was going on in these tests. He mentioned that the implementation of the function is fine, it's just our tests that are broken.
Here is a link to a test run with that (it happens to be using MPI, but these errors also exist without MPI): http://d1m1s1b1.stat.columbia.edu:8080/blue/organizations/jenkins/Math Pipeline/detail/PR-1059/8/pipeline

Is there a suggested fix?

@bgoodri --- can you say more about what the behavior should be as the argument approaches zero (I know you explained it to me in person, but I failed to take notes).
If we use the std::lgamma, we have to deal with its lack of thread safety to be safe with threaded MPI.
The POSIX version of lgamma is not thread-safe: each execution of the function stores the sign of the gamma function of arg in the static external variable signgam. Some implementations provide lgamma_r, which takes a pointer to user-provided storage for singgam as the second parameter, and is thread-safe.

The only non-threadsafe standard library functions for math functions (aside from random number generators, which we don't use), seem to begamma(), lgamma(), lgammaf(), lgammal().
I see two options here:

keep the existing Boost implementation, which is thread safe, and clean up our tests as originally suggested in the issue,

replace the Boost version with std::lgamma and wrap all calls with a mutex (i.e., enforce our own thread safety by serializing calls to lgamma)

There's also the question about what to do with errors.  I believe Boost may throw exceptions in some cases (without explicit error policy overrides) whereas the std::lgamma version does not.
Previously, we tried (not always successfully) to match the error and value behavior of the standard library.  Now, std::lgamma just got added to C++11, so there's no precedent.  I still think we should follow the standard library here, which would mean turning some of the exceptions into NaN returns.

@bob-carpenter this came up for me on a PR a while back: we could just explicitely set the policies when we wrap boost::lgamma and related functions into the stan::math namespace.  It's not complicated we just need to be clear about what the math lib functions should do and then chase down the inconsistent expectations in the manual tests.  IIRC the auto-testing can be adjusted to give consistent results via policies, it's all the other tests for quiet NaN vs. throwing that would take longer.

That's what we do now---we explicitly set the policies for boost::lgamma. And yes, the auto-testing does give consistent results---everything's tested versus the double version, which is assumed to be correct and tested independently.

I meant consistent across functions, currently our policies for the doubles versions are not consistent across functions.  That inconsistency gets enforced by auto-testing for gradients as well.

On Nov 20, 2018, at 12:19 PM, Krzysztof Sakrejda<EMAIL_ADDRESS>wrote:
I meant consistent across functions, currently our policies for the doubles versions are not consistent across functions.

Is there something specific here that you think is inconsistent?
The C/C++ standard lib functions (e.g., lgamma which recently moved from C99 to  C++11) were designed so you'd get the same answer, including exception behavior, using either double or var.  The motivation was portability of existing code by replacing double with template parameters.
For our own built-in functions (e.g., log_sum_exp), we tended to throw with informative error messages where possible.
I'm not sure that was a good idea to do two different things here, but the error throwing behavior seemed desirable, as did not messing with standard library behavior.
Do you have a suggestion for an alternative strategy?

That inconsistency gets enforced by auto-testing for gradients as well.

The automatic testing framework I wrote for all levels indeeds just verifies that the derivative versions have the same value and exception behavior as the primitive versions.

Do you have a suggestion for an alternative strategy?

Yes, we should just keep wrapping functions (std:: or boost::) and accept a policy.  The default policy should throw and when functions are used as part of a stan::math function that agrees to deal with the complexity introduced by quiet NaN the policy can easily be switched to the non-throwing version at the call site.  That way it's obvious that Stan users should expect a non-recoverable numerical failure to result in a rejection of the current trajectory.  If a particular function wants to eek out the last bit of performance it can check for NaN's and continue via alternative strategies.

In this case though, Boost returning NaN for lgamma(0) is mathematical
rather than statistical. It basically means in each function in Stan Math
that calls lgamma would have to override with the statistically correct
limit at 0.
On Tue, Nov 20, 2018 at 2:16 PM Krzysztof Sakrejda<EMAIL_ADDRESS>wrote:

Do you have a suggestion for an alternative strategy?
Yes, we should just keep wrapping functions (std:: or boost::) and accept
a policy. The default policy should throw and when functions are used as
part of a stan::math function that agrees to deal with the complexity
introduced by quiet NaN the policy can easily be switched to the
non-throwing version at the call site. That way it's obvious that Stan
users should expect a non-recoverable numerical failure to result in a
rejection of the current trajectory. If a particular function wants to eek
out the last bit of performance it can check for NaN's and continue via
alternative strategies.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/issues/1063#issuecomment-440396976, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqqNh5ucMoYgIhw3410Ax9zqO3ZTsks5uxFUIgaJpZM4YYA1x
.

On Nov 20, 2018, at 2:16 PM, Krzysztof Sakrejda<EMAIL_ADDRESS>wrote:
Do you have a suggestion for an alternative strategy?
Yes, we should just keep wrapping functions (std:: or boost::) and accept a policy.

This sounds like what we're doing now.

The default policy should throw

That would mean that stan::math::log would behave differently than std::log, because the latter does not throw.

and when functions are used as part of a stan::math function that agrees to deal with the complexity introduced by quiet NaN the policy can easily be switched to the non-throwing version at the call site. That way it's obvious that Stan users should expect a non-recoverable numerical failure to result in a rejection of the current trajectory.

A NaN is not non-recoverable. You can do things like this:
real y = log(x);
if (is_nan(y)) { ... do one thing ... }
else { ... do something else ... }

If a particular function wants to eek out the last bit of performance it can check for NaN's and continue via alternative strategies.

So you mean we'd do something like this:
real y;
if (x <= 0) { ... do something else ... }
else { ... do one thing ... }

There are two contexts.
In the math library you might want this behavior too so you should be able to do
double y = log(x);

Sometimes in the C++ in the math library you might want to recover from a NaN so you could carry out an alternative calculation:
real y = log(x, policy = quietNaN);
if (is_nan(y)) { z = slow_calculation(x) }
else {z = fast_calculation(y) }

So if you're writing C++ you get sensible defaults and can use an alternative policy if you need it.  If you're writing Stan code you get the training wheels and you have to live with them (e.g.-if you want something more robust in Stan you might need to figure out what regions of x are problematic and switch on that).

That would mean that stan::math::log would behave differently than std::log, because the latter does not throw.

The standard library seems to be taking a different path than what we need.  We expect Stan language users to code complex math in hard-to-test contexts and they will benefit from solid error messages.  Between quietNaN and a thread-unsafe lgamma I'm not sure what the standard library is going for (pure speed probably).

I don't think
real y = log(x);
should throw an error if x is a real number that happens to be zero. You
should get the correct limit, which is negative_infinity(). Same thing with
lgamma at zero, you should get positive_infinity, which is what C++11 gives
you but not Boost by default policy.
On Tue, Nov 20, 2018 at 4:41 PM Krzysztof Sakrejda<EMAIL_ADDRESS>wrote:

There are two contexts.
In the math library you might want this behavior too so you should be able
to do
double y = log(x);
Sometimes in the C++ in the math library you might want to recover from a
NaN so you could carry out an alternative calculation:
real y = log(x, policy = quietNaN);
if (is_nan(y)) { z = slow_calculation(x) }
else {z = fast_calculation(y) }
So if you're writing C++ you get sensible defaults and can use an
alternative policy if you need it. If you're writing Stan code you get the
training wheels and you have to live with them (e.g.-if you want something
more robust in Stan you might need to figure out what regions of x are
problematic and switch on that).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/issues/1063#issuecomment-440439355, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqru54Mx_LlUeXhXXAlADgZAnfNvGks5uxHb7gaJpZM4YYA1x
.

That won't throw, it'll return negative infinity.  Providing a negative or NaN value will return NaN.  That's because it's a built-in library function and we set things up initially so that our autodiff functions have the same throw behavior as the library functions.  That meant we had to go and add the no-throw policies to Boost, which by default throw exceptions.

a thread-unsafe lgamma

I'm not sure it's not thread safe in every context we use.  That's why I want to know what that cryptic message in the spec for lgamma means.  Also, that's the only function in the standard math library that is not thread safe.
The version of lgamma for which I just posted a PR follows the behavior of (a) returning infinity at non-positive intger valued (not necessarily integer typed) inputs, and (b) returning NaN rather than throwing in cases of a NaN input.
We could change this behavior, but I'd rather do that in a backward-compatiblity breaking move for Stan 3.

I'm not sure what the standard library is going for (pure speed probably).

I think it's a least common denominator.
You can wrap the standard library log() as
if (isnan(x) || x < 0) throw ... whatever you like ...
return std::log(x);

It's harder the other way around precisely because C++ doesn't have functions declare the exception types they throw.  So you have to evaluate the whole call graph to figure out where exceptions might arise, and some of that code may not be yours.  So nested functions might, say, run out of memory and throw that exception, which should be handled differently than a negative input to log.
  That forces one to go back to old C-style patterns of return codes and gotos to cleanup blocks.  The link has their motivation.
https://google.github.io/styleguide/cppguide.html#Exceptions

That won't throw, it'll return negative infinity.

Yes I meant to write x<0,

We could change this behavior, but I'd rather do that in a backward-compatiblity breaking move for Stan 3.

OK

I think we may be OK in every version of the C++ standard library we use.

Right, what I'm pointing out is that when you do this, you're taking on the responsibility of checking this as the standard library implementations evolve.  That checking is what we tried to minimize when we narrowed down which compilers are supported so in my opinion we shouldn't use std lib functions that explicitly say they might produce hard-to-find-and-rare bugs when a library is updated: our users don't need that.

So nested functions might, say, run out of memory and throw that exception, which should be handled differently than a negative input to log.

I've run into the Google style guide recommendation against exceptions before but they also want at most c++11 so they're not the best match for Stan in terms of math lib policies.  We can throw a different exception for out-of-memory vs. out-of-domain operations.
I know that some guidelines recommend not using self-defined exceptions in library code because library clients won't know what to do with them.  OTOH we're not just a library, Stan is a whole stack so we can shepherd appropriate handling of exceptions through to the interfaces.  We would only need a few Stan-specific things (out-of-domain, maybe catastrophic accuracy failures, out-of-memory, etc..).
More on the std lib math functions:
They seem to recommend the style where you check error codes, and there's some consistency in the use of domain errors and pole errors:
https://en.cppreference.com/w/cpp/numeric/math/math_errhandling
So by propagating NaN's (when it's really out-of-domain we're not even using the "correct" pattern for the std libraries.  We do have a policy around checking domain and throwing but it's only applied to user-level-ish functions.

That's true of all the implementations we use. Boost isn't exactly guaranteeing backward compatibility of error codes in perpetuity.

They would document that though, but lgamma become thread-unsafe is not something they'd need to document (e.g.-I just looked at some of the std lib lgamma code on my laptop and the extern signgam is stored but not necessarily used, and there's another implementation that takes a pointer to signgam and therefore can use a local one w/o bothering with thread-local storage.  This is in math.h, no sure which one Stan would pull in.  So after a few minutes that's potential for garbled results unless they only set it at the end of the lgamma function call.

It may be different implementations.  We just switched out gamma elsewhere and don't know if it relates to this.  1e-310 is getting about as low as a number can get without underflowing.  It then get down to normalized (leading base digit is 1) vs. unnormalized representations.  The latter let you get smaller at the cost of lack of precision.  Different libraries treat these differently.  For example, Boost's lexical cast thing can't handle unnormalized representations but the standard library seems to be able to.

On Jan 31, 2019, at 3:09 PM, seantalts<EMAIL_ADDRESS>wrote:
Yeah, those simple mixed mode addition test failures expecting nan to be near 0 seem really bad for either mixed mode or the autodiff tester (possibly under mixed mode only). @bob-carpenter do you have any ideas on how to dig further here?
Also curious that it keeps expecting inf and -inf to be near numbers that are ~ 4e-310.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

We have gotten past the gamma_p error. The current error is with addition
in the mixed case but only with NaNs and Infs.
On Thu, Jan 31, 2019 at 8:39 PM Bob Carpenter<EMAIL_ADDRESS>wrote:

It may be different implementations. We just switched out gamma elsewhere
and don't know if it relates to this. 1e-310 is getting about as low as a
number can get without underflowing. It then get down to normalized
(leading base digit is 1) vs. unnormalized representations. The latter let
you get smaller at the cost of lack of precision. Different libraries treat
these differently. For example, Boost's lexical cast thing can't handle
unnormalized representations but the standard library seems to be able to.

On Jan 31, 2019, at 3:09 PM, seantalts<EMAIL_ADDRESS>wrote:
Yeah, those simple mixed mode addition test failures expecting nan to be
near 0 seem really bad for either mixed mode or the autodiff tester
(possibly under mixed mode only). @bob-carpenter do you have any ideas on
how to dig further here?
Also curious that it keeps expecting inf and -inf to be near numbers
that are ~ 4e-310.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/issues/1063#issuecomment-459574108, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqrzcxQoJiPcHPBhMgMTAXZqO46ncks5vI5rngaJpZM4YYA1x
.

Initializing some Eigen::VectorXd to zero in autodiff_tester fixes the
problem with operator_addition under g++-8
On Thu, Jan 31, 2019 at 9:36 PM Ben Goodrich<EMAIL_ADDRESS>wrote:

We have gotten past the gamma_p error. The current error is with addition
in the mixed case but only with NaNs and Infs.
On Thu, Jan 31, 2019 at 8:39 PM Bob Carpenter<EMAIL_ADDRESS>wrote:

It may be different implementations. We just switched out gamma elsewhere
and don't know if it relates to this. 1e-310 is getting about as low as a
number can get without underflowing. It then get down to normalized
(leading base digit is 1) vs. unnormalized representations. The latter let
you get smaller at the cost of lack of precision. Different libraries treat
these differently. For example, Boost's lexical cast thing can't handle
unnormalized representations but the standard library seems to be able to.

On Jan 31, 2019, at 3:09 PM, seantalts<EMAIL_ADDRESS>wrote:
Yeah, those simple mixed mode addition test failures expecting nan to
be near 0 seem really bad for either mixed mode or the autodiff tester
(possibly under mixed mode only). @bob-carpenter do you have any ideas on
how to dig further here?
Also curious that it keeps expecting inf and -inf to be near numbers
that are ~ 4e-310.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/issues/1063#issuecomment-459574108,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADOrqrzcxQoJiPcHPBhMgMTAXZqO46ncks5vI5rngaJpZM4YYA1x
.

Which one(s)?

I fixed them on dc6a20b143 of the boost1.69.0 PR
On Sun, Feb 3, 2019 at 12:03 AM seantalts<EMAIL_ADDRESS>wrote:

Which one(s)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/issues/1063#issuecomment-460023522, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqmT8_0qCzu_gisFT3-_Wg_bFUf3Zks5vJm2egaJpZM4YYA1x
.

That is fine, although there are plenty of other instances where we are
passing in uninitialized values that we just haven't gotten bit yet.
On Tue, Feb 5, 2019 at 2:27 PM seantalts<EMAIL_ADDRESS>wrote:

Well spotted! Would you mind if I pulled that out into a separate PR? The
boost one is currently failing tests.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/issues/1063#issuecomment-460770727, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqh_A6M6ut9bn6rEOLf-yTsmssiMvks5vKdsrgaJpZM4YYA1x
.

Do you think we should just always be initializing in places like this?

I think we should always be initializing everywhere, even if it is not
currently manifesting itself in bug reports. It is undefined behavior.
On Tue, Feb 5, 2019 at 2:47 PM seantalts<EMAIL_ADDRESS>wrote:

Do you think we should just always be initializing in places like this
https://github.com/stan-dev/math/blob/develop/stan/math/mix/mat/functor/finite_diff_grad_hessian.hpp#L50
?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/issues/1063#issuecomment-460777712, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqk2k8uH-iphdtNF7HaTt8tlZ_RCBks5vKd_KgaJpZM4YYA1x
.

I think we should always be initializing everywhere, even if it is not
currently manifesting itself in bug reports. It is undefined behavior.

+1.


JAVA-1880: Rename "config profile" to "execution profile"

Rebased on latest 4.x, this should be good to go but waiting for @tolbertam's review.
There's a test failure on RequestLoggerIT that I need to look into (can't reproduce in IDE), but it's not related to this changeset.


Loop with conditional not working as expected

Bicep version
Bicep CLI version 0.15.31 (3ba6e06a8d)
Describe the bug
I have an array of strings. I have a loop that uses that array and a conditional to filter out one of the items. The conditional is not blocking the code execution and the code executes for every item in the array. Below is the relevant portions of my bicep file. On the third iteration, when environment equals 'Prod', execution is not stopped by the conditional and an error is thrown by  "slots[indexOf(nonProdEnvironments, environment)]" because "indexOf(nonProdEnvironments, environment)" returns -1. I cannot figure out why the "if(toLower(environment) != 'prod')" condition is not working as expected. Bug, or user error?
var nonProdEnvironments = [
  'Pre'
  'Dev'
]

var environments = [
  'Pre'
  'Dev'
  'Prod'
]

resource slotOrigins 'Microsoft.Cdn/profiles/originGroups/origins@2022-11-01-preview' = [for (environment, index) in environments: if(toLower(environment) != 'prod') {
  name: shortLocation
  parent: originGroups[index]
  dependsOn: [
    slots
  ]
  properties: {
    hostName: slots[indexOf(nonProdEnvironments, environment)].properties.hostNames[0]
    httpPort: 80
    originHostHeader: slots[indexOf(nonProdEnvironments, environment)].properties.hostNames[0]
    priority: 1
    weight: 1000
    enforceCertificateNameCheck: true
  }
}]

To Reproduce
Steps to reproduce the behavior:
Additional context
Add any other context about the problem here.

Closing as a duplicate of #2371


Using twitter's bootstrap.css

Is there any easy way to integrate the bootstrap alert messages using devise. I saw that blueprint was covered in the wiki, and I could just rewrite the notice tags in css, but I was wondering if there was an easier way.

Please use the mailing list for questions.


Bug 1796939 - Set libthai dictionary path for Firefox and others

The fix was included as https://github.com/snapcore/snapcraft/pull/4170 but that isn't the right place

@lissyx as a FYI for next time, I didn't know either but the snapcraft version of the launcher is used in core20 and not in core22 anymore, snapcraft-desktop-integration is the right project to use going forward


[bugfix] Center incoming call toast button icons

What
Center incomingCallAlerts default button icons

Why
https://skype.visualstudio.com/SPOOL/_workitems/edit/2985959

How Tested
Storybook Incoming Call Toast example.
Tested through 1:N call composite sample in story book as well.
Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

Took a look at the chromatic and the incoming call toast icons look centered :) Although I did notice the the incoming call modal's icon not centered.

Is there another bug for this too?

This is a separate bug, but since it is somewhat related I have added it to this PR as well.


[image_picker] M1 simulator is unable to pick any image.

Steps to Reproduce
Call the following method:
 void pickImageFromGallery() async {
  try {
    print('Picking an image');
    await ImagePicker().pickImage(source: ImageSource.gallery);
    print('Image picked');
  } catch (e) {
    print(e);
  }
}

Pick an image from iOS simulator (any image not just the first one which is of HEIC format as there's a separate issue created for it)
Once the image is picked, the code neither throws any exception nor it prints Image picked
If you try to select another image now, it throws an error:

PlatformException(multiple_request, Cancelled by a second request, null, null)

Flutter doctor:
[✓] Flutter (Channel dev, 2.9.0-0.1.pre, on macOS 12.0.1 21A559 darwin-arm, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.63.2)
[✓] Connected device (3 available)

Plugin version:
0.8.4+4
Platform

[ ] Android
[x] iOS

Hi @dark-chocolate, Thanks for filing the issue. I  ran the official sample code and I am not able to reproduce the issue. Neither on stable nor on the master channel.
https://user-images.githubusercontent.com/31410839/149922265-4e4e50fa-22be-4253-bc10-f3317e8bfc18.mov
Please make sure you have added keys in the info.plist

Add the following keys to your Info.plist file, located in /ios/Runner/Info.plist:

NSPhotoLibraryUsageDescription - describe why your app needs permission for the photo library. This is called Privacy - Photo Library Usage Description in the visual editor.
NSCameraUsageDescription - describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor.
NSMicrophoneUsageDescription - describe why your app needs access to the microphone, if you intend to record videos. This is called Privacy - Microphone Usage Description in the visual editor.

If the issue persists please share the device/ simulator/ios version name on which you are having the issue.

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (3 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 4.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.8+10-b944.6916264)

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

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

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 13 Pro (mobile) • 0FA2FB93-2A89-4FDB-8293-DF66188F1E54 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0
      (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 96.0.4664.110

• No issues found!

[✓] Flutter (Channel master, 2.9.0-1.0.pre.384, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.9.0-1.0.pre.384 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a3fd36a115 (3 days ago), 2022-01-14 20:40:17 -0500
    • Engine revision 83d99a5809
    • Dart version 2.17.0 (build 2.17.0-16.0.dev)
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 4.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.8+10-b944.6916264)

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

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

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android
      11 (API 30)
    • iPhone 12 (mobile)     • A047BAB5-CBE0-4DAF-962E-01A35B593FB5 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS
      12.1 21C52 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google
      Chrome 97.0.4692.71

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

• No issues found!

Thanks

@maheshmnj
I already have those permissions in Info.plist file. If I use previous version of image_picker: 0.7.4, the code works fine. So, it's definitely related to the current version.

Could you please check if this happens on any specific ios version or device? I am not able to reproduce this issue using
image_picker: ^0.8.4+4. Allso, attach the output of flutter run -v in a text file

If the issue persists please share the device/ simulator/ios version name on which you are having the issue.

I was only seeing this issue in the Simulator. I updated my Flutter channel after I created this issue, so I can't give you the correct Flutter doctor information, but here it is for the new version:
[✓] Flutter (Channel dev, 2.10.0-0.1.pre, on macOS 12.0.1 21A559 darwin-arm, locale en-US)
    • Flutter version 2.10.0-0.1.pre
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 628f0e3f3a (7 days ago), 2022-01-11 19:50:05 -0600
    • Engine revision 63ca99584a
    • Dart version 2.16.0 (build 2.16.0-134.1.beta)
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK
    • Platform android-31, build-tools 31.0.0
    • Java binary at:
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

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

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

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

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device
    • iPhone 8 (mobile) • 00EE6FDC-5A71-405E-9D9C-CB7472E15BED • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)

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

M1 Pro, issue PlatformException(multiple_request, Cancelled by a second request, null, null)
First request not complete. And second error. Image not selected. iOS Sim.

flutter doctor -v

@dark-chocolate, I verified on the latest dev channel I still don't see any exception or error in the console. Please share the output of flutter run -v, This issue cannot be actionable without sufficient information.
https://user-images.githubusercontent.com/31410839/150093998-1714eaca-6800-45d2-80bd-e6348408adfc.mov

flutter doctor -v
[✓] Flutter (Channel dev, 2.10.0-0.1.pre, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.10.0-0.1.pre at /Users/mahesh/Documents/flutter_beta
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 628f0e3f3a (7 days ago), 2022-01-11 19:50:05 -0600
    • Engine revision 63ca99584a
    • Dart version 2.16.0 (build 2.16.0-134.1.beta)
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 4.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.8+10-b944.6916264)

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

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

[✓] Connected device (3 available)
    • iPhone 12 (mobile) • 19EA5268-C931-4C3A-ACC6-71D3E849C450 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 97.0.4692.71
    ! Device <IP_ADDRESS>:5555 is offline.

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

• No issues found!

@qdmitry  can you please share your flutter doctor -v, the device on which the exception reproduces and the image picker plugin version ?
Thanks

@maheshmnj
flutter doctor -v
[✓] Flutter (Channel stable, 2.5.3, on macOS 12.1 21C52 darwin-arm, locale ru-RU)
• Flutter version 2.5.3 at /Users/dmitry/Develop/Flutter/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 18116933e7 (3 months ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/dmitry/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• ANDROID_SDK_ROOT = /Users/dmitry/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.1, Build version 13A1030d
• CocoaPods version 1.11.2
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google
Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[✓] VS Code (version 1.63.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.32.0
[✓] Connected device (1 available)
• iPhone SE (2nd generation) (mobile) • A5AC7C2B-A86B-4DE4-8A25-B66C88E79AB8 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
Install -> image_picker: ^0.8.4+4
selectImage() async {
    print("Request ImagePicker");
    try {
      final file = await ImagePicker().pickImage(source: ImageSource.gallery);
      print("File after await");
      print(file);
    } catch (e) {
      print(e);
    }
  }

First request open modal gallery, select image, hide modal, and nothing console log print after await.
Console log:
(2) flutter: Request ImagePicker
flutter: PlatformException(multiple_request, Cancelled by a second request, null, null)

@maheshmnj
As there were around 60,000 lines in flutter run -v output, I'm sharing the .txt file.
logs.txt

Thanks for the info labeling this issue for further investigation, I am unable to reproduce it.

@maheshmnj Maybe it has something to do with get_x plugin?
I'm using it.

Because you are using google_sign_in (which doesn't support arm simulators) the app is being run with Rosetta on the simulator.
This is really a Rosetta bug, so either Apple needs to fix it, or keep an eye on getting all your plugins to support the simulator.
Duplicate of https://github.com/flutter/flutter/issues/71943.

@jmagman  Thanks so much for the insight 👍

@jmagman @maheshmnj in iOS Sim 12.4 works! Apple crap! :)


Simplify configuration

Addresses parts of #121

The Dry-Struct -mapped K8s::Config is replaced with an unvalidated and unstructured hash. Validating kubeconfig -files is not in the scope of k8s-client. In the future, this can lead to dropping the dry-dependencies, making the client easier to use in projects that have dry-dependecies of their own, which seem to generate a lot of dependency issues.
Instead of RecursiveOpenStruct, the config uses a simple selfmade hash-extension that pretty much works the same. Later the dependency can be dropped and api-responses returned as these dot-notated hashes.
Tries the /etc/kubernetes/admin.conf and /etc/kubernetes/kubelet.conf when autoconfiguring, making k8s-client work with zero config when running on kube nodes.
Some of the config code was copied and adapted from Pharos::Kube::Config which handles pretty much the same task with considerably less code than k8s before this pr.

Specs pass but still needs some cleanup and yardoc fixes.

Outdated and weird, reimplement some other way.


Compiled but untested iteration for Subscription modifications

Note: rmw_take would likely need more OpenDDS conversion code

@kuznetsovmoci Which story is this associated with?

@kuznetsovmoci Which Trello item is this associated with?

'Implement rmw_create_subscription' and 'Implement rmw_take'. I've moved them to Peer Review this morning.

Are we reviewing this one or waiting for a future iteration to review?

Are we reviewing this one or waiting for a future iteration to review?

This is intended for Jiang to use as a starting point and build on.

Closing after pushing in 'Subscription' branch


Remove deprecated function and adapt tests

Description of changes:

Removed kani::any_raw() and Invariants.
Removed handling of old _VERIFIER* functions.
Adapted tests that were using old functions. Note that I moved most tests  from tests/kani/Invariants to be under tests/kani/Arbitrary

Resolved issues:
Resolves #599
Is related to #1394
Call-outs:
I found an issue while updating the tests that is orthogonal to this change. I created #1533 and moved the nonzero.rs test to be a fix-me test.
Testing:

How is this change tested?

Is this a refactor change?

Checklist

[ ] Each commit message has a non-empty body, explaining why the change was made
[ ] Methods or procedures are documented
[ ] Regression or unit tests are included, or existing tests cover the modified code
[ ] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

I do wonder if we should be "nicer" and leave things in place with the deprecations, but I suspect there are not a lot of users of this, so we can get away with it this time.

I think we should at least create a proper deprecation plan. For example, we can say that we remove deprecated APIs only after at least 3 releases after the deprecation or something like that. Thoughts?


How to change package name it gives an cardsliderlayoutadapter error?

@RamotionDev  please help

@yourtechcode try this https://github.com/Ramotion/cardslider-android/issues/18#issuecomment-362993365


Error:  	HTTPSConnectionPool(host='drive.google.com', port=443): Max retries 	exceeded with url: /uc?id=1AbN9fCf9IexMxEKXLQY2KYBlb-IhSEea (Caused by 	NewConnectionError('<urllib3.connection.HTTPSConnection object at 	0x0000018D7DC96250>: Failed to establish a new connection: [WinError 	10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应，连接尝试失败。'))

Provide environment information
python=3.8
What OS are you using?
Win10
Describe the Bug
When I run this line of code "python demoTalkNet.py --videoName 001", it will report this error: HTTPSConnectionPool(host='drive.google.com', port=443): Max retries exceeded with url:  /uc id=1AbN9fCf9IexMxEKXLQY2KYBlb-IhSEea (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at  0x000001D7FC255340>: Failed to establish a new connection: [WinError 10060] The connection attempt failed because the connected party did not reply correctly after some time or the connected host did not respond. ')).     It seems to be due to the inability to connect to the files on Google Drive, can you tell me how to solve this?
Expected Behavior
No response
To Reproduce
No response

请问你也是在云端吗？用的是什么云？

请问你也是在云端吗？用的是什么云？

Google云端，好像是

did you solve it？

Me too
HTTPSConnectionPool(host='drive.google.com', port=443): Max retries
exceeded with url: /uc?id=1_PtHk2KNG_sYyFyT31hchz3R2ZO6tNwr (Caused by
NewConnectionError('<urllib3.connection.HTTPSConnection object at
0x7fe3dfe46490>: Failed to establish a new connection: [Errno 101]
Network is unreachable'))

Same error for me

Same error for me

How to solve it?


added logo navigation

Related Issue
None
Fixes:  #2091
Description
A new logo navigation feature has been implemented to enhance the user experience. This feature displays logo when moving from one destination to another
#2091
Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
https://github.com/anuragverma108/SwapReads/assets/103454929/85b94a71-d776-4734-a9cf-84bb13a88f4a
Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@Amishachoudhary22  there are some merge conflicts in the index dot HTML file first resolve those and push your code again.

create new PR or reopen this one


[WFLY-18732] Upgrade SmallRye Config to 3.4.3

https://issues.redhat.com/browse/WFLY-18732
The SmallRyeConfig.getLatestPropertyNames() is marked as @Experimental but I am talking to the SmallRye team about it to make sure this (or something else) will be stable for our use

Thanks @kabir


v1.5c files

Add portfolio for gabriel.
Update user and developer guide.

Coverage remained the same at 85.72% when pulling b21bafd4996b654682c5dc83c4d906a91131a3b6 on lancehaoh:master into ef2d2edd67f10acc17599f66c6f52d87aa764204 on CS2103AUG2017-W11-B1:master.


Bug in the example

Your Example shows:
$(element).shorten({
showChars: '50',
});
it should be:
$(element).shorten({
showChars: 50,
});

Thanks Thomas - that was driving me crazy!

Maybe provide a Pull Request with this minor but annoying change?

@holtkamp Done :)


#738: Added Http Integration Tests: Create tests to support for GET, GETDEL, GETEX, GETSET commands

FIxes #738
Description
This pull request adds the Http Integration Tests for GET, GETDEL, GETEX, GETSET commands.

Need to add test for FLUSHDB also

Hi @lucifercr07  I have to add test for FLUSHDB also shall I create a different PR for that?

I was working on JSON.STRAPPEND command will add flushdb test later was having some issue in that


Add Oversight committee to model

Ad discussed during the meetings. Oversight committee is not by definition an organization.
Can we align with M11 terminology?

Ad discussed during the meetings. Oversight committee is not by definition an organization.
Can we align with M11 terminology?

See #293

This ticket is currently handled in #293. So can be closed.


ether classic  Transaction failed on poloniex

hello
the Etc explorer shows that Transaction Etc from STANDARD ADDRESS 0x0eeeda0e56781b2ca310e17c57a6380bb838b9b3
to contract adress 0xb09cbe4f7e845184d8c6e4607cd816bfc9bc08d3 failed
I realized the block 4018208 has 2 Transaction  failed
what can we do ?

Probably because the transaction did not have enough GAS.


Menu doesn't close onTapOutside on mobile

downshift version: 1.31.2
node version: 8.11.1
npm (or yarn) version: yarn 1.5.0

Relevant code or config
https://codesandbox.io/s/9rWEmzEv8 (downshift demo by @kentcdodds)
What you did/What happened:
On desktop:

click on the button
the menu opens
click outside the select
the menu closes

On mobile:

tap on the button
the menu opens
tap outside the select
the menu stays open

Reproduction repository:
https://codesandbox.io/s/9rWEmzEv8
Problem description:
I'm not sure this is intended? Or is it, to prevent fat fingering?
Suggested solution:
Close the menu onTapOutside if that is what we want
Thanks for this awesome package!

This was actually resolved and released: https://github.com/paypal/downshift/pull/425
I forgot to close it.

Hey @kentcdodds. I think this is a separate issue to the one I resolved in that PR.

Oh, you're right. Sorry about that 😅

The only solution I can think of is is to add a touchstart listener to check if the dropdown has been unfocused.

I'd be happy to look at a PR for this. Thanks!

Alrght I will take a look when I have some time!

@kentcdodds This can be closed now 😁. Resolved in #429

Just upgraded and tested, works like a charm :+1: Thanks a lot!


Update SLES HA doc with socat configuration

As per latest recommendation from SUSE (https://www.suse.com/support/kb/doc/?id=7024128), have edited steps to replace "nc" resource configuration with "socat" resource.
This recommendation is related to replacing “nc” resource in the SUSE HA cluster. nc resource is used for listening to the Azure LoadBalancer. Without this functionality the Floating Cluster IP is not reachable. But in some of the scenarios, it was revealed that due to the backlog in nc being hardcoded to 1 and the general limitations of the nc, this can lead to the resource being blocked. To make sure we do not run into this situation, SUSE has suggested to use socat which is more powerful and reliable than nc.

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

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Mangaleshwar sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

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

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

Hi @MSSedusch - Could you review the proposed changes and indicate whether the PR can be merged? Thank you.

@rdeltcheva I know you already made some changes for socat, correct? Are these changes obsolete now?

@rdeltcheva Please update the author metadata (via the private repo). Thanks!

These looks like there were addressed in other PRs. Closing for now. if issue is still there just let us know.


chore(docker): Enhance Docker build configuration

Discussion Draft - Not Ready for Merge
This draft outlines proposed changes to improve our Docker infrastructure. I plan to submit a separate PR specifically addressing the JDK8 issue.
Proposed Changes:

Implement buildx for multi-platform builds
Add Dependabot for automated dependency updates
Standardize Dockerfile syntax
Align JDK versions with requirements

This initiative follows up on jenkins-infra/helpdesk#4364. The primary goal is to correctly match image dependencies with their corresponding JDK versions (e.g., JDK 8 for jdk8 images, JDK 11 for jdk11 images).
Note: This is a work in progress and open for discussion.
Testing Performed
make && docker run -ti --rm jenkins/jnlp-agent-jdk8:latest

Submitter checklist

[X] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[X] Ensure that the pull request title represents the desired changelog entry
[X] Please describe what you did
[X] Link to relevant issues in GitHub or Jira
Link to relevant pull requests, esp. upstream and downstream changes
[X] Ensure you have provided tests - that demonstrates feature works or fixes the issue

This PR addressed multiple concerns simultaneously without corresponding GitHub issues to track them. To maintain better focus and traceability, I am closing this PR and eventually creating separate issues for each distinct improvement needed.


feat: add scrollbar background color

Add configurable scrollbar background color
Close #52

[x] Add configurable scrollbar background highlight color via SatelliteBackground highlight group. Uses the ColorColumn highlight group by default.
[x] Update docs

Potential Issues

Background color may conflict with mark highlights.
The additional bar for marks not combined in the scrollbar is not updated. Although I notice the bar highlight representing the current view of the buffer is not used there also.

Screenshots
Default (ColorColumn)

Custom

White
White & Winblend 50
Cyan
Cyan & Winblend 50
Pink
Pink & Winblend 50

After some additional testing on a GUI like neovide I have encountered some highlighting issue that may need fixing:
Scrollbar center highlighting should be SatelliteBar instead of the SatelliteBackground.
Screenshot (Cyan background for clarity)

Will look into fixing this soon.

I have double-checked and it looks like the above issue was just due to some local dev changes. It works just fine in the PR:
Neovide screenshot (Cyan background for clarity)

As you can see the background color of the extended marks for git is not changed, but I personally think this is OK, or can be added later.

By default I'd prefer the background to be transparent like it is now.


Allow test to use/create different schematics for each test

Currently test have one schematic associated with test file.

Allow user to update this schematic in the tests section of the test file.

This should overwrite the schematic used by the rest of the test file.

Completed because tests are now considered multiple tests


How to connect to remote cluster using SSL certificates ?

I created SSL between nodes of same cluster. I want to connect to remote cluster: created certs, admin username same for both clusters, but getting authenticaton issues, i specified hostname/port, and no idea where to submit username/password. With curl can connect to both clusters on port 9200 without skipping certificatoin requests (imported it to Certificate store (not JAVA store)).
Local cluster:
cluster.name: client1
searchguard.enterprise_modules_enabled: false

node.name: ekl.test.com
node.master: true
node.data: true
node.ingest: true

network.host: <IP_ADDRESS>

#http.host: <IP_ADDRESS>
network.publish_host: ["ekl1.test1.com","ekl.test.com"]

http.port: 9200

discovery.zen.ping.unicast.hosts: ["ekl.test.com", "ekl2.test2.com"]

discovery.zen.minimum_master_nodes: 1

xpack.security.enabled: false

searchguard.ssl.transport.pemcert_filepath: '/etc/elasticsearch/ssl/node1.pem'
searchguard.ssl.transport.pemkey_filepath: 'ssl/node1.key'
searchguard.ssl.transport.pemtrustedcas_filepath: '/etc/elasticsearch/ssl/root-ca.pem'
searchguard.ssl.transport.enforce_hostname_verification: false
searchguard.ssl.transport.resolve_hostname: false
searchguard.ssl.http.enabled: true
searchguard.ssl.http.pemcert_filepath: '/etc/elasticsearch/ssl/node1_http.pem'
searchguard.ssl.http.pemkey_filepath: '/etc/elasticsearch/ssl/node1_http.key'
searchguard.ssl.http.pemtrustedcas_filepath: '/etc/elasticsearch/ssl/root-ca.pem'
searchguard.nodes_dn:
- CN=ekl.test.com,OU=Ops,O=BugBear BG\, Ltd.,DC=BugBear,DC=com
- CN=ekl1.test1.com,OU=Ops,O=BugBear BG\, Ltd.,DC=BugBear,DC=com
searchguard.authcz.admin_dn:
- CN=admin.test.com,OU=Ops,O=BugBear Com\, Inc.,DC=example,DC=com

Remote cluster:
cluster.name: client2
searchguard.enterprise_modules_enabled: false

node.name: ekl1.test.com
node.master: false
node.data: true
node.ingest: false

network.host: <IP_ADDRESS>

#http.host: <IP_ADDRESS>
network.publish_host: ["ekl1.test1.com","ekl.test.com"]

http.port: 9200

discovery.zen.ping.unicast.hosts: ["ekl.test.com", "ekl1.test1.com"]

discovery.zen.minimum_master_nodes: 1

xpack.security.enabled: false

searchguard.ssl.transport.pemcert_filepath: '/etc/elasticsearch/ssl/node2.pem'
searchguard.ssl.transport.pemkey_filepath: 'ssl/node2.key'
searchguard.ssl.transport.pemtrustedcas_filepath: '/etc/elasticsearch/ssl/root-ca.pem'
searchguard.ssl.transport.enforce_hostname_verification: false
searchguard.ssl.transport.resolve_hostname: false
searchguard.ssl.http.enabled: true
searchguard.ssl.http.pemcert_filepath: '/etc/elasticsearch/ssl/node2_http.pem'
searchguard.ssl.http.pemkey_filepath: '/etc/elasticsearch/ssl/node2_http.key'
searchguard.ssl.http.pemtrustedcas_filepath: '/etc/elasticsearch/ssl/root-ca.pem'
searchguard.nodes_dn:
- CN=ekl.test.com,OU=Ops,O=BugBear BG\, Ltd.,DC=BugBear,DC=com
- CN=ekl1.test1.com,OU=Ops,O=BugBear BG\, Ltd.,DC=BugBear,DC=com
searchguard.authcz.admin_dn:
- CN=admin.test.com,OU=Ops,O=BugBear Com\, Inc.,DC=example,DC=com
Certificates are self-signed

I added remote domain in Kibana GUI: ekl1.test1.com:9200
and getting
RemoteClusterConnection] [4P1fXFO] fetching nodes from external cluster [client2] failed
org.elasticsearch.transport.ConnectTransportException: [][<IP_ADDRESS>:9200] handshake_timeout[30s]

search-guard-6:6.6.2-24.2
Elasticsearch: 6.6.2
Any direction how to connect to remote cluster (Cross cluster search) is highly appreciated.

Solved it by recreating all from scratch


Addition of All Contributors Photos in Readme

I can add all the contributor's photos in Readme file as a token of appreciation for their work.
Like this

Please assign me this issue under gssoc-extd and hactoberfest-accepted with suitable level label, I want to contirbute in it.

I can add all the contributor's photos in Readme file as a token of appreciation for their work. Like this

Please assign me this issue under gssoc-extd and hactoberfest-accepted with suitable level label, I want to contirbute in it.

Sure go ahead!


nkjp reader

Reader of The National Corpus of Polish

Thanks @ducki13. I think it would be good to include the million-word subcorpus with NLTK's corpus collection, and to add an entry for it in the corpus interface. What do you think?

Hello stevenbird. I am very glad that you want my code to be a part of NLTK :) I've already commited an entry. Is anything else what is necessary for right submission of NKJP?

Nice work @ducki13, and I liked the decorator. We should consider using that elsewhere. I've tested this and will merge it now. Shall we add the million-word subcorpus to NLTK's corpus collection?

Yes, I'd like to submit the corpus and I've already made the pull request with NKJP, here is the link: https://github.com/nltk/nltk_data/pull/17 . Data is submited in taz.bz extension, because size of zip package was too big to make a commit, I wrote about this problem here: https://groups.google.com/forum/#!topic/nltk-dev/VMMCXejQJMQ .


Text shaping, font fallback, and iced_wgpu overhaul

This PR introduces support for text shaping and font fallback (#33), as well as it improves the architecture of iced_wgpu to get rid of bottlenecks that were present since the inception of the library (#41).
cosmic-text and glyphon
The wgpu_glyph dependency in iced_wgpu has been replaced with glyphon, a fairly new text renderer for wgpu that has a better-suited architecture for layering and caching.
Recently, glyphon landed integration with cosmic-text (https://github.com/grovesNL/glyphon/pull/23), which provides advanced text shaping, layout, and rendering wrapped up into a simple abstraction. cosmic-text has been a long-time-missing piece in the Rust GUI ecosystem and the folks at System76 are breaking ground to make the ecosystem thrive!
What does this all mean? It means iced is now capable of rendering more complex scripts, automatically finding missing glyphs in your system fonts (no more tofu!), and selecting fonts based on their family.
For instance, we can now handle emoji :partying_face::

iced_wgpu overhaul
Since the inception of the library, iced_wgpu has been limited by the (now gone) wgpu_glyph dependency. The main issue with wgpu_glyph is that it couples uploading new data to the GPU with recording draw calls. This architecture is forced by glyph-brush, an internal dependency originally designed with OpenGL in mind that deals with text and glyph caching.
The architecture of wgpu_glyph becomes a problem when combined with layering. If we want to draw multiple layers of text with other kinds of primitives between them then we have to issue multiple text draw calls (a depth buffer would break alpha blending). But since uploads and draw calls are coupled, we are forced to issue a complete new RenderPass for every layer of text!
And it gets worse! glyph-brush couples cache trimming with drawing as well. So not only we have to issue a whole new RenderPass and upload data between draw calls, but every layer overwrites the cache of the previous one. Not good.
glyphon has a completely different architecture. For starters, it has a first-class TextAtlas which represents the glyph cache. Then, it has a TextRenderer type with two different methods: prepare and render. prepare deals with preparing buffers and updating the TextAtlas, while render just issues a draw call.
This separation is great because it lets us completely redesign the architecture of iced_wgpu to split rendering into prepare and draw stages and reuse a RenderPass as much as possible (no uploads in between!). Furthermore, a TextAtlas can be shared with many TextRenderers (i.e. layers!) as needed.
Memory usage should also be considerably lower, since we are no longer forced to use a StagingBelt to upload between draw calls.
Deprecation of iced_glow and iced_glutin
As of now, glyphon only works with wgpu. In order to bring these improvements over to the iced_glow renderer, we would need to add glow support for glyphon (or fork it). This would take a considerable amount of effort.
As time goes on, maintaining iced_glow is becoming quite a headache. OpenGL is full of pitfalls and ensuring compatibility with older hardware while also taking advantage of more modern one is a pain.
Because of this, I have decided to deprecate iced_glow and iced_glutin. For now, I am just removing the crates from the repository. But by all means, if someone is interested in maintaining them further I will gladly give you a repository in the iced-rs organization.
Instead of working on maintaining a renderer with a graphics API that is on its deathbed, I prefer to focus on implementing a proper software renderer. This should increase the compatibility of the library even further; allowing it to run not only in older hardware but also in environments with no GPUs (e.g. virtual machines).
Next steps
These changes are not ready for master yet! They will be merged into a new advanced-text branch for now.
 While we may be able to draw complex scripts now, we are certainly not capable of editing them. The TextInput logic has not been changed.
Also, the vectorial text support (https://github.com/iced-rs/iced/pull/1610) needs to be merged and integrated with these changes.
Finally, since removing iced_glow decreases the compatibility of the library considerably, I would like to have a software renderer before these new features can land in master.

Woo! 🎉

I am still experiencing tofu font issues when using iced::widget::Text. Will this change fix it?

I am still experiencing tofu font issues when using iced::widget::Text. Will this change fix it?
I didn't understand your previous message. After replacing widget::Text with advanced::widget::Text and enabling Advanced Shaping, it is now working properly.

I am still experiencing tofu font issues when using iced::widget::Text. Will this change fix it?

I didn't understand your previous message. After replacing widget::Text with advanced::widget::Text and enabling Advanced Shaping, it is now working properly.


JS Mediapipe face recognition crashes badly

System information

Os Linux ed7-laptop 5.14.0-1027-oem #30-Ubuntu SMP Mon Mar 7 15:00:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Programming language: Javascript
Chrome version: Google Chrome 108.0.5359.124

Describe the current behavior:
When trying to run the example taken from the official website:
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <script<EMAIL_ADDRESS>crossorigin="anonymous"></script>
  <script<EMAIL_ADDRESS>crossorigin="anonymous"></script>
  <script<EMAIL_ADDRESS>crossorigin="anonymous"></script>
  <script<EMAIL_ADDRESS>crossorigin="anonymous"></script>

</head>

<body>
  <div class="container">
    <video class="input_video"></video>
    <canvas class="output_canvas" width="1280px" height="720px"></canvas>
  </div>
</body>
</html>
<script type="module">
const videoElement = document.getElementsByClassName('input_video')[0];
const canvasElement = document.getElementsByClassName('output_canvas')[0];
const canvasCtx = canvasElement.getContext('2d');

function onResults(results) {
  // Draw the overlays.
  canvasCtx.save();
  canvasCtx.clearRect(0, 0, canvasElement.width, canvasElement.height);
  canvasCtx.drawImage(
      results.image, 0, 0, canvasElement.width, canvasElement.height);
  if (results.detections.length > 0) {
    drawingUtils.drawRectangle(
        canvasCtx, results.detections[0].boundingBox,
        {color: 'blue', lineWidth: 4, fillColor: '#00000000'});
    drawingUtils.drawLandmarks(canvasCtx, results.detections[0].landmarks, {
      color: 'red',
      radius: 5,
    });
  }
  canvasCtx.restore();
}

const faceDetection = new FaceDetection({locateFile: (file) => {
  return `https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>}});
faceDetection.setOptions({
  modelSelection: 0,
  minDetectionConfidence: 0.5
});
faceDetection.onResults(onResults);

const camera = new Camera(videoElement, {
  onFrame: async () => {
    await faceDetection.send({image: videoElement});
  },
  width: 1280,
  height: 720
});
camera.start();
</script>

I get the following crash:

Describe the expected behavior:
It should work, I guess.
Thanks

Hi @edge7
Thanks for pointing out this issue. We can notice the documentation is not up to date and that is why you are facing this issue.
Please do two changes for the code to work.

Remove modelSelection option and add model: 'short', option to faceDetection.setOptions(). This will give Reference error for drawingUtils variable.
Add const drawingUtils = window;  before function onResults(){} to define the drawingUtils variable

We will update the documentation code with the changes shortly.

@ayushgdev Is project dead or something ? I am checking documentations but there isn't example codes for given image examples and there is no source code for javascript API but only a npm package which was updated 1 year ago. I guess project having some issues to have contributor support.

Hi @esinanturan
For the Javascript API, we have released the Typescript type definition files which should give an idea on the possible options and APIs. For full source code release, please check the comment here.
Rest assured, the project is certainly not dead and we are working on actually streamlining the build process for the solutions. Hence, though you might not see many features being added, small important improvements are on the way.

@ayushgdev Thank you for your response. I am very interested in the library but seeing not enough resources making me feel bad to achieve what I am looking for which is the given example of face filters: https://mediapipe.dev/images/face_mesh_ar_effects.gif
It seems mediapipe doing great job for that purpose but I don't know how to achieve it by the given documentation.
Any code examples for such result ?

Javascript FaceEffect is not supported at the moment. As you can find here in the documentation, the face effect example targets are only available for Android and iOS.

I understand. Thank you for clarification. I hope there will be a support for that soon.

I confirm that like this works:
const faceDetection = new FaceDetection({locateFile: (file) => {
  return `https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>}});
faceDetection.onResults(onResults);
faceDetection.setOptions({
  model: 'short'
});


question about view consistentence

Does the term "hidden state of neighbor" refer to the latent representation of the neighboring image or the scene-level encoding embedding?
Additionally, when addressing view consistency, does the model output multiple-view results simultaneously or only one view?

it means "the latent representation of the neighboring image"
multi-view images are generated simultaneously. The model parameters are shared for different views.


GetFeatureInfo output is reordered in examples

Describe the bug
css appears to be reordering the output in the GetFeatureInfo examples.
To Reproduce
Compare the output when clicking in https://openlayers.org/en/v6.3.1/examples/getfeatureinfo-tile.html and https://openlayers.org/en/latest/examples/getfeatureinfo-tile.html  The ne_10m_admin_0_countries caption used to appear above the table, as it is served.  It now appears below the table, presumably due to a css change.
Expected behavior
Output to be displayed in the order it is served.

The #11310 bootstrap updated added
table {
  caption-side: bottom;
  border-collapse: collapse;
}


[ftplugin] in toml is not loaded

Warning: I will close the issue without the minimal init.vim and the
reproduction instructions.
Problems summary
Expected
I want to use the [ftplugin] section in deinft.toml to override formatoptions.
Environment Information (Required!)

dein.vim version(SHA1): 09cb888d78f9838b57ec7e1c5c46d4a7733cea75

OS: Ubuntu 20.04 on WSL2

neovim/Vim :version output: NVIM v0.9.0-dev-84465a8c1

Provide a minimal init.vim/vimrc without plugin managers (Required!)
let $TEMP = expand('/tmp')
if &runtimepath !~# '/dein.vim'
  let s:dein_dir = $TEMP . '/dein/repos/github.com/Shougo/dein.vim'
  if !isdirectory(s:dein_dir)
    execute '!git clone https://github.com/Shougo/dein.vim' s:dein_dir
  endif
  execute 'set runtimepath^=' . fnamemodify(s:dein_dir, ':p')
endif

let s:base_dir = fnamemodify(expand('<sfile>'), ':h')
let s:dein_ft_toml = s:base_dir . '/deinft.toml'

let s:path = $TEMP . '/dein'
call dein#begin(s:path)
call dein#load_toml(s:dein_ft_toml)
call dein#end()

And deinft.toml
[ftplugin]

_ = '''
    setl formatoptions-=t
    setl formatoptions-=c
    setl formatoptions-=r
    setl formatoptions-=o
    setl formatoptions+=mMl
'''

How to reproduce the problem from neovim/Vim startup (Required!)
After startup, open init.vim and you will see that formatoptions has not been overwritten.
Screen shot (if possible)
Upload the log messages by :redir and :message (if errored)

filetype plugin indent on is needed after call dein#end().

Oh, it's true. It's fixed. Thank you.


Increase flexibility of file summary reports

We discussed this some time ago. File summary reports look well when GGIR is run on defaults (ENMO, worn on wrist, standard bout lengths, ...). But they can be improved if other settings are used. For example:

Adapt y axis limits to the metric used.
Adapt labels to the settings (e.g., even if sensor.location == hip, the plot label would say "arm movement")
Adapt plot to the algorithms used (e.g., the sleep plot will show the z-axis variability even if HorAngle with a different axis is used)
It always show the MVPA metric with the longest bout, this could be adapted by showing the total MVPA and the composition of the selected bouts in stacked barplots (and it would be great if this is clarified in the plot).
GGIR does not calculate sleep efficiency in certain settings (e.g., sleepwindowtype == "SPT", or HASPT.algo == "HDCZA"), yet the filse summary report would always show an estimate of the sleep efficiency, this can be confusing for the user.

For now I am just creating this issue not to forget it and to make a list of the things we would like to improve in g.plot5.

Moving the g.plot5 function within g.part5 would facilitate this as it would allow to use the ts object and all the configurations. The only change this would imply is that the plots would be generated before the reports in the GGIR pipeline.

g.part5 is already a very long function (maybe even too long), so it may be better to create a new plotting function to eventually replace g.plot5 and call that new function from within g.part5. However, if we fully want to re-think the design of the visual report, including the layout then it may be worth considering moving all visualisation functions in GGIR to a separate R package. Advantages:

Isolate all that work into a separate project, which in theory can be tested and used on its own even without GGIR.
Reducing size and complexity of GGIR code base.
Easier to start using more advanced R visualisation tools.

The only "limitation" I see to that option is that we would need to either always export the timeseries from g.part5, or rerun g.part5 within the new package to get the timeseries classification. This would be in order to plot the behavior classification that is perfomed in part 5, which includes all the intensities and the sleep estimates. The current approach loads part 2 timeseries and part 3/4 sleep estimates and recalculate some of the variables (which sometimes end up in inconsistencies between reports and plots, and little flexibility for configurations other than the default).
Exporting always the part 5 timeseries could make the function slower, which is not good. So, the option I see is to state in the in the new package that part5 timeseries should be exported for the visualization to work.

I am not proposing exporting the time series. My proposal is that the new package, lets call it GGIRvisual for now, provides a function that takes as input all the information needed for creating the visualisation ranging form part 2 time series to part 5 classification. Next, g.part5 would call this external function and give it all the information it needs. The output of the external function would be the visualisation which GGIR can then send to a pdf for example.
Ideally GGIRvisual is not used by GGIR users directly, but as a dependency just like GGIRread is. But just like GGIRread we would design GGIRvisual in a way that it can be used without GGIR.

I see, sounds good. I can start working on this. Should we then migrate all the visualizations made by GGIR? Or just the file summary reports for now?

I think it is good to plan this with all GGIR plotting functionality in mind even if we practically start with just one visualisation.
This would then be a good opportunity to:

Rethink the design of all the visualisations to reduce redundancy and increase complementary value.
Aim for consistent terminology and where possible re-use of code.
Invest in user needs, e.g. option to change language of the legend.

Closing this issue, as we are not planning to work on this anytime soon.


✨[feature Request]:

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
d
Use Case
d
Benefits
d
Add ScreenShots
d
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

/assign


Package subpath './vue' is not defined by "exports"

When I build my application using vite-ssg，
import { autoAnimatePlugin } from '@formkit/auto-animate/vue'

export const createApp = ViteSSG(
  App,
  { routes, scrollBehavior },
  ({ app, router, isClient }) => {
    app.use(autoAnimatePlugin)
    dayjs.extend(LocalizedFormat)
    if (isClient) {
      router.beforeEach(() => { NProgress.start() })
      router.afterEach(() => { NProgress.done() })
    }
  },
)

vite build

Package subpath './vue' is not defined by "exports" in<EMAIL_ADDRESS>

Couple questions:

What version of node is that running
Can you provide a reproduction please

@justin-schroeder
Sorry for wasting your time, it was a problem with my own code ... 😂😂😂


Merge pull request #1 from dropwizard/master

to 1.2.0-shotnap

sync to 1.2.0-s

Coverage remained the same at 84.506% when pulling 446bfa8bd628dfd62768d68b74a9749f172e2242 on gaojun301:master into 743c6888be63fd544ad992634c46a99e952aa8b4 on dropwizard:master.


Recurse #include files and subdirectories

When -r is passed in the command line, all includes are considered input files which necessarily demand the generation of a corresponding output file.
We need to investigate options for limiting the number of output files being generated:

[ ] Limit the depth of the recursion which implies on generation of output files;

Maybe something like: $ scala-bindgen *.h -r --maxdepth 3

[ ] Allow differentiation between user include files and system include files;

Maybe something like: $ scala-bindgen *.h -r --user-includes-only

[ ] Allow only local include files, i.e.: include files in the specified locations and subdirectories of those specified locations.

Maybe something like: $ scala-bindgen foo/include/*.h bar/include/*.h --recurse-subdirs

In addition to the initial considerations, we can also  consider that passing -o filename.scala causes all output to be written to a single file, does not matter the number of input files specified. The same applies when we request output to STDOUT, via -o -.
In any case, regardless writing to several output files, to a single output file or to STDOUT, what really matters is the ability to visit recursively all include files (which Clang already does) and the ability to write bindings accordingly, not only declarations obtained from the topmost file(s) specified on the command line, but also included file(s). More on this subject at #13


Configuration check should not allow for duplicated "description" items

I found out the hard way by mistakenly putting a number of samples with the same name: it caused many different files to be aligned with the same name, at least with the smallrnaseq pipeline, and of course all transaction checks screamed in my face.

Luca;
Sorry about the issues. The current YAML lint checks should identify this as an issue prior to running:
ValueError: Duplicate 'description' found in input sample configuration.
Required to be unique for a project: ['Test1']
Problem found in these samples: ['Test1', 'Test1']

Would you be able to post the problematic configuration so we can identify how it manages to get around these checks? Thanks much.

Hi,
could it be that you did the -w template command, and then you lost some
samples, and then you added later and re-started?
It happened to me that I lost the sample because the naming and re-starting
was the real issue. Not sure if you got the issue from the very beginning.
There is a bug when adding samples after alignment is done that is messing
with the BAM files.
Brad, do you know if we check when running the -w template whether there
are samples with same names that we lose in the final yaml file?

I already "fixed" it, but IIRC I had distinct samplename in the template, but identical description. Each of the duplicated description entry pointed to a different FASTA file. This caused all sorts of funny races during the run (smallrnaseq for the record).

Luca and Lorena;
Thanks for the details. We don't check currently for duplicates as part of the templating so this could definitely use some attention if we wanted to try and catch it there. Luca, I'm confused how you were able to kick off the actual run since bcbio should have complained about having duplicates. If you're able to provide an example of the configuration that caused the issues this could help in trying to isolate how best to fix beyond the templating improvements Lorena suggested.

Hi Luca, I couldn't make this problem happen for the reasons Brad stated above-- do you have an example of the configuration that was running into this problem so I can look at it?


Documentation publish may occur before the release is tagged

Documentation publish may occur before the release is tagged by the pypi_publish step.
This can result in the documentation publish job not having a release tag for the most
recent release and as a result the changelog will lack changes for the just published
release.

This has been fixed


Adding Mill (plus link) to the list of the tools which use Zinc.

Mill uses Zinc. https://com-lihaoyi.github.io/mill/

To validate this pull request against other sbt modules, please visit this link.

Closing this in favor of https://github.com/sbt/zinc/pull/976


CSS MISSING??

 Its not css missing lol; its just that Im trying to add my dependencies as git submodules to my project (new technology to me) and now it becomes quite problematics

@Kasper-Liu Now solving the problem, be patient lol

ahh icic so the entire theme (blowfish) is missing

I guess try and revert back to commit 0e272c first on the major branch
https://github.com/spcccomputerclub/spcccomputerclub.github.io/commit/0e272c5b063bc5c0c26345e5c695feee4c487765
then start a new branch for testing the submodule

I have tried to revert the commit but it seems to fail, im now trying git submodule update --remote --merge

ok I'll fork this and prob try and fix it

btw please contact me via discord: ||𝓚𝓪𝓼𝓹𝓮𝓻||#8043
or my tel number 6596 2300 cause this is a bit indirect thanks

whatsapp preferred

Lol thx if you can fix it you can open a PR I guess

@Kasper-Liu  Problem solved, check the website: https://spcccomputerclub.github.io/

nice nice