How to handle case where the store "model" differs from the "display" model

Given how este is designed currently the store model and the display model is (must be?) the same.
However, in a real-world application this is often (?) not the case, e.g. a store usually prefers to store it's data in a normalised model (https://github.com/gaearon/normalizr) while the react component tree expects a un-normalized model.
There are a few problems I see here:

A normalised model needs to be transformed to a model that better fits the react tree model.
Such a transformation would most likely cause any leaf node change to entirely re-create the react tree model, i.e. full re-render.
The Record format for the store and react component model could differ, do we need to define two Records for each domain?
Not using a normalised model the store can make logic much more complicated, e.g. selecting a specific node in a tree by id.

Comments?
Some related issues I've tried solving but not quite found a satisfactory solution.
https://github.com/rackt/redux/issues/815
https://github.com/rackt/reselect/issues/47
https://github.com/rackt/redux/issues/764

I don't see any issue here.

When you need it, effectively in place where you need to render them. In some component.

Feel free to open issue when doubt.


List sandboxes for specific realm

Currently, when running sandbox:list a table with all sandboxes for all realms a user has access to is returned. This list can grow substantially when working with multiple customers.
It would be nice if we could add a --realm parameter that would only return a table of sandboxes for the specified realm:
sfcc-ci sandbox:list --realm bbsv

I came here to post the same thing - as a partner, we get quite a big list of returned sandboxes and hard to parse out just what I care about.

@sfelius The sandbox API does not provide a filtering of sandboxes on realm level unfortunately. Hence we cannot provide a filtering easily as part of the CLI. However, you can pipe the result of sfcc-ci sandbox:list and grep by realm, like that:
$ sfcc-ci sandbox:list | grep 'bbsv'

Closing this as there is no Sandbox API support for getting sandboxes per realm and a workaround was proposed through https://github.com/SalesforceCommerceCloud/sfcc-ci/issues/172#issuecomment-849414738
Please comment or open a new issue, if you see other options.


Update overview-introduction-bot-framework.md

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Hi @chenxizhang, an edit is not the right place to ask a question. Please use Stack Overflow for Bot Framework questions or the Issues tab in this repository for documentation issues. Thanks!


Allow block-like rhs expression to stay on the same line with lhs

