iOS **** BUILD ERROR ****

Connection to localhost port 8081 [tcp/sunproxyadmin] succeeded!
Port 8081 already in use, packager is either not running or not running correctly
Command /bin/sh failed with exit code 2
*** I checked after the process completed and port was NOT in use anymore ?!?!?!
*** I've followed dozens of blogs on this issue and NO luck so far...
** BUILD FAILED **
The following commands produced analyzer issues:
Analyze /Users/myfolder/ReactNative/MyIgniteProject/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c
Analyze /Users/myfolder/ReactNative/MyIgniteProject/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c

(2 commands with analyzer issues)
The following build commands failed:
PhaseScriptExecution Start\ Packager /Users/myfolder/ReactNative/MyIgniteProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/MyIgniteProject.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/MyIgniteProject.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
LIBRARIES:
Yarn v0.27.5
Node v7.6.0
Ignite v2.0.0

🔥 igniting app MyIgniteProject
✔ using the Infinite Red boilerplate v2 (code name 'Andross')
✔ added React Native 0.45.1 in 159.58s
? Would you like Ignite Development Screens? Yes
? What vector icon library will you use? react-native-vector-icons
? What internationalization library will you use? react-native-i18n
? What animation library will you use? react-native-animatable
✔ added ignite-ir-boilerplate in 16.12s
✔ added ignite-dev-screens in 40.85s
✔ added ignite-vector-icons in 22.86s
✔ added ignite-i18n in 15.04s
✔ added ignite-animatable in 13.67s
✔ added ignite-standard in 42.93s
✔ configured git
✔ ignited MyIgniteProject in 432.15s
PLEASE HELP

You’ve got a second packager running. Find that and close it down.

hello again... skellock ... thanks for your help.
I tried to kill all node processes and I ran the react process again...
As you can see I got cleared on port 8081, but somehow the ERROR pops again right after that check.... Any pointers ?

PhaseScriptExecution Start\ Packager /Users/myfolder/ReactNative/MyIgniteProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh
cd /Users/myfolder/ReactNative/MyIgniteProject/node_modules/react-native/React
/bin/sh -c /Users/myfolder/ReactNative/MyIgniteProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh
Connection to localhost port 8081 [tcp/sunproxyadmin] succeeded!
Port 8081 already in use, packager is either not running or not running correctly
Command /bin/sh failed with exit code 2
** BUILD FAILED **

Can you try starting the packager manually?
npm start
Then, in a 2nd terminal shell, launch react-native run-ios only when you see the first command succeed.
If the packager fails (from the 1st command) you'll see instructions about kill the rogue packager with lsof.

Guess what skellock ??? After days of desperate search through dozens of sites, I came to find the answer, a definite solution and a great NEW friend, here at Ignite's github page. Can't thank you enough!!! Cheers!!!
NOTE: the only thing I would add to your post is this... before you follow these steps, open TWO terminal windows cmd + T (to open side by side) and the proceed to enter each command on each opened tab. Third step was not necessary. KUDOS!!!

Hah! Glad you’re up & running. Now get to work building that app! 😛

@inglesuniversal how did you solve your issue? Cause it seems that I have the same one on my starter project? Thanks in advance.

Hi all,
Need help, can't get it working.

I ran this "npm start" in first terminal

React packager ready.

Loading dependency graph, done.

Then I ran this "react-native run-ios" in second terminal

    /usr/bin/codesign --force --sign - --timestamp=none /Users/eric/Documents/Codes/learn/reactnative/mySecondProject/ios/Build/Products/Debug-iphonesimulator/mySecondProject.app/PlugIns/mySecondProjectTests.xctest

** BUILD SUCCEEDED **

The following commands produced analyzer issues:
    Analyze /Users/eric/Documents/Codes/learn/reactnative/mySecondProject/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c
    Analyze /Users/eric/Documents/Codes/learn/reactnative/mySecondProject/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c
(2 commands with analyzer issues)

Installing build/Build/Products/Debug-iphonesimulator/mySecondProject.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/mySecondProject.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Any idea what's the issue?
I am using this
Mac OS Sierra 10.12.6
Latest Xcode 8.3.3
node 8.4.0
npm 5.4.1
react native - tested both 0.47.2 and 0.48.2
react-native-cli - 2.0.1
yarn 0.20.0
I have also tried the following and won't worked

manually downloading all the files and stored into ~/.rncache
rm -rf npm_modules, then run "npm install"
react-native-git-upgrade
remove ios/build and run "react-native run-ios" again

just "react-native run-ios" won't work
FYI, open in xcode and run it will work. Just many warnings as below
https://imgur.com/a/TyBGa
Just wonder how come command line won't work?
Thanks.

Hi guys, running into this same issue too. Xcode 9, macos 10.12.6, node 9.4, npm 5.3, react-native-cli 2.0.1. these are the things i have tried:

react-native upgrade (using the new react-native-git-upgrade)
killing whatever is using port 8081 with lsof -n -i4TCP:8081
manually running npm start and then react-native run-ios

CFBundleIdentifier is in ios/PizzaApp/info.plist
what else could be the cause of this?

Still getting this issue too.  Any ideas?

Looks like the problem solved for me when I did not choose internalization which is where the issue seems to be
What internationalization library will you use? (Use arrow keys)
❯◯ none
◯ react-native-i18n

run in your terminal: killall -9 node
That solved it for me!

In react-native: 0.60.5
Go to . > [Your Project] > ios > [Your Project].xcodeproj > project.pbxproj.
Change all the port 8081 to 8089(example)

Thanks！But I dont't konw why...


[6.0] [DebugInfo] Fix PhiExpansion losing debug info

Explanation: When replacing a struct with its field, it now emits a debug_value with a fragment, instead of dropping the debug_value.
Scope: Salvages lost debug values in PhiExpansion
Original PR: #73404
Risk: Low, salvages dropped debug values in PhiExpansion only.
Testing: A new test has been added
Issue: None
Reviewer:  @adrian-prantl

@swift-ci please test

@swift-ci please test Linux platform


Flux example

Hi,
It would be really helpful to provide a simple Flux example where the user drops the files, then clicks upload to send them to the server.  How hard is it to accomplish this? I'd be willing to help on that if you give me some pointers.  Like how do I call processQueue() given that I don't have access to that method directly from your component.
Thanks,
minimaximus

I pushed out a fix and re-published to NPM which should resolve the issue. I'll leave this open til end of day, just in case you run into any other problems.
Thanks for pointing this out and apologies for any frustration this caused.
Erik

