CI fails on go-vulnerability-scan

Describe
CI is failing on go-vulnerability-scanning pipeline
Builld:

https://drone.owncloud.com/owncloud/ocis/35662\

Vulnerability #1: GO-2024-2888
    Mishandling of corrupt central directory record in archive/zip
  More info: https://pkg.go.dev/vuln/GO-2024-2888
  Standard library
    Found in<EMAIL_ADDRESS>    Fixed in<EMAIL_ADDRESS>    Example traces found:
      #1: services/thumbnails/pkg/preprocessor/preprocessor.go:65:33: preprocessor.GgsDecoder.Convert calls zip.NewReader

Vulnerability #2: GO-2024-2887
    Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in
    net/netip
  More info: https://pkg.go.dev/vuln/GO-2024-2887
  Standard library
    Found in<EMAIL_ADDRESS>    Fixed in<EMAIL_ADDRESS>    Example traces found:
      #1: ocis-pkg/natsjsregistry/registry.go:67:21: natsjsregistry.storeregistry.Init calls nats.natsStore.Init, which eventually calls netip.Addr.IsLoopback
      #2: ocis-pkg/natsjsregistry/registry.go:67:21: natsjsregistry.storeregistry.Init calls nats.natsStore.Init, which eventually calls netip.Addr.IsMulticast

=== Informational ===

Found 1 vulnerability in packages that you import, but there are no call
stacks leading to the use of this vulnerability. You may not need to
take any action. See https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck
for details.

Vulnerability #1: GO-2024-2631
    Decompression bomb vulnerability in github.com/go-jose/go-jose
  More info: https://pkg.go.dev/vuln/GO-2024-2631
  Module: gopkg.in/square/go-jose.v2
    Found in<EMAIL_ADDRESS>    Fixed in: N/A

Your code is affected by 2 vulnerabilities from the Go standard library.

Share feedback at https://go.dev/s/govulncheck-feedback.
make: *** [Makefile:281: govulncheck] Error 3

CC @ScharfViktor @micbar @rhafer

Should be fixed now. I updated the golang ci image.

CI pipeline is green: https://drone.owncloud.com/owncloud/ocis/35671/9/5


Add tests for service/matching/handler/handler.go

What changed?
tests for service/matching/handler/handler.go
Why?
improve unit test coverage
How did you test it?
unit tests
Potential risks
Release notes
Documentation Changes

Pull Request Test Coverage Report for Build 018fea7a-18b7-47bd-a290-626b1503cb11
Details

0 of 0   changed or added relevant lines in 0 files are covered.
466 unchanged lines in 14 files lost coverage.
Overall coverage decreased (-0.1%) to 70.666%

Files with Coverage Reduction
New Missed Lines
%

common/task/weighted_round_robin_task_scheduler.go
2
88.56%

common/persistence/historyManager.go
2
66.67%

service/history/task/transfer_standby_task_executor.go
4
87.35%

bench/lib/client.go
4
0.0%

service/matching/config/config.go
4
91.49%

service/history/engine/engineimpl/start_workflow_execution.go
5
77.76%

service/history/engine/engineimpl/reset_sticky_tasklist.go
6
66.67%

service/history/engine/engineimpl/terminate_workflow_execution.go
8
80.0%

service/history/engine/engineimpl/history_engine.go
9
82.94%

common/domain/replication_queue.go
18
74.83%

Totals

Change from base Build 018fea60-5d6d-4e72-9c82-d4d291808f26:
-0.1%

Covered Lines:
105258

Relevant Lines:
148952

💛  - Coveralls

Pull Request Test Coverage Report for Build 018feab2-8717-4ed8-a03c-5959e4a21454
Details

0 of 0   changed or added relevant lines in 0 files are covered.
977 unchanged lines in 21 files lost coverage.
Overall coverage decreased (-0.5%) to 70.661%

Files with Coverage Reduction
New Missed Lines
%

service/history/task/transfer_active_task_executor.go
2
72.9%

service/matching/tasklist/matcher.go
2
89.35%

service/matching/tasklist/task_reader.go
2
77.72%

bench/lib/client.go
4
0.0%

common/archiver/filestore/historyArchiver.go
4
80.95%

common/types/mapper/thrift/shared.go
4
98.31%

service/matching/config/config.go
4
91.49%

service/history/engine/engineimpl/start_workflow_execution.go
5
77.76%

service/history/task/transfer_standby_task_executor.go
6
86.33%

service/history/engine/engineimpl/reset_sticky_tasklist.go
6
66.67%

Totals

Change from base Build 018feaa3-8a65-4c9c-874c-0243b9141bed:
-0.5%

Covered Lines:
105251

Relevant Lines:
148952

💛  - Coveralls

Pull Request Test Coverage Report for Build 018fee8f-064e-4387-b1d1-93c64d6eb36f
Details

0 of 0   changed or added relevant lines in 0 files are covered.
1172 unchanged lines in 24 files lost coverage.
Overall coverage decreased (-0.6%) to 70.668%

Files with Coverage Reduction
New Missed Lines
%

service/history/queue/timer_queue_processor_base.go
1
77.66%

common/persistence/sql/sqlplugin/postgres/task.go
2
73.4%

service/history/task/transfer_standby_task_executor.go
3
86.33%

service/history/task/task.go
3
84.81%

bench/lib/client.go
4
0.0%

common/types/mapper/thrift/shared.go
4
98.31%

service/matching/config/config.go
4
91.49%

service/history/engine/engineimpl/start_workflow_execution.go
5
77.76%

service/history/engine/engineimpl/reset_sticky_tasklist.go
6
66.67%

service/history/execution/cache.go
6
74.61%

Totals

Change from base Build 018fee53-2f0a-42d7-9d39-e20b5cb03809:
-0.6%

Covered Lines:
105262

Relevant Lines:
148952

💛  - Coveralls


Console Controller Support

Is there any development going on to use any controller for the iOS application "Remote Desktop Client"?
Currently it is not possible to use a DualShock Controller.

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Request for some packaging help

I try to package arangodb for Archlinux. The AUR package is outdated and also did a lot of things wrong/not the arch way.
I'd like to request some help to understand how to package arangodb optimal for archlinux. If it all wents well I can think of moving it to [community] as official package, as I am an Arch TU.
The best compile instructions I found were those:
https://docs.arangodb.com/3.1/cookbook/Compiling/Debian.html
What are the exact dependencies? I see some cmake and some python2. But for which part is python2 required and why not python3? The current PKGBUILD on aur tries to use a hacky way to use python2 for packaging. Is this required or can it be done with python3?
I found a 3rd party folder in the repo. Since Arch tries to not use any static dependencies, is there a way to use the system libraries rather than the 3rd party ones? for which part are they used?
I've reduced the cmake command to what could make sense to me. Can anyone explain me if those options make sense? I'd rather not like to change the cc flags for example.

The aur package uses the ld gold. Any idea why?
How do i properly configure the tempfs file?
The AUR package has its own systemd service. Doesnt the repository has a proper one?
Edit: It seems to come with this systemd file which also provides some extra chmod stuff. But this is not something a systemd service should contain. This should be done in the packaging of the software.
https://github.com/arangodb/arangodb/blob/master/Installation/systemd/arangodb3.service.in
AUR package:
https://aur.archlinux.org/packages/arangodb/
You can also chat with me on IRC or tox
My current WIP PKGBUILD:
# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
# Contributor: Mike Williamson <mike at korora dot ca>

pkgname=arangodb
pkgver=3.1.12
pkgrel=1
pkgdesc="A multi-model NoSQL database, combining key-value, document and graph data models."
arch=("i686" "x86_64")
url="https://www.arangodb.com/"
license=('APACHE')
depends=('openssl' 'systemd' 'curl' 'zlib')
makedepends=("cmake" "python2")
install=arangodb.install
source=("https://www.arangodb.com/repositories/Source/ArangoDB-${pkgver}.tar.bz2"
        "https://www.arangodb.com/repositories/Source/ArangoDB-${pkgver}.tar.bz2.asc"
        "arangodb.service"
        "arangodb-tmpfile.conf")
validpgpkeys=('CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B') # Frank Celler (ArangoDB Debian Repository<EMAIL_ADDRESS>sha512sums=('493be889b20f644823891e6c262e6a428fe6d3d447275e5da9313b300a1ab8ce35aefa58807b122e2b2490ef6f9130be35e17078ed7126fd343a0a413591288a'
            'SKIP'
            '90d832ac14b525e436a4256ee432b5d66750625a4e0adbd214c326526044f0139a6302fd5398ae2b2a7266a5536a990e1683736ae25829647a9ca9b48cb7be1f'
            '4dc6f0a18be2e759b89693a54f3376f52d8b646978c81f0f7069d8ed2c6d7123777a9709d000a5467a4f927b8befb5f472d933eb843db842cf853321a0ad5e7c')

build() {
    # TODO add python2 to path temporary?

    cd "${srcdir}/ArangoDB-$pkgver"
    mkdir -p build
    cd build
    cmake -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_DATADIR=/usr/share \
    -DBUILD_SHARED_LIBS:BOOL=ON \
    ..
    make
}

package() {
    cd "${srcdir}/ArangoDB-$pkgver/build"
    make DESTDIR="${pkgdir}" install

    # TODO how to properly package systemd and temp file?
    install -Dm644 arangodb-tmpfile.conf "${pkgdir}"/usr/lib/tmpfiles.d/arangodb.conf

    install -Dm644 "${srcdir}/arangodb.service ${pkgdir}/usr/lib/systemd/system/"
}

Regarding the systemd unit file we spoke about in IRC yesterday; cmake/ArangoDBInstall.cmake tries to detect whether the host is systemd enabled:
find_package(PkgConfig QUIET)
pkg_check_modules(SYSTEMD systemd)
If that succeeds, the unit file is installed.

Re build-dependencies:

openssl is required
jemalloc is advised
python2 is required for V8/gyp

