Problem at first launch of kresus

COzy is installed on Raspberry Pi
Kresus version is 0.4.2
Here is the display on the web browser :
Is it installed?
Installing...
[install.sh] -- New python executable in env/bin/python
Installing setuptools, pip...
[install.sh] -- done.
[install.sh] -- Collecting git+git://git.symlink.me/pub/romain/weboob (from -r requirements.txt (line 1))
[install.sh] --   Cloning git://git.symlink.me/pub/romain/weboob to /tmp/pip-GkkOGQ-build
[install.sh] -- Collecting git+git://git.symlink.me/pub/weboob/modules (from -r requirements.txt (line 2))
[install.sh] --   Cloning git://git.symlink.me/pub/weboob/modules to /tmp/pip-aQrqYe-build
[install.sh] --     /usr/local/cozy/apps/kresus/weboob/env/local/lib/python2.7/site-packages/setuptools/dist.py:292: UserWarning: The version specified ('0.h') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
[install.sh] --       "details." % self.metadata.version
[install.sh] -- Collecting cssselect (from -r requirements.txt (line 3))
[install.sh] --   Downloading cssselect-0.9.1.tar.gz
[install.sh] -- Collecting lxml (from weboob==1.1->-r requirements.txt (line 1))
[install.sh] --   Downloading lxml-3.4.2.tar.gz (3.5MB)
[install.sh] --     /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
[install.sh] --       warnings.warn(msg)
Building lxml version 3.4.2.
Building without Cython.
Using build configuration of libxslt 1.1.26
[install.sh] --     Building against libxml2/libxslt in the following directory: /usr/lib
[install.sh] -- Collecting feedparser (from weboob==1.1->-r requirements.txt (line 1))
[install.sh] --   Downloading feedparser-5.1.3.tar.bz2 (202kB)
[install.sh] -- Collecting requests (from weboob==1.1->-r requirements.txt (line 1))
[install.sh] --   Downloading requests-2.6.0-py2.py3-none-any.whl (469kB)
[install.sh] -- Collecting python-dateutil (from weboob==1.1->-r requirements.txt (line 1))
[install.sh] --   Downloading python_dateutil-2.4.1-py2.py3-none-any.whl (188kB)
[install.sh] -- Collecting PyYAML (from weboob==1.1->-r requirements.txt (line 1))
[install.sh] --   Downloading PyYAML-3.11.tar.gz (248kB)
[install.sh] -- Collecting prettytable (from weboob==1.1->-r requirements.txt (line 1))
[install.sh] --   Downloading prettytable-0.7.2.tar.bz2
[install.sh] -- Collecting Pillow (from weboob==1.1->-r requirements.txt (line 1))
[install.sh] --   Downloading Pillow-2.7.0.tar.gz (7.4MB)
[install.sh] -- Collecting gdata (from weboob==1.1->-r requirements.txt (line 1))
[install.sh] --   Downloading gdata-2.0.18.tar.gz (2.5MB)
[install.sh] -- Collecting mechanize (from weboob==1.1->-r requirements.txt (line 1))
[install.sh] --   Downloading mechanize-0.2.5.tar.gz (383kB)
[install.sh] -- Collecting futures (from weboob==1.1->-r requirements.txt (line 1))
[install.sh] --   Downloading futures-2.2.0-py2.py3-none-any.whl
[install.sh] -- Collecting six>=1.5 (from python-dateutil->weboob==1.1->-r requirements.txt (line 1))
[install.sh] --   Downloading six-1.9.0-py2.py3-none-any.whl
[install.sh] -- Installing collected packages: six, weboob-modules, weboob, futures, mechanize, gdata, Pillow, prettytable, PyYAML, python-dateutil, requests, feedparser, lxml, cssselect
[install.sh] --
[install.sh] --   Running setup.py install for weboob-modules
[install.sh] --     /usr/local/cozy/apps/kresus/weboob/env/local/lib/python2.7/site-packages/setuptools/dist.py:292: UserWarning: The version specified ('0.h') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
[install.sh] --       "details." % self.metadata.version
[install.sh] --     /usr/local/cozy/apps/kresus/weboob/env/local/lib/python2.7/site-packages/pkg_resources/init.py:2510: PEP440Warning: 'weboob-modules (0.h)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
[install.sh] --       PEP440Warning,
[install.sh] --   Running setup.py install for weboob
[install.sh] --     changing mode of build/scripts-2.7/weboob-config from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/weboob-repos from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/weboob-debug from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/boobathon from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/galleroob from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/suboob from 644 to 755
changing mode of build/scripts-2.7/wetboobs from 644 to 755
changing mode of build/scripts-2.7/boobank from 644 to 755
changing mode of build/scripts-2.7/webcontentedit from 644 to 755
changing mode of build/scripts-2.7/traveloob from 644 to 755
changing mode of build/scripts-2.7/boobtracker from 644 to 755
changing mode of build/scripts-2.7/monboob from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/handjoob from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/translaboob from 644 to 755
changing mode of build/scripts-2.7/videoob from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/flatboob from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/radioob from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/geolooc from 644 to 755
changing mode of build/scripts-2.7/weboob-cli from 644 to 755
changing mode of build/scripts-2.7/parceloob from 644 to 755
changing mode of build/scripts-2.7/cineoob from 644 to 755
changing mode of build/scripts-2.7/boobmsg from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/boobill from 644 to 755
changing mode of build/scripts-2.7/boobcoming from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/pastoob from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/boobsize from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/boobooks from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/comparoob from 644 to 755
changing mode of build/scripts-2.7/booblyrics from 644 to 755
changing mode of build/scripts-2.7/cookboob from 644 to 755
changing mode of build/scripts-2.7/weboorrents from 644 to 755
[install.sh] --     changing mode of build/scripts-2.7/shopoob from 644 to 755
changing mode of build/scripts-2.7/havedate from 644 to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/radioob to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/weboob-cli to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/boobsize to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/cineoob to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/boobtracker to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/handjoob to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/geolooc to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/translaboob to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/weboob-debug to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/boobooks to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/cookboob to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/webcontentedit to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/boobcoming to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/weboob-repos to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/booblyrics to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/monboob to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/wetboobs to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/pastoob to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/traveloob to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/videoob to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/boobill to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/parceloob to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/flatboob to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/boobank to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/havedate to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/weboob-config to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/suboob to 755
[install.sh] --     changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/shopoob to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/galleroob to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/boobathon to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/comparoob to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/weboorrents to 755
changing mode of /usr/local/cozy/apps/kresus/weboob/env/bin/boobmsg to 755
[install.sh] --
[install.sh] --   Running setup.py install for mechanize
[install.sh] --   Running setup.py install for gdata
[install.sh] --   Running setup.py install for Pillow
Rights problem ???

Hi @ZeHiro , could you please update Kresus and try again? Now Kresus will try to reinstall itself 3 times, if it fails the first two times, hopefully that should be enough, because it's not clear what's going wrong here.

Hi, weboob just takes a loooooong time to install on the RPI2. I just restarted the cozy, so it is still being reinstalled. But the ticket coulb be closed, as it finally works, but a few hours later

Cool, thanks for letting me know!


Update mockery

Notes:

syz-env downloads 1.22.0 toolchain after this change. It is a go 1.21+ feature.
Go 1.22.0 works for AppEngine. Go 1.22.7 doesnt' work.


load issue

when loading act this is what I end up getting in an error and it wont let me load cactbot anything because of it...
8/7/2018 6:33:30 AM: Info: InitPlugin: PluginDirectory = C:\Program Files (x86)\Advanced Combat Tracker\Overlay Plugin
8/7/2018 6:33:30 AM: Info: LoadAddons: C:\Program Files (x86)\Advanced Combat Tracker\Overlay Plugin\addons\CactbotOverlay.dll
8/7/2018 6:33:30 AM: Error: LoadAddons: C:\Program Files (x86)\Advanced Combat Tracker\Overlay Plugin\addons\CactbotOverlay.dll: System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Program Files (x86)\Advanced Combat Tracker\Overlay Plugin\addons\CactbotOverlay.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
File name: 'file:///C:\Program Files (x86)\Advanced Combat Tracker\Overlay Plugin\addons\CactbotOverlay.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at RainbowMage.OverlayPlugin.PluginMain.LoadAddons()
8/7/2018 6:33:31 AM: Info: InitPlugin: Initialized.

found the problem


The frequent insertion of electron using sqlite 3 causes the memory to soar

Issue Summary
I use sqlite 3 in electron, except for the initialization query, the rest has been doing data insertion operations, about a dozen per second, and then I also did a close, but the CPU memory will still soar over time
请问应该如何解决
 async insert(table_name,json){
        const {time, content } = json;

        this.db.serialize(() => {
          // this.db.run('BEGIN TRANSACTION');
          this.db.run(`INSERT INTO ${table_name} (time, content) VALUES (?, ?)`, [time, content], () => {
            this.close()
          });
          // this.db.run('COMMIT');
        });

    }

    async query(table_name,){
      return new Promise((resolve, reject) => {
        this.db.all(`SELECT * FROM ${table_name}`, async (err, rows) => {
            if (err) reject([]);
            resolve(rows);
         });
      })
   }

   close(){
    this.db && this.db.close(() => {
      this.db = null;
      this.db = new sqlite3.Database(this.path);
    });
   }

Steps to Reproduce
每秒插入十多条数据
Version
5.1.6
Node.js Version
v16.19.1
How did you install the library?
npm

sorry When sqlite executes the insert, I also push the new events event emitter message. Self-examination found that the memory soared because of the frequent message push


[freeRetries] strange behavior

Hello,
thanks for that great module!
However I am facing a strange behavior regarding the number of freeRetries.
Indeed my snippet of code is the following:
options = { freeRetries: 10,
            minWait: 25*60*60*1000,
            maxWait: 25*60*60*1000,
            proxyDepth: 1,
            failCallback: function(req, res, next, nextValidRequestDate) {
              res.status(429).send('You have made too many failed attempts in a short period of time, please try again ' + moment(nextValidRequestDate).fromNow());
            }},
bruteforce = new ExpressBrute(bruteRedisStore, options);

In that case what happen:
After only 5 requests (whatever the time between each) I got:
You have made too many failed attempts in a short period of time, please try again in a few seconds
A retry passed few second still does not reset the "counter".
I was expecting to reach 10 -> banned -> retry after ~10 sec -> OK -> retry fail etc.... with gradually increasing waiting time.
I might not have understood exactly the behavior of the module I think. If you got some time to explain me what is wrong in my thinking I would be very thankful!
Cheers!