This PR adds a heuristic to rewrite_pair that if the right hand side expression looks like block (more specifically, ends with {), then allow the rhs to stay on the same line with lhs even if it gets multi-lined.
Closes #831.

Thanks!


requirement "pmwled_ant" not avail anymore

System Health details
Core 2024.7.2
Supervisor 2024.06.2
Operating System 12.4
Frontend 20240710.0
Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
The dependent python module "pwmled_ant==1.6.16" does not exist anymore on pypi.org.
custom component pca9685 fails on start / reboot of HA OS
Reproduction steps

Update HA OS
reboot
custom component pca9685 fails to start

Debug logs
.

Diagnostics dump
No response

seems that your temp repo pmwled_ant with 1.6.16 contained something more than the merged pwmled repo in version 1.6.11.

seems that your temp repo pmwled_ant with 1.6.16 contained something more than the merged pwmled repo in version 1.6.11.

I checked the config and got this warning
Configuration warnings
Platform error 'number' from integration 'pca9685' - Requirements for pca9685 not found: ['pwmled-ant==1.6.16'].
where can we get back this package - pwmled-ant?


Allow override output for res.sendStatus(x)

It would be beneficial if we could install a hook that would allow us to control the content generated by the res.sendStatus call.
Example:
app.set('sendStatus callback',(req, res, statusCode) => {
    res
        .contentType('application/json')
        .status(statusCode)
        .send(getDefaultResponseBody(statusCode));
});

...
res.sendStatus(404);

The 404 error would output something like '{"error":"resource not found"}' with the appropriate headers
instead of the current default which is to look at the http module's status codes.
We thought about alternatives, such as monkey-patching sendStatus or creating our own function which we would call instead of calling res.sendStatus. Neither sit well with me.

All the built-in sugar methods are made to be override-able. Just define the method on app.response object (or on express.response if you want to apply to all apps in your domain). Example:
var app = express()
app.response.sendStatus = function () { /* whatever you want */ }

Could you point me to the documentation for this?

A quick glance at the website looks like it is missing by accident. Feel free to make an issue at https://github.com/expressjs/expressjs.com and we'll work on it soon!


Slider don't move

When we mark more item then can be visible in window is showing slider, but it can't be move.

Ah huge bug! Good catch, thanks for submitting the issue.

Fixed in latest (no submitted package, yet)


Guidance creating address from keys saved as JSON

Hey guys. I'm having trouble getting an address. I've tried variations but haven't  got it right yet. Please look and lmk what I'm doing wrong.
Here's my code, currently trying the from_cbor method:
jsonsecret = json.loads(secret)
pkey  = jsonsecret['payment']['verification']['cborHex']
skey  = jsonsecret['stake']['verification']['cborHex']

print(pkey, skey)

base_address = Address(payment_part=PaymentVerificationKey.from_cbor(pkey), staking_part=StakeVerificationKey.from_cbor(skey), network=Network.MAINNET)

Here's my JSON string example:
secret = '{"payment":{"signing":{"type":"PaymentSigningKeyShelley_ed25519","description":"PaymentSigningKeyShelley_ed25519","cborHex":"5820b56b0401431a24f97fab426148c5c55b9df2c3aa69f24e5c50465fc8ae0bdf30"},"verification":{"type":"PaymentVerificationKeyShelley_ed25519","description":"PaymentVerificationKeyShelley_ed25519","cborHex":"582091f7710e0d57878b94b18f8d3bb9c2d884e055ca6797607e020eb7d6af222648"}},"stake":{"signing":{"type":"StakeSigningKeyShelley_ed25519","description":"StakeSigningKeyShelley_ed25519","cborHex":"5820c0337fcfb1504f14fa83352fa2a1a86d71bc74789b687baa03bd386d23255c18"},"verification":{"type":"StakeVerificationKeyShelley_ed25519","description":"StakeVerificationKeyShelley_ed25519","cborHex":"5820427693e248678fd3b58dc9c08ba4afa2876477bf79d3720bdc604be12d2bed5e"}}}'

Error message:
err: PythonShellError: pycardano.exception.InvalidAddressInputException: Cannot construct a shelley address from a combination of payment part: {"type": "PaymentVerificationKeyShelley_ed25519", "description": "PaymentVerificationKeyShelley_ed25519", "cborHex": "582091f7710e0d57878b94b18f8d3bb9c2d884e055ca6797607e020eb7d6af222648"} and stake part: {"type": "StakeVerificationKeyShelley_ed25519", "description": "StakeVerificationKeyShelley_ed25519", "cborHex": "5820427693e248678fd3b58dc9c08ba4afa2876477bf79d3720bdc604be12d2bed5e"}
      at PythonShell.parseError (/Users/34r7h/a/cardano-python-js/node_modules/python-shell/index.js:295:21)
      at terminateIfNeeded (/Users/34r7h/a/cardano-python-js/node_modules/python-shell/index.js:190:32)
      at ChildProcess.<anonymous> (/Users/34r7h/a/cardano-python-js/node_modules/python-shell/index.js:182:13)
      at ChildProcess.emit (events.js:314:20)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
      ----- Python Traceback -----
      File "/Users/34r7h/a/cardano-python-js/python/getaddress.py", line 26, in <module>
        base_address = Address(payment_part=PaymentVerificationKey.from_cbor((pkey)), staking_part=StakeVerificationKey.from_cbor(skey), network=Network.MAINNET)
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pycardano/address.py", line 201, in __init__
        self._address_type = self._infer_address_type()
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pycardano/address.py", line 233, in _infer_address_type

Hi @34r7h , you will need to pass the hash of verification key to Address constructor:
base_address = Address(payment_part=PaymentVerificationKey.from_cbor(pkey).hash(), staking_part=StakeVerificationKey.from_cbor(skey).hash(), network=Network.MAINNET)

Thanks Jerry!


M3-154 Create Image

Purpose
To allow users to create a new image from one of their disks.

Added image creation to sidebar; can be opened from empty landing page or from Add an Image on the landing table.
Refactored UI to select a Linode from VolumeAttachmentDrawer into a new component (LinodeSelect). Did the same for selecting a disk.
Refactored how images are retrieved to match upcoming change from @martinmckenna.

Notes
Currently, API limitations have resulted in the following behavior:

If you attempt to make an image from a disk that is too large, you will receive a generic error (~2-10 minutes later depending on size).
Notifications related to creation are all generic (e.g. "Image created successfully")
The creation process takes a long time, but progress tracking is not possible. If you refresh the page while an image is building, you'll see the new image on the landing page list with provisional size that will get updated later.

Questions

In the case where a user has no Images and also no Linodes, should there be a redirect/button on the landing page to Linode creation?

Coverage decreased (-0.2%) to 26.586% when pulling d9eabc15d6007c2f55e386327822c147236b04e0 on Jskobos:M3-154-create-image into 581e49a127789e9a3e0479397c27e3074e2f7a63 on linode:develop.

Otherwise some really great work on a rather difficult story. 💯


[TF 2.0 API Docs] tf.identity

Added usage example in the identity function and and added a value error raise for None input provided in the doc string and also in the code.
The related issue is
https://github.com/tensorflow/tensorflow/issues/29315

Can one of the admins verify this patch?

@rthadur I've realised that there already exists a usage example for tf.identity (but not in the doctest format). So  should we take this as an update or leave it?

@rthadur I've realised that there already exists a usage example for tf.identity (but not in the doctest format). So should this be taken as an update or leave it?

@imransalam Can you please resolve conflicts? Thanks!

@imransalam thank you, it is failing doctest can you please check here for logs.
Please run the doctest locally as mentioned here in the contributor guidelines.

It has been 15 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please feel free to reopen!


Add Regular Expression Handler to @activities.slash

The Java BDK has supported regular expressions in its @Slash handler since the start but the Python BDK did not. This creates a discrepancy when describing how to build command handlers that handle more complex use-cases such as catch-all scenarios between both languages.
// Valid in Java BDK
bdk.activities().register(slash("/Help .*", false, context -> {
    // Logic
}));

# Invalid in Python BDK
@activities.slash("/Help .*")
async def hello(context: CommandContext):
    # Logic

We could address this point along with #238

+1 for this, would love to try this if this feature gets implemented.

Closed with #238 bringing parity of command arguments to Python as in the Java BDK


Tensorflow 2.0 for raspberry pi installation

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Raspbian GNU/Linux 9 (stretch)
TensorFlow version: Tried tensorflow 2.0 alpha and tensorflow 2.0 beta
Python version: 3.5.3
Installed using virtualenv? pip? conda?: virtual environmet and pip

Describe the problem
Can not install tensorflow 2.0 with pip install. The pip install command doesn't find the distribution package
Provide the exact sequence of commands / steps that you executed before running into the problem
On a raspberry py with raspbian 9:

Create virtualenv
Activate virtualenv
Use command: pip install tensorflow==2.0.0-beta0 or pip install tensorflow==2.0.0-a0

Any other info / logs
ERROR: Could not find a version that satisfies the requirement  tensorflow==2.0.0-beta0 (from versions: 0.11.0, 1.8.0, 1.9.0, 1.10.1, 1.11.0)
ERROR: No matching distribution found for  tensorflow==2.0.0-beta0

I have the same issue when trying to install TensorFlow 2.0.0-rc0 via pip3, Raspberry Pi 3 B+ with raspbian 10 (buster):
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting tensorflow==2.0.0-rc0
Could not find a version that satisfies the requirement tensorflow==2.0.0-rc0 (from versions: 0.11.0, 1.12.0, 1.13.1)
No matching distribution found for tensorflow==2.0.0-rc0

I've tried this method:
https://www.tensorflow.org/install/source_rpi
git checkout r2.0

Using python3 for the target.
But it fails:
Successfully built 798896a6c5b6
Successfully tagged tf_ci.pi-python3:latest
Running 'tensorflow/tools/ci_build/pi/build_raspberry_pi.sh' inside tf_ci.pi-python3...
Reading package lists...
Building dependency tree...
Reading state information...
sudo is already the newest version (1.8.16-0ubuntu1.7).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
addgroup: Please enter a username matching the regular expression configured
via the NAME_REGEX[_SYSTEM] configuration variable.  Use the `--force-badname'
option to relax this check or reconfigure NAME_REGEX.

macOS 10.14.6
docker desktop <IP_ADDRESS>

I get similar results as well on mac os
git checkout v2.0.0-rc2
Using the python3 target outputs

On windows it dosn't even get to that point (I'm on my mac right now. I will post the windows results later).

A bit more digging and I found this guy
https://github.com/PINTO0309/Tensorflow-bin
that was able to compile the arm version of TensorFlow 2 but I haven't checked it out yet.

I have never been able to generate a healthy binary with the official procedure. So I always do native builds with RaspberryPi. RaspberryPi4 (Buster) can be built in about 12 hours. glibc2.29 and openjdk-8-jdk are required to use my Tensorflow binary, so please read the usage section carefully.
https://github.com/PINTO0309/Tensorflow-bin#usage
Please note that the wheel file I created is unofficial.
The build parameters are as follows.
https://github.com/PINTO0309/Tensorflow-bin#build-parameter

Is there any installation of TensorFlow 2.0 for Raspberry Pi?
Building does not work.
When will there be a pip wheel?

@gkvoelkl
https://github.com/PINTO0309/Tensorflow-bin/raw/master/tensorflow-2.0.0-cp37-cp37m-linux_armv7l.whl

Is there an estimate to when this might be fixed? I'm at a point where I'm needing to make a use/don't use TensorFlow decision with respect to the Raspberry Pi 4. The oldness of this report, combined with the incorrect official documentation that indicates 2.0 is supported through "pip install tensorflow", leaves me in a tight spot with regard to moving forward with my project.

@dougparkarosa The PINTO0309 repo seems to have up to date packages. But, of course, it's not the official distribution.
https://github.com/PINTO0309/Tensorflow-bin/

@FlorinAndrei
Since the official wheel will not be released indefinitely, it was generated on its own. I also created it to speed up Tensorflow Lite. If you need to use the official one, you have to wait a lot.

Tried PINTO0309 package on my Pi 4. Ran the Fashion tutorial and it seemed to work. Can't say how solid it is at this point, but looks promising. And probably enough to keep me moving forward, for now.

Tried PINTO0309 package On my pi B+. Same success there.

PINTO0309 package worked for me as well, thank you! Pi B+ Raspbian 10 Buster. At first, when importing TensorFlow, I saw the error
"libf77blas.so.3: cannot open shared object file: No such file or directory"
but sudo apt-get install libatlas-base-dev solved the problem - that's probably unrelated to the issue at hand, just mentioning this in case somebody else has the same problem.

I'll let you know just in case. My repository README already mentions installing libatlas-base-dev for usage.
https://github.com/PINTO0309/Tensorflow-bin/#usage

Oh thanks! I overlooked that, I just pip-installed the .whl file you linked to above, which actually caused a problem because I hadn't installed h5py. But by reading your README I was able to resolve that problem! Thanks again!

@PINTO0309
I've tried in the usage you had suggested but found errors in the final step installing .whl file. It looks I have problem building scipy package. Anyone knows how to fix the problem?
Building wheels for collected packages: scipy
Building wheel for scipy (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3.7 /usr/local/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpwtronura
cwd: /tmp/pip-install-r2qva1ao/scipy
Complete output (4511 lines):
lapack_opt_info:
lapack_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
NOT AVAILABLE
openblas_lapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
NOT AVAILABLE
openblas_clapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas,lapack not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
NOT AVAILABLE

@aeropia
Please refer to the following issue. Solves the same problem as you.
Can't install 2.1.0 on Python 3.7 Raspberry Pi 4 #19

@PINTO0309
It looks the issue has been resolved and now being installed. Thanks!

@PINTO0309
I have another error message : ERROR: tensorboard 2.1.0 has requirement setuptools>=41.0.0, but you'll have setuptools 40.6.2 which is incomp.
Is this an error expected?

Try the following:
$ sudo pip3 install setuptools --upgrade

https://pypi.org/project/setuptools/

@PINTO0309
Got it. Thanks again!

Still not fixed!
when I run pip3 install tensorflow it installs v1.14.0!
When I try to run pip3 install tensorflow==2.1.0 I get the described error.
System:
Raspbian 10 buster,
python version: 3.7.3,
pip version: 20.0.2

Plus, the installation guide on official tensorflow website for the version 2 says it supports 64-bit system of raspbian 9+. What's that mean? I don't think raspbian as of now is 64-bit yet.

Are you attempting to train TF 2.x models on a Raspberry Pi, or just execute them? If the latter, TF Lite supports TF 2.x SavedModels.

@Risslock
Is this still an issue.

Tensorflow 2.x is still not available as pre-built package for the Raspberry Pi. I'd say it's still an issue.

Tensorflow 2.x is still not available as pre-built package for the Raspberry Pi. I'd say it's still an issue.

@Risslock
Is this still an issue.

As KopfKrieg said. Even though you can compile it, it is still not available as pre-built package for the Raspberry Pi

When will it be available?

Update: There are pre-built packages for the Raspberry Pi available, the urls (not even links you can just click!) are at the bottom of this page: https://www.tensorflow.org/install/pip
Those packages aren't available via pip/piwheels, though (and that's the real issue for me)

Why is no official .whl package for the Raspberry Pi 4 available? => https://www.tensorflow.org/install/pip

Update to my previous comment: Building the Tensorflow 2.x package is not possible as described in the official docs, it will only result in an error. Installing the provided package is also not possible on a current Raspbian 10 OS because it's not compatible with Python 3.7.
Tl;dr: Still no official way of installing Tensorflow 2.x.

@KopfKrieg What error are you seeing when trying to build? I'm experiencing an error when trying to build as well, and I'm wondering if it's the same one.
I'm getting  the following (also described in issue #44028)
addgroup: Please enter a username matching the regular expression configured
via the NAME_REGEX[_SYSTEM] configuration variable.  Use the `--force-badname'
option to relax this check or reconfigure NAME_REGEX.

What error are you seeing when trying to build? I'm experiencing an error when trying to build as well, and I'm wondering if it's the same one.

No idea, sorry. I currently don't have time to look further into that issue, all I know is building tensorflow 2.x didn't work for me.

I was able to build Tensorflow 2.4 for Python 3.5 for the Raspberry Pi 3 using the docker method (and it only took 8 hours...). Unfortunately, Tensorflow 2.4 requires Numpy 1.19.2 or higher, but Numpy dropped Python 3.5 support in the 1.19.x release.
Tl;dr: I think this issue should be closed, because even if you can build Tensorflow, you still can't build the required dependencies. Also, Python 3.5 is now unsupported.

I was able to build Tensorflow 2.4 for Python 3.5 for the Raspberry Pi 3 using the docker method (and it only took 8 hours...). Unfortunately, Tensorflow 2.4 requires Numpy 1.19.2 or higher, but Numpy dropped Python 3.5 support in the 1.19.x release.
Tl;dr: I think this issue should be closed, because even if you can build Tensorflow, you still can't build the required dependencies. Also, Python 3.5 is now unsupported.

For future reference, just successfully built a py37/tf2 docker image for linux/arm/v7 based on debian:buster-slim.
This setup does not need to build any package from source:
# install python3.7 and expose latest pip
RUN apt-get update && apt-get install -y --no-install-recommends \
    python3-pip && \
    pip3 install -U --no-cache-dir pip
    # cleanup
    rm -rf /var/lib/apt/lists/* && \

# avoid source distributions as much as possible by looking for wheels at piwheels.org
ENV PIP_EXTRA_INDEX_URL=https://piwheels.org/simple

# neither pypi.org/project/tensorflow nor piwheels.org/project/tensorflow has tf2 wheels for armv7l
# but luckily piwheels.org has wheels for numpy, scipy etc and github.com/lhelontra/tensorflow-on-arm has a tf2 wheel
RUN pip install --no-cache-dir https://github.com/lhelontra/tensorflow-on-arm/releases/download/v2.4.0/tensorflow-2.4.0-cp37-none-linux_armv7l.whl

tldr: get your tf2 wheel from https://github.com/lhelontra/tensorflow-on-arm/releases
For future reference, this setup does not need to build any package from source, by pointing pip to arm wheels:
# no need to add the 'arm32v7/' prefix when using something like docker buildx --platform="linux/arm/v7"
# because the plain debian tags are multi-arch https://hub.docker.com/_/debian?tab=tags
FROM arm32v7/debian:buster-slim

# install python3.7 and expose latest pip
RUN apt-get update && \
    apt-get install -y --no-install-recommends python3-pip && \
    pip3 install -U --no-cache-dir pip && \
    # cleanup
    rm -rf /var/lib/apt/lists/*

# avoid source distributions as much as possible by looking for wheels at piwheels.org
ENV PIP_EXTRA_INDEX_URL=https://piwheels.org/simple

# neither pypi.org/project/tensorflow nor piwheels.org/project/tensorflow has tf2 wheels for armv7l
# but luckily piwheels.org has wheels for numpy, scipy etc and github.com/lhelontra/tensorflow-on-arm has a tf2 wheel
RUN pip install --no-cache-dir https://github.com/lhelontra/tensorflow-on-arm/releases/download/v2.4.0/tensorflow-2.4.0-cp37-none-linux_armv7l.whl

Hello, I've had the same problem happen to me and I've seen your comment.
I'm not very experienced with managing packages and using wheels so I am saying sorry in advanced for the noob question.
what does the first line mean?
FROM arm32v7/debian:buster-slim isn't a line I can execute in the terminal
the only line which is executable for me is pip install --no-cache-dir https://github.com/lhelontra/tensorflow-on-arm/releases/download/v2.4.0/tensorflow-2.4.0-cp37-none-linux_armv7l.whl
my on the raspberry python3.7.3 is installed and pip is updated to 21.0.1 so is the second phase unnecessary because it doesn't seem to run for me as well.
Thanks in advance for the response.

Hi @COfek, the above snippet is a Dockerfile, so not intended to be interpreted by a shell. For you indeed only the last RUN statement is relevant. The ENV statement with piwheels.org is set by default on Raspbian, so only needed within docker: you can ignore it. Maybe you're running an ARM v6 kernel. Try changing the wheel link from v7 to v6, maybe that helps.

@ddelange uname -r returns 5.10.14-v7+

@ddelange The problem is those are not official packages. I prefer/require packages that are either available from piwheels.org or from tensorflow.org, but not from a random repository. I could also build the package myself (as explained in a previous comment, using the docker method), but it'd be way easier if the tensorflow team simply provides official whl-files.

Providing official wheels means someone has to do maintenance for those. We currently don't have headcount for this position.

I have the same issue too :
Raspberry Pi 4B, GCC version: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
Kernel: Linux raspberrypi 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux
Release of OS:  Debian GNU/Linux 11 (bullseye)
Python version:   Python 3.9.2
pip 22.3 from /home/pi/.local/lib/python3.9/site-packages/pip (python 3.9)
I can not install tensorflow==2.2.0 to my system, but i am working on building my donkeycar, it says we need install tensorflow==2.2.0 , but it can not be due to the python version has been update to 3.9.2, but tensorflow2.2.0 needs python3.7,  so how can i install tensorflow==2.2.0 to my python3.9 environment ?

tensordlow 2.2.0 was released in may 2020, that's pretty old. that version has wheels available for py 3.5 until 3.8, but not for aarch64 (raspberry pi). so you would have to build from source plus it was untested/unsupported at that point in time. you (or your upstream dependency) would need to switch to a more recent tensorflow version (>=2.10.0), which have pre-built and tested aarch64 wheels available for py 3.7 until 3.10.


Self-hosted with push notifications for iOS App?

I am not sure if I understood the Apple onboarding process for (instant) iOS Push Notifications correctly, but would it be possible to move the enablement for Push notification on the iOS App after one has changed the Server to a self-hosted address, so the self-hosted server becomes responsible for send the notification to Apple APNS? Thus, one would avoid the poll-request through ntfy.sh for instant notifications on iOS.

The APNS server is baked into the app. There is no way to change it at runtime of the app. This is desired by apple.

Alright, thanks.


fails after reset server

Here is what I'm doing and tell me how to do it right.
I hit boxexe, get wiki
I change ws server host to <IP_ADDRESS>.
I hit update settings and hit save
I reset the server (by hitting reload?)
I get ERR_CONNECTION_RESET over and over and over.
What am I doing (wrong)?

I am running (check any that apply, put an x inside the [ ] to check a box, like this: [x]):

[X ] Windows
[ ] OSX
[ ] Linux
[ ] Other

and using

[ ] The nodejs version
[X ] The single file executable

Before posting I read issue guidelines and:

[ ] I am using the newest version
[X ] The answer to my question isn't listed in the documentation or this isn't
a question
[ X] This is not a duplicate issue
[ ] I have not done anything that required me to set acceptance to
I Will Not Get Tech Support For This

You have to change the setting, save it then go into the control panel -> Bob Settings -> Server and click on the Shutdown Wiki button, then reopen BobEXE.
After that it should work correctly.


split sync resources into multiple functions and files

Signed-off-by: Ashley Schuett<EMAIL_ADDRESS>What this PR does / why we need it:
This PR splits the Sync function into multiple functions, and the create.go file into multiple files. This is to make sync easier to read. There are no functional changes.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

/lgtm cancel
Seems to miss a make call and submitting the changes.

/lgtm cancel
Seems to miss a make call and submitting the changes.

@ashleyschuett could you remove your make generate related commit? A bad commit went in. Reverted in: https://github.com/kubevirt/kubevirt/pull/4826

@ashleyschuett could you remove your make generate related commit? A bad commit went in. Reverted in: https://github.com/kubevirt/kubevirt/pull/4826

/lgtm
/retest

/lgtm
/retest

https://github.com/kubevirt/kubevirt/pull/4838 does not yet resolve all issues and is not yet merged. Merging this PR which clearly suffers from the symptoms there.

https://github.com/kubevirt/kubevirt/pull/4838 does not yet resolve all issues and is not yet merged. Merging this PR which clearly suffers from the symptoms there.


Switch longitude & latitude order

Google maps uses

latitude
longitude

in its ordering if you click a position.
https://stackoverflow.com/questions/7309121/preferred-order-of-writing-latitude-longitude-tuples-in-gis-services
This can confuse users, as google maps doesnt specifiy the order somewhere in the UI.
If one uses the plain numbers, it can result into a failed simu, as it can be land coordinates.

Done :)


Added Clippy

r? @dirvine
(maidsafe_highfive has picked a reviewer for you, use r? to override)


WebSocket polyfill

Added as a library in /Libraries/WebSocket
Drag and drop to add to project (similar to adding Geolocation polyfill)
Exposed as window.WebSocket which conforms with https://developer.mozilla.org/en-US/docs/Web/API/WebSocket specs

I hear you there @tptee - though the source for socket rocket already lives the the react native library.

nice @hharnisc !

I believe the App Store will reject anything using SocketRocket until this issue is resolved: square/SocketRocket#226
@tptee any particular version of SocketRocket? I just had an app accepted which is using SocketRocket 0.2.0

any news?

Sorry, I've had this on the backburner for a little while. I'm just trying to figure out the best way to share the SocketRocket library between both this and the Chrome debugger, as they're both optional libraries.

@nicklockwood understand where you're coming from. I tried a few different ways of using a shared library. Breaking it out into another project felt better than some of the other stuff I came up with. Would be great to use something like cocoapods to manage Obj-C dependencies.

The options I've come up with so far are basically:

Include SocketRocket in the core React lib, so both WebSocket and WebSocketExecutor can share it.
Put the WebSocketExecutor and WebSocket in the same library.
Have two copies of the SocketRocket library, and rename one so they don't clash if you include  WebSocket and WebSocketExecutor in the same project (I'd probably also #ifdef out the WebSocketExecutor version in release mode to save a few KB)

Option 1 is probably the most straightforward, although it means that projects that don't use WebSocket have to carry the weight of SocketRocket in their binary anyway. Option 2 doesn't really solve anything. I guess I'm leaning towards option 3, but it will be a pain to maintain such a heavily modified fork of SR.

The decision we've come to with CocoaPods is that we want to fully support people using it, but don't want to make it mandatory. Unfortunately that eliminates it as an option for solving mutual dependencies between our first party modules.

I'm in favor of option 1, since it minimizes the size of the codebase -- I imagine the size of the binary will have more of an impact on initial download time and minimal impact on app load time.
Option 3 would be ok too but I think would be more confusing for developers (while working in the Obj-C or if they find a bug in a websocket related feature)

Same here .. I'd prefer option 1.

IMHO it makes sense to ship built-in WebSocket implementation, we already have XHR.

To be honest, as a end-developer, I'm pretty OK with either way. All I want is just having ability to develop program with WebSocket. To be more specific, I want to use Firebase.
This issue stops me from using Firebase for almost a month, and I really think it is important to have such ability in React Native. Simply put, I think a quick solution to this issue is the most important thing.
It's just my two cents though.

any idea when this might be merged in?

ping @nicklockwood
how is this going? is internal diff created means it is on the reviewing process?
Thanks

@lazywel sorry for the delay. Internal diff means the github pull request has been translated into a pull request in our internal repository, which is the first step to being merged in.
This has now landed internally, so it should be included in the next update.

This actually breaks the tests
ld: library not found for -lRCTWebSocket

https://travis-ci.org/facebook/react-native/jobs/62613184

@vjeux are you referring to the missing import in UIExplorer that@tadeuzagallo has now fixed? If so, can we close this again?

@nicklockwood when I export the commits, all the related pull requests automatically get merged FYI :)

Wowwwwww!! Good to see it's been merged into the master!!
Thanks for all your great efforts!!!

Was the .xcodeproj left out of the final patch here? I've been trying to include this in my project and I'm fairly certain one is supposed to be there.

@brysgo yeah, we messed up. We'll push up a fix shortly.

thanks :+1:


Update RN

update react-native to 0.45.1

@FaridSafi  you might want to close this one as well. :)

Thank you guys :)


HuggingFace Integration:  Model Search & Direct Download

Description
This PR introduces the integration of Hugging Face model search directly into the app. Previously, users had to manually navigate to Hugging Face to find and download gguf files that were not included in the app's default list of models. With this new feature, users can now search for models within the app, select their preferred model, and add it directly without leaving the app interface.
Key Features

Model Search: Users can browse Hugging Face models directly within the app.
Download: Selected models can be added to the app in a single step.
Bookmarking: Users can save (without download) to the list of models.

Fixes #83 #81 #47 #42 #32 #19 #13
Platform Affected

[x] iOS
[x] Android

Checklist

[x] Necessary comments have been made.
[x] I have tested this change on:

[x] iOS Simulator/Device
[x] Android Emulator/Device

[x] Unit tests and integration tests pass locally.

Fixes #81
Fixes #47
Fixes #42 it will use the llama.cpp context as well.
Fixes #32
Fixes #19 it will use llama.cpp and the context.
Fixes #13 thanks HF team.


Relative dates in FreshnessDateDataParser

If I want to parse relative dates that don't include the word in it will always return a date in the past, which it's not ideal and it should take into account the PREFER_DATES_FROM setting.
Example:
In [2]: datetime.now()
Out[2]: datetime.datetime(2017, 6, 14, 18, 1, 4, 654628)
In [5]: dateparser.parse('1 month', settings={'PREFER_DATES_FROM': 'future'})
Out[5]: datetime.datetime(2017, 5, 14, 18, 1, 26, 815558)

As such string "1 month" is a period not a date. It should return a relative delta which if added (or subtracted) from now should give the desired date. Look at #344 and do give your feedback.

This was fixed in: https://github.com/scrapinghub/dateparser/pull/530


custom swap_size doesn't work when no ephemeral device is present

On OpenStack, lots of people define their flavors with a root device only and an ephemeral disk size of 0. If you do this, there is no ephemeral device attached to the VM, just a root device.
When a flavor like this is used, the configuration in env.bosh.swap_size is ignored and the agent always creates a swap partition with the size of the flavor's RAM, and an ephemeral partition. Expected behavior would be that the agent respects the configuration in the deployment manifest, and e.g. does not create a swap partition, if swap_size is set to 0.
If a flavor with root device and ephemeral device is used, this works as expected.

Proposed fix: https://github.com/cloudfoundry/bosh-agent/pull/140

Agent that fixes this is included in stemcell 3541.x: https://github.com/cloudfoundry/bosh-linux-stemcell-builder/releases/tag/stable-3541.2


Postcss

Purgecss is purging before eleventy builds the html files, so it’s purging all the css. Need to rebuild the purgecss plugin into its own postbuild process.

Postcss now runs after the 11ty build.


Add alternate curved parentheses with smoother curves

The soon-to-be-official u0028-rounder and u0029-rounder alternates are almost perfect, but their curves are messy. This is obvious at larger sizes, but also when viewed on a high DPI (i.e. Retina) screen if you have a sharp eye.
Here's my take on it:

And here it is overlaid on top of u0028-rounder and u0029-rounder:

You can see the orange parts sticking out, which are to my eye superfluous. Here's a side-by-side comparison (my mod is blue, the soon-to-be-official is orange):

Is it just me, or are these annotated regions (in red) appearing thicker than they should be?

Anyway, didn't want to complain about it in the Hack repo, so I rolled up my sleeves and fixed it. 😉

Thanks for continuing to iterate on the design.  These changes look good to me at high resolution, but do you think you could post screenshots at a smaller font size, more like what would be used in code?

@jdw1996 Sure! Here's a couple of screenshots.

Honestly I still feel these would look better if the ends of each stroke were perpendicular to the shape, @chrissimpkins suggested this back on the PR for the round parens. I might do another alternate version soon.

Changes look good Vladimir.  Thank you very much for working on this!  Joseph submitted these in Hack as new defaults and I think that we should be having this discussion on the Hack repository.  Let's take the discussion there.  Please make sure that you are working off of the design files in the dev branch of the Hack repository where the current versions of the designs reside.  These changes are currently part of this PR https://github.com/source-foundry/Hack/pull/427
We can build fonts with these designs and take a look at them.


Update margin docs notebook to use new plotting functions

Uses plot_pixels and plot_points instead of custom plotting function in margin tutorial.

Good idea! I added a legend with those to the plots


Dynamic Forms

How does flutter implement dynamic form ？？？

https://github.com/VictorRancesCode/json_to_form

@zoechi   https://github.com/VictorRancesCode/json_to_form

What is the issue here? Are you asking for something similar to json_to_form to be added to the framework? Right now the issue doesn't seem actionable.

yes，Similar to angular dynamic form

@goderbauer  I think this is a very important feature. For the development of enterprise management applications, if you do not support dynamic form, the interface must be re-released with an input, which will bring a lot of inconvenience.

@smile2014 so true you find that with products that can change at any time, you can hard code certain things. Out of everything this is the only part flutter has let me down on.

@vajohn  yes,It would be perfect if the official website provided an angular dynamic form.


e2e for charts

we probably dont actually need these. The service should be tested by reports, there is no data creation to test, and filtering is already tested in the client tests.


FdFit objects cannot be pickled

I tried to pickle and then load an FdFit object. When calling the loaded FdFit object, I get the error message copied below.
I believe the issue comes from the call self.datasets[id(model)] as when the pickled file is loaded, the variable id numbers are not preserved.
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
File c:\Users\bdawes.DESKTOP-9ERP4NC\miniconda3\envs\PY571\lib\site-packages\IPython\core\formatters.py:343, in BaseFormatter.__call__(self, obj)
    341     method = get_real_method(obj, self.print_method)
    342     if method is not None:
--> 343         return method()
    344     return None
    345 else:

File c:\Users\bdawes.DESKTOP-9ERP4NC\miniconda3\envs\PY571\lib\site-packages\lumicks\pylake\fitting\fit.py:643, in Fit._repr_html_(self)
    640 out_string = "
Fit
\n"
    642 for model in self.models.values():
--> 643     datasets = "".join(f"{self.datasets[id(model)]._repr_html_()}
\n")
    644     out_string += f"
Model: {model.name}
\n"
    645     eqn = model.get_formatted_equation_string(tex=True)

KeyError:<PHONE_NUMBER>168
lumicks.pylake.FdFit(models={DNA}, N=55)

I looked into this a little bit more and wrote a tiny function that should reset the dictionary keys to be correct. This could be added as a function that would just need to be called when an object is loaded from a pickle. However, the root of the issue is using python id's as keys which seems like an odd choice to me.
def reset_ids(fit):
    old_ids = [*fit.models]
    for old_id in old_ids:
        new_id = id(fit.models[old_id])
        fit.datasets[new_id] = fit.datasets.pop(old_id)
        fit.models[new_id] = fit.models.pop(old_id)

I have prepared a small PR that aims to fix this: https://github.com/lumicks/pylake/pull/330 . Let me know if it works for your use case with these changes.

Closing since this feature was released in v0.13.0


Added my playlist lofi love

Please accept my PR. Thank you!

Description

...
...
...

Related issue(s)

Thanks for contribution :)

Thanks for contribution :)

Sir Please add hacktoberfest-accepted label
As it's not showing 'Accepted' in my Hacktoberfest profile menu


Activating and deactivating multiforms

Currently there is no way of activating and deactivating multiforms from within other multiforms (for definitions of activating and deactivating, see this wiki page).
It should work something like this:
// Inside a multiform's updater...
Manager.Activate("OtherMultiformName");
Manager.Deactivate("OtherMultiformName");
Manager.Deactivate(this); // This is the same as "this.Deactivate()"

Manager.Activate(string) should activate the multiform registered with the given string name (i.e. construct it and add it to the list of currently active multiforms).
Manager.Deactivate(string) should deactivate the multiform registered with the given string name (i.e. remove it from the list of currently active multiforms).
Manager.Deactive(Multiform) should deactivate the given multiform instance, so long as it is a registered multiform. If it is not a registered multiform, throw an error or log the error and continue as usual.
this.Deactivate() should do the same thing as Manager.Deactivate(this).

Fixed with pull request 38.


Connect-AzAccount fails - 'Sign-in' dialog blocking/not working

Describe the bug

az login to my Azure subscription - browser-based login page.
Attempt to run cmdlet Set-AzKeyVaultSecret which shows following error:

Set-AzKeyVaultSecret : Your Azure credentials have not been set up or have expired, please run Connect-AzAccount to
set up your Azure credentials.
Authentication failed against resource AzureKeyVaultServiceEndpointResourceId. User interaction is required. This may
be due to the conditional access policy settings such as multi-factor authentication (MFA). Please rerun
'Connect-AzAccount' with additional parameter '-AuthScope AzureKeyVaultServiceEndpointResourceId'.

Attempt to run Connect-AzAccount then pops up the 'Sign In | Let's get you signed in' dialog, with the user account that I have already signed in with selected. Click 'Continue' and...nothing happens: no browser window shows, nothing - I cannot get past this window.
Try to dismiss the Sign In window, the Powershell window is blocked - no interactivity is possible. It is as if there is a modal dialog open somewhere, but I cannot see it. Task Manager is the only way to close the window.

This is a showstopper, I cannot do what I need to do. This looks related to changes to the way login is being done - since the changes (?) to the use of the 'Sign In' dialog approach (as opposed to the browser login that was the default previously before the last CLI update?) I have had a lot of problems.
Update:
I have been able to run the Connect-AzAccount cmdlet in Visual Studio 2022 Preview. This popped up the 'Sign In' dialog, and I was able to click continue and was logged in successfully. I was then able to run the Set-AzKeyVaultSecret cmdlet and add the secret to the Key Vault.
So this seems to be a problem with the Powershell IDE + Azure CLI login process?
Related command
az login
Connect-AzAccount
Errors
Set-AzKeyVaultSecret : Your Azure credentials have not been set up or have expired, please run Connect-AzAccount to
set up your Azure credentials.
Authentication failed against resource AzureKeyVaultServiceEndpointResourceId. User interaction is required. This may
be due to the conditional access policy settings such as multi-factor authentication (MFA). Please rerun
'Connect-AzAccount' with additional parameter '-AuthScope AzureKeyVaultServiceEndpointResourceId'.
Issue script & Debug output
PS C:\WINDOWS\system32> Set-AzKeyVaultSecret -VaultName $keyVaultName -Name $secretName -SecretValue (ConvertTo-SecureString -String $keyBase64 -AsPlainText -Force) -debug
DEBUG: 12:56:16 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default
value [True].
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"): Y
DEBUG: 12:56:45 - SetAzureKeyVaultSecret begin processing with ParameterSet 'Default'.
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"): Y
DEBUG: 12:56:56 - using account id<EMAIL_ADDRESS>Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"): Y
DEBUG: 12:57:02 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning
default value [True].
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
Confirm
Are you sure you want to perform this action?
Performing the operation "Set secret" on target "key-walkaround-1023".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):
DEBUG: [Common.Authentication]: Authenticating using Account<EMAIL_ADDRESS>environment: 'AzureCloud',
tenant: 'f4ac04d0-6402-476d-af3d-64041482d2d5'
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: 12:57:20 - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning
default value [False].
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: 12:57:34 - [ConfigManager] Got nothing from [EnableLoginByWam], Module = [], Cmdlet = []. Returning default
value [True].
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: 12:57:38 - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync -
TenantId:'f4ac04d0-6402-476d-af3d-64041482d2d5', Scopes:'https://vault.azure.net/.default',
AuthorityHost:'https://login.microsoftonline.com/'<EMAIL_ADDRESS>Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://vault.azure.net/.default ] ParentRequestId:
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
a6456f56-dd0a-4396-901f-f5c0d3d20d89] IsLegacyAdalCacheEnabled: yes
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
a6456f56-dd0a-4396-901f-f5c0d3d20d89] [Region discovery] Not using a regional authority.
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
a6456f56-dd0a-4396-901f-f5c0d3d20d89] [Region discovery] Not using a regional authority.
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
a6456f56-dd0a-4396-901f-f5c0d3d20d89] [Region discovery] Not using a regional authority.
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
a6456f56-dd0a-4396-901f-f5c0d3d20d89] [Region discovery] Not using a regional authority.
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
a6456f56-dd0a-4396-901f-f5c0d3d20d89] IsLegacyAdalCacheEnabled: yes
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
a6456f56-dd0a-4396-901f-f5c0d3d20d89] IsLegacyAdalCacheEnabled: yes
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[Runtime] WAM supported OS.
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[RuntimeBroker] ListWindowsWorkAndSchoolAccounts option was not enabled.
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
d0544b98-cc9d-4166-9b1e-89b92ac97e26] [Region discovery] Not using a regional authority.
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
Found 3 cache accounts and 0 broker accounts
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
Returning 3 accounts
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
310b99ee-517f-49a2-b444-b228a2cc4836] MSAL MSAL.CoreCLR with assembly version '<IP_ADDRESS>'.
CorrelationId(310b99ee-517f-49a2-b444-b228a2cc4836)
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
310b99ee-517f-49a2-b444-b228a2cc4836] === AcquireTokenSilent Parameters ===
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
310b99ee-517f-49a2-b444-b228a2cc4836] LoginHint provided: False
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
310b99ee-517f-49a2-b444-b228a2cc4836] Account provided: True
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
310b99ee-517f-49a2-b444-b228a2cc4836] ForceRefresh: False
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
310b99ee-517f-49a2-b444-b228a2cc4836]
=== Request Data ===
Authority Provided? - True
Scopes - https://vault.azure.net/.default
Extra Query Params Keys (space separated) -
ApiId - AcquireTokenSilent
IsConfidentialClient - False
SendX5C - False
LoginHint ? False
IsBrokerConfigured - True
HomeAccountId - False
CorrelationId - 310b99ee-517f-49a2-b444-b228a2cc4836
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
310b99ee-517f-49a2-b444-b228a2cc4836] === Token Acquisition (SilentRequest) started:
Scopes: https://vault.azure.net/.default
Authority Host: login.microsoftonline.com
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
310b99ee-517f-49a2-b444-b228a2cc4836] Broker is configured and enabled, attempting to use broker instead.
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[Runtime] WAM supported OS.
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
310b99ee-517f-49a2-b444-b228a2cc4836] Can invoke broker. Will attempt to acquire token with broker.
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0001] WARNING SetAuthorityString:98 Initializing authority from string
'https://login.microsoftonline.com/f4ac04d0-6402-476d-af3d-64041482d2d5/' without authority type, defaulting to MsSts
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    LogTelemetryData:393 Printing Telemetry for Correlation ID: 310b99ee-517f-49a2-b444-b228a2cc4836
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    LogTelemetryData:401 Key: start_time, Value: 2024-06-07T11:57:38.000Z
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    LogTelemetryData:401 Key: api_name, Value: ReadAccountById
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    LogTelemetryData:401 Key: was_request_throttled, Value: false
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    LogTelemetryData:401 Key: authority_type, Value: Unknown
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    LogTelemetryData:401 Key: msal_version, Value: 1.1.0+local
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    LogTelemetryData:401 Key: correlation_id, Value: 310b99ee-517f-49a2-b444-b228a2cc4836
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    LogTelemetryData:401 Key: broker_app_used, Value: false
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    LogTelemetryData:401 Key: stop_time, Value: 2024-06-07T11:57:38.000Z
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    LogTelemetryData:401 Key: msalruntime_version, Value: 0.16.0
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    LogTelemetryData:401 Key: is_successful, Value: true
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    LogTelemetryData:401 Key: request_duration, Value: 0
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    SetCorrelationId:273 Set correlation ID: 310b99ee-517f-49a2-b444-b228a2cc4836
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    EnqueueBackgroundRequest:952 The original authority is
'https://login.microsoftonline.com/f4ac04d0-6402-476d-af3d-64041482d2d5'
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    ModifyAndValidateAuthParameters:191 Additional query parameter added successfully. Key: '(pii)'
Value: '(pii)'
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0004] INFO    ModifyAndValidateAuthParameters:215 Authority Realm: f4ac04d0-6402-476d-af3d-64041482d2d5
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0003] INFO    StorageTokenResponse:84 StorageTokenResponse account constructor invoked. This is only expected in
Runtime flows
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"): A
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0003] WARNING StorageTokenResponse:15 No credentials found in the cache
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0003] WARNING DiscardAccessAndIdTokensIfUnusable:789 No id token found in the cache
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0003] WARNING DiscardAccessAndIdTokensIfUnusable:808 No access token found in the cache
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0003] WARNING StorageTokenResponse:15 No credentials found in the cache
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[MSAL:0003] WARNING GetPlatformPropertiesFromStorage:2014 No account found in cache.
 Status: InteractionRequired
Error: 0xcaa20003
Context: (pii)
Tag: 0x21447007
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[RuntimeBroker] Processing WAM exception
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z]
[RuntimeBroker] failed_to_acquire_token_silently_from_broker WAM Error
Error Code:<PHONE_NUMBER>
Error Message: (pii)
Internal Error Code: 558133255
DEBUG: False MSAL <IP_ADDRESS> MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631  [2024-06-07 11:57:38Z -
310b99ee-517f-49a2-b444-b228a2cc4836] Exception type: Microsoft.Identity.Client.MsalUiRequiredException
, ErrorCode: failed_to_acquire_token_silently_from_broker
HTTP StatusCode 0
CorrelationId 310b99ee-517f-49a2-b444-b228a2cc4836
To see full exception details, enable PII Logging. See https://aka.ms/msal-net-logging
at Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.<>c__DisplayClass11_1.<b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.Utils.StopwatchService.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.d__11.MoveNext()
DEBUG: SharedTokenCacheCredential.GetToken was unable to retrieve an access token. Scopes: [
https://vault.azure.net/.default ] ParentRequestId:  Exception: Azure.Identity.CredentialUnavailableException
(0x80131500): SharedTokenCacheCredential authentication unavailable. Token acquisition failed for user
<EMAIL_ADDRESS>Ensure that you have authenticated with a developer tool that supports Azure single sign
on.
---> Microsoft.Identity.Client.MsalUiRequiredException (0x80131500): WAM Error
Error Code:<PHONE_NUMBER>
Error Message: (pii)
Internal Error Code: 558133255
DEBUG: [Common.Authentication]: Received exception Authentication failed against resource
AzureKeyVaultServiceEndpointResourceId. User interaction is required. This may be due to the conditional access policy
settings such as multi-factor authentication (MFA). Please rerun 'Connect-AzAccount' with additional parameter
'-AuthScope AzureKeyVaultServiceEndpointResourceId'., while authenticating.
DEBUG: 12:58:59 - [ConfigManager] Got nothing from [EnableErrorRecordsPersistence], Module = [], Cmdlet = []. Returning
default value [False].
Confirm
Your Azure credentials have not been set up or have expired, please run Connect-AzAccount to set up your Azure
credentials.
Authentication failed against resource AzureKeyVaultServiceEndpointResourceId. User interaction is required. This may
be due to the conditional access policy settings such as multi-factor authentication (MFA). Please rerun
'Connect-AzAccount' with additional parameter '-AuthScope AzureKeyVaultServiceEndpointResourceId'.
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"): A
Set-AzKeyVaultSecret : Your Azure credentials have not been set up or have expired, please run Connect-AzAccount to
set up your Azure credentials.
Authentication failed against resource AzureKeyVaultServiceEndpointResourceId. User interaction is required. This may
be due to the conditional access policy settings such as multi-factor authentication (MFA). Please rerun
'Connect-AzAccount' with additional parameter '-AuthScope AzureKeyVaultServiceEndpointResourceId'.
At line:1 char:1

Set-AzKeyVaultSecret -VaultName $keyVaultName -Name $secretName -Secr ...

  + CategoryInfo          : CloseError: (:) [Set-AzKeyVaultSecret], AzPSArgumentException
  + FullyQualifiedErrorId : Microsoft.Azure.Commands.KeyVault.SetAzureKeyVaultSecret

DEBUG: 12:59:25 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning
default value [True].
DEBUG: 12:59:25 - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning
default value [True].
DEBUG: 12:59:25 - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value
[True].
DEBUG: AzureQoSEvent:  Module: Az.KeyVault:6.0.0; CommandName: Set-AzKeyVaultSecret; PSVersion: 5.1.22621.2506;
IsSuccess: False; Duration: 00:03:08.9346404; SanitizeDuration: 00:00:00; Exception: Your Azure credentials have not
been set up or have expired, please run Connect-AzAccount to set up your Azure credentials.
Authentication failed against resource AzureKeyVaultServiceEndpointResourceId. User interaction is required. This may
be due to the conditional access policy settings such as multi-factor authentication (MFA). Please rerun
'Connect-AzAccount' with additional parameter '-AuthScope AzureKeyVaultServiceEndpointResourceId'.;
DEBUG: 12:59:25 - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default
value [True].
DEBUG: 12:59:25 - SetAzureKeyVaultSecret end processing.
Expected behavior
to be able to login and run cmdlets!
Environment Summary
azure-cli                         2.61.0
core                              2.61.0
telemetry                          1.1.0
Extensions:
containerapp                      0.3.52
Dependencies:
msal                              1.28.0
azure-mgmt-resource               23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\clewis.azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response

Thank you for opening this issue, we will look into it.

Please open this issue in Azure PS repo


no complete code is shown

Describe the bug
many times the code shown is not complete
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-jkzvco
Steps to reproduce
ask some modification to code, sometimes the new code shown in the code window is not complete
Expected behavior
all the code should be shown
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 71788896,
  "usedJSHeapSize": 67096740,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = Psychopixel
Chat ID = 427073e56d45

Additional context
No response

Appreciate the feedback! At times there are programming challenges that are too complex for the AI to solve. Sometimes pasting any error messages from the terminal into the chat is successful in resolving issues. At other times, manual intervention is required to prevent excessive token usage, which may include writing additional code. This page here has a number of helpful insights on using Bolt effectively while maximizing token efficiency. Appreciate your patience as the team continues to make improvements!

Wanting to confirm here.
While the code is fully generated ( you can see it generate to completion ) and the preview correctly displays the code as intended the actual code in the code IDE panel is cut off so you don't get to see the fully displayed code.
It's certainly there, just gets cut off for some reason.


Set C++ version consistently to C++ 17

Summary:
This sets the C++ standard to C++ 17 in the working builds and Apple. GTest will stop supporting C++ 11 soon, so we need to update. C++ 14 is more embeddable, but C++ 17 support and usage should be relatively common now and the language version adds quite a bit.
Changelog: [Internal]
Differential Revision: D42285391

@NickGerleman Is it good to increase library build requirements so dramatically? (just because the internals in the library that tests the code of this library have changed?) Currently we have the next conditions:

Yoga is used via public C interface for portability across languages (we have no benefit from upgrading c++ version)
The library is essentially a set of mathematical algorithms, with heavy use of floating point operations (we do not benefit from a larger version of the language, because new language features and changes in stdlib are simply not used, and may be even never used, like string_view, or ranges)

Increasing the requirement for the language version - in our case, this is only a limitation. Yoga can now be used directly on a wide range of devices (without building into a library, by direct embedding into the project's source tree), even on embedded ones (like ESP32/IMX.6), where compilers are often not the most recent and offenly supports only c++11/c++14.
Increasing the language requirement does not add performance - newer versions of compilers generate more efficient code, but newer language is not about it.

Personally, I use Yoga in a very limited environment (with pretty old still good gcc 4.9.2, that knows only about c++11, and c++14 in experimental form) to make a low-latency medical GUI , very close to hardware, almost bare-metall , using OpenGL for rendering and gamedev-like optimization techniques. In such restricted environment (for specific software, in which we must control everything, each millisecond and each pixel on screen) most of the modern libraries (like freetype, harfbuzz, minikin, icu, flatbuffers, imgui, sdl2, glfw3, etc) compiles & works nicely.
I builded & tested Yoga on various tiny devices with armhf/aarch64 architecture, x86_64 and even in browser (via emscripten) - it everywhere works well, especially due to it's portability (low requirements for compiler, no special harware requrements & hacks), like other cool tiny-but-extremely-useful projects imgui or stb, (or harfbuzz, which is low-requirements too).
I haven't tried it yet, but I'm sure Yoga will work in such unusual scenarios as "rendering GUI in VR" (native on perfomant HMD (like HTC Vive) and browser-like for standalone (like Oculus Quest)), using, for example: c++, emscripten, SDL2 (for making WebGL canvas), OpenXR js-API port/bindings for c++ (for I/O), and WebGL for drawing).
I know these are very atypical scenarios, compared to using Yoga for React or mobile development, but I encourage you to think big.

IMHO, such significant changes must be agreed with the community, and thought out carefully, otherwise it will lead to the creation of a fork with support for c++11 for those who need it.

GTest, apart from being a dependency, is a prompt that even foundational C++ libraries are now requiring versions newer than C++ 11. Bumping the library version brings in a lot of new changes which can simplify usage, and anecdotally just writing some code, I forgot how many things weren't available yet in C++ 11. A lot of constexpr we know today doesn't work at the current language version. Binary literals didn't exist until C++ 14. [[maybe_unused]] didn't exist until C++ 17.
I could imagine C++ 17 may be a step too far, but I also don't think the toolchains of microcontroller vendors are the lowest common denominator we want to be targeting in our latest builds either. It adds a lot of restriction, for a use-case of Yoga that seems pretty rare. Some of the other toolchains you mention like Emscripten are actually included in the validation of this change 😉.
I will change this so that we bump to C++ 14.

@NickGerleman thanks for your response. Happy Holidays!


Rewrite lxd installation action

The setup-lxd action was failing on the arm64 runner,
at the iptables changes step.
This is because the arm64 runner did not have docker installed, but the action command failed if docker was not installed. https://github.com/canonical/setup-lxd/issues/19
As the setup-lxd action is listed as alpha state,
and the action is very small,
it seems fine to inline the commands here
so we can manage it ourselves to suit our use case better.

ensure lxd latest/stable is installed
switch the daemon group to adm (runner user on both machines is in this group)
update iptables rules to work with docker (ignore errors if docker is not installed)

Differences between runner machines we need to handle:
Ubuntu_ARM64_4C_16G_01 runner:

lxd snap 5.0/stable is pre installed
runner user is in the lxd group
docker is not installed

ubuntu-latest runner:

lxd is not installed
runner user is not in the lxd group
docker is installed

Note to reviewers: you can verify that lxd is installed and charmcraft pack succeeds on both runner architectures from these action runs on the debugging/test PR:

ubuntu-latest: https://github.com/canonical/charm-local-users/actions/runs/10241637878/job/28330219075?pr=24
Ubuntu_ARM64_4C_16G_01: https://github.com/canonical/charm-local-users/actions/runs/10241637878/job/28330219186?pr=24

Hi @samuelallan72
Do you think it's possible to contribute to canonical's action instead of customized here? I feel what you provide have potential to used by everyone.

Hi @samuelallan72
Do you think it's possible to contribute to canonical's action instead of customized here? I feel what you provide have potential to used by everyone.

Agree, it seems a bug in setup-lxd.

@jneo8 @Pjack yes, it is a bug in setup-lxd, but I don't like carrying many small actions that do trivial things.  It's much clearer and more maintainable to do these things more directly.  Especially now that we're moving our workflows to the terraform repository, we'll only be maintaining a single copy of each of the workflows, so we won't have a fragmentation issue.

I feel it's not avoidable? If we check everything we have now in charm-actions. Call charm-action from terraform template may be more clean and have benefit to all the others who need arm64 setup.
(I am OK if contribute to charm-actions take too much time. At least we can put it directly in terraform.)

Ok if that's consensus, I'll look at contributing to the setup-lxd action.

@jneo8 @Pjack please see canonical/setup-lxd#20 :)


Cocoapods shows "undefined method `exists?' for File:Class" error

Steps to reproduce
I run flutter build macos on a project with native dependencies (Firebase) so that cocoapods needs to run. It used to work just fine, but now I'm getting the error message undefined method exists?' for File:Class.  That method is called File.exists` in Ruby 3.2 … which is used by my version of cocoapods internally, so it seems. It might have started with Xcode 15.2 which I just installed, but I'm not sure.
I'm on Sonoma 14.2.1, using Homebrew 4.2.3, cocoapods 1.14.3 (which is dependent on Ruby 3.2.2 although this version isn't in the PATH) installed via brew install cocoapods, Xcode 15.2 and Flutter 3.18.0-19.0.pre.123
Expected results
It should run.
Actual results
[!] An error occurred while processing the post-install hook of the Podfile.

    undefined method `exists?' for File:Class

    /Users/sma/Work/flutter/packages/flutter_tools/bin/podhelper.rb:349:in `flutter_get_local_engine_dir'
    /Users/sma/Work/flutter/packages/flutter_tools/bin/podhelper.rb:131:in `flutter_additional_macos_build_settings'
    /Users/sma/Work/tellorium_poc/macos/Podfile:38:in `block (3 levels) in from_ruby'
    /Users/sma/Work/tellorium_poc/macos/Podfile:37:in `each'
    /Users/sma/Work/tellorium_poc/macos/Podfile:37:in `block (2 levels) in from_ruby'
    /usr/local/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-core-1.14.3/lib/cocoapods-core/podfile.rb:196:in
    `post_install!'
    /usr/local/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:1013:in
    `run_podfile_post_install_hook'
...

Code sample
.
Screenshots or Video
.
Logs
.
Flutter Doctor output
Doctor output
[✓] Flutter (Channel master, 3.18.0-19.0.pre.123, on macOS 14.2.1 23C71 darwin-x64, locale de-DE)
    • Flutter version 3.18.0-19.0.pre.123 on channel master at /Users/sma/Work/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5f17badf41 (32 minutes ago), 2024-01-09 10:49:13 +0100
    • Engine revision 820645dbcc
    • Dart version 3.4.0 (build 3.4.0-4.0.dev)
    • DevTools version 2.31.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/sma/Library/Android/sdk
    • Platform android-34, build-tools 32.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

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

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

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

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

...

• No issues found!

I checked on another with the same configuration but still with Xcode 15.1 and it doesn't work, so Xcode 15.2 is not the cause for the problem :(

I was about to file this. This also reproduces for me in a new project when adding integration_test (My best guess is this reproduces when introducing a platform dependent package) on the master/main branch and running on the macOS platform (doesn't reproduce for iOS simulator)
Steps to reproduce

flutter create myapp
cd myapp and then run the app from an IDE or terminal (flutter run -d macos)
This should work fine.
Add the integration_test package for instance

dev_dependencies:
  flutter_test:
    sdk: flutter
+ integration_test:
+   sdk: flutter

Logs

expand to view the logs
➜  playground git:(main) ✗ fr -d macos
Downloading darwin-x64/FlutterMacOS.framework tools...              3.4s
Downloading darwin-x64/gen_snapshot tools...                     1,587ms
Downloading darwin-x64-profile/FlutterMacOS.framework tools...      2,210ms
Downloading darwin-x64-profile tools...                          1,289ms
Downloading darwin-x64-profile/gen_snapshot tools...             1,456ms
Downloading darwin-x64-release/FlutterMacOS.framework tools...      1,706ms
Downloading darwin-x64-release tools...                          1,199ms
Downloading darwin-x64-release/gen_snapshot tools...             1,383ms
Launching lib/main.dart on macOS in debug mode...
Running pod install...                                             526ms
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
      Using `ARCHS` setting to build architectures of target `Pods-RunnerTests`: (``)

    Fetching external sources
    -> Fetching podspec for `FlutterMacOS` from `Flutter/ephemeral`

    Resolving dependencies of `Podfile`
      CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update

    Comparing resolved specification to the sandbox manifest
      A FlutterMacOS

    Downloading dependencies

    -> Installing FlutterMacOS (1.0.0)
      - Running pre install hooks
      - Running pre integrate hooks

    Generating Pods project
      - Creating Pods project
      - Installing files into Pods project
        - Adding source files
        - Adding frameworks
        - Adding libraries
        - Adding resources
        - Adding development pod helper files
        - Linking headers
      - Installing Pod Targets
        - Installing target `FlutterMacOS` macOS 10.14
      - Installing Aggregate Targets
        - Installing target `Pods-Runner` macOS 10.14
          - Generating Info.plist file at `Pods/Target Support Files/Pods-Runner/Pods-Runner-Info.plist`
          - Generating module map file at `Pods/Target Support Files/Pods-Runner/Pods-Runner.modulemap`
          - Generating umbrella header at `Pods/Target Support Files/Pods-Runner/Pods-Runner-umbrella.h`
          - Generating dummy source at `Pods/Target Support Files/Pods-Runner/Pods-Runner-dummy.m`
        - Installing target `Pods-RunnerTests` macOS 10.14
          - Generating Info.plist file at `Pods/Target Support Files/Pods-RunnerTests/Pods-RunnerTests-Info.plist`
          - Generating module map file at `Pods/Target Support Files/Pods-RunnerTests/Pods-RunnerTests.modulemap`
          - Generating umbrella header at `Pods/Target Support Files/Pods-RunnerTests/Pods-RunnerTests-umbrella.h`
          - Generating dummy source at `Pods/Target Support Files/Pods-RunnerTests/Pods-RunnerTests-dummy.m`
      - Generating deterministic UUIDs
      - Stabilizing target UUIDs
      - Running post install hooks
    [!] An error occurred while processing the post-install hook of the Podfile.

    undefined method `exists?' for File:Class

    /Users/tahatesser/Code/flutter/packages/flutter_tools/bin/podhelper.rb:349:in `flutter_get_local_engine_dir'
    /Users/tahatesser/Code/flutter/packages/flutter_tools/bin/podhelper.rb:131:in `flutter_additional_macos_build_settings'
    /Users/tahatesser/Projects/playground/macos/Podfile:41:in `block (3 levels) in from_ruby'
    /Users/tahatesser/Projects/playground/macos/Podfile:40:in `each'
    /Users/tahatesser/Projects/playground/macos/Podfile:40:in `block (2 levels) in from_ruby'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-core-1.14.3/lib/cocoapods-core/podfile.rb:196:in `post_install!'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:1013:in `run_podfile_post_install_hook'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:1001:in `block in run_podfile_post_install_hooks'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/user_interface.rb:149:in `message'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:1000:in `run_podfile_post_install_hooks'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:337:in `block (2 levels) in create_and_save_projects'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in `write!'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:336:in `block in create_and_save_projects'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/user_interface.rb:64:in `section'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:315:in `create_and_save_projects'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:307:in `generate_pods_project'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:183:in `integrate'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:170:in `install!'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/command/install.rb:52:in `run'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/command.rb:52:in `run'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/bin/pod:55:in `<top (required)>'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/bin/pod:25:in `load'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/bin/pod:25:in `<main>'

    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:1015:in `rescue in run_podfile_post_install_hook'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:1012:in `run_podfile_post_install_hook'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:1001:in `block in run_podfile_post_install_hooks'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/user_interface.rb:149:in `message'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:1000:in `run_podfile_post_install_hooks'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:337:in `block (2 levels) in create_and_save_projects'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in `write!'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:336:in `block in create_and_save_projects'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/user_interface.rb:64:in `section'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:315:in `create_and_save_projects'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:307:in `generate_pods_project'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:183:in `integrate'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:170:in `install!'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/command/install.rb:52:in `run'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/lib/cocoapods/command.rb:52:in `run'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/gems/cocoapods-1.14.3/bin/pod:55:in `<top (required)>'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/bin/pod:25:in `load'
    /opt/homebrew/Cellar/cocoapods/1.14.3/libexec/bin/pod:25:in `<main>'

Error output from CocoaPods:
↳
    Ignoring ffi-1.16.3 because its extensions are not built. Try: gem pristine ffi --version 1.16.3

Error: Error running pod install
➜  playground git:(main) ✗

Flutter doctor

expand to view the flutter doctor -v  results
➜  playground git:(main) ✗ fd
[✓] Flutter (Channel main, 3.18.0-19.0.pre.104, on macOS 14.2.1 23C71 darwin-arm64, locale en-US)
    • Flutter version 3.18.0-19.0.pre.104 on channel main at /Users/tahatesser/Code/flutter
    • Upstream repository git@github.com:TahaTesser/flutter.git
    • FLUTTER_GIT_URL = git@github.com:TahaTesser/flutter.git
    • Framework revision 12720f0e51 (28 hours ago), 2024-01-08 01:53:21 -0500
    • Engine revision bbebee1465
    • Dart version 3.3.0 (build 3.3.0-279.0.dev)
    • DevTools version 2.31.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/tahatesser/Code/android-sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_SDK_ROOT = /Users/tahatesser/Code/android-sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

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

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

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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 120.0.6099.199
    ! Error: Browsing on the local area network for Taha’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

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

• No issues found!
➜  playground git:(main) ✗

Xcode 15.1 and it doesn't work, so Xcode 15.2 is not the cause

That's right. I had Xcode 15.1 yesterday when I first reproduced this issue. Today after upgrading Xcode 15.2 the issue persists.

Could it be this change?

macos on master is broken, ios on master works. Both work on the latest beta (3.18.0-0.2.pre).

FYI, currently, not only the current master is broken but also the latest beta.

Hi guys, this issue happend on running an old flutter project with version 2.8.1.
any suggest solution for this case?

working on beta 3.19.0-0.2.pre


Downstream lint fix error

Downstream only - fix lint error in downtream change
This fixes the PR #334 where one additional line was in the code. This was not exposed previously as we did not had downstream CI Lint jobs.
Allows the job proposed in the https://github.com/openshift/release/pull/55969 to pass.

/cherry-pick oadp-1.4


fix: Add Kconfig options for esp-now OTA (AEGHB-411)

Fix retransmission problem with OTA from #91

@n3b0j5a Thanks for your contribution.


Level 5 -- Error: cannot find method sum(int)

Summary
Error:
cannot find symbol
symbol:   method sum(int)
Description:
i saw another post about the same issue and tried the suggested solution out but i got F instead.
the suggested solution by another user was to modify the type of your input function for flatMap to be like this:
flatMap(Function<? super T, ? extends Log<? extends R>> mapper)
this was the error:
Log.java:45: error: incompatible types: CAP#1 cannot be converted to Log
Log mappedLog = mapper.apply(t);
^
where R,T are type-variables:
R extends Object declared in method flatMap(Function<? super T,? extends Log<? extends R>>)
T extends Object declared in class Log
where CAP#1 is a fresh type-variable:
CAP#1 extends Log<? extends R> from capture of ? extends Log<? extends R>
1 error
Grading minated.
Code Snippets
this is my current code for flatMap that outputs the "cannot find symbol" error

You can follow the suggested solution by another user, but you'll need to change the mappedLog's type to reflect the type given (e.g. ? extends R), so it'll be something like this:
public <R> Log<R> flatMap(Function<? super T, ? extends Log<? extends R>> mapper) {
    Log<? extends R> mappedLog = mapper.apply(t);
    ....

hi nicole, yes, by doing Log<? extends R>, mappedLog can be a Log object with type R or any subtype or R.
this goes back to how conceptually, when you perform map you want to convert Map to Map.
So if you decide not to use bounded wildcards(? super / ? extends), then the types that flows in (T) and flows out (R), must match exactly. Otherwise, invariance occurs.
In your current code, i also see that the implementation of flatMap does not consider

if this.log is empty
else if  mappedLog.log is empty.

additionally, you may want to adjust your return statement slightly, so as to make use of the .of() method.
for instance, in scenario 1 where this.log is empty, the code will look like
if (mappedLog.getLog() == "") {
            return Log.<R>of(mappedLog.getT(), this.log);
}

this statement check the log of the current Log and mappedLog. If the log of mappedLog is empty, it returns a new Log with the value of mappedLog and the log of the current Log object
scenario 2 will be pretty much the same in structure, just slightly change the condition and the parameters of the return .of()
your current return statement can be the else scenario. after this you should be good to go for flatMap()

your gernerics for flatmap needs to be changed

hi, i think you might need to change your return type, ad check if your log is empty to prevent unwanted outputs.

thanks guys for ur input! rly helped a lot :)


team resp, lilith rmv, some depricated code removed

Team safari  page fixed
Lilith removed from team page
Some unused depricated code removed

The spacing above the Scroll down is not correct.

Kindly change the grid for four members.

The spacing above the Scroll down is not correct.

Kindly change the grid for four members.

please check if its coming right now, not able to test properly on my computer


Could not login to Skoda Connect

Describe the bug
Since 4-5 days my Skoda Connect wasn't working anymore. Removing the configured device and trying to re-add results in a "Could not login to Skoda Connect". Import note: my credentials are working fine on the official app, but i did see there was a new MySkoda app. Maybe it's related?
Is this working in MySkoda app?*
Yes, my credentials are working fine in MySkoda App.
Latest working release
Not sure about the version, but it was working about a week ago.
Additional context
As said earlier: Skoda did seem to release a new MySkoda app (not an update, it's a new/seperate install). Maybe it's related?

Duplicate of #227 .
Please update the integration to the latest version 1.2.7.

Duplicate of #227 .
Please update the integration to the latest version 1.2.7.

Thanks, updated and works fine!