The 3rdparty folder is here since this contains the set of libraries that arango is using in integration tests; i.e. V8 is a fast moving target which may break api compatibility on a daily basis. Velocypack is built and maintained by the arangodb team, as is the linenoise-ng branch. Boost is primarily there since its harder to maintain it as an external dependency on elderly targets like centos6 or ubuntu 12 or windows. I don't know whether its possible to use a system boost - and whether a boost asio in the system may have other bugs than those with the libraries shipped.
You may also have noted that V8 also brings third party utilities - namely icu. We also lean on that inside of arangodb aside of V8.
Snappy & zlib will most probably picked from the system if you have them.
Yes, I know that on linux you usually could reliably find and detect libraries; Aside of that different versions on the host could bring you other bugs / behaviour than Unit/Integration tests on the arangodb CI linux is not our only target; Windows and Mac are much harder to prepare repeatable build environments.

re RPATH - have a look at ftp://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_node/ld_3.html - it tends to be troublesome on some targets. It may work for you without.

GOLD is used in favour of LD since LD uses much more resources, and may eventually die from OOM.

Would you also want to configure logrotate as noted in #2355 ?

I did not know about logrotate but it seems useful to me. Its on every system by default anyways.

Ok, I think we can close this issue now. if you need any further assistance, let us know.


PF masthead logo is missing width attribute

SVG isn't rendering in firefox, svg needs a width.

:tada: This issue has been resolved in version 2.23.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Checkbox tabindex not working

If a user would like to browse the form using the tab key, they won't be able to reach the checkboxes... Also tried with adding tabindex="x" to them, and still the same... On Chrome it seemt that after removing the  visibility: hidden; from [type=checkbox]:checked, [type=checkbox]:not(:checked), and keeping the other proprieties position: absolute; left: -9999px, it worked...
So, I think it would be a good idea to remove the visibility: hidden, as long as the checkbox would still be not visible
Thanks!

Checkout this issue 2777
Have you tried the latest commit on master? We will try and release a new version soon


:bug: try to fix the bug in crf under tf 1.14

To see if this works.

I have used another CRF implement, it works, but gives me a wired accuracy and loss like this.
Epoch 1/50
20800/20864 [============================>.] - ETA: 0s - loss: 22.4886 - accuracy: 0.9280
epoch: 0 precision: 0.276740, recall: 0.281623, f1: 0.279161
20864/20864 [==============================] - 122s 6ms/sample - loss: 22.4417 - accuracy: 0.9281 - val_loss: 161.6057 - val_accuracy: 0.4200
Epoch 2/50
20800/20864 [============================>.] - ETA: 0s - loss: 6.4196 - accuracy: 0.9765
epoch: 1 precision: 0.571409, recall: 0.553882, f1: 0.562509
20864/20864 [==============================] - 114s 5ms/sample - loss: 6.4180 - accuracy: 0.9765 - val_loss: 158.0664 - val_accuracy: 0.6997
Epoch 3/50
20800/20864 [============================>.] - ETA: 0s - loss: 4.3281 - accuracy: 0.9828
epoch: 2 precision: 0.667961, recall: 0.653637, f1: 0.660722
20864/20864 [==============================] - 114s 5ms/sample - loss: 4.3292 - accuracy: 0.9828 - val_loss: 155.8536 - val_accuracy: 0.6192
Epoch 4/50
20800/20864 [============================>.] - ETA: 0s - loss: 3.3476 - accuracy: 0.9857
epoch: 3 precision: 0.707975, recall: 0.715662, f1: 0.711798
20864/20864 [==============================] - 115s 6ms/sample - loss: 3.3504 - accuracy: 0.9857 - val_loss: 154.1770 - val_accuracy: 0.6126
Epoch 5/50
20800/20864 [============================>.] - ETA: 0s - loss: 2.6810 - accuracy: 0.9879
epoch: 4 precision: 0.749690, recall: 0.737785, f1: 0.743690
20864/20864 [==============================] - 116s 6ms/sample - loss: 2.6836 - accuracy: 0.9879 - val_loss: 152.9230 - val_accuracy: 0.3055
Epoch 6/50
20800/20864 [============================>.] - ETA: 0s - loss: 2.1745 - accuracy: 0.9897
epoch: 5 precision: 0.799706, recall: 0.738056, f1: 0.767645
20864/20864 [==============================] - 115s 6ms/sample - loss: 2.1778 - accuracy: 0.9897 - val_loss: 151.9838 - val_accuracy: 0.0662
Epoch 7/50
20800/20864 [============================>.] - ETA: 0s - loss: 1.8038 - accuracy: 0.9911
epoch: 6 precision: 0.790598, recall: 0.778366, f1: 0.784434

weird indeed.

weird indeed.

Yep, but performance is great actually. F1 is increasing.

weird indeed.

Yep, but performance is great actually. F1 is increasing.

try to locate the loss function to see anything wrong?
but it's good news the performance promoted.

I think we should stick to the new CRF layer, it's code more clean and simple.

I think we should stick to the new CRF layer, it's code more clean and simple.

I agree. Where do you find it?

https://github.com/search?q=tf.keras+crf&type=Code first one. But there are lots of the similiar implement.

thanks. ~


Problem with the version of node-fetch package in electron app

In section Electron Quirks is required install node-fetch because the plugin use it in an electron app.
I've installed the last version (3.3.0) and I get an error when I run the app:
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\anton\git\ionic-angular-template\electron\node_modules\node-fetch\src\index.js from<EMAIL_ADDRESS>not supported.
The node-fetch error "[ERR_REQUIRE_ESM]: require() not supported" occurs because the node-fetch package has been converted to be an ESM-only package in version 3, which means that the package can't be imported with require().
Solutions: use a dynamic import to import the node-fetch package in the library or downgrade the version of the package to 2.6.7, which is the last version that is built with CommonJS.
I think it's necessary to warn this scenario in the readme and indicate that the version installed of node-fech must be "<=2.6.7"
I can create a pull request in the readme file If you want.

@antoniovlx OK thanks for your comment. Can you make a PR to modify the Electron Quirks  and add you in the list of contributors in the readme.md file and i will merge the PR


Invalid header: 0x40 0x20 0xC0 0xC

A lot of error Messages here:

Could you describe your setup and provide another log (with uart debugging enabled: https://github.com/syssi/esphome-soyosource-gtn-virtual-meter#debugging) in plaintext?

no Problem:

Could you describe the connection/wires between the ESP and the limiter port of your soyosource? How long is the cable? Which RS485 converter module do you use? Is there something else connected to the bus? A photo would be nice. For now it looks like there is some noise/garbage on the bus.


Issue #21: Avoid C++ keyword module

Rename module variable/argument names as mod.
Fixes #21

Is it possible to detect the error using a C++ compiler warning to prevent adding new ones? The C++ compatibility is tested in tests/.

Is it possible to detect the error using a C++ compiler warning to prevent adding new ones? The C++ compatibility is tested in tests/.

Good point. I'll add a test.

I changed my mind. Python.h has the issue, so until Python will be fixed ( https://bugs.python.org/issue39355 https://bugs.python.org/issue39355 ) we cannot test it in pythoncapi_compat.h which includes Python.h. I don't want to add a test using a regex which would emit false alarm if the word "module" is used in a comment.

Thanks, I merged your fix!

I changed my mind. Python.h has the issue, so until Python will be fixed ( https://bugs.python.org/issue39355 https://bugs.python.org/issue39355 ) we cannot test it in pythoncapi_compat.h which includes Python.h. I don't want to add a test using a regex which would emit false alarm if the word "module" is used in a comment.

Makes sense!


Fix for tilingsprite destroy

When a tiling sprite was destroyed the setter was called, which would
set the point value to null. This gave an error while Point.copy does
not like null values.
My fix is to bypass the setters and set the object properties to null.
I’ve added the uvTransform also.

Thank you!


Kanban to show all items

kanban should show either my own, but also ALL items in the current project.

Options:
Your issues page displays issues belong to the logged in user. Show this view have option to display all items too? or create another view?

I'd create another view showing all issues for one project.
From there some filtering might be cool.

I thoughts is through and the current way is better :)
We would get monster kanban views here and that wouldn't help at all.
If I'm a manager for a project I would see all the active tickets anyway.
So please close this issue.

Please close this.
It's not a duplicate for #97


add type declarations from typescript developer.

Describe the feature you'd like to request
At this time, most projects with User interfaces with React or Next use TypeScript, and when developers try to add this package to a TypeScript project, they face an error. I hope you consider my suggestion.
thank you for your time.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

Hello, we tried to solve the issue.
This is what we did:
Added TypeScript declaration files to both the CLI and Generate packages to improve TypeScript support for React and Next.js projects.
You can review changes in this commit: https://github.com/kkpo4553/fontsource-fontsource-1005/commit/4579b69c59260f806c9de468d6b82b4d290852e2.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

okay, thank you for your response.


Need a seed props

I want to use avatar as a default profile picture of the user

yeah you can, but you have to save the config, same config will render same avatar, e.g.:
import Avatar, { genConfig } from 'react-nice-avatar'
const config = genConfig()  // Save the config into your Database or somewhere for the future usage
<Avatar style={{ width: '8rem', height: '8rem' }} {...config} />


Feature request - width and height of "Options" window should be remembered

If it's not hard for you to implement.
Thanks.

I ended making the options window auto-size to content.


$provider->getResourceOwner error

Hello,
When using this line of code:
$user = $provider->getResourceOwner($token);
I'm getting the following error:
Fatal error: Uncaught TypeError: Argument 1 passed to League\OAuth2\Client\Provider\Apple::createResourceOwner() must be of the type array, null given, called in /var/www/vhosts/fitben.site/vendor/league/oauth2-client/src/Provider/AbstractProvider.php on line 769 and defined in /var/www/vhosts/fitben.site/vendor/patrickbussmann/oauth2-apple/src/Provider/Apple.php:191 Stack trace: #0 /var/www/vhosts/fitben.site/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(769): League\OAuth2\Client\Provider\Apple->createResourceOwner(NULL, Object(League\OAuth2\Client\Token\AppleAccessToken)) #1 /var/www/vhosts/fitben.site/httpdocs/paginas/refresh/apple-callback.php(39): League\OAuth2\Client\Provider\AbstractProvider->getResourceOwner(Object(League\OAuth2\Client\Token\AppleAccessToken)) #2 {main} thrown in /var/www/vhosts/fitben.site/vendor/patrickbussmann/oauth2-apple/src/Provider/Apple.php on line 191
I used this git on another project and everything works fine, can this be an issue with a recent update to you package?

Ill check it today. Sorry for some delays.

Am 13.07.2020 um 13:08 schrieb Filipe Sá<EMAIL_ADDRESS>
Hello,
When using this line of code:
$user = $provider->getResourceOwner($token);
I'm getting the following error:
Fatal error: Uncaught TypeError: Argument 1 passed to League\OAuth2\Client\Provider\Apple::createResourceOwner() must be of the type array, null given, called in /var/www/vhosts/fitben.site/vendor/league/oauth2-client/src/Provider/AbstractProvider.php on line 769 and defined in /var/www/vhosts/fitben.site/vendor/patrickbussmann/oauth2-apple/src/Provider/Apple.php:191 Stack trace: #0 /var/www/vhosts/fitben.site/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(769): League\OAuth2\Client\Provider\Apple->createResourceOwner(NULL, Object(League\OAuth2\Client\Token\AppleAccessToken)) #1 /var/www/vhosts/fitben.site/httpdocs/paginas/refresh/apple-callback.php(39): League\OAuth2\Client\Provider\AbstractProvider->getResourceOwner(Object(League\OAuth2\Client\Token\AppleAccessToken)) #2 {main} thrown in /var/www/vhosts/fitben.site/vendor/patrickbussmann/oauth2-apple/src/Provider/Apple.php on line 191
I used this git on another project and everything works fine, can this be an issue with a recent update to you package?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@welove:
You call this:
$user = $provider->getResourceOwner($token);

So it will use the league/oauth2-client library.
https://github.com/thephpleague/oauth2-client/blob/master/src/Provider/AbstractProvider.php#L765
This will fetch the details from your oauth2 provider (its Apple).
    $response = $this->fetchResourceOwnerDetails($token);

    return $this->createResourceOwner($response, $token); // here $response is NULL

So fetchResourceOwnerDetails will returning NULL.
When we check the code here: https://github.com/patrickbussmann/oauth2-apple/blob/master/src/Provider/Apple.php#L115
We'll see that the code uses the $_GET or $_POST parameter to getting user data.
And because thats nothing it's NULL.
Can you please post the link location href (browser url) when you get this error?
It's like localhost/oauth-check?user=%7B%22firstName%22%3A%22John%22%7D
But I also added a test case and a fix for it in the new version.
Your $_POST['user'] seems to be an empty string or the $_GET['user'] is an empty string.
Thats the reason for the issue.

@welove please test this script, too.
$token = null;
try {
	$token = $provider->getAccessToken('authorization_code', [
		'code' => $_POST['code']
	]);
}
catch(Exception $exception) {
	var_dump($exception->getCode(), $exception->getMessage());
}

It should show you "invalid_grant".
I had the same issue now.
It happen when you using Apples "code" more than one time.

Hello, I tested the script and it didn't catch any exception.
I'm getting $_POST['code'] and $token is set with the value "a5416d9c8257944f48bddcfbd13d8b031.0.nyvt.VUTfqjF_nLWw-LXG17ciGw".
One curious thing, is that I get the Fatal Error I mentioned in the first comment, only when I Sign In for the first time! If my Apple ID already authorized the app, the login works fine. Only problem is that it's only possible to get the users First and Last name on the first authorization.
As for the URL you've requested, is the callback file I'm running the script that you want?
https://fitben.site/paginas/refresh/apple-callback.php
The URL doesn't have any parameters on it

Hmm confusing.
But anyway its fixed with the new version.
Hopefully it works as expected on your side - when its only when you log in the first time.
I release the new version soon so you can try with dev-master.

I just updated the new script you've released, and now I don't get any error.
But I'm not getting the user name:
$pnome = $user->getFirstName();
$unome = $user->getLastName();
this stays empty :(
Email is fine!

No it cant run fine.
Because you'll get first name, last name and email only at the very first request.
So please remove your application first from https://appleid.apple.com/
Then try again please 👍

Already did that.
I'm constantly removing the application and testing the login like it's the user's first time.
On the dialog prompt it asks me to authorize the Name and Email like its supposed to. But $user->getFirstName(); still returns empty.
Can I privately email you the link for the website so you can try it yourself?

Yes you can do -><EMAIL_ADDRESS>

After mailing a bit we found the issue.
The $_POST was manipulated by a third party file.
Few years ago we called it Magic Quotes: https://www.php.net/manual/de/security.magicquotes.php
So when someone else has this issue please check if the $_POST is manipulated somewhere. 😉


Update README.md

Command for changing where a zfs pool is mounted.

I prefer not to mount storage filesystems in the root directory, so this command came in handy.


Fix reify bug

Tran Ma·9:19 AM convert_is_well_typed failed for this:

feature gonzofeaturename
~> fold1 gonzo = 59.14305720951913 : (let kermit = 2
                                      ~> gonzo)
~> Right gonzo

@tranma

looks good 👍
that was a subtle bug


New versions or nightly builds?

It's been over a year since the last release, and I figure there's a couple of new changes. Is there a way for me to try this out myself without having to compile a binary. Is there a new release or nightly builds planned?

yeah it would be nice to have a more recent release tag, especially for people who want to package this on linux distros and such


Security middleware

Various security related middleware / header fields we could add, some by default and others configurable:

X-XSS-Protection
X-DNS-Prefetch-Control
Content-Security-Policy
Referrer-Header
Strict-Transport-Security
X-Frame-Options

Been using https://github.com/gorilla/csrf though it would be nice if you could automagically apply this. Somehow.

Yea agreed, I think we can get away with some sane defaults at least—I definitely don't want to surprise anyone there, but not having to think about this stuff too closely would be great haha


Overlapping or missing labels in column chart

Hello.
I'd like my column chart to have an x-axis label on every column.
If I don't set setMaxLabelChars(), then I indeed have a label on every column, but some of the labels overlap the chart (Carmen and Guillaume in the example below):

If I set setMaxLabelsChars(), then there's no overlap, but some of the columns have no label.  This happens whether I put 1, 6, or the actual maximum length of all my labels (9 in this example).

Is there any way to achieve axis labels for all columns, with no overlap?

Test zoom for example :
chart.setZoomType(ZoomType.HORIZONTAL);
chart.setZoomLevel( <position_X>, 0,  );

@OleGunnar Thanks for the suggestion.  I've given it a try.  Indeed, I can do this:
        xAxis.setMaxLabelChars(maxLabelLength);
        chart.setZoomEnabled(true);
        chart.setZoomType(ZoomType.HORIZONTAL);
        chart.setZoomLevel(0,0,2);

And if I put a good value for the desired zoom, then I see all labels and they're not overlapping the chart.
There are still some problems though:

I don't know ahead of time what zoom level to pick.  If the zoom is too small, some of the columns don't have labels.  I could probably work on this though and calculate an appropriate initial zoom level.
Even if I pick a good initial zoom, the user can still do a pinch gesture to squeeze more columns into the screen, and after a point, some of the columns don't have labels anymore.  I don't want to disable the interactive feature though, as I can understand the user wanting to see all the columns on the screen at once.

For the data I'm plotting, it looks fine to me to fit all of the columns on the screen at once.  But in order to get the labels on all columns, without overlap, I need to expand the size of the columns, and they can't fit on the screen at once.


Improve default git urls in netlify init prompts

Which problem is this feature request solving?
When configuring a new site using netlify init, we ask for SSH URLs for private repos. However, we use origin configs as the default URL which is sometimes the HTTP URL. If not carefully following the prompts, you would miss the ssh URL requirement
A possible improvement to this would be:

Add validation to the prompts by making sure the provided URL is an SSH URL for private repos
Replace the default https URL with the relevant SSH URL depending on the git provider
other

Describe the solution you'd like
Better validation and/or improvement around http vs SSH URLs for private repositories
Pull request (optional)

[ ] I can submit a pull request.

@kevinsamoei I created a private repository, configured it with the https URL provided by Github & then used the init command. Authorized Netlify CLI for Github access through the Authorize with GitHub through app.netlify.com choice that comes up & deployed the site. Everything works fine.
I'm having some trouble understanding this feature request. If Netlify CLI works both with https & the ssh url, why'd we need to validate the provided origin to be ssh only?

Hi @tinfoil-knight thanks for looking. I think Github might not be a good candidate for this since it uses Github App which doesn't care for ssh/https urls when checking if private. This is because for Github, we automatically add the deploy keys but other providers might not be so.
I would test this with other providers as well, Azure DevOps, Gitlab, Bitbucket to see if they handle it well. I am sure of Azure DevOps as that was the initial one I used and we could be having the same issue with others.

@kevinsamoei
Update on this:
I created & cloned a private repo from Gitlab using the https url. The CLI does throw an error (The URL provided does not use the SSH protocol) on passing https urls instead of ssh.
Output for the init command
? What would you like to do? +  Create & configure a new site
? Team: keith-kevin99's team
? Site name (you can change it later): isnt-keith-kevin99-yahoo-com-awesome-4eb0b

Site Created

Admin URL: https://app.netlify.com/sites/isnt-keith-kevin99-yahoo-com-awesome-4eb0b
URL:       https://isnt-keith-kevin99-yahoo-com-awesome-4eb0b.netlify.app
Site ID:   f21d59df-e3f3-4dae-8d9d-3644b1be285a

Linked to isnt-keith-kevin99-yahoo-com-awesome-4eb0b

No configurator found for the provided git remote. Configuring manually...
? Your build command (hugo build/yarn run build/etc): # no build command
? Directory to deploy (blank for current dir): .
? No netlify.toml detected. Would you like to create one with these build settings? No

Give this Netlify SSH public key access to your repository:

ssh-rsa <redacted>

? Continue? Yes
? The SSH URL of the remote git repo: (https://gitlab.com/test-repos2/4603-netlify-init.git) https://gitlab.com/test-repos2/4603-netlify-i
nit.git
>> The URL provided does not use the SSH protocol

Git Remote Config
git remote -v
origin	https://gitlab.com/test-repos2/4603-netlify-init.git (fetch)
origin	https://gitlab.com/test-repos2/4603-netlify-init.git (push)

P.S:

I got the error for both public & private repositories.
CLI Version: netlify-cli/11.8.1 darwin-arm64 node-v16.15.1

@tinfoil-knight oh that is interesting. when I was writing this issue it was not throwing an error and would actually go through. I am going to do some testing sometime this week to make sure we actually throw the error for all git providers.
Throwing an error is an acceptable solution as well

@kevinsamoei Did you get a chance to check other git providers? If not, I could pick this up.
Do you have a list of git providers that you want me to check before this issue is closed?

Sorry haven't gotten a chance yet. These are the providers that Netlify supports:

Github
Bitbucket
Gitlab
Azure DevOps

While you are at it, could you check that it doesn't raise an error for public repos?
Thanks for looking into this!

Sorry haven't gotten a chance yet. These are the providers that Netlify supports:

Github
Bitbucket
Gitlab
Azure DevOps

While you are at it, could you check that it doesn't raise an error for public repos?
Thanks for looking into this!

@kevinsamoei

Github is not relevant since it uses the Github App as stated by you. It was also tested earlier by me.
On GitLab, error is thrown for both private & public repos. Log can be seen in the comment above. (https://github.com/netlify/cli/issues/4603#issuecomment-1253744800)
On Bitbucket & Azure Devops, no error is thrown for private & public repos. CI/CD seems to be configured after permission is given to the webhook.

Log for Bitbucket is attached here. Azure DevOps also displays the same behaviour.
? What would you like to do? +  Create & configure a new site
? Team: keith-kevin99's team
? Site name (leave blank for a random name; you can change it later):

Site Created

Admin URL: https://app.netlify.com/sites/musical-florentine-e06a3e
URL:       https://musical-florentine-e06a3e.netlify.app
Site ID:   2cdb3801-e5e5-4ae9-87c7-9c31ed1f356b

Linked to musical-florentine-e06a3e

No configurator found for the provided git remote. Configuring manually...
? Your build command (hugo build/yarn run build/etc): # no build command
? Directory to deploy (blank for current dir): .
? No netlify.toml detected. Would you like to create one with these build settings? Yes

Give this Netlify SSH public key access to your repository:

ssh-rsa <removed>

? Continue? Yes
? The SSH URL of the remote git repo<EMAIL_ADDRESS>
Configure the following webhook for your repository:

https://api.netlify.com/hooks/63595d99ce3cce18ab378077

? Continue? Yes

Success! Netlify CI/CD Configured!

This site is now configured to automatically deploy from bitbucket.org branches & pull requests

Next steps:

  git push       Push to your git repository to trigger new site builds
  netlify open   Open the Netlify admin URL of your site


Lack of countries at shipping address

Probably a sample data issue:

I think this is not an issue as apparel-uk is an example of multi-site storefronts per country (instead of having single storefront with multiple languages, ie. electronics).


field.parent.key  property is coming undefined in @ngxFormly/Core 4.8 version

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[x ] feature request
[ ] support request

Current behavior
expressionProperties: {
focus: 'this.field.parent.key == 0'
}
this.field.parent.key is coming undefined in @ngxformly/core 4.8
as 4.8 is the current stable version
Expected behavior
Should be able to get the parent property
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/angular-pxyxsy
update the dependencies to from the dependencies tab , then this bug will manifest
What is the motivation / use case for changing the behavior?
Need to focus on one of input fields in of repeat type
Please tell us about your environment:
Windows

Angular version: 6.x.x

Browser: [all ]

Language: [all ]

Node (for AoT issues): node --version = 8.x.x

parent was introduced in v5 not availbale in v4.

parent was introduced in v5 not availbale in v4.

Does V5 has breaking changes for V4

see https://github.com/formly-js/ngx-formly/blob/master/UPGRADE-5.0.md

parent was introduced in v5 not availbale in v4.

Could you please incorporate the Parent property in V4.8  or provide a way around to access it in V 4.8, that would be really appreciated as business will only allow stable version of formly and not the Beta Version

sorry not possible, it's a feature that will be only available in v5.


(refactor): migrate all tests and test helper code to TS

woot, all TS now!

get that big blue line for language TS on GitHub haha

for the most part, not much more to do other than .js -> .ts

for the utils had to add some types around

also use ESM instead of CJS in tests and test helpers

require -> import
module.exports -> export

the indentation change here with utils/fixture made git treat
it as a delete + new instead of a rename

This was, of course, done because #627 added lots of tests, and definitely not because TSDX became majority JavaScript after #627. This was definitely not because the majority JavaScript made TSDX classified as a "JavaScript" library

(it actually wasn't, I always wanted to convert the tests to TS, especially after the addition of the grep helper with JSDoc types in #525 (later moved to #627 which got merged first). but I can't say that didn't increase priority 😉 ).

That's better. Although I still don't think it's totally accurate


change loaders

@javierarce  could you take a look?
Change loaders in add layer and add widgets

👍


Edit item

@aamponsah Yeah I changed "/item/:clothingId" to"/items/:clothingId" because I had items/clothingId everywhere in my code, did you want me to change it back? And yes it works


Do not start DTLS session if no Joiner Router is found.

Current coverage is 72.55% (diff: 100%)

Merging #806 into master will decrease coverage by 0.08%

@@             master       #806   diff @@
==========================================
  Files           106        106
  Lines         16058      16060     +2
  Methods        2182       2181     -1
  Messages          0          0
  Branches       1916       1916
==========================================
- Hits          11665      11653    -12
- Misses         3757       3768    +11
- Partials        636        639     +3

Powered by Codecov. Last update 2153e51...c294be9


bug in auto completion when edit behind the completion position

When autocomplete has to edit before the completion position the trimming introduced in https://github.com/tomv564/LSP/pull/295 leads to a bug, see line
You can see an example bellow using Scala with Metals:

Here is the CompletionItem sent back by the server:
{
	'insertTextFormat': 2,
	'data': {
		'symbol': 'example/Foo#myFunction().',
		'target': 'file:/home/ayoub/workspace/testproject/?id=root'
	},
	'detail': 'override def myFunction(): Unit',
	'sortText': '00000',
	'filterText': 'override def myFunction',
	'preselect': True,
	'label': 'override def myFunction(): Unit',
	'kind': 2,
	'additionalTextEdits': [],
	'textEdit': {
		'newText': 'override def myFunction(): Unit = ${0:???}',
		'range': {
			'start': {
				'line': 7,
				'character': 2
			},
			'end': {
				'line': 7,
				'character': 18
			}
		}
	}
}

Expected behavior
Before:
def myF<ctrl+space>

After:
override def myFunction(): Unit = ???

Please note the bug doesn't happen when the prefix is fully specified:

OS and language server: Ubuntu 18.04
How you installed LSP (Package Control or from git?): Package Control version 0.8.2

Any ideas on how to fix this kind of issues ? I am willing to make a PR but first would like to get your thoughts
cc @nanoant

One idea could be that we:

remove the trimming applied here
after completion we add extra logic in CompletionSnippetHandler to remove any leftovers.

We know:

the last prefix
the range of the replacement present in textEdit
that Sublime replaces only the last prefix and not the whole range specified in textEdit

Therefore we can assume that the remaining can simply deleted.
Example
// first
def myF<ctrl+space>

// after user choice we get broken code
def override def myFunction1(): Unit = ???

// finaly delete the borken prefix with a diff between and range and last prefix
override def myFunction1(): Unit = ???

The whole challenge is to somehow know which choice the user make so we can decide which fix we need to apply if need to be
@rwols can you think of a case where this logic would brake things ?

@ayoub-benali Unfortunately, I don't see good solution for this, other than making Sublime Text aware of completion text replacement ranges. The problem is that the completion prefix myFunctionCtrlSpace and its completion text override def myFunction1(): Unit = ??? starts before the prefix.
This is shortcoming of Sublime Text that does not provide explicit way to apply replacement with explicit range. It does only replace current prefix with proposed text, see https://github.com/tomv564/LSP/pull/295#discussion_r175924508.
Therefore I have added feature request to Sublime Text there: https://github.com/SublimeTextIssues/Core/issues/2754

fixed by https://github.com/tomv564/LSP/pull/602


SOLVED - Exception in thread "main" java.util.zip.ZipException: error in opening zip file

please help me a new bie flutter....
when done install, i running but this error :
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[!] Gradle threw an error while trying to update itself. Retrying the update...
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[!] Gradle threw an error while trying to update itself. Retrying the update...
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

Hi @r0ly4udi
Could you try possible Solution?
Thank you

I tried but it doesn't work

Hi @r0ly4udi
Could you try possible Solution?
Thank you

because I checked through the flutter doctor there were no problems, therefore it made me confused

@r0ly4udi
you can try https://github.com/flutter/flutter/issues/13645#issuecomment-362311838 or  https://github.com/flutter/flutter/issues/13645#issuecomment-587455792

@r0ly4udi
you can try #13645 (comment) or #13645 (comment)

I have read the article, but the problem is I do not know the location of the gradle that must be replaced. Even though I have downloaded gradle 6.2 Can you show me, gradle position?

in my app flutter, gradle location :
C:\appfluter\flutter_baru\android\gradle\wrapper
no dists. I confused, how?

Hi @r0ly4udi
Go to flutter_app>android> and delete gradle folder, delete gradlew files and  run the app again using flutter run

Hi @r0ly4udi
Go to flutter_app>android> and delete gradle folder, delete gradlew files and run the app again using flutter run

the gradle directory was deleted and I running flutter run,
show this error :
Using hardware rendering with device Android SDK built for x86. If you get graphics
artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                         0.9s
[!] Gradle threw an error while trying to update itself. Retrying the update...
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                         0.9s
[!] Gradle threw an error while trying to update itself. Retrying the update...
Gradle task assembleDebug failed with exit code 1

this problem has been solved. So what I downloaded is the gradle in our flutter app, then extarct it in C: \ Users \ yourpc \ .gradle \ wrapper \ dists \ gradle-5.6.2-all
Then run your flutter app again. And make sure your internet connection is good. May be useful

Please I just encountered the same problem just now but I have check the gradle wrappera and the DistributionUrls is the same as the : distributionUrl=https://services.gradle.org/distributions/gradle-5.6.2-all.zip.
When I ran the flutter doctor -v all is right except for the licenses for the android that's not right`

`

or better still the raw code....
:\Users\OLIVIA>flutter doctor -v
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18362.356], locale en-US)
• Flutter version 1.12.13+hotfix.8 at C:\flutter
• Framework revision 0b8abb4724 (3 weeks ago), 2020-02-11 11:44:36 -0800
• Engine revision e1e6ced81d
• Dart version 2.7.0
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at C:\Users\OLIVIA\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
X Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed
instructions.
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] VS Code (version 1.42.1)
• VS Code at C:\Users\OLIVIA\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.8.1
[√] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
! Doctor found issues in 1 category.
:\Users\OLIVIA>flutter doctor -v
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18362.356], locale en-US)
• Flutter version 1.12.13+hotfix.8 at C:\flutter
• Framework revision 0b8abb4724 (3 weeks ago), 2020-02-11 11:44:36 -0800
• Engine revision e1e6ced81d
• Dart version 2.7.0
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at C:\Users\OLIVIA\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
X Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed
instructions.
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] VS Code (version 1.42.1)
• VS Code at C:\Users\OLIVIA\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.8.1
[√] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
! Doctor found issues in 1 category.
C:\Users\OLIVIA>flutter run --verbose
[  +17 ms] executing: [C:\flutter] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +176 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +7 ms] 0b8abb4724aa590dd0f429683339b1e045a1594d
[   +2 ms] executing: [C:\flutter] git describe --match v*.. --first-parent --long --tags
[ +129 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[   +1 ms] v1.12.13+hotfix.8-0-g0b8abb472
[  +18 ms] executing: [C:\flutter] git rev-parse --abbrev-ref --symbolic @{u}
[ +135 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[        ] executing: [C:\flutter] git ls-remote --get-url origin
[ +118 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +178 ms] executing: [C:\flutter] git rev-parse --abbrev-ref HEAD
[ +135 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[ +119 ms] "flutter run" took 248ms.
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Do not run this command from the root of your git clone of Flutter.
#0      FlutterCommand.validateCommand (package:flutter_tools/src/runner/flutter_command.dart:690:9)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:285:19)
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:590:11)
#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:515:33)

#4      AppContext.run. (package:flutter_tools/src/base/context.dart:146:29)
#5      _rootRun (dart:async/zone.dart:1126:13)
#6      _CustomZone.run (dart:async/zone.dart:1023:19)
#7      _runZoned (dart:async/zone.dart:1518:10)
#8      runZoned (dart:async/zone.dart:1465:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:505:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#12     FlutterCommandRunner.runCommand.
(package:flutter_tools/src/runner/flutter_command_runner.dart:413:21)

#13     AppContext.run. (package:flutter_tools/src/base/context.dart:146:29)
#14     _rootRun (dart:async/zone.dart:1126:13)
#15     _CustomZone.run (dart:async/zone.dart:1023:19)
#16     _runZoned (dart:async/zone.dart:1518:10)
#17     runZoned (dart:async/zone.dart:1465:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:19)
#20     CommandRunner.run. (package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:250:18)
#24     run.. (package:flutter_tools/runner.dart:63:22)
#25     _rootRun (dart:async/zone.dart:1126:13)
#26     _CustomZone.run (dart:async/zone.dart:1023:19)
#27     _runZoned (dart:async/zone.dart:1518:10)
#28     runZoned (dart:async/zone.dart:1502:12)
#29     run. (package:flutter_tools/runner.dart:61:18)

#30     AppContext.run. (package:flutter_tools/src/base/context.dart:146:29)
#31     _rootRun (dart:async/zone.dart:1126:13)
#32     _CustomZone.run (dart:async/zone.dart:1023:19)
#33     _runZoned (dart:async/zone.dart:1518:10)
#34     runZoned (dart:async/zone.dart:1465:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#36     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
#37     run (package:flutter_tools/runner.dart:50:10)
#38     main (package:flutter_tools/executable.dart:65:9)
#39     main (file:///C:/b/s/w/ir/k/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40     _startIsolate. (dart:isolate-patch/isolate_patch.dart:305:32)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

Hi @lappiahnuamah
Can you please try this solution?
Thank you

Hi @lappiahnuamah
Goto SKD manager > sdk tools > uncheck hide obselete packages > check android sdk tools (obsolete) > click apply
after downloading > run flutter doctor -v
it solved mine

I just ran flutter upgrade and flutter clean and it solved this issue in my case.

Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                         3.4s
[!] Gradle threw an error while trying to update itself. Retrying the update...
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                         1.6s
[!] Gradle threw an error while trying to update itself. Retrying the update...
Gradle task assembleDebug failed with exit code 1

Try replacing the file

first go to C:\Users\hash.gradle\wrapper\dists\

then delete all gradle file. replace the gradle that you can download it from here [(https://services.gradle.org/distributions/`)]

Could everyone still having this issue, check this comment

gradle zip file was not downloaded successfully in C:\Users<User-account>.gradle\wrapper\dists
so delete the gradle file(the uncompleted gradle version) .. then let it download it again by running flutter run
in my case flutter tries to download gradle-5.6.2-all which include the zip file inside

Delete gradle folders under C:\Users.gradle\wrapper\dists.  Reopen ANDROID directory project in Android Studio.  Let the Gradle setup.  It may take 5-10 minutes.
Be patient

.grade/wrapper/dist will be a hidden file and there will be several such folders in project,android folder and your home
Find the folder and delete the corrupted file and run it

better update the distributionUrl url to the latest one or the one you have with other flutter project in gradle_arapper.properties file.
distributionUrl=https://services.gradle.org/distributions/gradle-5.6.2-all.zip

There must be error while downloading Graddle File. Check the following code in the gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-6.6.1-all.zip
In my case there is a additional '' after 'https' and the number was older version, But correcting it worked for me. U can refer the below website to know the latest available version of file type "all.zip" and Update the number or whole link properly and as it is around 130 mb. you need to have an active internet connection and wait for a while by pressing Run once. There is no need to worry until u see any red lines.
https://services.gradle.org/distributions/

Please I just encountered the same problem just now but I have check the gradle wrappera and the DistributionUrls is the same as the : distributionUrl=https://services.gradle.org/distributions/gradle-5.6.2-all.zip.
When I ran the flutter doctor -v all is right except for the licenses for the android that's not right`

`

did your problem solve or not?

this problem has been solved. So what I downloaded is the gradle in our flutter app, then extarct it in C: \ Users \ yourpc \ .gradle \ wrapper \ dists \ gradle-5.6.2-all
Then run your flutter app again. And make sure your internet connection is good. May be useful

but how to do this,can u explain little more clear

this problem has been solved. So what I downloaded is the gradle in our flutter app, then extarct it in C: \ Users \ yourpc \ .gradle \ wrapper \ dists \ gradle-5.6.2-all
Then run your flutter app again. And make sure your internet connection is good. May be useful

Is the graddle is zip ?

yes go to https://services.gradle.org/distributions/ and download the
gradle--all.zip file, usually the the one having more space
On Fri, 16 Oct 2020, 22:43 Fhel Jhon V. Feliciano<EMAIL_ADDRESS>wrote:

this problem has been solved. So what I downloaded is the gradle in our
flutter app, then extarct it in C: \ Users \ yourpc \ .gradle \ wrapper
dists \ gradle-5.6.2-all
Then run your flutter app again. And make sure your internet connection is
good. May be useful
Is the graddle is zip ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/51195#issuecomment-710246338,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQYQ6DGUFKQJP7W7TINL62TSLB5MNANCNFSM4KZDCMMQ
.

it is simple just go to gradle-wrapper.properties in android folder and in distributionUrl gradle-5.6.2 make it gradle-5.6.1 should be work

please help me a new bie flutter....
when done install, i running but this error :
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[!] Gradle threw an error while trying to update itself. Retrying the update...
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[!] Gradle threw an error while trying to update itself. Retrying the update...
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

Browse to the official Gradle Distributions webpage and check what is the latest version of gradle all.zip file, for example (at the time of writing) gradle-6.7-all.zip and copy the address
Go to your Flutter project drop down,
drop down android>gradle>wrapper
Select gradle-wrapper-properties
Paste the URL you copied earlier. For example,
distributionurl=https://services.gradle.org/distributions/gradle-6.7-all.zip

this problem has been solved. So what I downloaded is the gradle in our flutter app, then extarct it in C: \ Users \ yourpc \ .gradle \ wrapper \ dists \ gradle-5.6.2-all
Then run your flutter app again. And make sure your internet connection is good. May be useful

its not working in linux

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

The issue as shown here is Android status unknown

First go to gradle.wrapper.properties and check gradle version (E.G distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip is 6.7)
Then go to C:\Users\current_user\.gradle\wrapper\dists and delete the folder named the the same as gradle version(6.7 in above example)
And build project (flutter run) again

Using finder, while showing hidden files, delete the gradle folder in :
users/{your-username}/.gradle/dists/{gradle-folder}
In your flutter project run : flutter run
Note: Make sure you have a good internet connection.


Add TLS certificates to Docker image

Hello, the docker image published to ghcr.io/equinix-labs/otel-cli:latest is very helpful in running otel-cli in containerized/k8s environments. However, it has issues sending data to any TLS endpoints as certificates are not included the image. All TLS requests fail with the following:
2023/11/09 16:57:00 rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate signed by unknown authority"

Would it be possible to update the Dockerfile to use a base image with certificates installed?
Example of running the image in k8s where certificates are needed:
kubectl run otel-cli \
    --image=ghcr.io/equinix-labs/otel-cli:latest \
     --env "OTEL_EXPORTER_OTLP_ENDPOINT=ingest.lightstep.com:443" \
     --env 'OTEL_EXPORTER_OTLP_HEADERS="lightstep-access-token=..."' \
     --command -- ./otel-cli span --verbose -n testing -s k8s_span

Currently have a fork of the image being built here: https://github.com/lightstep/otel-cli-with-certs

I was just thinking about this the other day. My thought was to add instructions for using volumes to get the system SSL certs into the container, but I suppose making things easy on users is best done by including the cert package. Will do in the next release.

PR'ed #295 please review if you have a moment. I'll cut a release soon so you can simplify your workflow.

I guess I didn't fully release 0.4.2. 0.4.3 is out and includes these changes. Thanks for the issue!


Support processor parameters

Some functions in fake package accept arguments, e.g. DigitsN. Does Gonymizer support passing parameters to processors? Seems like it doesn't, but I might be missing something. If not, do you have any plan on this?

The plan was to use the min and max values inside the map JSON file for mapping input data to the faker function. For example, if a faker function only requires one input value one could use either min, max, or both for the value they want to send to the processor function and then handle sending that value into the Faker library.
AFAIK this capability is already there. You just need to get the value from the Processor structure.
            "Processors": [
                {
                    "Name": "Identity",
                    "Max": 0,
                    "Min": 0,
                    "Variance": 0,
                    "Comment": ""
                }
            ]
        },

       {
            "Comment": "",
            "TableSchema": "public",
            "TableName": "customers",
            "ColumnName": "customerid",
            "DataType": "integer",
            "ParentSchema": "",
            "ParentTable": "",
            "ParentColumn": "",
            "OrdinalPosition": 1,
            "IsNullable": false,
            "Processors": [
                {
                    "Name": "Identity",
                    "Max": 0,
                    "Min": 0,
                    "Variance": 0,
                    "Comment": ""
                }
            ]
        },

Will look into it, thanks!


[Event Simulator] Unable to add a new simulation source for an existing Feed Simulation after deleting the Source

== Steps to Recreate ==

Start the editor, go to event simulator and the select 'Feed Simulation'
Create a feed simulation with 'CSV file' as the simulation and save.
Click 'Edit' of the created simulation and delete the source by clicking the delete button near 'Source 1 - CSV File'
Select 'CSV file' as simulation source and click 'Add New'
Try to select 'Siddhi App Name', 'Stream Name' or 'CSV File' from dropdown list

== Actual Result ==
Unable to expand from drop down list to select above fields
== Expected Result ==
Existing Siddhi Apps, streams and csv files should be expand when clicking each drop down list.

this if fixed with PR https://github.com/wso2/carbon-analytics/pull/423 @maneeshaheshan please review and close

Verified with M12 distribution.


Drag gesture not working

For some reason when I drag on top of the component it doesn't do anything, I just can see reflected the current page passed as a prop, but can't change the page by dragging on top of the component.

@sauldom102 Can you post the code snippet on how you are using the component? I've seen this problem when I didn't define a width and height using the style prop.
For example, this is how I have configured our project.
        <PageControlView
          currentPage={currentPageState}
          hidesForSinglePage
          numberOfPages={3}
          onPageChange={(event) => {
            currentPage.value = event.nativeEvent.currentPage
          }}
          currentPageIndicatorTintColor={Colors.primary}
          pageIndicatorTintColor={Colors.gray}
          style={{ width: 60, height: 20, display: data.length > 0 ? 'none' : 'flex' }}
        />


drag and drop

i want to upload files on submit button in drag and drop example

this is not possible with drag&drop


ParseAnonymousValue issue

I cannot understand that str.Replace("\\", string.Empty); at 283 line in JSONParser.cs
When I try to parse {"abc": "he\rllo"}，I got {"abc": "herllo"}

Same issue .. I guess I remove that line and see if I encounter any issues.
@yangruihan have you done this already, was it working for you?

Ok this fix seems to work for me:  Replace "anonymous string parsing" with function that does "known string parsing".
Before:
{                 string str = json.Substring(1, json.Length - 2);                 return str.Replace("\\", string.Empty);             }
after:
{                 return ParseValue(typeof(string), json);             }


[XML-to-XSD] Support XSD validation for data.xmldatamodule

There are few sub tasks in this task

[x] https://github.com/ballerina-platform/ballerina-library/issues/6936
[ ] https://github.com/ballerina-platform/ballerina-library/issues/6937

Currently, the Flat sequences and Flat choice elements in the XSD are implemented with the tests according to the https://docs.google.com/document/d/1nz-Osw3kyLpSzkBfZkGIcM0BPzth_ScEVeatAYrXFMw/edit?tab=t.0#heading=h.xzw1i3ooqc6v

Created a document with possible XML to record options
Currently this is under the review

I was able to implement the XSD choice, choice arrays, XSD sequences and sequences arrays for the XSD along with Element occurences.
Following are some testcases with the implementation


Specialization confuses type propagation?

I was looking into why #235 gets slower, and it seems like specializing words confuses the compiler in a couple ways:
benchmark.yuv-to-rgb
Looking at the optimized. output  for benchmark.yuv-to-rgb, before #235:
            "COMPLEX SHUFFLE" >R >R "COMPLEX SHUFFLE"
            "COMPLEX SHUFFLE"

And after specializing nth and set-nth it, it adds useless code (dup tag ...):
            "COMPLEX SHUFFLE" >R >R "COMPLEX SHUFFLE" dup tag 0
            eq? [ ] [ ] if
            "COMPLEX SHUFFLE"

benchmark.tuple-arrays
In the case of benchmark.tuple-arrays, its a little different, before it uses fixnum primitives:
                    "COMPLEX SHUFFLE" >R >R swap >R fixnum*fast
                    R> 2dup "COMPLEX SHUFFLE" >R R> >R R> swap
                    2 fixnum+fast slot
                    "COMPLEX SHUFFLE" "COMPLEX SHUFFLE" 1
                    "COMPLEX SHUFFLE"
                    ( 6342045 6347969 6347971 -- 6342045 6347969 6347971 6347969 6347971 )
                    "COMPLEX SHUFFLE" >R fixnum+fast
                    R> >R R> swap 2 fixnum+fast slot

And after, it checks for fixnum tag and has two code paths involving bignums:
                    "COMPLEX SHUFFLE" >R >R swap >R fixnum*
                    R> 2dup "COMPLEX SHUFFLE" >R R> over tag 0
                    eq?
                    [ >R R> swap 2 fixnum+fast slot ] [
                        >R bignum>fixnum R> swap 2 fixnum+fast
                        slot
                    ] if
                    "COMPLEX SHUFFLE" "COMPLEX SHUFFLE" 1
                    "COMPLEX SHUFFLE"
                    ( 6641667 6647932 6647934 -- 6641667 6647932 6647934 6647932 6647934 )
                    "COMPLEX SHUFFLE" >R dup tag 0 eq?
                    [ fixnum+ ] [ >R fixnum>bignum R> bignum+ ]
                    if R> over tag 0 eq?
                    [ >R R> swap 2 fixnum+fast slot ] [
                        >R bignum>fixnum R> swap 2 fixnum+fast
                        slot
                    ] if

For what its worth, this is what I was testing:
+\ nth { fixnum object } "specializer" set-word-prop
+
+\ nth-unsafe { fixnum object } "specializer" set-word-prop
+
+\ set-nth { fixnum object } "specializer" set-word-prop
+
+\ set-nth-unsafe { fixnum object } "specializer" set-word-prop

Specializing nth on the index won't help, because it's not dispatched on index type, and pretty much everything already assumes sequences can only be indexed by fixnums and >fixnums the index already.

@jckarter: why does it make benchmarks 5% faster then?  Aside from a couple minor regressions due to this bug?

You could try checking for and rejecting bignums in bounds-check so that the index is already propagated as a fixnum by the time it reaches nth-unsafe:
: check>fixnum ( n -- n' )
    dup fixnum? [ [ >fixnum dup ] keep = [ bounds-error ] unless ] unless ; inline
: bounds-check ( n seq -- n seq )
    [ check>fixnum ] dip
    2dup bounds-check? [ bounds-error ] unless ; inline

That way you don't have the extra branch and code bloat specialization introduces.

While it is usually a fixnum, its not necessarily:
( scratchpad ) 101 2^ [0,b] last bignum? .
t

I'm cool with restricting it to fixnum's, but thought it would be better to assume fixnum is the "typical" case, but not be restrictive...

I was thinking primarily of arrays and strings, which are limited by the VM to fixnum size.

So bounds-check would be a generic here and limit to fixnum on strings/arrays?

Pretty much all real in-memory sequences are for practical purposes constrained to fixnums because they're built from VM-provided sequences. Are there any sequence types other than ranges that can be expected to accommodate bignum indices? How often are you going to iterate over a range with more than 2^60 elements?

The problem is nth calls bounds-check, so if bounds-check only worked on fixnums, you couldn't access random elements from some hypothetical virtual sequence like a range from 0 to 2^101.

If specializing on fixnum is faster, it may be faster in general if the compiler could use interval analysis to emit a single conditional at the beginning of a block to dispatch to fast fixnum primitives, overflowing fixnum primitives, or bignum primitives must be used, instead of emitting the dispatch test for every operation. For instance, { fixnum } declare 2 + 3 * could generate $[ most-positive-fixnum 3 /i 2 - ] < [ 2 fixnum+fast 3 fixnum*fast ] [ 2 fixnum+ 3 fixnum* ] instead of dispatching on both + and *.

@jckarter: I think fixing #224 will make this easier.

In particular, the problem with prohibiting bignums as indices is that stuff like '3 >bignum "hello world" nth' won't work. And coercing the index to a fixnum prior to the bounds check will make this return the 0th element instead of an out of bounds error, which can cause security problems: '100 2^ "hello" nth'.

I'm looking at the original issue (stupid code emitted by specializer) right now.

I can't get the 'tag 0 eq? [ ] [ ] if' to show up in optimized. output. Even then, the low level optimizer deletes empty conditionals anyway.
As for the other issue, it is to be expected. Look at this for instance,
[ { integer } declare dup fixnum? [ 3 * 5 + >fixnum ] [ 3 * 5 + >fixnum ] if ] optimized.
[ { integer } declare 3 * 5 + >fixnum ] optimized.
The unhinted version actually results in simpler code because the fixnum coercion is hoisted up.
Basically, hints are not a panacea and shouldn't be used everywhere. I think the original issues you had with index types are better addressed by fixing #224, so I'm closing this bug now. If you think I missed something, let me know. Maybe there's another bug here.


Getting segmentation fault on ffi gem

On 2.2.1, I seem to now be getting the following error:
/bundle/gems/ffi-1.15.4/lib/ffi/library.rb:275: [BUG] Segmentation fault at 0x0000aaab00000020

Note that I'm running on Apple Silicon (aarch64) macOS Monterey. Anyone having a similar issue? I suspect it's due to aarch64. I suspect it's likely due to new sassc-rails dependency which seems to be dependent on a different version of ffi.

It seems there are several similar open issues on ffi related to macOS on M1 worth following (ex. https://github.com/ffi/ffi/issues/864)

Closing due to inactivity.


Usage with kpt

README could use documentation on how to use kubectl-validate with kpt

can I contribute on this issue as i am a newbie

can u assign me on this issue as i am a beginner in opensource

/assign


--watch re-runs tests twice if a test file is changed

Given: running tap -w inside an npm script
When: I change a test file (index.spec.js)
Then: node-tap re-runs the tests, pauses for a second, then (incorrectly) runs them again
What I want to happen: when running node-tap in watch mode, on file change it should only re-run tests once.
Setup
- src
- src/index.js
- tests
- tests/index.spec.js

Strangely, the desired behaviour happens when changing the file under test (src/index.js) i.e. the tests only re-run once.
src/index.js
export function something(value) {
    return ++value;
}

src/index.spec.js
const tap = require('tap')
const { something } = require('../src/index')

tap.pass('this is fine')

tap.test('this is a nice test', (t) => {
    const actual = something(2)
    tap.equal(actual, 3)
    t.end()
})

Clearing the console between runs
To tack this on here: is there a way to clear the console output between runs?

I can't seem to reproduce this.  Every time I modify either the src or the test file, it only runs one time.  Maybe you're editing while it's running, and that's queuing up another run?  (Which, if so, would be by design.)
Clearing the screen is a good idea, but I think doing it by default might be annoying sometimes.  (I often like to compare output as I'm editing tests.)  I'll add a cls command to the repl.

cls repl command is in v14.4

Maybe you're editing while it's running, and that's queuing up another run? (Which, if so, would be by design.)

I'm not editing while it's running. I make a change and save the file in VS Code, switch to the terminal, wait a few seconds...watch the test run, then watch it run again.
This happens if I edit the file in vim too.
If you can't reproduce I must be doing something obviously wrong, but I've set up tap in a new folder with only one src file and one test file.
Ooh! Found something! If I rename the tests folder to test then the tests only re-run once on file save. That's odd.

Ok, that's weird.  I can reproduce it with a folder named tests plural.  Digging in now.

I had created the folder named "test", just muscle memory I guess.

Ok, so, the issue is this:
NYC automatically excludes the test/ directory from coverage.  However, it does not automatically exclude testS/ from coverage.  It also automatically excludes *.test.js, but not *.spec.js.  This means that when your tests run, the process info index tracks that a file named /path/to/project/tests/index.spec.js was run.  It also tracks that the process named tests/index.spec.js loaded the file at /path/to/project/src/index.js.
The process name (externalId in NYC parlance) is the relative path, but the "files" index is the fully resolved path.  So, it ends up watching both /path/to/project/tests/index.spec.js (as a covered file) and tests/index.spec.js (as a test file).  Since Chokidar was asked to watch both of these paths, it dutifully responds when there's an update, firing an event for both of them.  The first kicks off the test, and the second queues a second test run.
I could fix this by always passing a fully-resolved path to Chokidar, but at least currently, it's depending on getting the non-absolute-path version to resolve when tests change so it can look up in the index and figure out which files were loaded by that test.
I think the better solution here is to not add the tests as fully-resolved file elements if they're already there as relative-path counterparts.  The inverse (ie, not adding relative-path externalId elements if they're already in as files) would be a problem, since it would mean that we aren't able to work back to the test ids to re-run the tests when source files change.

I misspoke in my last paragraph.  It is actually preferable to only watch with the fully-resolved paths.  A covered test will always be included in its own test run, so there's no worry that it won't get picked up properly.
This is fixed on 14.4.1.  Thanks!

Awesome - thank you!!!


Unable to start a master node

I'm trying many versions of docker on many os (Ubuntu, Debian, Centos).
I am having different errors for each combination.
Which precise version of os/docker setup you are using for your tests?
Thanks

Can you provide an example error message?
I'm using Ubuntu 15.10 (aka systemd) and docker 1.11

Launching master.sh:

sed error on centos 7 and api server not starting. From the docker log:

Failed to start /opt/namespace.yaml in namespace
cp: cannot create directory '/srv/kubernetes/addons': Permission denied

debian 8.5

flannel failed to start. Exiting...

ubuntu 16.04 and 14.04

etcd failed to start. Exiting...

I'll try with your setup in an hour.

Ubuntu 15.10 with docker 1.11.2:
+++ [0729 15:48:41] K8S_VERSION is set to: v1.3.3
+++ [0729 15:48:41] ETCD_VERSION is set to: 2.2.5
+++ [0729 15:48:41] FLANNEL_VERSION is set to: 0.5.5
+++ [0729 15:48:41] FLANNEL_IPMASQ is set to: true
+++ [0729 15:48:41] FLANNEL_NETWORK is set to: <IP_ADDRESS>/16
+++ [0729 15:48:41] FLANNEL_BACKEND is set to: udp
+++ [0729 15:48:41] RESTART_POLICY is set to: unless-stopped
+++ [0729 15:48:41] MASTER_IP is set to: <IP_ADDRESS>
+++ [0729 15:48:41] ARCH is set to: amd64
+++ [0729 15:48:41] NET_INTERFACE is set to: eno16777984
+++ [0729 15:48:41] USE_CNI is set to: false
+++ [0729 15:48:41] --------------------------------------------
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  bridge-utils
0 upgraded, 1 newly installed, 0 to remove and 85 not upgraded.
Need to get 28.6 kB of archives.
After this operation, 102 kB of additional disk space will be used.
Get:1 http://it.archive.ubuntu.com/ubuntu/ wily/main bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]
Fetched 28.6 kB in 5s (5,587 B/s)
Selecting previously unselected package bridge-utils.
(Reading database ... 56421 files and directories currently installed.)
Preparing to unpack .../bridge-utils_1.5-9ubuntu1_amd64.deb ...
Unpacking bridge-utils (1.5-9ubuntu1) ...
Processing triggers for man-db (2.7.4-1) ...
Setting up bridge-utils (1.5-9ubuntu1) ...
+++ [0729 15:48:48] Detected OS: ubuntu
+++ [0729 15:48:48] Launching docker bootstrap...
+++ [0729 15:48:49] Launching etcd...
Unable to find image 'gcr.io/google_containers/etcd-amd64:2.2.5' locally
2.2.5: Pulling from google_containers/etcd-amd64
eeee0535bf3c: Pull complete
a3ed95caeb02: Pull complete
d20bb7fd3c64: Pull complete
2a80f583b067: Pull complete
Digest: sha256:ca6b1687b44f9b3a6c74e7139105b0911c3ac696001e5b7260917fcf6e84898d
Status: Downloaded newer image for gcr.io/google_containers/etcd-amd64:2.2.5
9ac61b654e7a0a0ace03ccea950749477d5da013cace8d078467b494aff57b66
!!! [0729 15:50:06] etcd failed to start. Exiting...

Hmm, very stange.
How is your network set up? It might be something special there (eno16777984)
Also, are you using the latest version of docker-multinode?
If that doesn't help, you may also try to check out my PR
What does docker -H unix:///var/run/docker-bootstrap.sock logs {etcd container} say?

I have a standard network configuration with an ethernet card with a static dhcp lease. Note that a month ago (the kube version was 1.2) the deploy on centos was working perfectly.
Now I'm creating a new centos machine (centos 7.1 + docker 1.10.2) and I get this error:
+++ [0729 07:16:28] K8S_VERSION is set to: v1.3.3
+++ [0729 07:16:28] ETCD_VERSION is set to: 2.2.5
+++ [0729 07:16:28] FLANNEL_VERSION is set to: 0.5.5
+++ [0729 07:16:28] FLANNEL_IPMASQ is set to: true
+++ [0729 07:16:28] FLANNEL_NETWORK is set to: <IP_ADDRESS>/16
+++ [0729 07:16:28] FLANNEL_BACKEND is set to: udp
+++ [0729 07:16:28] RESTART_POLICY is set to: unless-stopped
+++ [0729 07:16:28] MASTER_IP is set to: <IP_ADDRESS>
+++ [0729 07:16:28] ARCH is set to: amd64
+++ [0729 07:16:28] NET_INTERFACE is set to: eth0
+++ [0729 07:16:28] USE_CNI is set to: false
+++ [0729 07:16:28] --------------------------------------------
+++ [0729 07:16:29] Detected OS: centos
+++ [0729 07:16:29] Launching docker bootstrap...
+++ [0729 07:16:29] Launching etcd...
Unable to find image 'gcr.io/google_containers/etcd-amd64:2.2.5' locally
Trying to pull repository gcr.io/google_containers/etcd-amd64 ...
2.2.5: Pulling from gcr.io/google_containers/etcd-amd64
eeee0535bf3c: Pull complete
a3ed95caeb02: Pull complete
d20bb7fd3c64: Pull complete
2a80f583b067: Pull complete
Digest: sha256:ca6b1687b44f9b3a6c74e7139105b0911c3ac696001e5b7260917fcf6e84898d
Status: Downloaded newer image for gcr.io/google_containers/etcd-amd64:2.2.5
1eca34385a1d4f52aa37c0d54f551c2e90abf3fe3bd09d6bd40c5d1dbf86dc37
etcd cluster has no published client endpoints.
Try '--no-sync' if you want to access non-published client endpoints(http://<IP_ADDRESS>:2379,http://<IP_ADDRESS>:4001).
Error:  client: no endpoints available
+++ [0729 07:16:35] Launching flannel...
Unable to find image 'gcr.io/google_containers/flannel-amd64:0.5.5' locally
Trying to pull repository gcr.io/google_containers/flannel-amd64 ...
0.5.5: Pulling from gcr.io/google_containers/flannel-amd64
07830e5370fb: Pull complete
a3ed95caeb02: Pull complete
ac83b510edc7: Pull complete
c1af019354ac: Pull complete
Digest: sha256:1556aadebc16f2f9f4061db3b04bce629729655cb10610dda984f97e43f8f64f
Status: Downloaded newer image for gcr.io/google_containers/flannel-amd64:0.5.5
c4954ef92cea04368a717fca688b4b47bd24bde12a7a667681bbcdc85737110f
!!! [0729 07:16:59] flannel failed to start. Exiting...

I give up ... I hope for an ansible playbook for installing kubernetes in the near future ;)
Bye.

All problems solved with latest kube-deploy updates ;)

I'm really glad to hear that! :smile:
And apologies for the earlier a bit flaky state!


slow starting time?

First off, awesome extension.
For my vscode (1.70.2 on win 10) the ext requires 28ms of activation time. Is this normal, could it be cut down?

Thank you 🙂
I think the reported duration before activation is normal.
More context about the api used here.

Released on insiders last feb 14 #142990 (not 100% sure)
Released from insiders to vscode's v1.70.0 release, last aug 5


Adds proper ESM and CJS support and uncouples the directive from the install method

If there's anything I need to change please just let me know.

Hi @OmgImAlexis thanks for the PR, really appreciated. May I know what exactly are the scopes/goals of this PR? Thank you :)

The main two are the get ESM/CJS support properly added and splitting the component out so it can be included by itself.
The ESM/CJS stuff allows people using webpack, etc. to import modules instead of using the compiled file from babel. This means tree-shaking, etc. all works now.
Splitting the directive out of the install method allows using this like so which I prefer as it means I'm not polluting the global component registry.
<template>
  <img src="foo.png" v-img-fallback="imgFallback">
</template>

<script>
import { ImgFallback } from 'v-img-fallback';

export default {
  components: {
    ImgFallback
  },
  data: () => {
    imgFallback: {
      loading: 'path/to/loading/image',
      error: 'path/to/error/image'
    }
  }
};
</script>

Great! @OmgImAlexis Thanks. Will publish this soon.

@jofftiquez thank you so much. If you find any issues related to these changes anywhere into the future at all please don't hesitate to tag me and I'll be sure to help fix the issue. 😄

@OmgImAlexis I sure will. I still got more plugins that need PR tho, you might wanna check them out too 😝 Thanks again!


added the zk-proof writeup from concordium

Adding the excellent write up of approach to ZK-proofs that makes the registry operator less dependent on storing m and r values for pedersen-commitments/proofs. This method will significantly reduce the operational complexity of a registry and encapsulate domain knowledge.
Please feel free to change this document if the prerequisites have changed.

Closing this PR and removing branch documentation/concepts/zk-proofs due to unfortunate rebasing


Optimize for mobile

[x] Add media queries to create general moble layout

Mostly works on mobile, still some errors. Overlay is not fitting whole screen, X overflow still occuring

Completed


Package Requested

[ ] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[ ] I have performed a search and couldn't find this package.
[ ] I have checked that the installer for this package is not a standalone or portable executable or a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: David THOIRON
Publisher Url: https://fotosketcher.com
Package Name: FotoSketcher
Description: Turn your photos into art with FotoSketcher.
Package Version:  3.80
Current Package Identifier: DavidTHOIRON.FotoSketcher
This request has been done due to:
https://github.com/microsoft/winget-pkgs/issues/55987
Issue #55987
Issue Summary:
Using "winget upgrade --all" it reinstalls FotoSketcher 3.80 over and all over again.

According to @KaranKad  the issue was being fixed on the latest preview version of winget. So I will just have to wait.
Issue Closed due to a fix on the preview version.


Handle minor amount values

Financial APIs use minor values in order to avoid any invalid amounts or ambiguous encoding.
As this library stands, it is unable to handle parsing amounts from or writing amounts to a string in minor units.  ToMinorUnits risks overflow attacks on int64 datatype.

Let's add a NewFromMinorUnits() which parallels ToMinorUnits(), and use strings for both.
How does that sound?

I'm experimenting with a type currency.Minor that embeds an amount, so the encoding/decoding can be handled properly, as well.

Fixed in e18a43233c0ec25e3ad0d130e580d56d6d031158.
Followup: https://github.com/bojanz/currency/pull/11


Remove QualifiedDeclNameSyntax in favor of MemberAccessExprSyntax

QualifiedDeclNameSyntax is only used for the @derivitave(of:) attribute. Everywhere else we model it as a MemberAccessExprSyntax. We should do the same for @deriviate(of:) and remove the QualifiedDeclNameSyntax node.

Tracked in Apple’s issue tracker as rdar://113236775


[ESP32] Added door lock support for esp32.

Problem

ESP32 don’t have handling of door lock in lock-app.
all cluster app using linux door-lock
Fixes https://github.com/project-chip/connectedhomeip/issues/24015.

Changes

Added support of door lock for esp32

Testing

Tested commissioning and door lock/unlock for esp32.

approved as a re-roll of the previous rollback in #24531


Ballerina SDK is not detected in environment without setting the ballerina.home in VSCode

Description:
For ballerina SDK to be detected in VSCode, setting ballerina.home is required. Without this setting, the following warning is popped. This happens with the SLAlpha3 VSCode Plugin with v1.2.13 as the runtime.

Steps to reproduce:
pull ballerina 1.2.13
$ bal dist pull 1.2.13
verify 1.2.13 is the active distribution
$ bal version
create a ballerina project and add a module
$ bal new proj1
$ cd proj1
$ bal add serv1
open a bal file in the project in vscode
$ code src/serv1/service.bal

Need to test on Windows and add respective docs.

Will be addressed with https://github.com/ballerina-platform/plugin-vscode/issues/62


Power Automate Switching Environments Docs

The Switching environments section of the Power Automate Choosing an environment page appears to be outdated.
You no longer choose your environment under your profile. The Environments menu now has it's own place in the menu bar at the top right. See screenshot below.

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

ID: 66ddd5e3-db39-4f50-4be4-71ae16dd19d2
Version Independent ID: 61cafb41-19d2-24cc-a17f-85a36b22b4fa
Content: Learn about Power Automate environments - Power Automate
Content Source: articles/environments-overview-maker.md
Service: power-automate
Sub-service: cloud-flow
GitHub Login: @MSFTMan
Microsoft Alias: deonhe

@AJ-Acevedo Thansk for using Power Automate and for reporting this issue. It's now fixed and you'll see the update live within 24 hours.


Support transmux RTC to RTMP.

This PR supports:

Refine audio transcoder for transcoding aac to opus.
Support transcode opus to aac.
Support transmux RTC to RTMP.

Why it's so important?

RTC DVR, we publish stream by WebRTC. The stream is h.264+opus,  so the audio is transcoded to aac, then SRS will DVR to FLV or MP4 file.
In a video room, there might be some WebRTC streams, which can be transmux to RTMPs. We can use FFmpeg to transcode and merge RTMP streams, then publish as live. That is transcode a video room to a RTMP stream.
Publish by WebRTC and play by RTMP, which use Chrome as a encoder for live broadcasting.

What's now and next?

Now this PR supports transmux WebRTC to RTMP.
After merged, it's able to DVR WebRTC stream.
In the near future, we will write some demos for video room and transmux it to live streaming.

Codecov Report

Merging #2303 (5ef71f4) into develop (0b62216) will increase coverage by 0.34%.
The diff coverage is 0.00%.

:exclamation: Current head 5ef71f4 differs from pull request most recent head 705f8a8. Consider uploading reports for the commit 705f8a8 to get more accurate results

@@             Coverage Diff             @@
##           develop    #2303      +/-   ##
===========================================
+ Coverage    38.26%   38.61%   +0.34%
===========================================
  Files          108      108
  Lines        40126    40386     +260
===========================================
+ Hits         15355    15594     +239
- Misses       24771    24792      +21

Impacted Files
Coverage Δ

trunk/src/app/srs_app_config.cpp
64.24% <0.00%> (-0.40%)
:arrow_down:

trunk/src/app/srs_app_config.hpp
0.00% <ø> (ø)

trunk/src/app/srs_app_listener.cpp
10.89% <0.00%> (-0.04%)
:arrow_down:

trunk/src/app/srs_app_rtc_codec.cpp
0.00% <0.00%> (ø)

trunk/src/app/srs_app_rtc_conn.cpp
9.47% <0.00%> (-0.13%)
:arrow_down:

trunk/src/app/srs_app_rtc_source.cpp
9.73% <0.00%> (-2.47%)
:arrow_down:

trunk/src/app/srs_app_rtc_source.hpp
0.00% <0.00%> (ø)

trunk/src/app/srs_app_rtmp_conn.cpp
0.00% <0.00%> (ø)

trunk/src/app/srs_app_source.cpp
0.75% <0.00%> (+<0.01%)
:arrow_up:

trunk/src/kernel/srs_kernel_rtc_rtp.cpp
17.50% <0.00%> (-0.31%)
:arrow_down:

... and 8 more

Continue to review full report at Codecov.

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

在直播连麦中开启rtc_to_rtmp时，浏览器的播放窗口黑屏，code的值为400，改如何解决呢？


Add default query setting

close #14
Adding "Default query" settings for easy and quick use

Hi, this functionality can already be achieved using Commander, but I am willing to merge it. I have one suggestion, and that is to add a description to the new option you added to the settings page, so it's easier to understand.

You will also need to update the tooltip of the ribbon button when the user changes the behavior of it. This is hard, so that is why it might be better to just use Commander.

Updated

Hi, this functionality can already be achieved using Commander, but I am willing to merge it. I have one suggestion, and that is to add a description to the new option you added to the settings page, so it's easier to understand.

Sorry, I didn't read the readme carefully and didn't notice the commader plugin 😅


ButtonWidget does not display SvgImage

Mapsui Version
4.1.0-preview.1
Mapsui Platform
Tested on MAUI but probably on all.
Device
Tested on Windows but probably on all.
Describe the bug
The ButtonWidget has a SvgImage field of type string, which is intended to show that svg as image in the button but it shows no nothing and does not log a warning.
To Reproduce
Steps to reproduce the behavior:

Pull the branch of the PR https://github.com/Mapsui/Mapsui/pull/2202
Run the 'Button' sample under 'Widgest'. The image buttons (top right and bottom right) are missing.

Screenshots
This is what it should look like:

Additional context
Stepping through the code it looks like the svg images is expected to be loaded as a SKPicture but is not and then ignored.
    button.Picture ??= button.SvgImage?.LoadSvg();

    var picture = button.Picture as SKPicture;

    if (picture == null)
        return;

Fixed with https://github.com/Mapsui/Mapsui/pull/2207.