+1

The correct behavior for that config is:
reach 10 -> banned -> retry after ~10 seconds -> fail -> retry after 25 hours -> OK.
As for why it's failing, can you include a snippet of how you're using you're using the middleware, it almost sounds like it's being included twice.

Hello thanks for your reply!
Actually it is caused by the preflight OPTION from my POST request. So you might count the preflight as a 'proper' request.
Cheers!

Interesting, hadn't thought about that. Seems like it would only be any issue with cross-domain APIs where you weren't targeting a specific method with your route (e.g. app.use or app.all instead of app.push or app.delete) and weren't handing the options request in an earlier middleware (e.g. express-cors).
Is ignoring OPTIONs requests really the right solution?

I am not a security expert but I don't think express-brute should change anything.
May be this issue can be closed.
Thanks for your time!


Receiving AccessDenied on Nerdgraph request

Logs with redactions below, nri-sync seems to start well, but receives an AccessDenied Error on Nerdgraph requests
Startup for nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="running task" component=integrations.Definition integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="running through all discovery matches" component=integrations.Definition integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="found a nil ConfigTemplate" component=integrations.Definition integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="executing task" component=integrations.Definition integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="waiting while the integration instances run" component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="running command" command=/var/db/newrelic-infra/newrelic-integrations/bin/nri-sync component=integrations.Executor env="[LANG=en_US.UTF-8 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin DBUS_SYSTEM_BUS_ADDRESS=unix:path=/var/run/dbus/system_bus_socket NR_UUID=XXXXXXXX NR_ACCOUNT_ID=XXXXXX NR_COLLECTION=XXXXXX NR_API_KEY=<HIDDEN> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin VERBOSE=1]" path=/var/db/newrelic-infra/newrelic-integrations/bin/nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="[2020-09-16T18:13:56Z INFO  nri_sync::nrsync] starting nri-sync v:1.0.0" component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="[2020-09-16T18:13:56Z INFO  nri_sync::nrsync] collecting files on disk: /etc/newrelic-infra/integrations.d" component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="[2020-09-16T18:13:56Z INFO  nri_sync::nrsync] fetching collection: XXXXXXXXXX" component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="[2020-09-16T18:13:56Z DEBUG rustls::anchors] add_pem_file processed 140 valid and 0 invalid certs" component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="[2020-09-16T18:13:56Z DEBUG hyper::client::connect::dns] resolving host=\"api.newrelic.com\" " component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="[2020-09-16T18:13:56Z DEBUG hyper::client::connect::http] connecting to <IP_ADDRESS>:443 " component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="[2020-09-16T18:13:56Z DEBUG hyper::client::connect::http] connected to <IP_ADDRESS>:443 " component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="[2020-09-16T18:13:56Z DEBUG rustls::client::hs] No cached session for DNSNameRef(\"api.newrelic.com\")" component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="[2020-09-16T18:13:56Z DEBUG rustls::client::hs] Not resuming any session" component=integrations.runner.Group integration_name=nri-sync

Error
time="2020-09-16T18:13:56Z" level=debug msg="[2020-09-16T18:13:56Z ERROR rustls::session] TLS alert received: Message {" component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="        typ: Alert," component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="        version: TLSv1_0," component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="        payload: Alert(" component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="            AlertMessagePayload {" component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="                level: Fatal," component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="                description: AccessDenied," component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="            }," component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="        )," component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="    }" component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="thread 'main' panicked at 'nerdgraph request failed: hyper::Error(Connect, Custom { kind: Other, error: Custom { kind: InvalidData, error: AlertReceived(AccessDenied) } })', src/nrsync.rs:124:20" component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace" component=integrations.runner.Group integration_name=nri-sync
time="2020-09-16T18:13:56Z" level=debug msg="starting harvest" component=Plugins id=metadata/host_aliases
time="2020-09-16T18:13:56Z" level=debug msg="completed harvest, emitting" component=Plugins dataset="[{XXXXXXXXX hostname} {XXXXXXXXXX hostname_short}]" id=metadata/host_aliases
time="2020-09-16T18:13:56Z" level=debug msg="completed emitting" component=Plugins id=metadata/host_aliases
time="2020-09-16T18:13:56Z" level=debug msg="Updating identity" component=Agent new=XXXXXXXX old=XXXXXXXXX
time="2020-09-16T18:13:56Z" level=warning msg="integration exited with error state" component=integrations.runner.Group error="exit status 101" integration_name=nri-sync stderr="(last 10 lines out of 21):         version: TLSv1_0,\n        payload: Alert(\n            AlertMessagePayload {\n                level: Fatal,\n                description: AccessDenied,\n            },\n        ),\n    }\nthread 'main' panicked at 'nerdgraph request failed: hyper::Error(Connect, Custom { kind: Other, error: Custom { kind: InvalidData, error: AlertReceived(AccessDenied) } })', src/nrsync.rs:124:20\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace"

Could this be due to the agent trying to use TLS 1.0 for this communication?

Hey @jrhinehart the way the agent communicates is independent to the integration communicating with nerdgraph so that should not be an issue.
Given the last section of this error:
payload: Alert(\n            AlertMessagePayload {\n                level: Fatal,\n                description: AccessDenied,\n            },\n        ),\n    }\nthread 'main' panicked at 'nerdgraph request failed: hyper::Error(Connect, Custom { kind: Other, error: Custom { kind: InvalidData, error: AlertReceived(AccessDenied) } })', src/nrsync.rs:124:20\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace"

This tells me that the nerdgraph request failed, and it sounds like an authenticate issue given the AccessDenied message. Are you able to confirm the package uuid and nerdgraph api key is correct? If you're still having trouble feel free to ping me internally the details you're using and I can take a closer look.

closing due to inactivity


cant install wagmi with default CRA

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
latest
Current Behavior
create a default CRA app npx create-react-app src
try to install wagmi npm install wagmi viem
dont work
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/typescript
npm ERR!   peer typescript@">= 2.7" from<EMAIL_ADDRESS>npm ERR!   node_modules/fork-ts-checker-webpack-plugin
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/react-dev-utils
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!       node_modules/react-scripts
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peerOptional<EMAIL_ADDRESS>|| ^4" from<EMAIL_ADDRESS>npm ERR!   node_modules/react-scripts
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   1 more (tsutils)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! wagmi@"*" from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/typescript
npm ERR!   peerOptional<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/wagmi
npm ERR!     wagmi@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/aaa/.npm/eresolve-report.txt for a full report.

Expected Behavior
expect it to install happily
Steps To Reproduce
see current behavior
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
broken with node 14 and 16. npm 9.6.7

The latest version of wagmi requires TypeScript v5.0.4 or greater so you'll need to configure CRA to work with that. In general, I'd recommend using something like Vite instead of CRA.

The latest version of wagmi requires TypeScript v5.0.4 or greater so you'll need to configure CRA to work with that. In general, I'd recommend using something like Vite instead of CRA.

thanks @tmm  - perhaps add this to the Install page so users dont throw the baby out with the bath water here.


Changing item value(s) on drop?

I am generating two lists from one object based on a key value (signature). When an item is moved to the other list I need to be able to toggle the signature value.
I have read through all the Issues and Documentation, and I cannot seem to figure out how to access the object from the dragulardrop event.
Any help would be greatly appreciated. Thank you in advance.
JSON:
[
  {
    "id": 1111,
    "name": "test.txt",
    "desc": "",
    "type": "txt",
    "size": 0,
    "holder": false,
    "required": false,
    "signature": true
  },
  {
    "id": 1112,
    "name": "test.pptx",
    "desc": "",
    "type": "pptx",
    "size": 0,
    "holder": false,
    "required": true,
    "signature": false
  },
  {
    "id": 1113,
    "name": "test.docx",
    "desc": "",
    "type": "docx",
    "size": 0,
    "holder": false,
    "required": true,
    "signature": false
  }
]

HTML:

                Packet Files

                                 {{packetfile.name}} ({{packetfile.size}})

                Signature Files

                                 {{signaturefile.name}} ({{signaturefile.size}})