Hey,
I'm not a heavy Flux user, so I probably wouldn't provide the best example - any and all help is very welcome! To access processQueue, simply provide a handler for the init event, which has the dropzone as its parameter (https://github.com/felixrieseberg/React-Dropzone-Component#callbacks).
var eventHandlers = {
    init: function (dropzone) {
        // dropzone.processQueue()
    }
}

React.render(
    <DropzoneComponent config={componentConfig}
                       eventHandlers={eventHandlers}
                       djsConfig={djsConfig} />,
    document.getElementById('content')
);

Hi Felix,
thanks for the response.  The problem with this approach is that I need processQueue() to be called in response to a button click, so having it called in init() wouldn't help.  I rebuilt your plugin and exposed an upload() method that internally calls the processQueue() function, which seems to work as intended.

Oh, you can just use the init method to set a dropzone variable, like so:
var dropzone;

var eventHandlers = {
    init: function (passedDropzone) {
        dropzone = passedDropzone
    }
}

document.getElementById('myButton').onClick(function () {
    if (dropzone) {
        dropzone.processQueue();
    }
});

I'm closing this in the meantime, but feel free to ask more questions!


deploy release jar

deploy release jar

wechaty-grpc

I found this name is wechaty-grpc and want to confirm with you that do you want to use this name for our grpc package?
In python we name the PyPI package name chatie-grpc, the go package name is go-grpc and the NPM package name is @chatie/grpc.
Please let me know your final decision for the package name because we will not change it in the future, and after you confirm that, let's go ahead and publish it.

as the pom.xml said the jar the name is wechaty-grpc.

Got it.
I'm looking forward to seeing our first new release jar to be deployed.
Thank you very much for publishing our Java package!


Swift UI

Anyway to use this library (plug and play) for swift ui ? Any example will be helpful.

You can use the library in a Swif UI project using the UIViewControllerRepresentable protocol.
Here is an example:
https://developer.apple.com/tutorials/swiftui/interfacing-with-uikit

Hi.
Now we have added an implementation for SwiftUI.
You can read in ReadMe how to use it in your project.
https://github.com/simla-tech/Fastis/pull/54


:bug: Incorrect merging of cloud-config files with same stages

Kairos version:
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
KAIROS_NAME="kairos-core-ubuntu-20-lts"
KAIROS_VERSION="v2.0.2"
KAIROS_ID="kairos"
KAIROS_ID_LIKE="kairos-core-ubuntu-20-lts"
KAIROS_VERSION_ID="v2.0.2"
KAIROS_PRETTY_NAME="kairos-core-ubuntu-20-lts v2.0.2"
KAIROS_BUG_REPORT_URL="https://github.com/kairos-io/kairos/issues"
KAIROS_HOME_URL="https://github.com/kairos-io/kairos"
KAIROS_IMAGE_REPO="quay.io/kairos/core-ubuntu-20-lts"
KAIROS_IMAGE_LABEL="latest"
KAIROS_GITHUB_REPO="kairos-io/kairos"
KAIROS_VARIANT="core"
KAIROS_FLAVOR="ubuntu-20-lts"

CPU architecture, OS, and Version:
Linux localhost 5.15.0-69-generic #76~20.04.1-Ubuntu SMP Mon Mar 20 15:54:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Describe the bug
Two config files with same stages dont get merged correctly.
To Reproduce
1 . Boot the kairos-ubuntu-20-lts-v2.0.2.iso in manual mode
2. Create two files under /oem with the following entries
10_config.yaml
#node-config
install:
  auto: true
  reboot: false
  poweroff: false
  grub_options:
     extra_cmdline: "console=tty0"
options:
  device: /dev/sda
stages:
  initramfs:
    - users:
        kairos:
          groups:
            - sudo
          passwd: kairos

20_config.yaml
#node-config
stages:
  initramfs:
    - users:
        foo:
          groups:
            - sudo
          passwd: bar

Run kairos-agent install
Expected behavior
Both the user entries should be present in the target . Instead the merged config file looks like this
cat /tmp/xxxx2698469135

#cloud-config

install:
    auto: true
    grub_options:
        extra_cmdline: console=tty0
    poweroff: false
    reboot: false
options:
    device: /dev/sda
stages:
    initramfs:
        - users:
            foo:
                groups:
                    - sudo
                passwd: bar

It does not matter if the stages contain the same steps. e.g. one file can contain initramfs->commands and other contains initramfs->users and only one is present in the result. if we change one of the files to "initramfs.after" it merges correctly
#cloud-config

install:
    auto: true
    grub_options:
        extra_cmdline: console=tty0
    poweroff: false
    reboot: false
options:
    device: /dev/sda
stages:
    initramfs:
        - users:
            kairos:
                groups:
                    - sudo
                passwd: kairos
    initramfs.after:
        - users:
            foo:
                groups:
                    - sudo
                passwd: bar

this looks bad, however merging was introduced recently - but I guess this is problematic as you didn't had merges before, and now we have unpredictable results.
Is this blocking you ? I've just pushed it to the next release, but if this is impacting you a lot we will need to catch a patch release

I can confirm that I can reproduce.
The issue comes from the mergo merge here https://github.com/kairos-io/kairos/blob/3980bf1abff4c554d08ed8807136a334703998d8/pkg/config/collector/collector.go#L68
Which seems to be an issue upstream: https://github.com/imdario/mergo/issues/204

mergo.WithAppendSlice = true, retains the data in the dest and appends from src.
One drawback will be there can be duplicates in the dest array if there's a overlap in dest and src data.

The issue is in since we introduced mergo, so could be around 1.6.1 if I'm not mistaken, or otherwise just the v2 releases. The fix has been merged, and 2.0.3 should be out soon.
@venkatnsrinivasan thanks for bringing this to our attention


Pool APIs Implementaion

What this PR does / why we need it:
Implementaion of all Pool List and GET Apis

v1/pools

v1/pools/<pool_i>

v1/storages//pools

v1/storages//pools/

Which issue this PR fixes
NA
Special notes for your reviewer:
NA
Special notes for your reviewer:

v1/pools

v1/pools/<pool_i>

v1/storages//pools

v1/storages//pools/

Release note:

LGTM


[BUG]: New to you vs Previously seen

Description of the bug
For a new account the Welcome email is under "Previously seen" even though it hasn't been read/seen.
Steps To Reproduce
Go to Arweave.app and create a new wallet
Go to mymail and logout
Login with new wallet
Additional Information
Found via automated testing.

This is a bug, but only in test environments where you are testing multiple accounts on localhost. The "unseen" flag for messages is somewhat unreliably stubbed in by storing state in local storage. So if you're using multiple wallets at the same basepath (localhost:1984 for example) then once you've set the flag that the welcome message is read for any wallet all subsequent wallets will think you've read it as well. Only if you fully log out and clear local storage will you have the proper first time user experience.
In this case, the welcome message is really only intended for first time users, and it works for that scenario. The fix for this is to track ephemeral data like seen/unseen flags on an Inbox node (that is unique per wallet) instead of using local storage as a work around.


queryScalar() fix

If an exception ends up getting thrown from $this->createCommand() within Query::queryScalar(), then the query’s select, orderBy, limit, and offset params will never get reverted to their original state. select will still be set to [$selectExpression], and the others will be null.
With this PR, any throwables/exceptions that are thrown by createCommand() will be caught, and then re-thrown once those params have been reverted to their original state.

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Tests pass?
✔

Fixed issues
-

👍

Thanks!


Restrict Node.js version

... to exclude at least Node.js v18, since currently our cypress tests behave differently with that version

Something is not quite right here, since now yarn start gets me:
yarn run v1.22.19
$ REACT_APP_META_CSP= HMR_PORT=2222 EXTENSION_CSP=`yarn --silent print-extension-csp` parcel --host localhost --port 3000 --dist-dir build-dev
Server running at http://localhost:3000
🚨 Build failed.

@parcel/core: Only browser targets are supported in serve mode

This is definitely triggered by the node version option added to package.json. Happens with both node.js v14 and v16.

Turns out the the issue was not node v18, but something else, so there is no need for this at all. Closing.


Failed to complete publickey auth during SSH login to the cluster

Greetings, I am experiencing an authentication failure that requests me to enter my password when I try to use the public key auth method in the SSH sessions
Client: Win11 22H2, OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
Located outside campus, traffic through OpenConnect VPN, Cisco Anyconnect Protocol
Here's my ssh -vvv log below, starting from Server RSA fingerprint verification till the public key auth failed:
debug1: Server host key: ssh-ed25519 SHA256:ZdjO[Omitted]
debug3: record_hostkey: found key type ED25519 in file C:\\Users\\XXXXX/.ssh/known_hosts:16
debug3: record_hostkey: found key type RSA in file C:\\Users\\XXXXX/.ssh/known_hosts:17
debug3: record_hostkey: found key type ECDSA in file C:\\Users\\XXXXX/.ssh/known_hosts:18
debug3: load_hostkeys_file: loaded 3 keys from <IP_ADDRESS>
debug3: Failed to open file:C:/Users/XXXXX/.ssh/known_hosts2 error:2
debug1: load_hostkeys: fopen C:\\Users\\XXXXX/.ssh/known_hosts2: No such file or directory
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts error:2
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts2 error:2
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug1: Host '<IP_ADDRESS>' is known and matches the ED25519 host key.
debug1: Found key in C:\\Users\\XXXXX/.ssh/known_hosts:16
debug3: send packet: type 21
debug2: set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: SSH2_MSG_NEWKEYS received
debug2: set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: C:\\Users\\XXXXX/.ssh/rsa_1024.pub RSA SHA256:rsXy[Omitted] explicit
debug2: pubkey_prepare: done
debug3: send packet: type 5
debug3: receive packet: type 7
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: C:\\Users\\XXXXX/.ssh/rsa_1024.pub RSA SHA256:rsXy[Omitted] explicit
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
<EMAIL_ADDRESS>password:

My client side /.ssh/config:
Host CSC4005_HPC
    HostName <IP_ADDRESS>
    User 12XXXXXXX
    IdentityFile ~/.ssh/rsa_1024.pub

Server side home directory, .ssh folder, and .ssh/authorized_keys file permissions:
[12XXXXXXX@node01 ~]$ ls -ld ~ ~/.ssh ~/.ssh/authorized_keys
drwx------. 7 12XXXXXXX csc4005_students 171 Sep  5 15:26 /nfsmnt/12XXXXXXX
drwx------. 2 12XXXXXXX csc4005_students  29 Sep  5 15:23 /nfsmnt/12XXXXXXX/.ssh
-rw-------. 1 12XXXXXXX csc4005_students 230 Sep  5 15:22 /nfsmnt/12XXXXXXX/.ssh/authorized_keys

ssh-keygen check result on the server side, note that the SHA256 result matches the offering public key in log entry above:
[12XXXXXXX@node01 ~]$ ssh-keygen -lf .ssh/authorized_keys
 (RSA)HA256:rsXy[Omitted] CSC4005_HPC_SSH

Please let me know if extra information could help diagnose; thanks a lot.

I have spent some effort working on this issue yesterday but failed to solve it for now.
It seems that the key error in client side is related to:
debug2: we did not send a packet, disable method.
I also find an error message in the server side:
SSH pam_systemd(sshd:session): Failed to create session: No buffer space available
I will keep working on this issue and keep you informed if I have any progress. Before that, please use password to log in. I am sorry for any inconvenience.

Hi @Christoph-UGameGerm ,
This issue has been fixed. Please have a try to log in the cluster with your key pair.

Thank you for your effort in investigating and sharing the root cause with us.


A TabController was used after being disposed.

Unhandled exception when activity finish
A TabController was used after being disposed. Once you have called dispose() on a TabController, it can no longer be used. #0      ChangeNotifier._debugAssertNotDisposed.<anonymous closure> (package:flutter/src/foundation/change_notifier.dart:61:9) #1      ChangeNotifier._debugAssertNotDisposed (package:flutter/src/foundation/change_notifier.dart:67:6) #2      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:155:12) #3      TabController._changeIndex.<anonymous closure> (package:flutter/src/material/tab_controller.dart:124:11) #4      TickerFuture.whenCompleteOrCancel.thunk (package:flutter/src/scheduler/ticker.dart:390:15) #5      _RootZone.runUnary (dart:async/zone.dart:1381:54) #6      _FutureListener.handleError (dart:async/future_impl.dart:147:20) #7      Future._propagateToListeners.handleError (dart:async/future_impl.dart:650:47) #8      Future._propagateToListeners (dart:async/future_impl.dart:671:24) #9   <…>

I have the same problem, did anyone found any solution.

you should be used Tab Controller in your Tab Bar
and disposed see this https://api.flutter.dev/flutter/material/TabController-class.html


Java Client: Echo tests

This PR is related to the work started at #231, implementing the base "Conformance test suite" for the Java Client.

Added new validations introduced at #231

Major refactory on the JNI side, reducing the number of JNI calls and improving how the packet list is handled  (see commit message for more details).

Java EchoClient, a minor refactory decoupling the JNI interface from the Client implementation, allowing both the Client and EchoClient to share the same logic by composition, without dynamic dispatch (see commit messages for more details).

New EchoClient test suite, asserting the correct data marshaling and callback handling between the JVM and the Zig client. This test was based on the C client tests.

Submodule jui updated.

cc @sentientwaffle


Update install-ubuntu.rst

Fix typo uprade ==>> upgrade

Summary

Ticket Link

Hello @cripton,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

/check-cla


Experiment using buildjet

Codecov Report

Merging #567 (5dec120) into main (278b9a5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #567   +/-   ##
=======================================
  Coverage   70.77%   70.77%
=======================================
  Files         108      108
  Lines        5441     5441
  Branches     1085     1085
=======================================
  Hits         3851     3851
  Misses        849      849
  Partials      741      741

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Upgrade File Picker to use OnDemand Files API v1

This is a breaking change, sites that are using an old version of OnDemand that include CloudCommander won't work with this release (and moving forward).

Upgrades all outdated NPM dependencies
A config for Prettier.js was added with some styling defaults that I like to use in JS
.vscode/settings.json is included to work with Prettier formatting out of the box if you use VS Code as your IDE

This works as far as I can tell, but I think we should keep using semicolons.


type 'Null' is not a subtype of type 'DataList' in type cast

I'm trying to integrate this library into my project and I want to let users choose items from a list or add their own items to it. Here is what I have so far:
final GlobalKey<TagsState> _tagStateKey = GlobalKey<TagsState>();
  List<String> _existingTopics = ['religion', 'politics', 'literature'];
  List<String> _topics = [];

...
Tags(
                  key: _tagStateKey,
                  textField: TagsTextField(
                    constraintSuggestion: true,
                    suggestions: _existingTopics,
                    //width: double.infinity, padding: EdgeInsets.symmetric(horizontal: 10),
                    onSubmitted: (String str) {
                      // Add item to the data source.
                      setState(() {
                        // required
                        _topics.add(str);
                      });
                    },
                  ),
                  itemCount: _topics.length, // required
                  itemBuilder: (int index) {
                    final topic = _topics[index];

                    return ItemTags(
                      // Each ItemTags must contain a Key. Keys allow Flutter to
                      // uniquely identify widgets.
                      key: Key(index.toString()),
                      index: index, // required
                      title: topic,
                      combine: ItemTagsCombine.withTextBefore,
                      image: null,
                      icon: null,
                      removeButton: ItemTagsRemoveButton(
                        onRemoved: () {
                          // Remove the item from the data source.
                          setState(() {
                            _topics.removeAt(index);
                          });
                          return true;
                        },
                      ),
                    );
                  },
                )

But when I start typing one of the _existingTopics and then type the submit button on the iOS keyboard, I see this:

And I get the following exception:
[+165250 ms] flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
[   +2 ms] flutter: The following _CastError was thrown building ItemTags-[<'0'>](dirty, dependencies:
[        ] flutter: [DataListInherited], state: _ItemTagsState#81225):
[        ] flutter: type 'Null' is not a subtype of type 'DataList' in type cast
[        ] flutter:
[        ] flutter: The relevant error-causing widget was:
[   +8 ms] flutter:   ItemTags-[<'0'>] file:///Users/sarbogast/dev/blindly/blindly/lib/screens/topics_screen.dart:108:28
[        ] flutter:
[        ] flutter: When the exception was thrown, this was the stack:
[        ] flutter: #0      List.length= (dart:core-patch/growable_array.dart:222:12)
[        ] flutter: #1      _ItemTagsState._setDataList (package:flutter_tags/src/item_tags.dart:153:33)
[        ] flutter: #2      _ItemTagsState.build (package:flutter_tags/src/item_tags.dart:214:5)
[        ] flutter: #3      StatefulElement.build (package:flutter/src/widgets/framework.dart:4612:27)
[        ] flutter: #4      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4495:15)
[        ] flutter: #5      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
[        ] flutter: #6      Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #7      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4474:5)
[        ] flutter: #8      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4658:11)
[        ] flutter: #9      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4469:5)
[        ] flutter: #10     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3541:14)
[        ] flutter: #11     Element.updateChild (package:flutter/src/widgets/framework.dart:3306:18)
[        ] flutter: #12     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5561:32)
[        ] flutter: #13     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6105:17)
[        ] flutter: #14     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #15     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[  +16 ms] flutter: #16     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #17     ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
[        ] flutter: #18     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #19     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #20     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
[        ] flutter: #21     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #22     StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
[        ] flutter: #23     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #24     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #25     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #26     ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
[        ] flutter: #27     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #28     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5503:32)
[        ] flutter: #29     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6105:17)
[        ] flutter: #30     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #31     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
[        ] flutter: #32     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #33     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #34     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #35     ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
[        ] flutter: #36     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #37     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
[        ] flutter: #38     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #39     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #40     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #41     StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
[        ] flutter: #42     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #43     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #44     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #45     StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
[        ] flutter: #46     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #47     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #48     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #49     ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
[        ] flutter: #50     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #51     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #52     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #53     ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
[        ] flutter: #54     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #55     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5503:32)
[        ] flutter: #56     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6105:17)
[        ] flutter: #57     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #58     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #59     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
[        ] flutter: #60     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #61     StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
[        ] flutter: #62     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #63     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #64     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #65     ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
[  +17 ms] flutter: #66     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #67     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #68     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
[        ] flutter: #69     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #70     StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
[        ] flutter: #71     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #72     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
[        ] flutter: #73     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #74     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #75     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #76     StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
[        ] flutter: #77     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #78     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
[        ] flutter: #79     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #80     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #81     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
[        ] flutter: #82     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #83     StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
[        ] flutter: #84     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #85     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #86     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
[        ] flutter: #87     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #88     StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
[        ] flutter: #89     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #90     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #91     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #92     ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
[        ] flutter: #93     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #94     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #95     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
[        ] flutter: #96     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #97     StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
[        ] flutter: #98     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
[        ] flutter: #99     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
[        ] flutter: #100    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
[        ] flutter: #101    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
[        ] flutter: #102    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2694:33)
[        ] flutter: #103    WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:873:21)
[        ] flutter: #104    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:319:5)
[        ] flutter: #105    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
[        ] flutter: #106    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
[        ] flutter: #107    SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:998:5)
[        ] flutter: #111    _invoke (dart:ui/hooks.dart:161:10)
[        ] flutter: #112    PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:253:5)
[        ] flutter: #113    _drawFrame (dart:ui/hooks.dart:120:31)
[        ] flutter: (elided 3 frames from dart:async)

And the component crashes. Did I forget something?
Note that I am using Flutter 2.0.5 with null safety, along with version 1.0.0-nullsafety.1 of the flutter_tags library

type 'Null' is not a subtype of type 'DataList' in type cast
item_tags.dart
151 line
// set List length
if (_dataListInherited!.list!.length < _dataListInherited!.itemCount!)
_dataListInherited!.list!.length = _dataListInherited!.itemCount!;

I am also getting the same error. It worked just fine before migrating to null safety.

Same here

Same

Any news about that?

if (_dataListInherited!.list!.length < _dataListInherited!.itemCount!)
_dataListInherited!.list!.length = _dataListInherited!.itemCount!;
commenting this out worked , can we update this

Any news on this?

@Dn-a Same, it showstopper, could you please check?

#84 Merge maybe or give me answer please

Pls fix it. Thanks.

commented this don't worked for me.
if (_dataListInherited!.list!.length < _dataListInherited!.itemCount!)
_dataListInherited!.list!.length = _dataListInherited!.itemCount!;
I changed final List<DataList> _list = []; to final List<DataList?> _list = []; and correct the errors that follow from here

same here

same here, would be great to get an update

same!

thanks for this solution... worked for me
https://pub.dev/packages/flutter_tags_x


Bug: Connection Type Drawing problem

Description
We are using Angular 19.0.5, we wanted to make the connection-types example but the connections don't look right. I think the common.scss part in the example should be added inside the @foblex/flow package, this way it makes it more complex.
Steps to Reproduce
New project angular 19 & material
New angular application builder
Apply this example : https://flow.foblex.com/examples/connection-types
Expected Result

Actual Result

Environment Details
Angular CLI: 19.0.5
Node: 23.3.0 (Unsupported)
Package Manager: npm 10.9.2
OS: win32 x64
Angular: 19.0.4
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package                         Version
@angular-devkit/architect       0.1900.5
@angular-devkit/build-angular   19.0.5
@angular-devkit/core            19.0.5
@angular-devkit/schematics      19.0.5
@angular/cdk                    19.0.3
@angular/cli                    19.0.5
@angular/material               19.0.3
@schematics/angular             19.0.5
rxjs                            7.8.1
typescript                      5.6.3
zone.js                         0.15.0
Screenshots or Videos
No response
Additional Context
No response

This is not a bug. Library doesn't have styles by default. You need to add them yourself.

Ok. But what wrongs here:
https://stackblitz.com/edit/stackblitz-starters-euaf2ouu?file=src%2Fpages%2Fflowpage%2Fflowpage.component.ts


[SPARK-31997][SQL][TESTS] Drop test_udtf table when SingleSessionSuite test completed

What changes were proposed in this pull request?
SingleSessionSuite not do DROP TABLE IF EXISTS test_udtf when test completed, then if we do mvn test HiveThriftBinaryServerSuite, the test case named SPARK-11595 ADD JAR with input path having URL scheme will FAILED because it want to re-create an exists table test_udtf.
Why are the changes needed?
test suite shouldn't rely on their execution order
Does this PR introduce any user-facing change?
no
How was this patch tested?
Manual test，mvn test SingleSessionSuite and HiveThriftBinaryServerSuite in order

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ping @xuanyuanking

ok to test.

Test build #124101 has started for PR 28838 at commit 03bf55f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28719/
Test PASSed.

Test build #124101 has finished for PR 28838 at commit 03bf55f.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124101/
Test FAILed.

retest this please

retest this please

Test build #124112 has started for PR 28838 at commit 03bf55f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28730/
Test PASSed.

Test build #124112 has finished for PR 28838 at commit 03bf55f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124112/
Test PASSed.

Merged to master, branch-3.0 and branch-2.4.

thx ~ @wangyum @HyukjinKwon @xuanyuanking

+1, late LGTM. Thanks.


revise the description of relay_network_whitelist

en：only forward traffic from the whitelist networks, supporting wildcard strings, prefixes, and multiple network names can be separated by spaces. if this parameter is empty, forwarding is disabled. by default, all networks are allowed. e.g.: '*' (all networks), 'def*' (networks with the prefix 'def'), 'net1 net2' (only allow net1 and net2)
chinese：仅转发白名单网络的流量，支持通配符字符串、前缀、多个网络名称间可以使用英文空格间隔。如果该参数为空，则禁用转发。默认允许所有网络。例如：''（所有网络），'def'（以def为前缀的网络），'net1 net2'（只允许net1和net2）

please rebase to the latest main branch. rust nightly has bug casuing check failure.


tactics.pgn is empty

Good morning,
I got following issue when running python3 main.py --quiet --depth=12 --strict=True --threads=2 --memory=1024
There was nothing been generated in the tactics.pgn file and there is no error message when running.
pgn-tactics-generator %python3 main.py --quiet --depth=12 --strict=True --threads=2 --memory=1024
Looking up stockfish-osx-x86_64 ...
Local stockfish-osx-x86_64 is newer than release
pgn-tactics-generator %
The pgn file I used is this one:
[Event "Rated Rapid game"]
[Site "https://lichess.org/u2QGEPmx"]
[Date "2022.04.25"]
[White "Ruslan0209"]
[Black "qH11"]
[Result "0-1"]
[UTCDate "2022.04.25"]
[UTCTime "11:51:07"]
[WhiteElo "2012"]
[BlackElo "1988"]
[WhiteRatingDiff "-6"]
[BlackRatingDiff "+14"]
[Variant "Standard"]
[TimeControl "1200+7"]
[ECO "D10"]
[Opening "Slav Defense"]
[Termination "Normal"]

d4 d5 2. c4 c6 3. Nc3 Nf6 4. cxd5 cxd5 5. Nf3 a6 6. Bf4 Nc6 7. e3 Bg4 8. Qb3 Bxf3 9. gxf3 Na5 10. Qa4+ Nc6 11. Bd3 e6 12. h4 Be7 13. h5 h6 14. O-O-O b5 15. Qc2 O-O 16. Rdg1 Kh8 17. Kb1 Qa5 18. Rg2 Rac8 19. Qd1 Nb4 20. a3 Nxd3 21. Qxd3 Bxa3 22. Rhg1 Rg8 23. Bxh6 gxh6 24. Rxg8+ Nxg8 0-1

Could you help me on this ?
Thanks

Try to remove the --quiet param to see if is working.
Try --strict=False to make it less strict.
Probably you need much more games to get some puzzles.

Thanks for your response.
I have applied above.
I got many similar messages like below and program stopped after Puzzle incomplete.
... and 26 more moves
Not Going Deeper:
Ambiguous: True
Game Over: False
Has Best Move: True
Puzzle incomplete
pgn-tactics-generator %
This pgn should generate some puzzles as it generated some puzzles from http://chesstacticsgenerator.vitomd.com
Is there anything else I can try ?

[SetUp "0"] [FEN "r1bq1rk1/4npb1/p1np4/2p1p2p/Pp2P2P/2PPNpB1/BP4PN/R2QK2R w KQ - 0 18"] [Site "https://lichess.org/EHvKbmgM"] [Date "2023.5.30"] [White "characterdevelopment"] [Black "qh22"] [Result "0-1"] [Termination "52"]

Qxf3 Rb8 19. Bc4 Na5 20. Qxh5 Nxc4 21. Nxc4 Be6 22. cxb4 Rxb4 23. O-O Qd7 24. Be1 Bxc4 25. Bxb4 0-1

[Event "Monthly SuperBlitz Arena"]
[Site "https://lichess.org/EHvKbmgM"]
[Date "2023.05.30"]
[White "characterdevelopment"]
[Black "qH22"]
[Result "0-1"]
[UTCDate "2023.05.30"]
[UTCTime "18:12:54"]
[WhiteElo "1955"]
[BlackElo "1988"]
[WhiteRatingDiff "-5"]
[BlackRatingDiff "+13"]
[Variant "Standard"]
[TimeControl "180+0"]
[ECO "B50"]
[Opening "Sicilian Defense: Modern Variations"]
[Termination "Time forfeit"]

e4 c5 2. Nf3 d6 3. Bc4 g6 4. d3 Bg7 5. c3 Nc6 6. a4 e6 7. Nbd2 Nge7 8. Ba2 O-O 9. Nc4 a6 10. Bf4 e5 11. Bg5 b5 12. Ne3 h6 13. Bh4 g5 14. Bg3 b4 15. h4 g4 16. Nh2 h5 17. f3 gxf3 18. Qxf3 bxc3 19. bxc3 Qa5 20. Kd2 Rb8 21. Nc4 Qxa4 22. Qxh5 Ng6 23. Ke3 Be6 24. Ng4 Qc2 25. Nh6+ Bxh6+ 26. Qxh6 Qxg2 27. Rhg1 Qh3 28. h5 Nce7 29. Qg5 f6 30. Qh6 f5 31. Nxd6 Bxa2 32. Nxf5 Nxf5+ 33. exf5 Nf4 34. Kd2 Rb2+ 35. Kc1 Ne2+ 36. Kd1 Nxg1 0-1

This pgn should generate some puzzles as it generated some puzzles from http://chesstacticsgenerator.vitomd.com/
No, this script is a lot more strict. Is to generate puzzles, is not just check for blunders, it check that there is only one good solution in the position, that is not ambiguous, etc.

So to generate puzzles you need a lot of games with blunders. Probably if you use a pgn with 50 games you will get some puzzles.

Thank you .
I got some 5 puzzles after running 60 games.


Is it acceptable to reuse the symfony-secret as encryption-secret?

For convenience I use the secret key from my Symfony project as encryption key. My configuration looks like this:
nzo_url_encryptor:
    secret: %secret%      # max length of 24 characters

Could this have any negative side effects?

Not at all, what you did is just right and have no negative side effects  :+1:

Thanks for the answer.


Icon submission: Nintendo

URL of the site or app
https://www.nintendo.com
Logo / icon info
Copied SVG wordmark from the website header using browser dev tools.
Background color info
Background color is from the logo (#e60012).
Upload icon(s)
Nintendo alt.zip
Anything else?
Alternative logo using the common wordmark.
Confirmation

[X] I have read and carefully followed CONTRIBUTING document during the creation of the icon.

Thanks for submission, we have to reject this one.
It doesn't count as alternative logo and original logo is too wide for icon.


Not working with symbols

I'm using sketch version 42 (36781) and I have problem with button converted to symbol when I will change text on symbol and  press CMD+J it creating a new dynamic button on the symbol. Please fix it.

What do you want it to do instead?

@fuggfuggfugg thanks for maintaining this. An added feature, to @cypmal's point, would be to have this capability work on buttons that are converted to symbols. When I place an instance on the artboard and override the label, there's no way to use the dynamic resize.
Is it possible to add this? Thanks in advance.

@brant454
Basic symbol overrides are currently working. It resides in a separate branch.
I am currently still working on supporting nested symbols and it's not as straight forward. Keep an eye on #19 .
Thanks for the love


Multiple APNS certificates

I have multiple iPhone apps that will use my PUSHd.  It appears that I need an individual APNs certificate from Apple for each of these apps.  Is there a way for the coffee.settings to be able to handle multiple APNs certificates?

on my server, it's works .I just create multiple instance on pushd(don't forget to change the port or you'll have conflict ) .if you have some trouble you can send me an email via<EMAIL_ADDRESS>

Thanks.  I am aware of that possibility, but I may have thousands of individual apps.

i didn't find yet another solution .If i find it i'll share to you :) Do the same if you can :)

I may have found my answer: In the settings.coffee file, I can add another exports['apns1'] and change the cert: and key: for the new app.  Then, in the app itself, it can reference 'apns1' instead of 'apns' when communicating with the pushd server.  I will try this at home tonight...

i'll check tomorrow also .Keep me up to date and i do the same ;)

i hope that they will be no trouble with the redis database

Why I think it will work: We can have 'apns' and 'apns-dev' in settings.coffee.  There is nothing magical in those names.
Why do you think that there might be trouble in the redis database?

yes you're right never mind

I renamed my main apns entry in settings.coffee, and my main app still works.  Tomorrow I will get the new certificate and new app running, modifying settings.coffee to take the new certificate for the new app.

I modified settings.coffee with the new information, and the new certificate for the new app, and it worked as expected!

I am also running multiple instances. But just wondering how can you have multiple exports [apns] & [apns1] and refer to them from the app?

If my memories are good, it's when you try to register and you said it's apns1 or apns

You mean for proto = "apns" or proto="apns2" when you subscribe? Thanks.

long time i didn't configure it  but i think yes ^^

Create an instance for every app (docker maybe?) and forward the traffic to it with node-http-proxy
https://github.com/nodejitsu/node-http-proxy
For me it seems the most viable solution

You can export another setting in coffe file like this:
.
.
.

exports['apns'] =
    enabled: yes
    class: require('./lib/pushservices/apns').PushServiceAPNS
    # Convert cert.cer and key.p12 using:
    # $ openssl x509 -in cert.cer -inform DER -outform PEM -out apns-cert.pem
    # $ openssl pkcs12 -in key.p12 -out apns-key.pem -nodes
    cert: 'apns-cert.pem'
    key: 'apns-key.pem'
    cacheLength: 100
    # Uncomment to set the default value for parameter.
    # This setting not overrides the value for the parameter that is set in the payload fot event request.
    # category: 'show'
    # contentAvailable: true
    # Selects data keys which are allowed to be sent with the notification
    # Keep in mind that APNS limits notification payload size to 256 bytes
    payloadFilter: ['messageFrom']
    # uncommant for dev env
    gateway: 'gateway.sandbox.push.apple.com'
    address: 'feedback.sandbox.push.apple.com'

exports['apns-alt'] =
    enabled: yes
    class: require('./lib/pushservices/apns').PushServiceAPNS
    # Convert cert.cer and key.p12 using:
    # $ openssl x509 -in cert.cer -inform DER -outform PEM -out apns-cert.pem
    # $ openssl pkcs12 -in key.p12 -out apns-key.pem -nodes
    cert: 'apns-cert-alt.pem'
    key: 'apns-key-alt.pem'
    cacheLength: 100
    # Uncomment to set the default value for parameter.
    # This setting not overrides the value for the parameter that is set in the payload fot event request.
    # category: 'show'
    # contentAvailable: true
    # Selects data keys which are allowed to be sent with the notification
    # Keep in mind that APNS limits notification payload size to 256 bytes
    payloadFilter: ['messageFrom']
    # uncommant for dev env
    gateway: 'gateway.sandbox.push.apple.com'
    address: 'feedback.sandbox.push.apple.com'

.
.
.

just don't forget to change proto key in /subscribers request according the name you decided... probably a good practice is to use your app identifier.


Fix: Return result from back method in router service

:tada: This PR is included in version 1.5.1 :tada:
The release is available on:

v1.5.1
GitHub release

Your semantic-release bot :package::rocket:


Add New Data Plane API Version for Microsoft.DigitalTwins (2021-06-30-preview)

We would like to add a new data plane API version for Microsoft.DigitalTwins: 2021-06-30-preview. The OpenAPI specification is identical to our current stable API version 2020-10-31 (aside from the version label). However, there is a behavioral change - which only takes effect when a customer opts into the feature. We were advised to introduce a new API version for this purpose.
Specifically: requests currently return a JSON document (the shape of which is influenced by the customer), which contain a "metadata" section:
...
    "myProperty": 3.0,
    "$metadata": {
        "$model": "com:acme:Model;1",
        "myProperty": {
            "lastUpdatedTime": "2020-04-15T00:14:32.000000Z"
        }
    }
...

The current stable version prevents any of these "meta-properties" (such as "lastUpdatedTime") to be modified (other than "$model"). Requests (such as PUT) would ignore the property, but PATCH would cause the service to return a 4xx error code, when trying to update any property other than "$model" in this metadata section.
The new version introduces a particular metadata property ("sourceTime") that is writeable, hence causing a call to update this property to no longer fail or be ignored, but instead succeed:
...
    "myProperty": 3.0,
    "$metadata": {
        "$model": "com:acme:Model;1",
        "myProperty": {
            "lastUpdatedTime": "2020-04-15T00:14:32.000000Z",
            **"sourceTime": "2020-04-15T00:13:53.000000Z"**
        }
    }
...

Since the only change in the new swagger is a different API version, the Azure API Review Board (via Jeff Richter) confirmed that "a review is not necessary".


Downloadable Chapters Cant Show

Steps to reproduce
So, when i migrate from Tachiyomi to TachiyomiSY i can migrate all backup Library. But the problem is, when i try to search Chapters already downloaded in Tachiyomi before. The Chapters not showing on TachiyomiSY.
Im already move the data into Download Folder for TachiyomiSY, but still cant show it
Expected behavior
It supposed to read all downloaded chapter.
Actual behavior
The downloaded chapters not showing at all
Crash logs
No response
Tachiyomi version
1.10.1
Android version
Android 12
Device
Redmi Note 8 Pro
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extension's repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 1.10.1.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

More -> Settings -> Advanced -> Invalidate Download index

More -> Settings -> Advanced -> Invalidate Download index

Thanks sir, it works for me.


NCL-7478  Integrate ContentBox component on Demo page

Hi @DnsZhou , could you get familiar with new ContentBox component I created previously and review this PR?

Hi @patrikk0123 could you please resolve the conflict? @DnsZhou do you think you could review it today?


FTP client in C# Exceptions

First of all thanks, this server library worked out quite efficiently but I've had a problem while I was trying to upload a file to FTP server which it is Esp-32. I coded FTP client on C# and I'm having "Unable to connect to the remote server" exception. Have you got any idea about this?
Thanks...

The server does not support active connection. Only passive connection.

I'm already trying to upload file passively. I'm thinking about maybe the ftp server address is wrong. For example "ftp://<IP_ADDRESS>:21", is this a right address, becasue FTP runs on TCP and if I get no response there is limited probabilities such as wrong address or firewall blocking the port. Also I know that firewall is not blocking the port.

I have never used C #'s FTP CLIENT.
If the connection is correct with an application like FileZilla, the address and port may be specified incorrectly.

Ok, I will try that. Thanks for help.


Python: Make web libs use HttpRequestTaintSource and HttpResponseTaintSink

Instead of using TaintSource and TaintSink, so our default queries will also be able to use them :tada:

Forgot to add an .expected file, so here we go again!


When sending a message to a friend it is clear who I am sending to

I am a new user. I have no friends. The home page invites me to send a message.

The prompt suggests this is a message to “a friend”, indicating this is a direct message, as opposed to one that all my friends can see.
For a direct message, I expect to be able to specify a friend, as distinct from a message body. There is one text field, but I don’t understand if this is for a friends username, or for the message body.
I also expect to be able to send a “post” that all my friends can see. If that is what this page is for, the prompt should say something different, like “Post a message for your friends” or “Post a message that all your friends will see”.

These are awesome issues. Will fix / address.

I made it so everyone is automatically friends with me. That way there's no confusion, plus I get to keep track of how things are going.
Remember MySpace? The guy Tom was friends with everyone automatically. Maybe that's why!?

Assuming posts are visible in the feeds of all friends, I submitted this PR to address my ongoing confusion: https://github.com/mreider/koto/pull/130


Add a launcher component for the Manual Discord Server

Not sure if we want this, but it was easy enough to throw together

Unfortunately, I can't put it with the others, because of how/when the launcher makes the other two.

Hm, yeah. Normally would love to have this, but I can see the fact that it's placed above the official Discords maybe causing some drama.
They probably need to consolidate those component lists so they render all at the same time first. Then non-core stuff can add to Misc without superseding their stuff.

Does it also show up above the normal Discord buttons in the KivyMD branch? If so, I don't think we can do this until their core components are organized better to load above any client additions.

Good question, I can't test until I'm home, but I'm assuming it'd still be above the rest. Let's just put it in adjusters and assume MD isn't merging any time soon


Installs nginx-core along with nginx

In the newest build of nginx in al2, they introduced the nginx-core package, similar to al22 which includes the mimetypes and other default config files.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/hold
checking presubmit output

/unhold


Fix typo

Summary
Fix a typo.
Impact
None.
Testing
None.

Probably best to suggest this commit on the upstream repo here: https://github.com/apache/nuttx/blob/13d823f30710e6fabd3d6429a03bc37e1086c9e7/boards/arm/stm32/viewtool-stm32f107/src/stm32_highpri.c#L184

This repo (https://github.com/PX4/NuttX) does not seem to be a fork of the upstream repo (https://github.com/apache/nuttx). Are the repos automatically sinced?

https://github.com/apache/nuttx/pull/8855

does not seem to be a fork of the upstream repo

It is but doesn't show as usual in Github. Most likely because it was forked before NuttX came to GitHub through Apache. Before it was on bitbucket. But the description of https://github.com/PX4/NuttX clearly writes it's a fork on the right side:

Are the repos automatically synced?

I think it's a manual process. If you want to have the change in PX4 just create a pull request here following the [BACKPORT] original commit message when it's merged upstream. That's actually what I'm doing as well right now and why I saw your change :wink:

The upstream PR has been merged via https://github.com/apache/nuttx/commit/f57814999a5015e628ad359e2af1515606f4e94b. In my opinion, it is too much effort to create yet another PR just to get this one-character change merged. It would be much easier to maintain the software if you would use the upstream project.
Bu then, as far as I can see, the master branches are already synchronous. So I don't really see why commits have to be backported manually. If the fork relation would be known in GitHub, you could sync easily using the web interface. But without this, you can still just pull-and-push without the need to resolve conflicts.


rescue_from must precede mount

Documentation does not say this, but it appears that rescue_from statements must precede mount statements in an api class, otherwise rescue_from is ignored.

BTW it's not only about a rescue_from
before/after blocks and the other base stuff should precede the mount, otherwise they will be ignored.
One more problem with "mounted APIs"(or maybe the same).

Bump @p-originate, want to PR a documentation update? Maybe @dmitry?


Roll engine 0c874c62d0ad..cd973f8aaeae (2 commits)

https://github.com/flutter/engine/compare/0c874c62d0ad...cd973f8aaeae
git log 0c874c62d0ad596484a83afaa5a6c546d96679fc..cd973f8aaeae624feab3288b1d85a1770115909b --no-merges --oneline
cd973f8aa Added unit tests for the ios code. (flutter/engine#9388)
a2db2ea6f Android Embedding Refactor PR35: Ensure all JNI methods are in FlutterJNI (#34751). (flutter/engine#9391)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (amirha@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


resolve oauth key when start up

resolve key when start

 resolve oauth key when start up light-4j master


Fix feature gating

We have feature gate issues in docs and with an unused error type.
I don't have a good way of including links that are feature build specific in rustdocs so I just used plain old back ticks.

Gonna go ahead and merge this. I'm not thrilled about the backtick thing but I don't know of any other solution.


Doesn't work on XNPH38R

Tried this on the newest version but recovery says that the footer isn't correct and doesn't want to flash the zip.
The signature verification fails with the signed and the unsigned package, which seems correct because I don't have the correct keys to sign the package. I think I need the same keys that cyanogen used to signed the rest of the system.
Which keys did you use to sign your package?
What I tried:
I changed VERSION := XNPH30O to VERSION := XNPH38R in Makefile and updated NDK_BUILD    := /opt/android-ndk/ndk-build.
make light and make full seems to work correct but the produced zips doesn't work.

You need to use a custom recovery, not the Cyanogen recovery.


thumbnail gif?

Loop through multiple time stamps to create a gif. Would be nice

Did we verify that a gif works as a thumbnail? Do all sites we use support it? (twitter/FB/reddit)

Guessing the size of the thumbnail may be the limiting factor if gifs are supported

^ seen gifs that are thumbnails on other sites. Was mostly meaning that we should create a gif out of the thumbnail images so that gif file could be used as the main content on instagram or something.


TryFlattenUnordered doesn't impl TryStream

Should it? cc @olegnn @taiki-e ref. https://github.com/rust-lang/futures-rs/pull/2577

All streams has Result as Item automatically implements TryStream.
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=bcc661e8460203d89bb8810d602eaa39


Fix postgres ID sequences broken by recreate-table

Unfortunately there is a subtle problem with recreatetable on postgres which
leads to the sequences not being renamed and  being left at 0.
Fix #14725
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

Should be backportable without the migration of course.

Grargh looks like we can't rely on  pg_sequences
I think information_schema.sequences might just work

Fails with relation "pg_sequences" does not exist

Should now be fixed

🚀


V2 - Project Console - Delete CLA Group endpoint does not delete CLA Group record from cla-dev-projects-cla-groups table

Create CLA Group (I tried with standalone project)
Delete CLA Group using endpoint https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/cla-group/dea5b680-5c17-4162-a99d-6b0e162f3f7e. Observed that record is not deleted from cla-dev-projects-cla-groups table and due to this CLA service is not disabled in Project service and not able to create CLA Group again for the project

@nirupamav Verified this ticket looks like the issue was fixed so moved this ticket to Ready For QA.

Verified that the issue is fixed


Update dependencies

Upgrades to the new versions of the PACs (see https://github.com/lpc-rs/lpc-pac/pull/57). I did some light testing on LPC845 by running some of the examples, and didn't see any problems. Since this is about all I have time for right now, I suggest leaving it at that and letting problems shake out in master (if there are any problems; the SVD files stayed the same, so I don't expect anything major).
Currently blocked on new released of lpc82x-pac and lpc845-pac.

PACs have been released, this pull request has been updated. Should be good to go now.


create a diagram with the workflow of the Wigner-Eckart Theorem

based on the studied materials on Spherical Tensors

Solved in this issue


Social Media icons not redirecting (working)

i will fix this issue request to assign me under gssoc23

I have created the issue and also I have the solution for it. Just waiting for being assigned.


memory leak over time

I'm still gathering data, but it appears as though recent flask-debugtoolbar versions cause a memory leak.  After I upgraded to Flask and Werkzeug 0.8 I also had to update flask-debugtoolbar from baecf852dda0f5b6c4700fb6deaeda4068b3a19c to current master (45ce65c058a580d80e2ac207689601edef5db24b), I've been noticing memory usage growing on every request made against the server.
I've disabled my custom panels and the ones from MongoEngine but left TimerDebugPanel, HeaderDebugPanel, RequestVarsDebugPanel, TemplateDebugPanel, LoggingPanel and ProfilerDebugPanel enabled.
Here is the output from heapy for a run with the debug panel disabled with DEBUG_TB_ENABLED=False.  The first set is the total number of objects by type.  The second set is the types of the objects that refer to the ones in the front.  If you are familiar with heapy, the former is heap() and the latter is heap().byrcsL
Partition of a set of 202 objects. Total size = 40656 bytes.
 Index  Count   %     Size   % Cumulative  % Kind (class / dict of class)
     0     11   5     9224  23      9224  23 dict (no owner)
     1     16   8     8456  21     17680  43 types.FrameType
     2     59  29     5128  13     22808  56 str
     3     30  15     3728   9     26536  65 unicode
     4     16   8     1600   4     28136  69 list
     5      1   0     1048   3     29184  72 dict of flask.ctx.RequestContext
     6      1   0     1048   3     30232  74 dict of flask.wrappers.Request
     7      1   0     1048   3     31280  77 dict of flask.wrappers.Response
     8      1   0     1048   3     32328  80 dict of mimetools.Message
     9      1   0     1048   3     33376  82 dict of werkzeug.routing.MapAdapter
<35 more rows. Type e.g. '_.more' to view.>

Partition of a set of 202 objects. Total size = 40656 bytes.
 Index  Count   %     Size   % Cumulative  % Referrers by Kind (class / dict of class)
     0     22  11     7912  19      7912  19 types.FrameType
     1     67  33     7736  19     15648  38 dict (no owner)
     2      1   0     3352   8     19000  47 __builtin__.cell, dict of flask.wrappers.Request, dict
                                             of werkzeug.datastructures.EnvironHeaders,
                                             types.FrameType
     3     17   8     3136   8     22136  54 list
     4      6   3     1472   4     23608  58 dict of mimetools.Message
     5      2   1     1120   3     24728  61 dict of 0x7fca19073b90
     6      1   0     1048   3     25776  63 flask.ctx.RequestContext
     7      1   0     1048   3     26824  66 flask.wrappers.Request
     8      1   0     1048   3     27872  69 flask.wrappers.Response
     9      1   0     1048   3     28920  71 mimetools.Message
<41 more rows. Type e.g. '_.more' to view.>

A run with the debug toolbar enabled:
Partition of a set of 538 objects. Total size = 81920 bytes.
 Index  Count   %     Size   % Cumulative  % Kind (class / dict of class)
     0     35   7    20552  25     20552  25 dict (no owner)
     1    135  25    11128  14     31680  39 str
     2    122  23    10472  13     42152  51 tuple
     3     16   3     8208  10     50360  61 types.FrameType
     4     34   6     4064   5     54424  66 unicode
     5     31   6     4024   5     58448  71 list
     6     46   9     1104   1     59552  73 int
     7      1   0     1048   1     60600  74 dict of blinker._saferef.BoundMethodWeakref
     8      1   0     1048   1     61648  75 dict of flask.ctx.RequestContext
     9      1   0     1048   1     62696  77 dict of flask.wrappers.Request
<79 more rows. Type e.g. '_.more' to view.>

Partition of a set of 538 objects. Total size = 81920 bytes.
 Index  Count   %     Size   % Cumulative  % Referrers by Kind (class / dict of class)
     0    143  27    16712  20     16712  20 list
     1     30   6    12544  15     29256  36 types.FrameType
     2     83  15    10000  12     39256  48 dict (no owner)
     3    116  22     6592   8     45848  56 tuple
     4      1   0     3352   4     49200  60 __builtin__.cell, dict (no owner), dict of
                                             flask.wrappers.Request, dict of
                                             werkzeug.datastructures.EnvironHeaders, types.FrameType
     5      6   1     1472   2     50672  62 dict of mimetools.Message
     6      2   0     1120   1     51792  63 dict of 0x7f9d02073f00
     7      1   0     1048   1     52840  65 blinker._saferef.BoundMethodWeakref
     8      1   0     1048   1     53888  66 dict of
                                             flask_debugtoolbar.panels.headers.HeaderDebugPanel
     9      1   0     1048   1     54936  67 flask.ctx.RequestContext
<84 more rows. Type e.g. '_.more' to view.>

Hopefully you can see that the dict, str, and tuple usage is much larger with the debug toolbar, and that list objects seem to be holding a large number of references, with dict also in there.  Is it possible that the toolbar is holding onto references that isn't being released?
I'm going to investigate a bit more and see if there is anything that stands out in the diffs between the two commits I referenced earlier, and to see if it seems to be an issue with a particular panel.

Interesting, thanks for investigating.  It's certainly possible that it's holding some references that don't get released.  I'm still new to the codebase myself, so I don't have an intuition of where that would be yet.  Let me know if you find anything.  I'll try to take a look, but I probably won't get to this one right away.
You may also find Dozer helpful for investigating the leaks:
http://pypi.python.org/pypi/Dozer

Ok, I found the leak.  It keeps a reference to the current toolbar instance for the request, but didn't clean it up after the request.  I did some testing with Dozer enabled and this patch seemed to fix it, but let me know if you see any more problems.  Thanks.

Let me know when you've had a chance to test this out.  I'll get a new release out if this fixes it for you.

Thanks for the very quick turnaround on this!  I will test it out today and let you know.


DO NOT MERGE: SWBv2 Core Review PR

DO NOT MERGE THIS PR. IT IS ONLY BEING USED FOR CODE REVIEW PURPOSES AS A PART OF THE PUBLISHER REVIEW.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@d94e3f0). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #988   +/-   ##
=======================================
  Coverage        ?   91.32%
=======================================
  Files           ?      202
  Lines           ?     6099
  Branches        ?     1127
=======================================
  Hits            ?     5570
  Misses          ?      529
  Partials        ?        0

Flag
Coverage Δ

example-ui-app
∅ <0.00%> (?)

root
91.32% <0.00%> (?)

swb-app
80.98% <0.00%> (?)

swb-reference
94.23% <0.00%> (?)

workbench-core-accounts
93.50% <0.00%> (?)

workbench-core-accounts-ui
∅ <0.00%> (?)

workbench-core-audit
95.00% <0.00%> (?)

workbench-core-authentication
100.00% <0.00%> (?)

workbench-core-authorization
100.00% <0.00%> (?)

workbench-core-base
80.28% <0.00%> (?)

workbench-core-datasets
95.65% <0.00%> (?)

workbench-core-datasets-ui
∅ <0.00%> (?)

workbench-core-environments
83.98% <0.00%> (?)

workbench-core-environments-ui
∅ <0.00%> (?)

workbench-core-infrastructure
99.35% <0.00%> (?)

workbench-core-logging
100.00% <0.00%> (?)

workbench-core-swb-common-ui
∅ <0.00%> (?)

workbench-core-user-management
100.00% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@d94e3f0). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #988   +/-   ##
=======================================
  Coverage        ?   91.32%
=======================================
  Files           ?      202
  Lines           ?     6099
  Branches        ?     1127
=======================================
  Hits            ?     5570
  Misses          ?      529
  Partials        ?        0

Flag
Coverage Δ

root
91.32% <0.00%> (?)

swb-app
80.98% <0.00%> (?)

swb-reference
94.23% <0.00%> (?)

workbench-core-accounts
93.50% <0.00%> (?)

workbench-core-accounts-ui
∅ <0.00%> (?)

workbench-core-audit
95.00% <0.00%> (?)

workbench-core-authentication
100.00% <0.00%> (?)

workbench-core-authorization
100.00% <0.00%> (?)

workbench-core-base
80.28% <0.00%> (?)

workbench-core-datasets
95.65% <0.00%> (?)

workbench-core-datasets-ui
∅ <0.00%> (?)

workbench-core-environments
83.98% <0.00%> (?)

workbench-core-environments-ui
∅ <0.00%> (?)

workbench-core-infrastructure
99.35% <0.00%> (?)

workbench-core-logging
100.00% <0.00%> (?)

workbench-core-swb-common-ui
∅ <0.00%> (?)

workbench-core-user-management
100.00% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


For Windows

Is there way to use this on windows ?

yes, please find windows executable in assets section https://github.com/ed-asriyan/lottie-converter/releases


How to access Apollo Client and Navigation inside onBackgroundEvent in case App is in quit State?

I have added notifee.onBackgroundEvent(eventHandler) in Index.js. How i can i use things like Apollo Client which i have created inside App.js which will not be executed when App is in quit State. My Index.js looks like this:-
import 'react-native-gesture-handler';
import { AppRegistry } from 'react-native';
import App  from './App';
import * as Sentry from '@sentry/react-native';
import { name as appName } from './app.json';
import CodePush from "react-native-code-push";
import { enableScreens } from 'react-native-screens';
import messaging from '@react-native-firebase/messaging';
import notifee, {AndroidImportance, Event, EventType} from '@notifee/react-native';
enableScreens();

console.disableYellowBox = true;

if (!__DEV__) {
    // tslint:disable-next-line: no-empty
    console.log = () => null;
}

const codePushOptions = {
    checkFrequency: CodePush.CheckFrequency.MANUAL,
};

const eventHandler = async ({ type, detail }) => {
                                                                 // How can i access it here in case App is in Closed State ??
  if (type === EventType.PRESS) {
    console.log('User pressed the notification.', detail.pressAction?.id);
  }else if(type == EventType.ACTION_PRESS){
      console.log('User pressed action.', detail.pressAction?.id);
  }
}

notifee.onBackgroundEvent(eventHandler)

function onMessageReceived(notification) {
    console.log(notification)
    notifee.displayNotification({
        title: notification?.data?.title,
        body: notification?.data?.body,
        android: {
            channelId: 'default',
            importance: AndroidImportance.HIGH,         // For floating notifications
            pressAction: {
                id: 'default',   // cause app to open on notification click in case of android. On Ios, app is pened by default on
                                           notification click.
            },
            actions: [
                {
                  title: "Mark as Read",
                  pressAction: {
                    id: "mark_as_read"
                  },
                },
                 {
                  title: "Close",
                  pressAction: {
                    id: "close"
                  }
                }
            ]
        },
    });

    //For setting actions in IOS
    // notifee.setNotificationCategories([
    //     {
    //       id: 'message',
    //       actions: [
    //         {
    //           id: "mark_as_read",
    //           title: "Mark as read",
    //         },
    //         {
    //             id: "close",
    //             title: "Close",
    //         },
    //       ],
    //     },
    // ]);

    return Promise.resolve();
  }

messaging().onMessage(onMessageReceived);
messaging().setBackgroundMessageHandler(onMessageReceived);
AppRegistry.registerComponent(appName, () => CodePush(codePushOptions)(App));

I fixed your formatting so it was readable - in markdown you may use triple-backticks and a language specifier to get the pretty-printing - hit the edit button to see how to do it, makes it much easier to read
With regard to Apollo I'm not sure, I have no experience with Apollo.
Things I do know with certainty:

in headless mode on Android, you will not have access to normal react-native APIs, you will need to store whatever information you need for the future startup of the full App, then on startup you should pull from where ever you stored it, whatever is there, and handle it as needed
iOS does not have a background mode in react-native. If you implement the notification extension handler you have a limited amount of time to process an inbound notification that has a notification block and that's it. If the user interacts with the notification it boots the App. For a background message (if it is delivered! deliver is not guaranteed!) iOS will actually boot the whole App.

Not sure if that helps or not, but as mentioned, I don't use Apollo so I'm not sure exactly what you need to do

But what about navigation ? How can i use that here, If i navigate using navigationRef.current.navigate, it does not navigate because by the time navigationRef is not initialised. How can i navigate user to different screens depending on notification data. Is there any better way to handle this when app is in closed or background state?

I have the same use case, it's exactly the case handled by:

You will not have access to normal react-native APIs, you will need to store whatever information you need for the future startup of the full App, then on startup you should pull from where ever you stored it, whatever is there, and handle it as needed

I store a chunk of "pending navigation" information, and on App boot I check it. I have pending navigation, I navigate

How have you difined your apollo setup, you should be able to access your apollo client here, e.g. client.query if you have defined your apollo client (ref) like:
const client = new ApolloClient({
  uri: 'http://localhost:4000',
  cache: new InMemoryCache()
});

Thanx I was able to access Apollo Client in onBackgroundEvent in case App is in quit State.


[materialx] Add new port

This port currently doesn't support arm, arm64  and uwp.
On Linux platform, need to install these libraries: libx11    libxt    freeglut3
Related issue #8780
No feature need to test.

@zhonglingxiao, does this portfile work for you?

/azp run

/azp run

/azp run

/azp run

Please feel free to ask us to reopen this PR if you need it.


Recorded video's length is longer than actual recording length

[x] I have verified there are no duplicate active or recent bugs, questions, or requests
[x] I have verified that I am using the latest version of Material Camera.
[x] I have given my issue a non-generic title.

Include the following:

Material Camera version: 0.4.1
Device OS version: 5.0
Device Manufacturer: LG
Device Name: Nexus 5 Emulator

  File saveFolder = new File(Environment.getExternalStorageDirectory(), "SportStory");
                if (!saveFolder.exists() && !saveFolder.mkdirs())
                    throw new RuntimeException("Unable to create save directory, make sure WRITE_EXTERNAL_STORAGE permission is granted.");

                new MaterialCamera(getActivity())
                        .saveDir(saveFolder)
                        .showPortraitWarning(false)
                        .defaultToFrontFacing(false)
                        .start(CAMERA_RQ);

Reproduction Steps

Record a 5 second video.
Play recorded video.

Expected Result
5 second video.
Actual Result
55 second video.
To clarify: The recorded video is a lot longer than expected. The first 5 seconds of the video is normal and it is the actual recorded video, but the rest of the video is empty. It also seems the video is somehow corrupted. When I play it in VLC player on computer, it crashes when it passes first 5 seconds. Any ideas?
Edit: I just ran sample app without changing any code and I experiance the same behavior.

I've never experienced any issues close to this. Have you guys, @sugarmanz @tylerkrupicka?

No, I haven't. But, I'm not sure that I completely trust the emulator. @kr1stjans Are you able to reproduce the issue on an actual device?

Good point, I really don't think it's an issue.

Never seen it on my devices


Heroku deployment appears broken?

odd-bakery-logs-1570827487361.txt

Have just tried the one-click deployment link, and it claims to have started up successfully, but accessing any page is failing with: "An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details." There's nothing meaningful in the logs I get from heroku logs though - it just shows migrations completing successfully...
What are the exact steps you took to bring up the site and retrieve the logs?

Never mind - I am indeed now seeing the same uWSGI segfault when I have https://dashboard.heroku.com/apps/<appname>/logs open while fetching a page in another tab. Thanks for the report!

No problem, @gasman! Any idea what might be causing this? I tried a couple things, but I'm less familiar with this repo (we just like to have it deployed to remind of us of how we've deviated from vanilla Wagtail), but I'm happy to help figure out whats going on.


error with test program

Hi, i have a problem, whenever i want to run the test i get this following error

Can you please help me

The test script does not build the C++. You will have to run the build script before testing. I am not sure if the gyp build is intentionally excluded from the test script. I'll experiment with the scripts to see if any improvements can be done later.
npm run build


lib can't support three.js version 0.77.1

run it
const csgEvaluator = new Evaluator();
          const brush1 = new Brush(geometry);
          const brush2 = new Brush(boxGeometry);

          const result = csgEvaluator.evaluate(brush1, brush2, SUBTRACTION);

error message:
three__WEBPACK_IMPORTED_MODULE_0__.Triangle.getInterpolation is not a function

Correct. Three.js version 77 is over seven years old. It should not be used anymore.

tks,update lib to 0.155!


Customize naming of span for Spring MVC

The span name for a RestController is the name of the method. It would be nice to be able to configure it to something like ClassName#methodName. The name would help to distinguish the same method name but from different controllers.

@sydneyhenrard  You can implement HandlerInterceptorSpanDecorator and inject into spring container.But I use full values of 'RequestMapping' annotation instead of 'ClassName#methodName' as span name

@wuyupengwoaini I guess what @sydneyhenrard meant was:
The span name should not be the name of the method only by default.
I don't have preferences on using full values of RequestMapping annotation or ClassName#methodName but any of these 2 would be better than the current default.

@chengchen I got it.We should provided the better HandlerInterceptorSpanDecorator  as default span name naming strategy

@chengchen use code to init strategy as below
@Bean
    public List<HandlerInterceptorSpanDecorator> initSpanDecorators() {
        return Arrays.asList(HandlerInterceptorSpanDecorator.STANDARD_LOGS,
                HandlerInterceptorSpanDecorator.HANDLER_SPRING_WEB_METHOD_OPERATION_NAME);
    }
```

Thanks for the reply. I don't want to impose a default, I just wanted a way to customize it. Now I can see how I can do it. I think what is missing is this kind of example on how to customize things.


[Maintenance] Disable automatic updates of spring-boot-starter-parent in EAI template

Relevant template
No response
Problem description (optional)
Currently renovatebot checks for updates of the package spring-boot-starter-parent. However this leads to Renovatebot always suggesting the newest release, which might not be compatible with the Camel version.
Instead of managing Springl version through Renovatebot, we should manually update the Spring version when a Camel Update to an LTS version is necessary.
The compatible Spring version for a given Camel version can be identified through analyzing the POM structure (see https://central.sonatype.com/artifact/org.apache.camel.springboot/camel-spring-boot/4.4.3/dependencies) and search from spring as example.
Desired solution
Add this dependency to the blacklist of Renovatebot to only update Spring manually when updating Camel.
Keep in mind this should only happen for the refarch-eai template, and not affect other Spring templates like refarch-backend.
Considered alternatives (optional)
No response
Additional context (optional)
No response
No duplicate

[X] I confirm that this issue is not a duplicate

Code of Conduct

[X] I agree to follow this project's Code of Conduct

It looks like you can either disable via dependency name (https://docs.renovatebot.com/configuration-options/#ignoredeps) or path (https://docs.renovatebot.com/configuration-options/#ignorepaths). But we need a combination of both which is not available.
Maybe a more complex approach using packageRules (https://docs.renovatebot.com/configuration-options/#packagerules) will do the trick.

It looks like a custom packageRule with the reference to the pom.xml inside refarch-eai using https://docs.renovatebot.com/configuration-options/#matchfilenames plus a matching to the dependency name using matchPackageNames and "enabled": false will do what we need.


new: support for custom response writer

Setting a custom ResponseWriter in the bahamut.Context let the user write the raw http response to the client using the standard http.ResponseWritter.

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "file-upload",
    "component": "elemental",
    "pr-id": "70",
    "commit-sha": "5d54853848f8caf5c69d422d0446cbcbcbe1b300",
    "pipeline": "master"
  },
  {
    "project": "file-upload",
    "component": "gaia",
    "pr-id": "462",
    "commit-sha": "57bd4044e7d8fa58f61954e977131f3c637ebfc9",
    "pipeline": "master"
  },
  {
    "project": "file-upload",
    "component": "bahamut",
    "pr-id": "91",
    "commit-sha": "a684e9333f1a5bb129f486f51fad9de3a507e915",
    "pipeline": "master"
  },
  {
    "project": "file-upload",
    "component": "backend",
    "pr-id": "711",
    "commit-sha": "9743f2c9117c5bca0bc8e70c1051620acb140590",
    "pipeline": "master"
  }
]


Ignore hp2 warnings for single quatt installations #86

This fixes issue #86. The logfile is flooded with warnings like: "Could not find hp2 of hp.temperatureWaterOut".
Warnings regarding hp2 are ignored in the getValue function because for single Quatt installations it is a valid scenario.

@marcoboers can you have a look?

I'm currently on holiday. I'll check it out when I'm back next week.