Dragular Controller:
    .controller('FileSort', ['$scope', '$element', 'dragularService', function ($scope, $element, dragularService) {
        dragularService('.files', {
            scope: $scope
        });
        $scope.$on('dragulardrag', function (e, el) {
            e.stopPropagation();
            el.className += ' grabbingCursor';
        });
        $scope.$on('dragulardrop', function (e, el) {
            e.stopPropagation();
            el.className = el.className.replace(' grabbingCursor', '');
        });

You can combine last two parameters of dragulardrop event callback function. 7th and 8th parameter target-model and drop-index. You will get item model like this:

$scope.$on('dragulardrop', function ( e, el, targetContainer, sourceContainer, conModel, elIndex, targetModel, dropIndex ) {
            var itemModel = targetModel[ dropIndex ];
             itemModel.signature = !itemModel.signature;
        });

Reference: https://github.com/luckylooke/dragular#events

The targetModel is null.
I added a {{npm.fileholders | json}} at the bottom of the page like you have in several of your examples, and it is not being updated. The dropIndex and elIndex only appear to correspond with the visual position of the items, not the actual object's index? So I am still unable to reach back to update the object.
I apologize for not being able to set up a live example.. I still very new to using Angular and am not familiar or comfortable with jsFiddle of jsBin. I have included a screenshot of the page, in hopes it might help.
Thank you for your prompt response and in advance for any help you may be able to offer.

Could you please reproduce the problem somewhere public? Like jsfiddle, codepen, etc.. thank you

Good Morning, thank you again for you all you help.  I was able to make a live example, although there are some oddities.
https://plnkr.co/edit/9nCakIAIaAYbIIc1mRM7
For instance, I have no idea why the item name is displaying when an item is being dragged; it is not something I have it set up to do. Also, the dropIndex is undefined, however, in my dev environment the dropIndex is the index of the visual position of the dropped item.
Thank you in advance for any help you may be able to offer.

You have used old version 3.4.0.. the latest is 4.4.2, you did not provide model to dragular service, so it is why you have undefined index and targetModel.. because dragular works without models when not provided. You need to provide it via options.containersModel. As your situation is quite complicated you need to calculate model for dragular to match the situation from your view (html). Dragular expects model to have same items and order as you have in your html. When you drag n drop element, dragular mimics same movement to models. It is based on indexes. I have edited your plnkr and get this: https://plnkr.co/edit/Gs5Sd3qDSlbZJJXuWOl8?p=preview
there is not perfect solution because item model is dropped into array returned by filter and not into the fileholders array.. maybe would be better to split fileholders into two arrays with and without signature and use those arrays as models and reuse them also in view.
This example on demo page may help you understand: http://luckylooke.github.io/dragular/#/docs/exampleNgRepeatFilteredWithModel
I am not able to help you more, because it is very time consuming and I need that time for developing much better drag n drop library I am working on now. I can help you understand how dragular works, but I cannot solve your usecase for you, thanks for understanding.

Works perfectly! Thank you so, so much!

Sorry to bother you again, I have just noticed when I try reordering the items within the same list/container it deletes the item?
https://plnkr.co/edit/Gs5Sd3qDSlbZJJXuWOl8?p=preview

should not.. I will look at it soon

I am sure that there is lution for this, I have to thik about it... but much easier would be to split files into two arrays, each for one container and then if you need to use it together, just merge those arrays back into one. It would simplify the whole setup. If I came with solution without splitting the files array, I will let you know. Anyway, thanks for interesting usecase, I will be thinking about.

I have done as you suggested and split the array into two.  I followed the Basic with Model example and I am still getting the same issue.
https://plnkr.co/edit/9nCakIAIaAYbIIc1mRM7?p=preview
I understand you are very busy and unable to provide support for this usecase, I just wanted to thank you, again, for the time spent troubleshooting this issue.

I have found the problem.. there is some problem with indexes using ng-if inside ng-repeat :/ I dont know why yet, I will try to find the problem when I would have more time. Thank you for your patience an understanding, and also that you prepared the scenario, so I had more time for focusing on the problem. This is my solution for now, which is not very pretty but it works: https://plnkr.co/edit/Vcky4pispawxlsZcf2La?p=preview

I am making separate issue for cleaner info, because this issue was about changing the item on drop.

Thank you so, so much!


Logging cleanup

Added a new log facility to enable/disable different categories of logging inside the SDK. Logging can be enabled from an environment variable in a way familiar to node developers: adding the package name to the DEBUG var:
set DEBUG="@microsoft/mixed-reality-extension-sdk" && node .

It can also be set in vscode's launch.json settings.
Logging can be enabled or disabled programmatically as well:
log.enable(); // Enable all logging
log.enable('network'); // Enable logging only for network activity
log.enable('network', 'errors'); // Only log network errors
log.enable(null, 'errors'); // Log all errors regardless of category

Successive calls to log.enable are additive. Call log.disable(...) to subtract.
Other things

We now log warnings and errors returned in network messages to the console for the developer to see.
Removed the Logger and Storage types from the SDK.

@tombuMS Correct. I wanted to tackle that separately.


Websocket compression support (permessage-deflate / RFC RFC 7692)

It would be great if websockets (server-side) could support the permessage-deflate extension, which provides compression for websocket frames. It's described in RFC 7692 and is currently implemented client-side in at least Chrome, possibly others.

I'll add a followup to do this for the Ember Server implementation of WebSockets as well


[Optimization][HIVE] An error occurred when creating the table in the hive catalog

Search before asking

[X] I had searched in the issues and found no similar optimization requirement.

Description
dinky : 1.0
flink : 1.17
hive : 3.1.3
在hive的catalog并且创建表时发生错误,但是使用flink-sql的client操作相同的sql命令是没有问题的,初步判断应该是依赖问题,但是是在排查不出问题了

相关依赖

Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

执行模式 换成单机或者是flink on yarn 都不行

已解决, 将flink-connector-hive的包换成胖包flink-sql-connector-hive即可,并且将hive-site.xml 在dinky/extend/flink/复制一份


Could you support Attention Sink?

Efficient Streaming Language Models with Attention Sinks paper
These repo has already implemented it:
attention_sinks
streaming-llm

+1
I think the attention_sinks project is a very promising technique for improving inference for long sequences for models without having to train them with alibi etc

Ya, getting rid of max_new_tokens effectively, so generation can continue as model predicts EOS token, instead of getting truncated just because of large input token counts.

Hi @WoosukKwon and @zhuohan123,
I'm going to work on this feature and I'd like to ask about injecting Attention Sink logic. We need to be able to specify it and set the number of attention sink tokens.

LLM's API allows passing *kwargs https://github.com/vllm-project/vllm/blob/main/vllm/entrypoints/llm.py#L74 with extra configuration and later on use this configuration for every model supporting it. Is it ok from your perspective?

@sh1ng FYI https://github.com/tomaarsen/attention_sinks has a 3rd-party version which is quite clean and works on a broader set of models than the original paper's github.  It's what h2oGPT uses.  Just FYI.

Hi @WoosukKwon and @zhuohan123,
before starting with my changes, I'd like to consult with you regarding the cache block design for Attention Sink.
To some extent, it's similar to Mistral's circular buffer for endless strimming.
But we have one significant difference - Attention Sink keeps 4 tokens at the tail(left side) and we don't want to move KV cache data at all.
So Mistral does the following(let's say we have only 4 blocks(4 tokens each) and token at point time t_i just denotes by i for conciseness) and x - empty slot.

Blocks  ->
Block 0
Block 1
Block 2
Block 3

Initial state
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, x

Added token 15
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

Added token 16
16, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

Added token 17
16, 17, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

Attention can be computed by rotating blocks, i.e. 16, 17, 2, 3   | 4, 5, 6, 7      | 8, 9, 10, 11 | 12, 13, 14, 15 | 16, 17, 2, 3, so we can compute it in the consecutive elements.
Please confirm that the above is correct.
Attention Sink keeps a few "tail" tokens according to the pic from https://github.com/vllm-project/vllm/issues/1304#issuecomment-1791022511
So it should be(let's say we only use 2 attention sink tokens)

Blocks  ->
Block 0
Block 1
Block 2
Block 3

Initial state
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, x

Added token 15
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

Added token 16
0, 1, 16, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

Added token 17
0, 1, 16, 17
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

And reusing Block 0 will not give the correct result as it will be 0, 1, 16, 17   | 4, 5, 6, 7      | 8, 9, 10, 11 | 12, 13, 14, 15| 0, 1, 16, 17.
I see a few possible solutions:

Modify paged_attention_kernel to handle above case. I'm not sure yet that it feasible and will not affect the performance.
Move attention sink tokens to the right position.

Hi @WoosukKwon and @zhuohan123,
before starting with my changes, I'd like to consult with you regarding the cache block design for Attention Sink.
To some extent, it's similar to Mistral's circular buffer for endless strimming.
But we have one significant difference - Attention Sink keeps 4 tokens at the tail(left side) and we don't want to move KV cache data at all.
So Mistral does the following(let's say we have only 4 blocks(4 tokens each) and token at point time t_i just denotes by i for conciseness) and x - empty slot.

Blocks  ->
Block 0
Block 1
Block 2
Block 3

Initial state
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, x

Added token 15
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

Added token 16
16, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

Added token 17
16, 17, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

Attention can be computed by rotating blocks, i.e. 16, 17, 2, 3   | 4, 5, 6, 7      | 8, 9, 10, 11 | 12, 13, 14, 15 | 16, 17, 2, 3, so we can compute it on the consecutive elements similar to the initial implementation.
Please confirm that the above is correct.
Attention Sink keeps a few "tail" tokens according to the pic from https://github.com/vllm-project/vllm/issues/1304#issuecomment-1791022511
So it should be(let's say we only use 2 attention sink tokens)

Blocks  ->
Block 0
Block 1
Block 2
Block 3

Initial state
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, x

Added token 15
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

Added token 16
0, 1, 16, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

Added token 17
0, 1, 16, 17
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

And rotation will not give the correct result as it will be 0, 1, 16, 17   | 4, 5, 6, 7      | 8, 9, 10, 11 | 12, 13, 14, 15| 0, 1, 16, 17.
I see a few possible solutions:

Modify paged_attention_kernel to handle above case. I'm not sure yet that it is feasible and will not affect the performance.

Move the attention sink tokens to the right position.

Blocks  ->
Block 0
Block 1
Block 2
Block 3

Initial state
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, x

Added token 15
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

Added token 16
16, 0, 1, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

Added token 17
16, 17, 0, 1
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15

But that will cause additional memory copying of the size of the attention sink.

Keep attention sink KV in a separate block while maintaining a circular buffer of streamed tokens and then compute the attention of every new token with the block. We can even try to reuse the block for all requests with 4\n as shown in the original work.

WDYT?

Hey @sh1ng, I was wondering if you've started implementing attention sinks yet. If you have, would it be possible to open a PR? I'm interested in contributing to this feature

I tend to use option 3. with a few additional modifications:

Allocate BlockSize system blocks that contain \n*4 shifted to all possible rotations.
These blocks get prefilled during the start-up.
Prepend system block(s) and "fuse" it with the first block if necessary to always keep attention sink at the right position with minimum modifications to existing code base and memory movement.

Blocks  ->
Block 0
Block 1
Block 2
Block 3
Rotated chain of blocks
Comment

Initial state
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, x
NA, NA, \n(1st), \n(2nd), 0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
prepend [NA, NA, \n(1st), \n(2nd) ]

Added token 15
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15
\n(2nd), NA, NA, \n(1st), \n(2nd), 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
prepend and fuse [\n(2nd), NA, NA, \n(1st)]

Added token 16
16, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15
NA, NA, \n(1st), \n(2nd), 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
prepend and fuse [\n(1st), \n(2nd), NA, NA]

Added token 17
16, 17, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15
NA, \n(1st), \n(2nd),3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
prepend and fuse [NA, \n(1st), \n(2nd), NA]

No working code yet.

I tend to use option 3. with a few additional modifications:

Allocate BlockSize system blocks that contain \n*4 shifted to all possible rotations.

These blocks get prefilled during the start-up.

Prepend system block(s) and "fuse" it with the first block if necessary to always keep attention sink at the right position with minimum modifications to existing code base and memory movement.
Blocks  ->
Block 0
Block 1
Block 2
Block 3
Rotated chain of blocks
Comment
Initial state
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, x
NA, NA, \n(1st), \n(2nd), 0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
prepend [NA, NA, \n(1st), \n(2nd) ]
Added token 15
0, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15
\n(2nd), NA, NA, \n(1st), \n(2nd), 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
prepend and fuse [\n(2nd), NA, NA, \n(1st)]
Added token 16
16, 1, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15
NA, NA, \n(1st), \n(2nd), 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
prepend and fuse [\n(1st), \n(2nd), NA, NA]
Added token 17
16, 17, 2, 3
4, 5, 6, 7
8, 9, 10, 11
12, 13, 14, 15
NA, \n(1st), \n(2nd),3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
prepend and fuse [NA, \n(1st), \n(2nd), NA]

No working code yet.

@sh1ng  Hi, can we keep the first block of the seq as the attention sink, and drop blocks in the middle while keep the recent blocks? New blocks is allocated for the seq, however we control the total number of the blocks allocated to the seq. No sure if we need to deal with the position info.

I think attention sink is roughly equivlent to softmax1 as mentioned here: https://www.evanmiller.org/attention-is-off-by-one.html
Not sure if it is possible to apply softmax1 on inference time without re-training the model


Homebrew, Choco, Deb installers please :)

Once the little issues have been ironed out I intend to!

Support for homebrew / linuxbrew has been added. deb and choco are in the works 👍

great work

One thing I might recommend: since the github runner is using ubuntu 20.04, you may want to link against musl so that you don't get glibc version incompatibilities. (e.g. if the deb is installed on Debian buster)


Warnings on startup

@gabizou requested this be posted as to not forget, so here it is.
[17:02:59 INFO] [Sponge]: Initializing Sponge...
[17:02:59 INFO] [Sponge]: De-obfuscation mappings are provided by MCP (http://www.modcoderpack.com)
[17:02:59 INFO] [mixin]: SpongePowered MIXIN Subsystem Version=0.6.1 Source=file:/media/anthony/c0e7fdf8-c55b-48d2-aa83-d81ab0ac179f/Sponge/ServerJars/spongevanilla-1.11-6.0.0-BETA-182.jar Env=UNKNOWN
[17:02:59 INFO] [mixin]: Compatibility level set to JAVA_8
[17:02:59 INFO] [Sponge]: Searching for plugins...
[17:02:59 INFO] [Sponge]: 1 plugin(s) found
[17:02:59 INFO] [Sponge]: Initialization finished. Starting Minecraft server...
[17:03:03 WARN] [mixin]: Method overwrite conflict for getSlotProvider in mixins.common.core.json:tileentity.MixinTileEntityHopper, previously written by org.spongepowered.common.mixin.core.item.inventory.TraitInventoryAdapter. Skipping method.
[17:03:04 WARN] [mixin]: Method overwrite conflict for getSlotProvider in mixins.common.core.json:tileentity.MixinTileEntityChest, previously written by org.spongepowered.common.mixin.core.item.inventory.TraitInventoryAdapter. Skipping method.
[17:03:04 WARN] [mixin]: Method overwrite conflict for getSlotProvider in mixins.common.core.json:tileentity.MixinTileEntityFurnace, previously written by org.spongepowered.common.mixin.core.item.inventory.TraitInventoryAdapter. Skipping method.
[17:03:05 WARN] [mixin]: Method overwrite conflict for getSlotProvider in mixins.common.core.json:item.inventory.TraitInventoryAdapter, previously written by org.spongepowered.common.mixin.core.entity.passive.MixinEntityVillager. Skipping method.
[17:03:05 WARN] [mixin]: Method overwrite conflict for getSlotProvider in mixins.common.core.json:item.inventory.TraitInventoryAdapter, previously written by org.spongepowered.common.mixin.core.item.inventory.MixinContainer. Skipping method.
[17:03:06 WARN] [mixin]: Method overwrite conflict for getSlotProvider in mixins.common.core.json:item.inventory.TraitInventoryAdapter, previously written by org.spongepowered.common.mixin.core.entity.player.MixinInventoryPlayer.  It may not work properly.

please fix this issue

update build 230
[14:44:45 INFO] [Sponge]: Initializing Sponge... [14:44:45 INFO] [Sponge]: De-obfuscation mappings are provided by MCP (http://www.modcoderpack.com) [14:44:45 INFO] [mixin]: SpongePowered MIXIN Subsystem Version=0.6.8 Source=file:/C:/path ebeta/spongevanilla-1.11.2-6.0.0-BETA-230.jar Env=UNKNOWN [14:44:45 INFO] [mixin]: Compatibility level set to JAVA_8 [14:44:45 INFO] [Sponge]: Searching for plugins... [14:44:46 INFO] [Sponge]: 0 plugin(s) found [14:44:46 INFO] [Sponge]: Initialization finished. Starting Minecraft server... [14:44:59 INFO] [Sponge]: This server is running SpongeVanilla version 1.11.2-6.0.0-BETA-230 [14:44:59 INFO]: Starting minecraft server version 1.11.2 [14:44:59 INFO] [Sponge]: Loading Sponge... [14:45:00 WARN] [Sponge]: Skipping org.spongepowered.api.data.type.HorseVariants.LLAMA [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.AGE [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.ATTACK_DAMAGE [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.BASE_SIZE [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.DAMAGE_ENTITY_MAP [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.DOMINANT_HAND [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.FILLED [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.FLUID_LEVEL [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.HEALTH_SCALE [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.HEIGHT [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.HELD_EXPERIENCE [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.IS_SLEEPING [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.JOHNNY_VINDICATOR [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.LAST_ATTACKER [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.LAST_DAMAGE [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.LEASH_HOLDER [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.LLAMA_STRENGTH [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.LLAMA_VARIANT [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.SCALE [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.WILL_SHATTER [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.WIRE_ATTACHMENTS [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.WIRE_ATTACHMENT_EAST [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.WIRE_ATTACHMENT_NORTH [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.WIRE_ATTACHMENT_SOUTH [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.WIRE_ATTACHMENT_WEST [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.statistic.Statistics.OPEN_SHULKER_BOX [14:45:01 WARN] [Sponge]: Skipping org.spongepowered.api.statistic.Statistics.TIME_PLAYED [14:45:02 WARN] [Sponge]: Skipping org.spongepowered.api.block.tileentity.TileEntityTypes.ENCHANTMENT_TABLE [14:45:02 WARN] [Sponge]: Skipping org.spongepowered.api.block.tileentity.TileEntityTypes.NOTE [14:45:02 WARN] [Sponge]: Skipping org.spongepowered.api.block.tileentity.TileEntityTypes.STRUCTURE [14:45:02 WARN] [Sponge]: Skipping org.spongepowered.api.item.inventory.InventoryArchetypes.MENU_COLUMN [14:45:02 WARN] [Sponge]: Skipping org.spongepowered.api.item.inventory.InventoryArchetypes.MENU_BUTTON [14:45:02 WARN] [Sponge]: Skipping org.spongepowered.api.item.inventory.InventoryArchetypes.MENU_ICON [14:45:02 WARN] [Sponge]: Skipping org.spongepowered.api.item.inventory.InventoryArchetypes.MENU_CHECKBOX [14:45:02 WARN] [Sponge]: Skipping org.spongepowered.api.item.inventory.InventoryArchetypes.MENU_SPINNER [14:45:04 INFO] [Sponge]: Loading plugins... [14:45:04 INFO] [Sponge]: Initializing plugins... [14:45:04 INFO]: Loading properties [14:45:04 INFO]: Default game type: SURVIVAL [14:45:04 INFO]: Generating keypair [14:45:04 INFO]: Starting Minecraft server on *:25565 [14:45:05 INFO]: Using default channel type [14:45:06 INFO] [Sponge]: Successfully loaded and initialized plugins. [14:45:06 INFO]: Preparing level "world" [14:45:06 INFO] [Sponge]: Checking for worlds that need to be migrated... [14:45:06 INFO] [Sponge]: No worlds were found in need of migration. [14:45:07 INFO]: Preparing start region for level 0 (world) [14:45:08 INFO]: Preparing spawn area: 5% [14:45:09 INFO]: Preparing spawn area: 60% [14:45:10 INFO]: Preparing spawn area: 81% [14:45:10 INFO] [Sponge]: Loading world [world] (Overworld) [14:45:11 INFO] [Sponge]: Loading world [DIM-1] (Nether) [14:45:11 INFO] [Sponge]: Loading world [DIM1] (The End) [14:45:11 INFO]: Preparing start region for level 0 (world) [14:45:11 INFO]: Done (5,181s)! For help, type "help" or "?"

Should be resolved now.

I'm gettings these warnings on spongevanilla-1.10.2-5.2.0-BETA-385.
[19:24:00 INFO] [Sponge]: Initializing Sponge...
[19:24:00 INFO] [Sponge]: De-obfuscation mappings are provided by MCP (http://www.modcoderpack.com)
[19:24:00 INFO] [mixin]: SpongePowered MIXIN Subsystem Version=0.6.8 Source=file:/C:/Minecraft%20Sponge%20Server/spongevanilla-1.10.2-5.2.0-BETA-385.jar Env=UNKNOWN
[19:24:00 INFO] [mixin]: Compatibility level set to JAVA_8
[19:24:00 INFO] [Sponge]: Searching for plugins...
[19:24:00 INFO] [Sponge]: 1 plugin(s) found
[19:24:00 INFO] [Sponge]: Initialization finished. Starting Minecraft server...
[19:24:06 INFO]: Starting minecraft server version 1.10.2
[19:24:06 INFO] [Sponge]: Loading Sponge...
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.ACHIEVEMENTS
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.AGE
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.ATTACK_DAMAGE
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.BASE_SIZE
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.DAMAGE_ENTITY_MAP
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.DOMINANT_HAND
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.FILLED
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.FLUID_LEVEL
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.HEALTH_SCALE
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.HEIGHT
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.HELD_EXPERIENCE
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.IS_SLEEPING
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.LAST_ATTACKER
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.LAST_DAMAGE
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.LEASH_HOLDER
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.PASSENGERS
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.SCALE
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.SPAWNER_ENTITIES
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.SPAWNER_MAXIMUM_DELAY
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.SPAWNER_MAXIMUM_NEARBY_ENTITIES
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.SPAWNER_NEXT_ENTITY_TO_SPAWN
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.SPAWNER_REQUIRED_PLAYER_RANGE
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.SPAWNER_SPAWN_COUNT
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.SPAWNER_SPAWN_RANGE
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.STATISTICS
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.WILL_SHATTER
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.WIRE_ATTACHMENTS
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.WIRE_ATTACHMENT_EAST
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.WIRE_ATTACHMENT_NORTH
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.WIRE_ATTACHMENT_SOUTH
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.WIRE_ATTACHMENT_WEST
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.item.inventory.InventoryArchetypes.MENU_COLUMN
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.item.inventory.InventoryArchetypes.MENU_BUTTON
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.item.inventory.InventoryArchetypes.MENU_ICON
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.item.inventory.InventoryArchetypes.MENU_CHECKBOX
[19:24:07 WARN] [Sponge]: Skipping org.spongepowered.api.item.inventory.InventoryArchetypes.MENU_SPINNER
[19:24:07 INFO] [Sponge]: Loading plugins...
[19:24:07 INFO] [Sponge]: Loaded plugin: SleepVote 0.4.0 (from mods\sleepvote-0.4.0.jar)
[19:24:07 INFO] [Sponge]: Initializing plugins...
[19:24:07 INFO]: Loading properties
[19:24:07 INFO]: Default game type: ADVENTURE
[19:24:07 INFO]: Generating keypair
[19:24:07 INFO]: Starting Minecraft server on *:25565
[19:24:07 INFO]: Using default channel type
[19:24:08 INFO] [Sponge]: Successfully loaded and initialized plugins.
[19:24:08 INFO]: Preparing level "world"
[19:24:08 INFO] [Sponge]: Checking for worlds that need to be migrated...
[19:24:08 INFO] [Sponge]: No worlds were found in need of migration.
[19:24:08 INFO]: Preparing start region for level 0 (world)
[19:24:08 INFO] [Sponge]: Loading world [world] (Overworld)
[19:24:08 INFO] [Sponge]: Loading world [DIM-1] (Nether)
[19:24:09 INFO] [Sponge]: Loading world [DIM1] (The End)
[19:24:09 INFO]: Preparing start region for level 0 (world)
[19:24:09 INFO]: Done (0.880s)! For help, type "help" or "?"
'``
Some of those keys I am trying to use in a plugin, but aren't available because of this.

Pending @Minecrell allows some modifications to enable unit testing in the stable-5 branch, I cannot port the full changes to resolve the issues from bleeding. As it stands, it is fixed, but the overall changes are pending a port to stable-5.

the last two warnings
[21:46:51 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.LAST_DAMAGE [21:46:51 WARN] [Sponge]: Skipping org.spongepowered.api.data.key.Keys.LEASH_HOLDER


Catch and return dns query error in DNS01Record

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

none

/lgtm
/approve


Wrong path to generated rustdoc when giving a manifest path

Steps to reproduce the bug with the above code
Run cargo run semver-checks check-release --manifest-path="../rust-libp2p/Cargo.toml" on rust-libp2p from github
Actual Behaviour
Error: Could not find expected rustdoc output for `libp2p`: ../rust-libp2p/target/semver-checks/registry-libp2p-0_49_0/target/semver-checks/target/doc/rustdoc.json

Expected Behaviour
It should search for libp2p.json instead of rustdoc.json
Generated System Information
Software version
cargo-semver-checks 0.12.1
Operating system
Linux 6.0.6-arch1-1
Command-line
/home/tonowak/.cargo/bin/cargo-semver-checks semver-checks --bugreport

cargo nightly version
> cargo +nightly -V
cargo 1.67.0-nightly (9286a1beb 2022-11-04)

Compile time information

Profile: release
Target triple: x86_64-unknown-linux-gnu
Family: unix
OS: linux
Architecture: x86_64
Pointer width: 64
Endian: little
CPU features: fxsr,llvm14-builtins-abi,sse,sse2
Host: x86_64-unknown-linux-gnu

Additional Context
https://github.com/obi1kenobi/cargo-semver-check/commit/fb3b8651ce70dc23f944ccec3b34125325a48ec3#diff-287794009d29d730666bc52a753aa89762117c87581cf348cc9b38def528ffcbR105
This seems to be the issue.
Fixing this will help with merging https://github.com/obi1kenobi/cargo-semver-check/pull/173

Do you think that when you'll fix this bug @obi1kenobi ? It would make testing https://github.com/obi1kenobi/cargo-semver-check/pull/173 easier (especially when we're considering adding a GitHub Action, so I cannot just locally revert changes from the problematic commit).

I'm looking at it right now. If it doesn't end up being quickly fixable then we should just revert my earlier PR that introduced the problem, and test & merge #173 instead.

It searches for libp2p-core.json, but in the folder I've found libp2p_core.json.

Ah, right. I forgot about that. Sorry!
All these are great example commands to attempt and ensure work correctly if we're adding the integration tests we were chatting about in https://github.com/obi1kenobi/cargo-semver-check/pull/173#issuecomment-1308991297 btw! Thanks for mentioning them explicitly so we can add them more easily.


Zcash Wallet Landscape ZconV preparation

[x] Session scheduling and coordination
[x] Prepare Slides
[x] Record Session
[ ] Attend live broadcast

Session was awarded the "Highly attended" session award. 🥇


fest(registry): Add docs for configuring private registry

This should be merged after corresponding code changes are merged.

[ ] https://github.com/deis/registry-token-refresher/pull/1
[ ] https://github.com/deis/builder/pull/389
[ ] https://github.com/deis/dockerbuilder/pull/81
[x] https://github.com/deis/controller/pull/904
[ ] https://github.com/deis/charts/pull/314

Testing Instructions:

Build image based on the PR for builder, controller,registry, dockerbuilder
pull the charts PR
Follow the steps in the docs to setup private registry and you should be good to test

There is a lot of bulletin points in this doc. You may want to split some of it into headers so the indentation of the whole doc looks smaller

As an example, step 1 and 2 are top level bulletin points but then you have ton of nesting, and point 5 and 6 are nested under 2, plus I can't find step 3 and 4 :)


Android Gradle plugin 7.0.0+ requires Java 11 to build app

Describe the solution you'd like
To support appcenter build with the latest gradle plugin, could you please add Java 11?
Current error code:
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin 'com.android.internal.application'.
   > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
     You can try some of the following options:
       - changing the IDE settings.
       - changing the JAVA_HOME environment variable.
       - changing `org.gradle.java.home` in `gradle.properties`.

Additional context
https://android-developers.googleblog.com/2020/12/announcing-android-gradle-plugin.html

We can't switch to Android Studio Arctic Fox because of this, which ist required if you want to use Jetpack Compose. Would be nice to get some information about when the update is going to happen.

We can't switch to Android Studio Arctic Fox because of this, which ist required if you want to use Jetpack Compose. Would be nice to get some information about when the update is going to happen.

We were able to work around the problem by adding a pre-build script (appcenter-pre-build.sh, put next to the module level build gradle file) with the following content:
#!/usr/bin/env bash
(echo ""; echo "org.gradle.java.home=/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/") >> $APPCENTER_SOURCE_DIRECTORY/gradle.properties

Don't forget to manually trigger "Save & Build" in the build configuration afterwards.
Thanks to Anvesh from Appcenter for pointing us in the right direction.

We were able to work around the problem by adding a pre-build script (appcenter-pre-build.sh, put next to the module level build gradle file) with the following content:
#!/usr/bin/env bash
(echo ""; echo "org.gradle.java.home=/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/") >> $APPCENTER_SOURCE_DIRECTORY/gradle.properties

Don't forget to manually trigger "Save & Build" in the build configuration afterwards.
Thanks to Anvesh from Appcenter for pointing us in the right direction.

I couldn't get harry248's solution to work. However it turns out that if you set the JAVA_HOME environment variable to /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/ in the appcenter config for that build it has the same effect.

Can be used pre-defined environment variable: JAVA_HOME_11_X64
Set JAVA_HOME to $(JAVA_HOME_11_X64) in the build configuration

All available java home variables are listed here: https://github.com/actions/virtual-environments/blob/macOS-10.15/20210718.2/images/macos/macos-10.15-Readme.md#Java

Can be used pre-defined environment variable: JAVA_HOME_11_X64
Set JAVA_HOME to $(JAVA_HOME_11_X64) in the build configuration

All available java home variables are listed here: https://github.com/actions/virtual-environments/blob/macOS-10.15/20210718.2/images/macos/macos-10.15-Readme.md#Java

Thank you for this info!  Creating a JAVA_HOME environment variable with that value worked for me.

Can be used pre-defined environment variable: JAVA_HOME_11_X64
Set JAVA_HOME to $(JAVA_HOME_11_X64) in the build configuration

All available java home variables are listed here: https://github.com/actions/virtual-environments/blob/macOS-10.15/20210718.2/images/macos/macos-10.15-Readme.md#Java

Thank you for this info! Creating a JAVA_HOME environment variable with that value worked for me.

Absolutely - this worked for me also

What is the format for value for custom variable ?
Will this work ? or the values should be bounded with $()

Can be used pre-defined environment variable: JAVA_HOME_11_X64 Set JAVA_HOME to $(JAVA_HOME_11_X64) in the build configuration

All available java home variables are listed here: https://github.com/actions/virtual-environments/blob/macOS-10.15/20210718.2/images/macos/macos-10.15-Readme.md#Java

Thanks this works for me.

I'm attempting this solution to build an Android project using Gradle, but it seems like the agent can't find JAVA_HOME_11_X64.
Here's the details of the agent:
Agent name: 'Hosted Agent'
Agent machine name: 'Mac-1646855858279'
Current agent version: '2.200.2'
##[group]Operating System
Mac OS X
10.15.7
19H1715
##[endgroup]
##[group]Virtual Environment
Environment: macos-10.15
Version: 20220219.1
Included Software: https://github.com/actions/virtual-environments/blob/macOS-10.15/20220219.1/images/macos/macos-10.15-Readme.md
Image Release: https://github.com/actions/virtual-environments/releases/tag/macOS-10.15%2F20220219.1
##[endgroup]
##[group]Virtual Environment Provisioner
<IP_ADDRESS>-main-20220301-2
##[endgroup]

Later on, we see the failure to find the path:
[command]/Users/runner/work/1/s/app/gradlew -DAPPCENTER_KEYSTORE_PASSWORD=*** -DMOBILECENTER_KEYSTORE_PASSWORD=*** -DAPPCENTER_KEYSTORE_FILE_ID=***.app.keystore -DMOBILECENTER_KEYSTORE_FILE_ID=***.app.keystore -DAPPCENTER_KEY_ALIAS=*** -DMOBILECENTER_KEY_ALIAS=*** -DAPPCENTER_KEY_PASSWORD=*** -DMOBILECENTER_KEY_PASSWORD=*** -DAPPCENTER_BUILD_VERSION=5 -DMOBILECENTER_BUILD_VERSION=5 -p app clean :app:assembleStagingFlavorRelease

ERROR: JAVA_HOME is set to an invalid directory:  /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.14-101/x64/Contents/Home/

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

Error: /Users/runner/work/1/s/app/gradlew failed with return code: 1

Is it possible that the agent is misconfiguring this environment variable?

I'm attempting this solution to build an Android project using Gradle, but it seems like the agent can't find JAVA_HOME_11_X64.
Here's the details of the agent:
Agent name: 'Hosted Agent'
Agent machine name: 'Mac-1646855858279'
Current agent version: '2.200.2'
##[group]Operating System
Mac OS X
10.15.7
19H1715
##[endgroup]
##[group]Virtual Environment
Environment: macos-10.15
Version: 20220219.1
Included Software: https://github.com/actions/virtual-environments/blob/macOS-10.15/20220219.1/images/macos/macos-10.15-Readme.md
Image Release: https://github.com/actions/virtual-environments/releases/tag/macOS-10.15%2F20220219.1
##[endgroup]
##[group]Virtual Environment Provisioner
<IP_ADDRESS>-main-20220301-2
##[endgroup]

Later on, we see the failure to find the path:
[command]/Users/runner/work/1/s/app/gradlew -DAPPCENTER_KEYSTORE_PASSWORD=*** -DMOBILECENTER_KEYSTORE_PASSWORD=*** -DAPPCENTER_KEYSTORE_FILE_ID=***.app.keystore -DMOBILECENTER_KEYSTORE_FILE_ID=***.app.keystore -DAPPCENTER_KEY_ALIAS=*** -DMOBILECENTER_KEY_ALIAS=*** -DAPPCENTER_KEY_PASSWORD=*** -DMOBILECENTER_KEY_PASSWORD=*** -DAPPCENTER_BUILD_VERSION=5 -DMOBILECENTER_BUILD_VERSION=5 -p app clean :app:assembleStagingFlavorRelease

ERROR: JAVA_HOME is set to an invalid directory:  /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.14-101/x64/Contents/Home/

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

Error: /Users/runner/work/1/s/app/gradlew failed with return code: 1

Is it possible that the agent is misconfiguring this environment variable?

worked for me.
name: JAVA_HOME
value: $(JAVA_HOME_11_X64)

I'm attempting this solution to build an Android project using Gradle, but it seems like the agent can't find JAVA_HOME_11_X64.
Here's the details of the agent:
Agent name: 'Hosted Agent'
Agent machine name: 'Mac-1646855858279'
Current agent version: '2.200.2'
##[group]Operating System
Mac OS X
10.15.7
19H1715
##[endgroup]
##[group]Virtual Environment
Environment: macos-10.15
Version: 20220219.1
Included Software: https://github.com/actions/virtual-environments/blob/macOS-10.15/20220219.1/images/macos/macos-10.15-Readme.md
Image Release: https://github.com/actions/virtual-environments/releases/tag/macOS-10.15%2F20220219.1
##[endgroup]
##[group]Virtual Environment Provisioner
<IP_ADDRESS>-main-20220301-2
##[endgroup]

Later on, we see the failure to find the path:
[command]/Users/runner/work/1/s/app/gradlew -DAPPCENTER_KEYSTORE_PASSWORD=*** -DMOBILECENTER_KEYSTORE_PASSWORD=*** -DAPPCENTER_KEYSTORE_FILE_ID=***.app.keystore -DMOBILECENTER_KEYSTORE_FILE_ID=***.app.keystore -DAPPCENTER_KEY_ALIAS=*** -DMOBILECENTER_KEY_ALIAS=*** -DAPPCENTER_KEY_PASSWORD=*** -DMOBILECENTER_KEY_PASSWORD=*** -DAPPCENTER_BUILD_VERSION=5 -DMOBILECENTER_BUILD_VERSION=5 -p app clean :app:assembleStagingFlavorRelease

ERROR: JAVA_HOME is set to an invalid directory:  /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.14-101/x64/Contents/Home/

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

Error: /Users/runner/work/1/s/app/gradlew failed with return code: 1

Is it possible that the agent is misconfiguring this environment variable?

Same with me.
echo "JAVA_HOME: $(JAVA_HOME)"
gives
JAVA_HOME: /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.14-101/x64/Contents/Home/
Starting: Build Android Bundle
==============================================================================
Task         : Flutter Build Task
Description  : Build a Flutter application project.
Version      : 0.3.1
Author       : Hey24sheep
Help         : [More Information](https://github.com/hey24sheep/azure-flutter-tasks)
==============================================================================
/Users/runner/hostedtoolcache/Flutter/2.10.5-stable/macos/flutter/bin/flutter build appbundle --build-name=3.2.4 --build-number=5879 --flavor=sparrow --target=lib/whitelabels/main/sparrow_main.dart --release

💪 Building with sound null safety 💪

Running Gradle task 'bundleSparrowRelease'...

ERROR: JAVA_HOME is set to an invalid directory: $(JAVA_HOME_11_X64)

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

Running Gradle task 'bundleSparrowRelease'...                      386ms
Gradle task bundleSparrowRelease failed with exit code 1
##[error]Error: The process '/Users/runner/hostedtoolcache/Flutter/2.10.5-stable/macos/flutter/bin/flutter' failed with exit code 1
Finishing: Build Android Bundle

Update: I got it working by adding:
- task: JavaToolInstaller@0
  inputs:
    versionSpec: '11'
    jdkArchitectureOption: 'x64'
    jdkSourceOption: 'PreInstalled'

As regarded by this answer.

@praharshbhatt Where did you put that snippet?

I'm using App Center to run a React Native build for Android - I also had to set PATH or the build failed with the error above:

Name
Value

JAVA_HOME
$(JAVA_HOME_11_X64)

PATH
$(JAVA_HOME_11_X64)/bin;$(PATH)

Can be used pre-defined environment variable: JAVA_HOME_11_X64
Set JAVA_HOME to $(JAVA_HOME_11_X64) in the build configuration

All available java home variables are listed here: https://github.com/actions/virtual-environments/blob/macOS-10.15/20210718.2/images/macos/macos-10.15-Readme.md#Java

Thank you for this info! Creating a JAVA_HOME environment variable with that value worked for me.

getting another issue after adding JAVA_HOME in AppCenter
+ cp /Users/runner/work/1/s/android/app/firebase/google-services.json_AL-7781 /Users/runner/work/1/s/android/app/google-services.json cp: /Users/runner/work/1/s/android/app/firebase/google-services.json_AL-7781: No such file or directory ##[error]The process '/bin/bash' failed with exit code 1 ##[error]Bash failed with error: The process '/bin/bash' failed with exit code 1 ##[section]Finishing: Pre Build Script ##[section]Starting: Checkout fmc-alpha-fe@AL-7781 to s

project -> Build -> recent build -> click on the wrench
and after that follow the screen shot
you have to add JAVA_HOME environment var if it does not exists
see the attached screen shot

From: Praharsh Bhatt @.>
Sent: Monday, May 16, 2022 8:31 PM
To: microsoft/appcenter @.>
Cc: Stancho Stanchev @.>; Comment @.>
Subject: Re: [microsoft/appcenter] Android Gradle plugin 7.0.0+ requires Java 11 to build app (#2067)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
@praharshbhatthttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpraharshbhatt&data=05|01|sstanchev%40objectsystems.com|9fd1b2064b8340d5b6e008da3761ebbb|db807785745c4049a031049b258214c0|0|0|637883190965235312|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=CLDr3OFeKpu2aEksNgHuHf%2BZWmgqrigXR0SKr1p3yhc%3D&reserved=0 Where did you put that snippet?
in the .yml build file
—
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fappcenter%2Fissues%2F2067%23issuecomment-1127945422&data=05|01|sstanchev%40objectsystems.com|9fd1b2064b8340d5b6e008da3761ebbb|db807785745c4049a031049b258214c0|0|0|637883190965235312|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=BKsPZZKvArZt9Rm%2BnHHe9GM61NkRGyy9l7LdFt54D2c%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABYX6GH4654AGH74XHP5QP3VKKA7JANCNFSM4UNPOBPQ&data=05|01|sstanchev%40objectsystems.com|9fd1b2064b8340d5b6e008da3761ebbb|db807785745c4049a031049b258214c0|0|0|637883190965235312|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=s9%2BcxRPoL2k5QIr7R7kq8m2WuAMaUsdn8tYoMqs1ZAw%3D&reserved=0.
You are receiving this because you commented.Message ID: @.***>

I can't seem to get this to work with my react native android project, I get
ERROR: JAVA_HOME is set to an invalid directory: /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.17-8/x64/Contents/Home/

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

obviously the path that you set is not a path to jdk. This is what this message means.

From: Rodrigo Vera @.>
Sent: Friday, November 18, 2022 1:33 AM
To: microsoft/appcenter @.>
Cc: Stancho Stanchev @.>; Comment @.>
Subject: Re: [microsoft/appcenter] Android Gradle plugin 7.0.0+ requires Java 11 to build app (#2067)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
I can't seem to get this to work with my react native android project, I get
ERROR: JAVA_HOME is set to an invalid directory: /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.17-8/x64/Contents/Home/
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
—
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fappcenter%2Fissues%2F2067%23issuecomment-1319348031&data=05|01|sstanchev%40objectsystems.com|d559934963c0416ee8fe08dac8f41150|db807785745c4049a031049b258214c0|0|0|638043247837912196|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=4AUk6hzvw0ZB%2BgvSZvx5L0QgQIF8ryghuZrm6dgVFBg%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABYX6GA5BKFIE6DFFY65QRLWI26CZANCNFSM4UNPOBPQ&data=05|01|sstanchev%40objectsystems.com|d559934963c0416ee8fe08dac8f41150|db807785745c4049a031049b258214c0|0|0|638043247837912196|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Kd4DM4coxhVsZ8ZWsEyxWXaYCvT05i%2F1L4iwkJPGhUw%3D&reserved=0.
You are receiving this because you commented.Message ID: @.***>

haha I mean that's fair, but I'm using appcenter constants here. So JAVA_HOME_11_X64 would be set but the actual path would leads to nothing? Any way I can force the installation of the Java 11 then?

Worked for me in my React Native project.  My change was not related to targeting Grade 7. But just more the fact that I was targeting Android SDK 31.

Can be used pre-defined environment variable: JAVA_HOME_11_X64 Set JAVA_HOME to $(JAVA_HOME_11_X64) in the build configuration

All available java home variables are listed here: https://github.com/actions/virtual-environments/blob/macOS-10.15/20210718.2/images/macos/macos-10.15-Readme.md#Java

Can be used pre-defined environment variable: JAVA_HOME_11_X64 Set JAVA_HOME to $(JAVA_HOME_11_X64) in the build configuration

All available java home variables are listed here: https://github.com/actions/virtual-environments/blob/macOS-10.15/20210718.2/images/macos/macos-10.15-Readme.md#Java

This workaround makes my project finally build. BUT, when I run the builded apk on a device (or simulator) it crashes just at startup.
Anyone having this issue?

I can't seem to get this to work with my react native android project, I get
ERROR: JAVA_HOME is set to an invalid directory: /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.17-8/x64/Contents/Home/

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

did you find solution for this ? same problem here

Not able to set this: $(JAVA_HOME_11_X64) value in environment variable

Getting a popup with ERROR:
"Oh no, we couldn’t configure your branch!
Unknown error"
Steps to reproduce:

Set JAVA_HOME to $(JAVA_HOME_11_X64) in the Environment variables build configuration
click on "save" or "save & build" button


Document that "nvm install" also automatically does "nvm use"

It would be good if the docs and --help output could mention that nvm install installs and uses the given Node version. I've probably wasted hours typing nvm install __ && nvm use __, - just discovered the second part has been unnecessary since this was fixed in 2014 :)

i mean, at this point the target audience would be nvm users from 5+ years ago - fine to document it, but i doubt it’d have much value considering that command combo would output two “using version” logs?


[FEATURE] Jesus on rideable entities

Describe the solution you'd like
Ability to use jesus with rideable entities
Describe alternatives you've considered
Ngl flying pigs would be cool to have
Additional context
entityspeedhack with jesus too?

Can you tell me if this https://github.com/3arthqu4ke/3arthh4ck/actions/runs/3113605671 works for you. I havent tested it on actual servers yet

Ok so, it works on singleplayer
And it works on servers, but you unmount if you try to get back on ground (?) https://streamable.com/yadje9


Comparison by value strategies should support mixed nested field/property

Example: if comparison is done on home.address.number and home is a property and address a field the comparison fails as it is only able to get pure field or pure property values.
Moreover the javadoc is wrong as now private field are supported.

I took a look a this, but have not been able to reproduce the issue. This test passes:
@Test
public void test() {
    assertThat(Arrays.asList(new Person())).usingElementComparatorOnFields("home.address.number").contains(new Person());
}

private static class Person {
    private Home home = new Home();
}

private static class Home {
    public Address getAddress() {
        return new Address();
    }
}

private static class Address {
    int number = 1;
}

What am I missing?

@joel-costigliola Could you show me an example that should work but does not? Thanks!

I think this has been fixed as a side effect of the refactoring on property/field support.
the only thing to do is to add a test proving it (if it does not already exists).
Sorry for the waste of time !

Test added (8fd1a1fe82eb16f45db33727ce85769d10ca5fb2).


[RFC] Offline Background Tasks

Introduction
Opensearch process handles various background tasks:

Segment Merges
Force Merges
Re-indexing
Shard Split/Shrink
Snapshots etc.

 For example, Segment Merges ensure indices are in an optimal state. As an index grows and data is constantly added or updated, these segments need to be periodically merged to maintain efficient search performance and minimum storage footprint.
This is even more important for indices where data ingestion is sparse over time leading to high number of small-small segments. Segments Merges combines these segments into larger ones ensuring better overall index performance.
Similarly, each background task has its own importance.
Is your feature request related to a problem? Please describe
While being a crucial part of Opensearch, these Tasks consume some resources, taking a toll on the process which is supposed to deliver predictable and consistent indexing and search throughput. For ex: Segment merges is an important, frequent and heavy operation which demands a good chunk of available resources. Force Merging to lesser no of segment is even a heavier toll.
Apart from that, the configured resources on the node might not be sufficient to perform these operations along with incoming traffic, in a expected timeframe, which leads to timeouts/failures, eventually delays to background operations.
Apart from that any failures/bugs in these background operations tampers with core operations.
Describe the solution you'd like
Allow users the ability to segregate such operations to separate/dedicated node(s), it helps them scale indexing/search performance predictably without having to compete for resources with background tasks. Similarly background tasks wont be impacted by any surge in core operations traffic.
With introduction of Remote Store, offloading background operations makes even more sense as data is separated out in Remote Store and efficient to interact with, from a separate/dedicated node.
Proposal is to introduce a separate fleet of Nodes(Offline Fleet) to execute all background tasks. This ensures full segregation from core operations and allows users to independently scale this fleet based on the pending background tasks.

To begin with, we can target Segment Merges or Force Merges and allow Remote Store Clusters the ability to separate out merges. Later we can extend it to other background tasks and even think about how to extend the functionality for non Remote Store clusters.
Here is high level view of how the flow looks like with Offline Fleet for a Cluster.

The Added Cost
Not all the users would want to spin up separate nodes for background operations, so however we choose to implement/execute this, we would ensure status quo is maintained.
There is obviously an added cost of the Offline Fleet, which would be directly dependent on the no of nodes provisioned in the Offline Fleet.
Apart from that, with Offline fleet, there would be 2 additional downloads. Consider Segment Merges:

Offline Fleet Node would have to download the Segments to be Merged, today since the segments are already present in local, there is no download needed.
Once the Merged Segments are uploaded to Remote Store, the data node with corresponding Shard would download those merged segments

In future, we could also support a hybrid model where light weight Tasks could be run locally on Data Nodes while others could be offloaded to Background Fleet.
As we progress, I plan on adding more details to the individual components involved and how they interact with each other and existing component.
Related component
Storage
Describe alternatives you've considered
Apart from the approach mentioned above, another option would be isolation of resources on the data node itself for core(indexing/search) operations and other adhoc operations like merges and snapshots. This would have less friction from users in adoption as they don’t have to provision a separate fleet. But it has some caveats which doesn't make it much appealing:

We wouldn’t be able to independently scale resources for merges without affecting core operations.
Reserving resources for adhoc operations on the data node might not be optimal as all the nodes will not have merges to be performed all the time. Instead pooling all the merge operations from all nodes together into dedicated nodes would give better utilization of dedicated resources.
Complete Isolation of resources on the same node is not be as trivial to solve.

Additional context
No response

Phases
Phase #1
Goal - Have basic framework ready to run Segment Merges(including ForceMerge) on Dedicated background tasks nodes while maintaining status quo
To achieve the goal mentioned above, we need to explore concrete solutions for the following items, which in upcoming Phases, could be extended to various other Background Tasks like Snapshot etc.
Separate out Merge Functionality to an independent Component
Most of the codebase for Opensearch today exists as a Monolith in :server hosting code related to various background tasks, including Merge. It would be an anti-pattern to build entire :sever jar and host on Offline Node, which is just responsible for performing Merges. We need a way to separate out individual components like “Merge” and be able to run separately on Offline Fleet.
Build a Task Coordination Framework to manage task lifecycle.
With Offline fleet, data nodes and Offline Fleet nodes itself can submit background tasks to Offline Fleet. At any point, the no of Tasks submitted might be too much for available nodes in the Offline Fleet to distribute amongst themselves.
Even if we do try to assign a task to a particular node right after its submitted, the node may or may not have resources at that time to start the task and would need to put it into a “Queue”. Apart from that, if the node goes down, and this Queue is not persisted in Remote, all those tasks in Queue are lost.
Phase #2
Goal - Onboard more usecases like Remote GC, Snapshots

Late to this game coming from another PR. I think the name "offline" is confusing, would call these "worker" nodes.


Provide function to access employment counts

Calculating employment multipliers requires access to per-industry employment averages. Right now stateior does not, as far as I know, provide any way to access that information, despite the fact that that information is used in producing the IO tables. Sectoral employment from elsewhere (e.g. QCEW) generally does not align with the BEA Summary IO 2012 Schema. I am able to get the necessary information using the following code, mostly cribbed from getStateEmploymentbyBEASummary:
readCSV <- function(filename, fill = FALSE) {
  df <- utils::read.table(filename, sep = ",", header = TRUE,
                          stringsAsFactors = FALSE, check.names = FALSE,
                          fill = fill, fileEncoding = "UTF-8-BOM")
  return(df)
}

loadBEAStateDatatoBEASummaryMapping <- function(dataname) {
  filename <- paste0("Crosswalk_State", dataname, "toBEASummaryIO2012Schema.csv")
  mapping <- readCSV(system.file("extdata", filename, package = "stateior"))
  return(mapping)
}

getStateEmploymentTable <- function(year) {
  BEAStateEmp <- loadStateIODataFile(paste0("State_Employment_", year))
  loadBEAStateDatatoBEASummaryMapping("Employment")
  EmptoBEAmapping <- loadBEAStateDatatoBEASummaryMapping("Employment")
  BEAStateEmp <- merge(BEAStateEmp[, c("GeoName", "LineCode", as.character(year))],
                        EmptoBEAmapping, by = "LineCode")
  BEAStateEmp <- stats::aggregate(BEAStateEmp[, as.character(year)],
                                  by = list(BEAStateEmp$BEA_2012_Summary_Code,
                                            BEAStateEmp$GeoName), sum)
  colnames(BEAStateEmp) <- c("BEA_2012_Summary_Code", "State", "Emp")
  return(BEAStateEmp)
}

getStateEmploymentTable(2019)

stateior should simply export a function like getStateEmploymentTable to make employment data accessible.
ASIDE: Why not do the same for the Leontief matrices?

We have this type of functionality in the model building package useeior.  We're using useeior to build state-level two region environmentally-extended input-output models and calculate equivalents to multipliers, including for employment. The environmental extensions are totally optional. Here is an example model output for Colorado with link that include the description of the code that was used.  Due to resource constraints and a small team maintaining all of our Tools for Industrial Ecology Modeling of which this package is a part of, we don't plan to add that kind of equivalent functionality into stateior at this time. thanks for your interest!

I see. That looks a lot more complicated to use. Would you consider PRs to add this kind of functionality to stateior, if I were to open them? I think it would be pretty simple; mostly just exposing to the user what is already available internally.

I see. That looks a lot more complicated to use. Would you consider PRs to add this kind of functionality to stateior, if I were to open them? I think it would be pretty simple; mostly just exposing to the user what is already available internally.

Sure, exporting more functions or wrapping them with some simple functionality is fine. Thanks for your offer, i look forward to reviewing the PR.

Opened https://github.com/USEPA/stateior/pull/44


DRAFT: YJDH-578 | Make Suomi.fi / Helsinki profile login configurable

Description :sparkles:
This code was separated from #1160 i.e. making it configurable whether to use Helsinki profile (Helsinki-profiili in Finnish) or Suomi.fi to login will be done separately.
Issues :bug:
YJDH-578 (Making Suomi.fi / Helsinki profile login configurable)
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #1225 (e4ea8c6) into develop (46413c8) will increase coverage by 20.73%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##           develop    #1225       +/-   ##
============================================
+ Coverage    63.16%   83.90%   +20.73%
============================================
  Files         1002       70      -932
  Lines        27491     2348    -25143
  Branches      2891        0     -2891
============================================
- Hits         17364     1970    -15394
+ Misses        9684      378     -9306
+ Partials       443        0      -443

Impacted Files
Coverage Δ

backend/shared/shared/common/enums.py
100.00% <100.00%> (ø)

backend/shared/shared/common/tests/test_enums.py
100.00% <100.00%> (ø)

backend/shared/shared/ytj/ytj_client.py
27.58% <0.00%> (-65.52%)
:arrow_down:

backend/shared/shared/common/decorators.py
37.93% <0.00%> (-58.63%)
:arrow_down:

...nd/shared/shared/service_bus/service_bus_client.py
27.65% <0.00%> (-57.45%)
:arrow_down:

backend/shared/shared/yrtti/yrtti_client.py
39.39% <0.00%> (-51.52%)
:arrow_down:

backend/shared/shared/audit_log/viewsets.py
45.56% <0.00%> (-50.64%)
:arrow_down:

backend/shared/shared/common/lang_test_utils.py
60.00% <0.00%> (-40.00%)
:arrow_down:

backend/shared/shared/models/mixins.py
66.66% <0.00%> (-33.34%)
:arrow_down:

backend/shared/shared/common/utils.py
75.00% <0.00%> (-25.00%)
:arrow_down:

... and 937 more

Continue to review full report at Codecov.

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


Add docstrings to Surfactant

Add docstrings to functions, classes, and modules that are missing them. This will take some time to complete, and is likely to be done gradually.
Follows the google docstrings format

Hey @nightlark, I implemented a small descriptive docstring structure and created the new PR, could you take a look please?!
PR: https://github.com/LLNL/Surfactant/pull/69

PR #95 adds docstrings to fileinfo.py and begins adding docstrings to merge_sbom.py files (note: should make sure these docstrings make their way into the merge subcommand functions where applicable as well).


Bump go dependency to 1.22.5

Dependabot determined the latest version is 1.23rc1 (#1331) and so we need to manually update this.


Update @nx/workspace to 19.6.3

Update Nx from 19.6.2 to 19.6.3

Auto-generated by create-pull-request

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.63%. Comparing base (c39fefd) to head (ca3faf3).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #158   +/-   ##
=======================================
  Coverage   97.63%   97.63%
=======================================
  Files          17       17
  Lines         211      211
  Branches       30       30
=======================================
  Hits          206      206
  Misses          5        5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Suppress display of short title in metadata pane.

Currently, we are displaying the text node of <title type="short"> in the metadata pane with the label Short title
@LEMDO-PM and I are thinking that this information is not helpful, especially if we aren't doing anything with it for the mobile app. It's a holdover from the ISE's mobile title.
Let's keep the information in the file but NOT display it in the metadata pane.

Fixed in rev 20559.


[Addon] Add sts back to provider-alibaba

Description of your changes

Please ref https://github.com/oam-dev/kubevela/pull/2804, add optional tag for sts field for terraform-provider-alibaba

How has this code been tested?

Checklist

I have:

[x] Title of the PR starts with OAM type (e.g. [Workload] or [Trait] or [Scope]).
[ ] Updated/Added any relevant [documentation] and [examples].
[ ] Unit/E2E Tests added.

This is not how this go, we should use cue's package to generate OpenAPI schema


Add support for SSL/TLS with SSLContext

Hi, first thank you first for this great library.
Is your feature request related to a problem? Please describe.
I want to make a couple of https requests for different scenario's which is a bit hard with the current possibilities. The main setup what I prefer is to separate the client's certificate and list of trusted certificate in two different keystores. Loading two keystore is currently not possible. The only available ssl configuration are these two:
public Config clientCertificateStore(KeyStore store, String password) {...}

public Config clientCertificateStore(String fileLocation, String password) {...}

So this is unfortunately not possible with these methods. And if I call these methods with different keystores it will override keystore field within the configuration of unirest.
Describe the solution you'd like
A possible solution would supporting SSLContext from javax which could be something like this:
public Config sslContext(javax.net.ssl.SSLContext sslContext) {...}

With this option you will enable the consumer of the library to provide any kind of ssl/tls stategy. Like one way tls, two way tls, trusting signed certificates, trusting unsigned certificates or enforcing a specific tls protocol version like TLS v1.3
Would be cool if this could be a new feature request

sure, I will note that, as Apache is the underlying engine of Unirest, I'm a little constrained to what it can do, and also the fact that this part of Apache is pretty hard to navigate. However it does look like it supports javax.net.ssl.SSLContext, so I will take a look

I have tried another configuration and it works, so I am not sure if that would the solution for Unirest. It looks like this:
What I currently do is the following:
SSLContext sslContext = SSLContext.getInstance("TLSv1.3");

HttpClient httpClient = HttpClients.custom()
                                                           .setSSLContext(sslContext)
                                                           .setSSLHostnameVerifier(new DefaultHostnameVerifier())
                                                           .build();

Unirest.primaryInstance()
            .config()
            .httpClient(config -> ApacheClient.builder(httpClient).apply(config));

Turns out this was a lot easier than I thought. We were already building a SSLContext internally so allowing a user to just pass in their own is pretty simple.
I would like to get some test validation however and currently the Custom Cert on badssl.com is expired. Let's give them a few days to get it updated. (link in the pull request https://github.com/Kong/unirest-java/pull/316)

Glad to hear it was easy for you to implement. It is a nice to have feature :)

this is released in 3.2.00


[WFRP4e System] Blinded Effect

If the id of the Blinded condition is changed to "blind", applying the Blinded effect will apply Foundry's new blind effect (removes vision while the condition is active).
Of course, all references to the "blinded" id should be changed too.From: Txus#5021foundry: 10.287wfrp4e: 6.1.4wfrp4e-core: 3.0.1Active Modules: advanced-macros, alternative-rotation, audio-preview, autoanimations, babele, betterroofs, breaktime, color-picker, colorsettings, combat-carousel, combatbooster, compendium-folders, curtain-animations, dice-so-nice, drag-ruler, fateroll, foundryvtt-es, foundryvtt-show-notes, foundryvtt-simple-calendar, fxmaster, healthEstimate, hidden-tables, hide-gm-rolls, introduce-me, JB2A_DnD5e, koboldworks-ready-up, levels, lib-wrapper, qol-maximize-reopened-sheets, remote-highlight-ui, sequencer, smalltime, socketlib, splatter, token-action-hud, tokenmagic, tokenmagic-automatic-wounds, wall-height, wfrp4-wfrp4e-npc-generator, wfrp4e-castellano, wfrp4e-character-details, wfrp4e-fx, wfrp4e-gm-toolkit

But the Blinded condition in WFRP, IIRC, just impairs vision not completely remove it.

Yes, you're right.


Bugs on redirect.php

Version 2.4
When a banner url is empty the page is not well redirect.
I propose this modification
     if ($Qbanner->fetch() !== false) {
          if (!empty($Qbanner->value('banners_url'))) {
             if ($Qbanner->fetch() !== false) {
                  tep_update_banner_click_count($_GET['goto']);
                  HTTP::redirect($Qbanner->value('banners_url'));
              }
          } else {
              OSCOM::redirect('index.php');
          }
      }

@oitsuki why is it more practical opposite to do no redirection?
     if ($Qbanner->fetch() !== false) {
          if (!empty($Qbanner->value('banners_url'))) {
             if ($Qbanner->fetch() !== false) {
                  tep_update_banner_click_count($_GET['goto']);
                  HTTP::redirect($Qbanner->value('banners_url'));
              }
          }
      }

in this case customer wont be lost the sitting place.

Yes you are right, I just updated the code in function the original code if I remember.

Problem is for me that there is missing tep_random_select() function and listing not work.

Ok : tep_random_select()  become inside sql request  order by rand()
try and tell me.


Tooltips delay?

Is in possible to setup tooltip appearing delay? Say 3sec?

You could rewrite it with CSS animations. It provides animation-delay property to delay tooltip showing up.

It seems that it doesn't work - tooltip shows immediately
#card-header {   animation-delay: 3s; }
 <div class="card-header tooltip" data-tooltip="tooltip" id="card-header">

No, sorry, I mean replace transform with animation.

This should work
.tooltip:hover:after {       transition-delay: 3s;     }


Consume wildcard topics

Something librdkafka and java clients support.
await consumer.subscribe({ topic: 'data-source-tables.*' });
And keeps up to date when new topics added :)

This was implemented in #346 and will be available in the next release! 🎉

@Nevon

This was implemented in #346 and will be available in the next release! tada

This is good news! Thanks for the effort. I have one question regarding handling of topics added after the consumer subscribed to a pattern. The documentation states:

The consumer will not match topics created after the subscription. If your broker has topic-A and topic-B, you subscribe to /topic-.*/, then topic-C is created, your consumer would not be automatically subscribed to topic-C.

So is the client using KafkaJS required to keep track of available topics and subscribed topics on its own?

What it means is that there's no automatic polling in the background to see if there are any new topics available. If you want to automatically subscribe to new topics, I would think periodically repeating the subscribe call would work.