[MWC-WALLET] AUTO-SWAP Error when transferring (seller side)

When doing auto swap, after the transaction completed on the buyers side, the error below showed up on the sellers side.  In addition the seller never received the funds in the electrum wallet.
mwc-wallet> Swap Trade ca56d5de-293b-409a-9556-828f49fdfde1: Offer message was sent
Swap Trade ca56d5de-293b-409a-9556-828f49fdfde1: Waiting for Accept Offer message
Processed income message for SwapId ca56d5de-293b-409a-9556-828f49fdfde1
Swap Trade ca56d5de-293b-409a-9556-828f49fdfde1: Processed Offer Accept message
Swap Trade ca56d5de-293b-409a-9556-828f49fdfde1: MWC lock slate is posted
Swap Trade ca56d5de-293b-409a-9556-828f49fdfde1: Waiting for MWC Lock transaction to be confirmed; Waiting for BCH Lock transaction to be posted
Swap Trade d0727cca-144e-4fd8-b864-7c47a15bf497: MWC and BCH funds are Locked
Swap Trade d0727cca-144e-4fd8-b864-7c47a15bf497: Waiting for Init Redeem Message
Swap Trade ca56d5de-293b-409a-9556-828f49fdfde1: MWC funds are locked; Waiting for BCH Lock transaction to be posted
Swap Trade ca56d5de-293b-409a-9556-828f49fdfde1: MWC funds are locked; BCH Lock transaction is in the memory pool, waiting to be mined
Processed income message for SwapId ca56d5de-293b-409a-9556-828f49fdfde1
Swap Trade ca56d5de-293b-409a-9556-828f49fdfde1: Init Redeem message is accepted
Swap Trade ca56d5de-293b-409a-9556-828f49fdfde1: Send response to Redeem message
Swap Trade ca56d5de-293b-409a-9556-828f49fdfde1: Waiting for Buyer to redeem MWC. If get no response, will post refund slate in 0 minutes
20200811 08:51:33.101 ERROR grin_util::logger -
thread 'unnamed' panicked at 'dispatch dropped without returning error': <::std::macros::panic macros>:2   0: backtrace::backtrace::trace
1: backtrace::capture::Backtrace::new
2: grin_util::logger::send_panic_to_log::{{closure}}
3: std::panicking::rust_panic_with_hook
4: std::panicking::begin_panic
5: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
6: <futures_util::future::future::flatten::Flatten<Fut,::Output> as core::future::future::Future>::poll
7: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
8: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
9: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
10: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
11: <futures_util::future::try_future::AndThen<Fut1,Fut2,F> as core::future::future::Future>::poll
12: <futures_util::future::poll_fn::PollFn as core::future::future::Future>::poll
13: <hyper::client::ResponseFuture as core::future::future::Future>::poll
14: <std::future::GenFuture as core::future::future::Future>::poll
15: std::thread::local::LocalKey::with
16: tokio::macros::scoped_tls::ScopedKey::set
17: tokio::runtime::basic_scheduler::BasicScheduler::block_on
18: tokio::runtime::context::enter
19: crossbeam_utils::thread::ScopedThreadBuilder::spawn::{{closure}}
20: std::sys_common::backtrace::__rust_begin_short_backtrace
21: ___rust_maybe_catch_panic
22: core::ops::function::FnOnce::call_once{{vtable.shim}}
23: <alloc::boxed::Box as core::ops::function::FnOnce>::call_once
24: std::sys::unix::thread::Thread::new::thread_start
25: __pthread_start
Thread 'unnamed' panicked with message:
"dispatch dropped without returning error"
See /Users/jbyrer/swaptest/mwc-wallet.log for further details.
20200811 08:51:33.101 ERROR grin_util::logger -
thread 'wallet-auto-swap' panicked at 'called Result::unwrap() on an Err value: Any': impls/src/client_utils/client.rs:401   0: backtrace::backtrace::trace
1: backtrace::capture::Backtrace::new
2: grin_util::logger::send_panic_to_log::{{closure}}
3: std::panicking::rust_panic_with_hook
4: _rust_begin_unwind
5: core::panicking::panic_fmt
6: core::result::unwrap_failed
7: std::panicking::try::do_call
8: ___rust_maybe_catch_panic
9: grin_wallet_impls::client_utils::client::Client::send_request
10: grin_wallet_impls::client_utils::client::Client::post
11: grin_wallet_impls::node_clients::http::HTTPNodeClient::get_kernel_impl
12: <grin_wallet_impls::node_clients::http::HTTPNodeClient as grin_wallet_libwallet::types::NodeClient>::get_kernel
13: grin_wallet_libwallet::swap::bitcoin::api::BtcSwapApi<C,B>::get_slate_confirmation_number
14: <grin_wallet_libwallet::swap::bitcoin::api::BtcSwapApi<C,B> as grin_wallet_libwallet::swap::api::SwapApi>::request_tx_confirmations
15: grin_wallet_libwallet::api_impl::owner_swap::swap_process
16: std::sys_common::backtrace::__rust_begin_short_backtrace
17: std::panicking::try::do_call
18: ___rust_maybe_catch_panic
19: core::ops::function::FnOnce::call_once{{vtable.shim}}
20: <alloc::boxed::Box as core::ops::function::FnOnce>::call_once
21: std::sys::unix::thread::Thread::new::thread_start
22: __pthread_start
Thread 'wallet-auto-swap' panicked with message:
"called Result::unwrap() on an Err value: Any"
See /Users/jbyrer/swaptest/mwc-wallet.log for further details.

mwc-wallet.log

Checked in the fix. Please verify. Thanks.

verified


Add nullptr checks before accessing children in getUnspecialized

The demangler already has an error mechanism to report if demangling failed. Add null pointer checks before every access in Demangle::getUnspecialized, and return an error if the child doesn't exist.
rdar://110141007
(cherry picked from commit 4e2213d524c3935974e99562454287d1977d9799)

@swift-ci test

What was the previous PR?

@tbkka https://github.com/apple/swift/pull/66644 (l was planning on adding the required description after the tests ran)

Explanation: adds sanity checks before accessing children of demangle trees in Demangle::getUnspecialized, as we've seen crashes in the debugger from demangling invalid demangle trees.
Radar: rdar://110141007
Scope: Small, this just adds a few checks on the size of the demangle tree in one particular function.
Risk: Low.
Testing: N/A
Reviewed By: @adrian-prantl @al45tair


Allow filtering of nodes, with resource_class

@DanNiESh could you take a quick look at this? thanks!


update mock community sample names in mock-community-compositions directory

These should be updated to use the names listed in:
short-read-tax-assignment/data/tables/mock-community-datasets.xlsx

Turns out we don't actually need these anymore as they can be generated from the expected tables. Closing this issue and removing the files in mock-community-compositions.


Windows-only shortcut is created by Linux and MacOS shell installers

Checklist

[X] I added a descriptive title
[X] I searched open reports and couldn't find a duplicate

What happened?
I have a Windows only shortcut defined here: https://github.com/conda-forge/helios-menuinst-feedstock/blob/main/recipe/src/menu.json#L32
However, the shell installers for Linux and MacOS also add this shortcut (which is of course not functional). You can download the installers for reproduction here: https://heibox.uni-heidelberg.de/d/5672545fba1b4185a3be/
Is this a bug or did I misread the documentation about how to specify platforms?
Conda Info
No response
Conda Config
No response
Conda list
No response
Additional Context
No response

After reading through #240 and debugging with the generated paths, I can confirm the following:
"platforms": {
  "win": {}
}

will trigger generation on all platforms, which I consider a bug.
The following works:
"platforms": {
  "win": {},
  "linux": null,
  "osx": null
}

I will use this for now in my package.


List of Suggested Features for the New Save System

I thought it'd be good to compile and maintain a list of features I think would be good for the new official save system to have. Of course, I intend to help implement at least some of these in the future, like I have with the Save Slot Views.
Event Handlers for When Saving Begins and Ends
This would allow Fungus blocks to respond to those particular times. For example, the mainline pokemon games have a cute sound effect when they finish saving data. Other games also show a progress bar when saving begins, or at least give the player some notification along the lines of "The game's being saved, please wait a bit."
As things are now, the saving just happens instantaneously and synchronously.
Make Saving/Loading Asynchronous
This would require making the minimum required Unity version be one that supports the async keyword. This would be great for little notices letting the player know the game is saving, and can even increase performance as things are split more across multiple frames.
Unsingletonify the Save Slot Manager
This would make the system less restrictive in the types of UIs that it would support. As it is now, you can't have separate Save and Load menus without a hacky solution.
 They may want to have more for specific gameplay segments. Fire Emblem Three Houses, for example, has 3 types: normal, auto, and battle.
This could perhaps be implemented with Scriptable Objects, which you'd pass to the Save Slot Manager(s) so they know which slots to display. I imagine we'd also need to add a Category field to GameSaveData, and significantly refactor how the Save Manager manages the saves.
Give the User Control Over Where the Save Data Is Stored on Disk
Some might want it to be in the game's folder, others might want it somewhere in AppData. It would also be good to let the users decide this on a per-platform basis without having to alter the source code.
One way to implement this would be to add fields to the SaveManager that the user can play with to do just that, with one of said manager's jobs being to put the save data in its proper place. Of course, to minimize any violation of the SRP, it'd be best to have this be handled by a submodule of the SaveManager... in this particular solution, anyway. There may be better ways of going about this...
Have a System File Containing Info for Save Slot Views
One of the concerns for the new system is having too many huge JSONs in memory, hence why GameSaveDatas aren't all loaded right away anymore. Yet, you'd think those huge JSONs would be where the Save Slot Views' info would be stored...
One solution would be to have a separate file in the save folder that contains all the info that the Save Slot Views would need. For this example, let's call it _SlotViews.dat. Having it loaded right away shouldn't take up too much memory, since for most games, they shouldn't even go above 100 kilobytes per save... especially if we write _SlotViews as a binary file.
Let GameObject Positions Be Saved
This is a pretty important feature for games like RPGs and Metroidvanias. It'd be good to let the user set which objects get the positions saved and then loaded.
Have Specialized Classes Handle the Loading
I did some digging around in the source, and noticed a big problem... you know the Decode methods of the classes implementing ISaveDataItemSerializer? They have a side effect that has them violate the SRP: loading the data they decode. It'd be a lot better if, like the save system in my repo, it had classes specifically for loading various types of save data.
Having those functions return the decoded data would also make it easier to unit test the functionality.
Have The Default UI Be Very Renpy-Esque
Meaning the slot holder would be a grid with each slot having a screenshot, a number, the game's title, an optional subtitle, and a date.

As far as Async, I think Fungus is already heading that direction because I think the minimum Unity is 2018 (which is the minimum for addressable, which uses Async). There has been plenty of mentions of redoing the code to move up to 2018 to take advantage of features. ;)

As far as Async, I think Fungus is already heading that direction because I think the minimum Unity is 2018 (which is the minimum for addressable, which uses Async). There has been plenty of mentions of redoing the code to move up to 2018 to take advantage of features. ;)

@danac78 That'd be great!

@danac78 That'd be great!

Added suggestion for the game object positions

Added suggestion for the way loading is handled

As an ex long time user of Renp'y, I was really enjoying the rollback feature of their save system
I just put this as reference
https://www.renpy.org/doc/html/save_load_rollback.html


When registering for an event it does not show in my workshops

Summary
Registering for an event does not show the event in my workshops.
Severity
High
To Reproduce
Steps to reproduce the behavior:

Go to workshops
Register for a workshop
Go to my workshops
See error

repetitive issue


Modification for multicolumn entry

Under multicolumn, the column-break-before(/after/inside)  attributes are stated as webkit only.
I was using multicolumn earlier today and it turns out Opera can use those features under break-before(/after/inside) [non-prefixed].

O geezus. I have no idea who added that. Reverting, of course opera and IE9+ can support them.

Oh, didn't know about IE9+, even better :)
I assume the revert goes through and close.
btw, thanks for the great resource in html5please!

no problemo :) it is live now.


Unreachable path when using SQLA order_by desc/asc

Environment data

Language Server version: 2020.6.1
OS and version: OSX 10.15.5
Python version (& distribution if applicable, e.g. Anaconda): 3.7.5 64-bit

Expected behaviour
Any code following SQLAlchemy queries that use order_by(Foo.bar.desc()) or order_by(Foo.bar.asc()) should not be be marked with Code is unreachable
Actual behaviour
Code following SQLAlchemy queries that use order_by(Foo.bar.desc()) or order_by(Foo.bar.asc()) is marked with Code is unreachable and is greyed out.
I'm suspecting the issue is not confined to just this use case.
Logs

XXX

Code Snippet / Additional information

from sqlalchemy import Column, Integer, String
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker, Session

Base = declarative_base()

class Person(Base):
    __tablename__ = 'person'
    id = Column(Integer, primary_key=True)
    name = Column(String(250), nullable=False)

engine = create_engine('sqlite:///sqlalchemy_example.db')
Base.metadata.bind = engine

DBSession = sessionmaker(bind=engine)
session: Session = DBSession()

p = session.query(Person).get(5)
p2 = session.query(Person).order_by(Person.name).first()
p2 = session.query(Person).order_by(Person.name.asc()).first()
p3 = ... # unreachable

I presume that you're not using a type stub for sqlalchemy, so Pylance is attempting to infer types from the library implementation. When Pylance analyzes the asc method, it finds the following code:
    def asc(self):
        return self.operate(asc_op)

It then analyzes the operate method, and it finds:
    def operate(self, op, *other, **kwargs):
        raise NotImplementedError(str(op))

Note that the operate method is not annotated with a return type and is not marked as @abstractmethod (as it probably should be). So Pylance assumes that this method always raises an exception when called.
The recommended fixes for this problem are:

Find or create a type stub for sqlalchemy that defines its public interface so Pylance doesn't need to try to infer the interface from the library implementation.
Report a bug (or submit a PR) to sqlalchemy to properly mark these methods as @abstractmethod or annotate the method with a proper return type.

Thanks, Eric.
That was fast 😛


Add support for make help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 361 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-6.3%) to 7.763%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/makefile/render.go
0
128
0.0%

internal/makefile/makefile.go
0
233
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-6.3%

Covered Lines:
34

Relevant Lines:
438

💛  - Coveralls


Enforce server max packet

Previously, we were enforcing client maximum packet size, but not server set maximum packet size, as per #120 . This PR ensures we reject oversize packets with a 0x95 disconnect. Also fixes minor test issues.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 8 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 98.173%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
4996

Relevant Lines:
5089

💛  - Coveralls


feature request: allow for key pressed input for quick navigation

Hi,
It would be great if we can have multiple key entries by keeping the key pressed. For example, if I keep the w key pressed, then the cursor should quickly move across the words.
Currently, the cursor stays at the same position unless we move the finger the press it again.

I test it on Mac, and see it can do what you want actually.

Thanks for your reply. I am on macOS too, but it's not working for me like that. Not sure what could be the issue. The following are my system details
OS: macOS Monterey (12.4), Apple M1 Pro
Logseq version: 0.6.9
Plugin version: 0.0.3

I'm not sure, but maybe these two settings are related.

I have similar Keyboard settings. Also in vim pressing the key works as repeat, as expected.

also in windows11.


Enhancement to add additional custom response headers

I have an idea why in empire there is no add additional custom response headers, for example:
(Empire: listeners/http) > info

    Name: HTTP[S]
Category: client_server

Authors:
  @harmj0y

Description:
  Starts a http[s] listener (PowerShell or Python) that uses a
  GET/POST approach.

HTTP[S] Options:

  Name              Required    Value                            Description
  ----              --------    -------                          -----------
  SlackToken        False                                        Your SlackBot API token to communicate with your Slack instance.
  ProxyCreds        False       default                          Proxy credentials ([domain\]username:password) to use for request (default, none, or other).
  KillDate          False                                        Date for the listener to exit (MM/dd/yyyy).
  Name              True        http1                            Name for the listener.
  Launcher          True        powershell -noP -sta -w 1 -enc   Launcher string.
  DefaultDelay      True        5                                Agent delay/reach back interval (in seconds).
  DefaultLostLimit  True        60                               Number of missed checkins before exiting
  WorkingHours      False                                        Hours for the agent to operate (09:00-17:00).
  SlackChannel      False       #general                         The Slack channel or DM that notifications will be sent to.
  DefaultProfile    True        /include/template/isx.php,/wp06 Default communication profile for the agent.
                                /wp-includes/po.php,/wp08/wp-
                                includes/dtcla.php|Mozilla/5.0
                                (Windows; U; MSIE 7.0; Windows
                                NT 5.2) Java/1.5.0_08|Referer:ht
                                tp://www.google.com|Accept:text/
                                xml,application/xml,application/
                                xhtml+xml,text/html;q=0.9,text/p
                                lain;q=0.8,image/png,*/*;q=0.5
  Headers           True        Server:Apache/2.2.26 (Unix)|X Server header response
                                -Powered-By:PHP/5.3.28|Cache-
                                Control:no-cache|Content-
                                Type:text/html|Keep-
                                Alive:timeout=3, max=100
  Host              True        http://<IP_ADDRESS>:80          Hostname/IP for staging.
  CertPath          False                                        Certificate path for https listeners.
  DefaultJitter     True        0.0                              Jitter in agent reachback interval (0.0-1.0).
  Proxy             False       default                          Proxy to use for request (default, none, or other).
  UserAgent         False       default                          User-agent string to use for the staging request (default, none, or other).
  StagingKey        True        0B)eovgNXW#iI;w_RLO?-1^3{Fb[*~GY Staging key for initial agent negotiation.
  BindIP            True        <IP_ADDRESS>                          The IP to bind to on the control server.
  Port              True        80                               Port for the listener.
  StagerURI         False                      URI for the stager. Must use /download/. Example: /download/stager.php

I hope maybe in the future can be added like that, not just custom server version only.
Thank you.

You can do this with profiles. Set the server response header as per the option then use profile to add more headers if needed.
https://bluescreenofjeff.com/2017-03-01-how-to-make-communication-profiles-for-empire/
Does that help?

Resolved in #1047


NIFI-11204: Add configurable retry logic for table commits in PutIceberg processor

Summary
NIFI-11204
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[ ] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[ ] Pull Request based on current revision of the main branch
[ ] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Thanks @krisztina-zsihovszki for the review. I addressed all your review comments and added the missing penalize calls before the failure relation transfers. I think the missing provenance event sending would be better to be added in a separate pull request. What do you think?

Thank you fixing my review items, @mark-bathori .
It is OK for me that the provenance events will be added in a separate PR.


🧱 Terraform Module Dependabots

User Story
As a… cloud ops engineer
I need/want/expect to… a dependabot issue to be opened when a module in terraform can be updated
So that… we keep our modules up to date.
Value / Purpose
This will automate the update of these modules and stop us having to update multiple things at once when upgrading terraform.
Definition of Done (DoD)
Completed for the following:

[x] staff-infrastructure-monitoring-config
[x] staff-device-dns-dhcp-infrastructure
[x] staff-device-shared-services-infrastructure

Renovate now rolled out to the below repos:
'ministryofjustice/cloud-operations-github-actions',
'ministryofjustice/staff-infrastructure-monitoring',
'ministryofjustice/staff-infrastructure-monitoring-config',
'ministryofjustice/staff-device-dns-dhcp-infrastructure',
'ministryofjustice/staff-device-shared-services-infrastructure',

Renovate now successfully deployed and creating PR for terraform
https://github.com/renovatebot/renovate#readme


DSA <IP_ADDRESS> Algorithms: Lower and Upper bounds - Audio/Video

Description
Discuss Asymptotic Notations. What are Lower and Upper bounds? Describe their usages.
Important: Do not use assign command for this issue.
Task

[ ] Video
[ ] Audio

Note

While requesting the issue to be assigned, please mention your NAME & BATCH NUMBER.
Kindly refer to Issue Guidelines.
Changes should be made inside the DSA/directory & DSA branch.
Name of the file should be same as the issue.
This issue is only for 'GWOC' contributors of 'DSA' Domain.

Respected Sir,
I would like to work on this issue.
I am Hilag Shah from DSA batch 1

Name - Hilag Shah Batch - DSA batch 1 @nimisha-yadav Please assign this issue to me

Assigning this issue to you @shahhilag, all the best!

Name - Hilag Shah Batch - DSA batch 1 @nimisha-yadav Please assign this issue to me

Assigning this issue to you @shahhilag, all the best!

Thankyou very much mam.I have created a pull request mam.Your review will help me improve.

@nimisha-yadav mam I have created a new pull request.Thankyou for helping me out and sorry this is my first contribution thus wasted a lot of your time.

@nimisha-yadav mam I have created a new pull request.Thankyou for helping me out and sorry this is my first contribution thus wasted a lot of your time.

It's completely okay, this is the purpose of this program. Well done for first contribution :D

@nimisha-yadav mam I have created a new pull request.Thankyou for helping me out and sorry this is my first contribution thus wasted a lot of your time.

It's completely okay, this is the purpose of this program. Well done for first contribution :D

Thankyou very much @nimisha-yadav mam.Your support and guidance truely will help me grow a lot.

Thankyou mam:)


fatal error: mjmodel.h: No such file or directory

Trying to install this from scratch.  Here are my steps:
git clone https://github.com/openai/baselines.git
cd baselines
mkvirtualenv openai -p python3.6
pip install -e .

...
Building wheels for collected packages: gym, zmq, dill, mpi4py, mujoco-py, glfw, pycparser
  Running setup.py bdist_wheel for gym ... done
  Stored in directory: /home/maddoxw/.cache/pip/wheels/a8/e4/fc/145832d732d33de702076907d7c3b4c47ba4302dbedd35fc80
  Running setup.py bdist_wheel for zmq ... done
  Stored in directory: /home/maddoxw/.cache/pip/wheels/1e/ab/58/d386fd5ba7223e06c34ad0e096a23b2c36c9b077d2fa479325
  Running setup.py bdist_wheel for dill ... done
  Stored in directory: /home/maddoxw/.cache/pip/wheels/e5/88/fe/7e290ce5bb39d531eb9bee5cf254ba1c3e3c7ba3339ce67bee
  Running setup.py bdist_wheel for mpi4py ... done
  Stored in directory: /home/maddoxw/.cache/pip/wheels/13/e2/e6/4a43d9f0ab84f7780c3084eddfa98621872aa349fa4daca464
  Running setup.py bdist_wheel for mujoco-py ... error
  Complete output from command /home/maddoxw/.virtualenvs/openai/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5ihzx1e2/mujoco-py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpvuef1fropip-wheel- --python-tag cp36:
  running bdist_wheel
  running build
  Compiling /tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/cymj.pyx because it changed.
  [1/1] Cythonizing /tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/cymj.pyx
  running build_ext
  building 'mujoco_py.cymj' extension
  creating /tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/generated/_pyxbld_LinuxExtensionBuilder
  creating /tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/generated/_pyxbld_LinuxExtensionBuilder/temp.linux-x86_64-3.6
  creating /tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/generated/_pyxbld_LinuxExtensionBuilder/temp.linux-x86_64-3.6/tmp
  creating /tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/generated/_pyxbld_LinuxExtensionBuilder/temp.linux-x86_64-3.6/tmp/pip-build-5ihzx1e2
  creating /tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/generated/_pyxbld_LinuxExtensionBuilder/temp.linux-x86_64-3.6/tmp/pip-build-5ihzx1e2/mujoco-py
  creating /tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/generated/_pyxbld_LinuxExtensionBuilder/temp.linux-x86_64-3.6/tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py
  creating /tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/generated/_pyxbld_LinuxExtensionBuilder/temp.linux-x86_64-3.6/tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/gl
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Imujoco_py -I/tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py -I/home/maddoxw/.mujoco/mjpro150/include -I/home/maddoxw/.virtualenvs/openai/lib/python3.6/site-packages/numpy/core/include -I/tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/vendor/egl -I/usr/include/python3.6m -I/home/maddoxw/.virtualenvs/openai/include/python3.6m -c /tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/cymj.c -o /tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/generated/_pyxbld_LinuxExtensionBuilder/temp.linux-x86_64-3.6/tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/cymj.o -fopenmp -w
  /tmp/pip-build-5ihzx1e2/mujoco-py/mujoco_py/cymj.c:568:21: fatal error: mjmodel.h: No such file or directory
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

I'm only showing the last few stages of the install for brevity.  I can provide the full verbose output if need be. My OS is Ubuntu 16.04. Any ideas on what the issue might be? Has anyone had success installing in a virtualenv?

I saw this error when reinstalling on windows today. The solution for me was:

install gym manually,
remove this line from setup.py
'gym[mujoco,atari,classic_control]',
install baselines

I belive the problem for me was mujoco-py (which I've not been able to get running on windows)

Having same problem for ubuntu 16.04

@yakotaki in case you are still dealing with this issue:

open ./baselines/setup.py
locate the line containing 'gym[mujoco,atari,classic_control,robotics]'
delete mujoco, resulting in 'gym[atari,classic_control,robotics]'
save setup.py
run pip install -e .

@behzadanksu I had to remove robotics as well and then it worked.

@Sohojoe Hey, I'm having the same trouble:
Can't install mujoco-py on my windows and thus can't install baselines.
Could you please explain how to perform step 2? do I have to use git or something like that to be able to remove this line? or is it also possible using pip install regularly?
Thanks


GEOMESA-1266 Fix libjars, prioritize guava 17 for mapred

Signed-off-by: Andrew Hulbert<EMAIL_ADDRESS>

thanks for fixing that @jahhulbert-ccri. Odd that guava would be required, that's only a test-scope dependency for stream-lib.


fix: add mount localtime while deploy with helm

Summary
Add mount entry for localtime while deploy with helm chart.
Does this close any open issues?
Closes #2278
Screenshots
[root@nuc incubator-devlake]# kubectl exec devlake0-lake-0 -- date
Tue Jun 21 18:18:36 CST 2022
[root@nuc incubator-devlake]#

With this patch, the container uses the same time zone as the node.
Other Information
N/A

Hold, Pipeline failed, due to connect MySQL failed, we need to introducing graceful startup for lake at first. I'll raise PR for it soon.

#2312 raised, I'll rebase after that merged.

@matrixji Seems like the deployment test is still failing.

@matrixji Seems like the deployment test is still failing.

It seems due to Github action's instance with Kind being slower than the normal one, let's add wait timeout and try.

Below are errors (https://github.com/matrixji/incubator-devlake/runs/7038029464?check_suite_focus=true):

Warning  Failed     9m10s (x4 over 9m54s)  kubelet            Error: failed to create containerd task: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/etc/localtime" to rootfs at "/etc/localtime" caused: mount through procfd: not a directory: unknown

So that is to say not every container runtime support mounting a file from the host, so I think this RP is not acceptable.
If the custom/user wants set timezone in Kubernetes deployment, maybe could take look at the k8tz project: https://github.com/k8tz/k8tz
So, if not other comments, I propose closing this PR and related issue.

Below are errors (https://github.com/matrixji/incubator-devlake/runs/7038029464?check_suite_focus=true):

Warning  Failed     9m10s (x4 over 9m54s)  kubelet            Error: failed to create containerd task: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/etc/localtime" to rootfs at "/etc/localtime" caused: mount through procfd: not a directory: unknown

I see, seems like symlink was missing, can we fix this? i.e., creating one before testing?

Below are errors (https://github.com/matrixji/incubator-devlake/runs/7038029464?check_suite_focus=true):

Warning  Failed     9m10s (x4 over 9m54s)  kubelet            Error: failed to create containerd task: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/etc/localtime" to rootfs at "/etc/localtime" caused: mount through procfd: not a directory: unknown

I see, seems like symlink was missing, can we fix this? i.e., creating one before testing?

There are no tzdata in kubelet's container, Kind using kubelet from the container, so I will introduce a parameter to handle it. If the parameter set to empty "", than we will not mount the localtime for it.


Build fails on GCC11 and newer

Building SymCrypt fails with GCC11 or newer. It causes errors such as:
error: template-id not allowed for destructor
2683 | TlsCbcHmacImp<ImpXxx, AlgTlsCbcHmacSha384>::~TlsCbcHmacImp<ImpXxx, AlgTlsCbcHmacSha384>()

We'll track this internally, but I'm creating a public issue so that it's known that we're aware of it.

A quick search shows it is valid C++17 but they disallow it in C++20. Don't they care about backward compatibility?
Niels
From: Mitch Lindgren @.>
Sent: Friday, May 3, 2024 16:49
To: microsoft/SymCrypt @.>
Cc: Subscribed @.***>
Subject: [microsoft/SymCrypt] Build fails on GCC11 and newer (Issue #39)
Building SymCrypt fails with GCC11 or newer. It causes errors such as:
error: template-id not allowed for destructor
2683 | TlsCbcHmacImp<ImpXxx, AlgTlsCbcHmacSha384>::~TlsCbcHmacImp<ImpXxx, AlgTlsCbcHmacSha384>()
We'll track this internally, but I'm creating a public issue so that it's known that we're aware of it.

Reply to this email directly, view it on GitHubhttps://github.com/microsoft/SymCrypt/issues/39 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJJHWVWQVEIGPUWBM6BXDRDZAQO6PBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLKRVGM2DOOBZG42TKN5ENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWSHI4TVMWSG4YLNMWXHOYLUMNUF6YLDORUXM2LUPGWHG5LCNJSWG5C7OR4XAZNFJFZXG5LFUZ2G64DJMNZZHAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUTCNZVHEYDCNJWGWBKI5DZOBS2K2LTON2WLJLWMFWHKZNKGIZDOOBVHA2DCOJTQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRVGM2DOOBZG42TKN5HORZGSZ3HMVZKMY3SMVQXIZI.
You are receiving this email because you are subscribed to this thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You're right, this was actually a C++20 issue, not a GCC issue. It came up while we were working on integrating libcrux with the unit tests, but the change to C++20 was only temporary anyway; we don't want to require that.


Split choropleth components

Summary
The goal for this PR is to split GeoJson and Vector Tiles Choropleths into two distinct components.
Changes

Choropleth is split into ChoroplethGeoJson and ChoroplethVectorTiles
MapRender remains unique for both components
ColorsScale is renamed ColorScale everywhere
Most of the Choropleth computing functions have been moved to utils

Open discussion

Remove MaxZoom and pass it as an option

To be tested
No regression ?
Review checklist

[ ] Description is complete
[ ] 2 reviewers (1 if trivial)
[ ] Tests coverage has improved
[ ] Code is ready for a release on NPM

I didn't test installing and using it from the platform, so we may miss something, but I definitely prefer this approach

@richterb I've tested it and since some interfaces names have changed, a PR renaming all of those will be needed on the platform.


first draft of a working drag and drop implementation

This is a working drag and drop implementation for the substation editor. Still missing things like unit tests and a review. Currently follows the same semantic as the current move implementation.
I'm not too happy about the current drop implementation as it relies on the fact that the current editor tags have a direct relation to the SCL tags. An explicit way to specify that e.g. the voltage-level-editor edits the "VoltageLevel" SCL element would be better.

I'm not too happy about the current drop implementation as it relies on the fact that the current editor tags have a direct relation to the SCL tags. An explicit way to specify that e.g. the voltage-level-editor edits the "VoltageLevel" SCL element would be better.

There should be some way to find out which SCL element a particular editor is responsible for editing by checking something like editor.element.tagName.


Unable to read sensor data

Hi
I am able to connect to the inverter as I can read the serial number on initial connection but it fails to read any sensor data. I have enabled debug logging and the results are below. Please advise on how to fix
2021-12-21 11:09:15,707 INFO    Loading HASS OS configuration
2021-12-21 11:09:15,709 INFO    Filter *last used for ['total_pv_power', 'total_battery_charge', 'total_battery_discharge', 'total_grid_export', 'total_grid_import']
2021-12-21 11:09:15,709 INFO    Filter *step used for ['battery_soc']
2021-12-21 11:09:15,710 INFO    Filter last used for ['grid_ct_load', 'inverter_output', 'load_power']
2021-12-21 11:09:15,711 DEBUG   Using selector: EpollSelector
2021-12-21 11:09:15,714 DEBUG   Connecting.
2021-12-21 11:09:15,752 DEBUG   Client connected to modbus server
2021-12-21 11:09:15,753 INFO    Protocol made connection.
2021-12-21 11:09:15,755 INFO    Connected to /dev/ttyUSB0
2021-12-21 11:09:15,756 DEBUG   send: 0x1 0x3 0x0 0x3 0x0 0x5 0x75 0xc9
2021-12-21 11:09:15,758 DEBUG   Adding transaction 1
2021-12-21 11:09:15,821 DEBUG   recv: 0x1 0x3 0xa 0x32 0x31 0x30 0x36 0x32 0x39 0x37 0x32 0x32 0x38 0xaa 0x1b 0xff
2021-12-21 11:09:15,822 DEBUG   Getting Frame - 0x3 0xa 0x32 0x31 0x30 0x36 0x32 0x39 0x37 0x32 0x32 0x38
2021-12-21 11:09:15,822 DEBUG   Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-21 11:09:15,823 DEBUG   Frame advanced, resetting header!!
2021-12-21 11:09:15,824 DEBUG   Getting transaction 1
2021-12-21 11:09:15,826 DEBUG   Request registers: [3, 4, 5, 6, 7] glen=5. Response [12849, 12342, 12857, 14130, 12856] len=5. regs={3: 12849, 4: 12342, 5: 12857, 6: 14130, 7: 12856}
2021-12-21 11:09:15,827 INFO    ############################################################
2021-12-21 11:09:15,827 INFO                   SMA serial number '2106297228'
2021-12-21 11:09:15,828 INFO    ############################################################
2021-12-21 11:09:15,864 INFO    MQTT: Connection successful
2021-12-21 11:09:16,334 DEBUG   PUBLISH 1R homeassistant/sensor/2106297228/total_pv_power/config, {"name": "Total PV Power", "stat_t": "SUNSYNK/status/2106297228/total_pv_power", "unit_of_meas": "kWh", "uniq_id": "2106297228_total_pv_power", "dev": {"ids": ["sunsynk_2106297228"], "name": "Sunsynk Inverter<PHONE_NUMBER>", "mdl": "Inverter<PHONE_NUMBER>", "mf": "Sunsynk"}, "exp_aft": 301, "dev_cla": "energy", "stat_cla": "total_increasing"}
2021-12-21 11:09:16,357 DEBUG   PUBLISH 1R homeassistant/sensor/2106297228/total_battery_charge/config, {"name": "Total Battery Charge", "stat_t": "SUNSYNK/status/2106297228/total_battery_charge", "unit_of_meas": "kWh", "uniq_id": "2106297228_total_battery_charge", "dev": {"ids": ["sunsynk_2106297228"], "name": "Sunsynk Inverter<PHONE_NUMBER>", "mdl": "Inverter<PHONE_NUMBER>", "mf": "Sunsynk"}, "exp_aft": 301, "dev_cla": "energy", "stat_cla": "total_increasing"}
2021-12-21 11:09:16,362 DEBUG   PUBLISH 1R homeassistant/sensor/2106297228/total_battery_discharge/config, {"name": "Total Battery Discharge", "stat_t": "SUNSYNK/status/2106297228/total_battery_discharge", "unit_of_meas": "kWh", "uniq_id": "2106297228_total_battery_discharge", "dev": {"ids": ["sunsynk_2106297228"], "name": "Sunsynk Inverter<PHONE_NUMBER>", "mdl": "Inverter<PHONE_NUMBER>", "mf": "Sunsynk"}, "exp_aft": 301, "dev_cla": "energy", "stat_cla": "total_increasing"}
2021-12-21 11:09:16,367 DEBUG   PUBLISH 1R homeassistant/sensor/2106297228/total_grid_export/config, {"name": "Total Grid Export", "stat_t": "SUNSYNK/status/2106297228/total_grid_export", "unit_of_meas": "kWh", "uniq_id": "2106297228_total_grid_export", "dev": {"ids": ["sunsynk_2106297228"], "name": "Sunsynk Inverter<PHONE_NUMBER>", "mdl": "Inverter<PHONE_NUMBER>", "mf": "Sunsynk"}, "exp_aft": 301, "dev_cla": "energy", "stat_cla": "total_increasing"}
2021-12-21 11:09:16,372 DEBUG   PUBLISH 1R homeassistant/sensor/2106297228/total_grid_import/config, {"name": "Total Grid Import", "stat_t": "SUNSYNK/status/2106297228/total_grid_import", "unit_of_meas": "kWh", "uniq_id": "2106297228_total_grid_import", "dev": {"ids": ["sunsynk_2106297228"], "name": "Sunsynk Inverter<PHONE_NUMBER>", "mdl": "Inverter<PHONE_NUMBER>", "mf": "Sunsynk"}, "exp_aft": 301, "dev_cla": "energy", "stat_cla": "total_increasing"}
2021-12-21 11:09:16,378 DEBUG   PUBLISH 1R homeassistant/sensor/2106297228/battery_soc/config, {"name": "Battery SOC", "stat_t": "SUNSYNK/status/2106297228/battery_soc", "unit_of_meas": "%", "uniq_id": "2106297228_battery_soc", "dev": {"ids": ["sunsynk_2106297228"], "name": "Sunsynk Inverter<PHONE_NUMBER>", "mdl": "Inverter<PHONE_NUMBER>", "mf": "Sunsynk"}, "exp_aft": 301, "dev_cla": "battery"}
2021-12-21 11:09:16,383 DEBUG   PUBLISH 1R homeassistant/sensor/2106297228/grid_ct_load/config, {"name": "Grid CT load", "stat_t": "SUNSYNK/status/2106297228/grid_ct_load", "unit_of_meas": "W", "uniq_id": "2106297228_grid_ct_load", "dev": {"ids": ["sunsynk_2106297228"], "name": "Sunsynk Inverter<PHONE_NUMBER>", "mdl": "Inverter<PHONE_NUMBER>", "mf": "Sunsynk"}, "exp_aft": 301, "dev_cla": "power"}
2021-12-21 11:09:16,388 DEBUG   PUBLISH 1R homeassistant/sensor/2106297228/inverter_output/config, {"name": "Inverter Output", "stat_t": "SUNSYNK/status/2106297228/inverter_output", "unit_of_meas": "W", "uniq_id": "2106297228_inverter_output", "dev": {"ids": ["sunsynk_2106297228"], "name": "Sunsynk Inverter<PHONE_NUMBER>", "mdl": "Inverter<PHONE_NUMBER>", "mf": "Sunsynk"}, "exp_aft": 301, "dev_cla": "power"}
2021-12-21 11:09:16,393 DEBUG   PUBLISH 1R homeassistant/sensor/2106297228/load_power/config, {"name": "Load Power", "stat_t": "SUNSYNK/status/2106297228/load_power", "unit_of_meas": "W", "uniq_id": "2106297228_load_power", "dev": {"ids": ["sunsynk_2106297228"], "name": "Sunsynk Inverter<PHONE_NUMBER>", "mdl": "Inverter<PHONE_NUMBER>", "mf": "Sunsynk"}, "exp_aft": 301, "dev_cla": "power"}
2021-12-21 11:09:17,402 DEBUG   send: 0x1 0x3 0x0 0x48 0x0 0xb 0x84 0x1b
2021-12-21 11:09:17,407 DEBUG   Adding transaction 1
2021-12-21 11:09:17,472 DEBUG   recv: 0x1 0x3 0x16 0x0 0x14 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x27 0x0 0x0 0x2 0xbf 0x13 0x89 0x0 0x0 0x0 0x5 0x0 0x0 0x1f 0x7c
2021-12-21 11:09:17,474 DEBUG   Frame check failed, ignoring!!
2021-12-21 11:09:17,475 DEBUG   Resetting frame - Current Frame in buffer - 0xff 0x1 0x3 0x16 0x0 0x14 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x27 0x0 0x0 0x2 0xbf 0x13 0x89 0x0 0x0 0x0 0x5 0x0 0x0 0x1f 0x7c
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 489, in wait_for
    fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/app/./run.py", line 214, in <module>
    LOOP.run_until_complete(main(LOOP))
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/usr/src/app/./run.py", line 185, in main
    await SUNSYNK.read([f.sensor for f in SENSORS])
  File "/usr/local/lib/python3.9/site-packages/sunsynk/sunsynk.py", line 100, in read
    r_r = await self.client.read_holding_registers(
  File "/usr/local/lib/python3.9/site-packages/pymodbus/client/asynchronous/async_io/__init__.py", line 35, in execute
    resp = await asyncio.wait_for(req, timeout=self._timeout)
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 491, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
[cmd] ./run.py exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Can you try adding a TIMEOUT of 10 seconds to your config? The default is 5

The new default will be 10


Error when selecting option from FormBuilderChipsInput

I can't seem to solve this. I am able to render and build no problem, but as soon as I select a suggestion the whole app crashes.

Due to lack of response and an old error, I will close this issue.
If the bug still exists, feel free to open a new issue


Create a PR Template

This issue is to track the creation of a PR template that satisfies the requirements of the different levels of code introduced into the webapp (middle, UI), as well as introduce a verification step for UXD.
Starting thoughts:

all tests must pass (JS and CSS)
if the code touches the UI, it must be reviewed by UXD
any content changes must be reviewed by Docs, or have a link to a previous document stating the desired changes
the webapp must continue to operate using mock data

Currently, there is no defined standard for who should review what type of work, and what each code change must verify before merging. The hope is that a template such as this can assist with creating a smoother process.

First Draft:
Description of Pull Request:
Changes:

1
2
3

Link to Reference Doc (if applicable):
[insert link here]
Screenshot of Implementation (if applicable):

Checklist:
[ ] All Test Pass (run yarn run test to verify)
[ ] Content is complete
[ ] Design is approved
[ ] Works deployed on OpenShift?
[ ] Works in mock mode?

@mindreeper2420 should we also link to the github issue or trello card that originated this work?
The checklist is a bit confusing - are you expecting the person creating the issue to check those off or those watching the repo responsible for each item to check them off?

@catrobson this actually originated from a discussion been Don, Mark, and myself. I also spoke with Brian on trying to come up with a way to have design review UI changes, before they actually make it into production.
The checklist is something that the creator of the PR should be able to check off - each item verifies (or should help to verify) that the PR is not being done without any previous knowledge. This is something that PatternFly does, to ensure that the work behind the PR going into Core has already been vetted by the necessary parties.

I hadn't realised this issue existed before submitting my own suggestion here - https://github.com/integr8ly/tutorial-web-app/pull/212
Motivation
Add references to relevant tickets or a short description about what motivated you do it. (E.g Trello Card AND/OR GitHub ISSUE: https://github.com/integr8ly/tutorial-web-app/issues)
What
Add an short answer for: What was done in this PR? (E.g Don't allow users has access to the feature X.)
Why
Add an short answer for: Why it was done? (E.g The feature X was deprecated.)
How
Add an short answer for: How it was done? (E.g By removing this feature from ... OR By removing just the button but not its implementation ... )
Verification Steps
Add detailed steps required to check this change. Following an example.

Go to XX >> YY >> SS
Create a new item N with the info X
Try to edit this item
Check if in the left menu the feature X is not so long present.

Checklist:

[ ] All Test Pass (run yarn run test to verify)
[ ] Content is complete
[ ] Design is approved
[ ] Works deployed on OpenShift?
[ ] Works in mock mode?
[ ] Changes have been successfully verified by another team member

Progress

[x] Finished task
[ ] TODO

Additional Notes
PS.: Add images and/or .gifs to illustrate what was changed if this pull request modifies the appearance/output of something presented to the users.


Update CentOS mirrorlink

https://ci.adoptium.net/job/Test_openjdk23_hs_special.system_x86-64_linux/7/
Current test is trying to use CentOS 7 which no longer exists
docker run -v "/home/jenkins/workspace/Test_openjdk23_hs_special.system_x86-64_linux_rerun/aqa-tests/TKG/../../jvmtest/system/reproducibleCompare:/home/jenkins/test" -w "/home/jenkins/" -v "/home/jenkins/workspace/Test_openjdk23_hs_special.system_x86-64_linux_rerun/jdkbinary/j2sdk-image/jdk-23+35/bin/../:/home/jenkins/jdkbinary/" --name reproducibleCompare centos:7 /bin/bash /home/jenkins/test/linux_repro_build_compare.sh /home/jenkins/test/OpenJDK23U-sbom_x64_linux_hotspot_23_35-ea.json /home/jenkins/jdkbinary; \
[2024-08-02T04:48:53.423Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Rebuild_Same_JDK_Reproducibility_Test_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk23_hs_special.system_x86-64_linux_rerun/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk23_hs_special.system_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17225741323010/Rebuild_Same_JDK_Reproducibility_Test_0"; else echo "-----------------------------------"; echo "Rebuild_Same_JDK_Reproducibility_Test_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-08-02T04:48:53.423Z] docker cp reproducibleCompare:/home/jenkins/reprotest.diff ./; \
[2024-08-02T04:48:53.423Z] docker cp reproducibleCompare:/home/jenkins/reproJDK.tar.gz ./; \
[2024-08-02T04:48:53.423Z] docker cp reproducibleCompare:/home/jenkins/SBOM.json ./; \
[2024-08-02T04:48:53.423Z] docker container rm reproducibleCompare; \
[2024-08-02T04:48:53.423Z] echo "";	echo "TEST TEARDOWN:"; \
[2024-08-02T04:48:53.423Z] echo "Nothing to be done for teardown."; \
[2024-08-02T04:48:53.423Z]  } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk23_hs_special.system_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17225741323010/TestTargetResult";
[2024-08-02T04:48:53.423Z]
[2024-08-02T04:48:53.423Z] TEST SETUP:
[2024-08-02T04:48:53.423Z] Nothing to be done for setup.
[2024-08-02T04:48:53.423Z]
[2024-08-02T04:48:53.423Z] TESTING:
[2024-08-02T04:48:54.091Z] Error: No such container: reproducibleCompare
[2024-08-02T04:48:56.260Z] Loaded plugins: fastestmirror, ovl
[2024-08-02T04:48:56.260Z] Determining fastest mirrors
[2024-08-02T04:48:56.260Z] Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was
[2024-08-02T04:48:56.260Z] 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
[2024-08-02T04:48:56.260Z]
[2024-08-02T04:48:56.260Z]
[2024-08-02T04:48:56.260Z]  One of the configured repositories failed (Unknown),
[2024-08-02T04:48:56.260Z]  and yum doesn't have enough cached data to continue. At this point the only
[2024-08-02T04:48:56.260Z]  safe thing yum can do is fail. There are a few ways to work "fix" this:
[2024-08-02T04:48:56.260Z]
[2024-08-02T04:48:56.260Z]      1. Contact the upstream for the repository and get them to fix the problem.
[2024-08-02T04:48:56.260Z]
[2024-08-02T04:48:56.260Z]      2. Reconfigure the baseurl/etc. for the repository, to point to a working
[2024-08-02T04:48:56.260Z]         upstream. This is most often useful if you are using a newer
[2024-08-02T04:48:56.260Z]         distribution release than is supported by the repository (and the
[2024-08-02T04:48:56.260Z]         packages for the previous distribution release still work).
[2024-08-02T04:48:56.260Z]
[2024-08-02T04:48:56.260Z]      3. Run the command with the repository temporarily disabled
[2024-08-02T04:48:56.260Z]             yum --disablerepo=<repoid> ...
[2024-08-02T04:48:56.260Z]
[2024-08-02T04:48:56.260Z]      4. Disable the repository permanently, so yum won't use it by default. Yum
[2024-08-02T04:48:56.260Z]         will then just ignore the repository until you permanently enable it
[2024-08-02T04:48:56.260Z]         again or use --enablerepo for temporary usage:
[2024-08-02T04:48:56.260Z]
[2024-08-02T04:48:56.260Z]             yum-config-manager --disable <repoid>
[2024-08-02T04:48:56.260Z]         or
[2024-08-02T04:48:56.260Z]             subscription-manager repos --disable=<repoid>
[2024-08-02T04:48:56.260Z]
[2024-08-02T04:48:56.260Z]      5. Configure the failing repository to be skipped, if it is unavailable.
[2024-08-02T04:48:56.260Z]         Note that yum will try to contact the repo. when it runs most commands,
[2024-08-02T04:48:56.260Z]         so will have to try and fail each time (and thus. yum will be be much
[2024-08-02T04:48:56.260Z]         slower). If it is a very temporary problem though, this is often a nice
[2024-08-02T04:48:56.260Z]         compromise:
[2024-08-02T04:48:56.260Z]
[2024-08-02T04:48:56.260Z]             yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
[2024-08-02T04:48:56.260Z]
[2024-08-02T04:48:56.260Z] Cannot find a valid baseurl for repo: base/7/x86_64
[2024-08-02T04:48:56.928Z] -----------------------------------
[2024-08-02T04:48:56.928Z] Rebuild_Same_JDK_Reproducibility_Test_0_FAILED
[2024-08-02T04:48:56.928Z] -----------------------------------

This will need the repositories switched to vault.centos.org - see https://github.com/adoptium/infrastructure/pull/3643/files for an example.

I believe Andrew mentioned we should move to CentOS 8, but I see his recent blog post instructions at https://adoptium.net/docs/reproducible-verification-builds/reproduce-linux-x64/ reference both

I believe Andrew mentioned we should move to CentOS 8

We could but bear in mind that CentOS8 also went out of support some time ago (the dates for each are on the infrastructure wiki - there iswas only the "moving target" of CentOS Stream 8 that's available from that project now, but that is also now out of support as of May (So I guess that isn't really a moving target any more, but CentOS Stream in general is) So TL;DR: Moving to 8 isn't any better than sticking with 7 at this point.
Since we have the devkit we can potentially use almost anything for this (including CentOS Stream 8 but that seems like a pointless move as per the previous paragraph), but IMHO the easiest change to allow this to work is just to use the vault links with CentOS7, which is what we're doing elsewhere.

Do we need to move to ubi?

To be clear, we don't /need/ to move to anything, since the use the vault mirror will allow us to continue using CentOS7, and that is stable (very stable - it will never receive any further updates!). I have tested using a devkit on UBI9 at https://github.com/adoptium/temurin-build/issues/3847#issuecomment-2161273298 so that is also an option, however a later comment in that issue suggests it wasn't able to reproduce the main builds.

Yes, CentOS 8 reached EOL on December 31, 2021 and CentOS 7 - June 30, 2024 https://www.centos.org/centos-linux-eol/.

Images are also deprecated https://hub.docker.com/_/centos


\r is autoreplaced with \r\n in regexp replacements

I had to produce a text file with \r\r\n line breaks from a file with dos linebreak. So I tried the obvious way
:e ++ff=unix file.txt
%s/\r/\r\r/g
And Vim autoreplaced every \r with \n. This is obviously not the intended behaviour.
%s/^V^M/^V^M^V^M/g acts the same way, btw

that is explained in the docs. Please ask user questions on the appropriate forums.

In retrospect, the answer might have sound to harsh and I apologize for that. Please note, that the behaviour you are seeing is described in the help at :h sub-replace-special. so internally a \r is always handled as adding a newline when used in the replacement part of the :s command.


npm i install giving error

When I try to install this package its giving
"npm ERR! code Unknown system error -83npm ERR! code Unknown system error -83"
My node version is 12.18.1

Please provide more information
Run and paste the output here
npx envinfo --system --binaries --markdown

npm i --save-dev cypress-mochawesome-reporter --verbose

Thanks

@LironEr
npm info it worked if it ends with ok
npm verb cli [
npm verb cli   '/usr/local/bin/node',
npm verb cli   '/usr/local/bin/npm',
npm verb cli   'i',
npm verb cli   '--save-dev',
npm verb cli   'cypress-mochawesome-reporter',
npm verb cli   '--verbose'
npm verb cli ]
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm verb npm-session 5f73c470a78b1bde
npm http fetch GET 200 https://registry.npmjs.org/cypress-mochawesome-reporter 1686ms
npm timing stage:loadCurrentTree Completed in 2524ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 4ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 320ms
npm http fetch GET 304 https://registry.npmjs.org/yargs 69ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/string-width 241ms (from cache)
npm timing stage:rollbackFailedOptional Completed in 2ms
npm timing stage:runTopLevelLifecycles Completed in 4205ms
npm verb stack Error: Unknown system error -83: Unknown system error -83, open '/Users/apple/.npm/_cacache/index-v5/6a/a7/1cbd001cd62203bc47d9086e371da3823c4fe7cb824efdfcccee13ad1ce3'
npm verb cwd /Users/apple/Desktop/appscience/ATS
npm verb Darwin 20.3.0
npm verb argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "--save-dev" "cypress-mochawesome-reporter" "--verbose"
npm verb node v12.18.2
npm verb npm  v6.14.5
npm ERR! code Unknown system error -83
npm ERR! syscall open
npm ERR! path /Users/apple/.npm/_cacache/index-v5/6a/a7/1cbd001cd62203bc47d9086e371da3823c4fe7cb824efdfcccee13ad1ce3
npm ERR! errno -83
npm ERR! Unknown system error -83: Unknown system error -83, open '/Users/apple/.npm/_cacache/index-v5/6a/a7/1cbd001cd62203bc47d9086e371da3823c4fe7cb824efdfcccee13ad1ce3'
npm verb exit [ -83, true ]
npm timing npm Completed in 4949ms
npm ERR!      /Users/apple/.npm/_logs/2021-02-22T13_32_49_620Z-debug.log

I don't think it's really a problem with this plugin, but with npm.
npm verb stack Error: Unknown system error -83: Unknown system error -83, open '/Users/apple/.npm/_cacache/index-v5/6a/a7/1cbd001cd62203bc47d9086e371da3823c4fe7cb824efdfcccee13ad1ce3'

try to delete npm cache with:
npm cache clean --force

then try to install again and paste the output:
npm i --save-dev cypress-mochawesome-reporter --verbose

if it still doesn't work try to install the latest node v12 version and try again
I'm using node v12.20.2 with npm v6.14.11

@LironEr  yes issue was with npm. Thanks for the quick response


added docker usage guide and added explanation for #437

Basics

[x] Details of what you changed are in commit messages.
[x] References to issues, e.g. close #X, are in the commit messages.
[ ] The buildserver is happy.
[x] The PR is rebased with current master.

Checklist

[ ] I fully described what my PR does in the documentation
(not in the PR description)
[ ] I fixed all affected documentation
[ ] I fixed all affected decisions
[ ] I added unit tests for my code
[ ] I added code comments, logging, and assertions as appropriate
[ ] I translated all strings visible to the user
[ ] I mentioned every code or binary not directly written or done by me in reuse syntax
[ ] I created left-over issues for things that are still to be done
[ ] Code is conforming to our Architecture
[ ] Code is conforming to our Guidelines
(exceptions are documented)
[ ] Code is consistent to our Design Decisions

Review

[ ] I've tested the code
[ ] I've read through the whole code
[ ] Examples are well chosen and understandable

Something went wrong here, please rebase properly or create a new branch with your commits on top of it (cherry-pick). You can ask e.g. @badnames how to do this.

There is still something wrong in the rebase, please verify that https://github.com/ElektraInitiative/PermaplanT/pull/460/files contains exactly and exclusively the changes you want. You can also reopen the branch/PR if you don't know what happened.
There are some build server issues, too. See doc/ci.md

jenkins build please

I assume #503 is the follow up. Please reopen if needed.


Status reporting: fix codeql_version field name

This PR fixes the StatusReportBase field name for CodeQL CLI version.  It should be codeql_version instead of codeql_cli_version.
Merge / deployment checklist

[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.
[x] Confirm the changelog has been updated if necessary.

Have we got PR checks that would catch incorrect fields by failing the status reporting?

I am not sure if there is a way to do that.  I think the status reporting API endpoint is specifically configured to accept unknown fields, which is generally a good thing.  That does make it hard to catch field name errors—I found this one only because I was digging into the status report data and noticing that the CodeQL CLI version is always empty.


Defaults to GP Tuning when hyper-paramater matrix is singular

Defaults to GP Tuner when matrix of hyperparameters and scores is singular.

Due to major rework and that this pull request refers to an older version of BTB we are closing it. We can still see the changes if needed for future inspiration.


Bug report: Can't change language on iPhone SE (iOS 17.6.1)

This is a bug my friend just found while experiencing KiraKira
https://github.com/user-attachments/assets/e4aaeb13-33a0-431e-aaec-7612ac4adefb

This problem also occurs on Firefox.
According to the test, something wrong can also be observed on the "about" page.

I guess it's a problem that related to browser, and actually a style error.
The cause is not yet clear, however.


Composer: allow PHPUnit 10.x + update CI to match

Composer: allow for PHPUnit 10.0.0
PHPUnit 10.0 has been released on Feb 3, 2023 and in the mean time PHPUnit 10.1 and 10.2 have also been released.
Refs:

https://phpunit.de/announcements/phpunit-10.html
https://github.com/sebastianbergmann/phpunit/blob/10.0.19/ChangeLog-10.0.md
https://github.com/sebastianbergmann/phpunit/blob/10.1.3/ChangeLog-10.1.md
https://github.com/sebastianbergmann/phpunit/blob/10.2/ChangeLog-10.2.md

TestListenerTest: ignore on PHPUnit 10
The initial PHPUnit Polyfills 2.0.0 release will not contain a PHPUnit 10 compatible TestListener implementation.
This allows the tests to pass on PHPUnit 10 for now until that has been resolved.
Refs:

https://github.com/Yoast/PHPUnit-Polyfills/issues/95#issuecomment-1577408987
https://github.com/Yoast/PHPUnit-Polyfills/issues/128

CI: update for PHPUnit 10.0.0 support
As the PHPUnit Polyfills, as of now, will officially support PHPUnit 10.x, with the exception of the TestListeners, the GH Actions workflow should be updated to reflect this.
This commit:

Add builds for PHP 8.1 and 8.2 against low PHPUnit 10 versions.
The "high" versions are automatically sorted via the matrix auto setting in combination with the Composer PHPUnit version requirements being widened.
Add an extra experimental build against PHP 8.3 to ensure both PHPUnit 9.x as well as PHPUnit 10.x is tested with PHP 8.3.
Update the experimental build against "future" PHPUnit to point to the main branch of PHPUnit.

Additionally, it updates the step which ran a "trial" build against PHPUnit 10 by splitting it into two steps: one with and one without coverage. Both are still allowed to fail when running the experimental build against PHPUnit dev-main.
Tests: fail test runs on deprecations/notices/warnings
As this package is used in the CI pipeline for other packages, it is important for this package to be ready for new PHP releases early, so failing the test suite on deprecations/notices and warnings is appropriate.
Apparently PHPUnit 10.0 already included a failOnWarning option, while PHPUnit 10.1 brings additional failOnNotice and failOnDeprecation options.
Unfortunately, these options are problematic for cross-version PHPUnit usage for the following reasons:

They do not translate to the same behaviour between PHPUnit < 10 and PHPUnit 10.x.
In PHPUnit 9.x, the convertDeprecationsToExceptions and sister-options would only act on PHP native deprecations/notices/warnings and would cause a failed build with a non-zero exit code when set to true and any PHP deprecations/notices/warnings would be found.
In PHPUnit 10.x, the failOnWarning and sister-options act on all deprecations/notices/warnings, not just the PHP native ones, and cause a failed build with a non-zero exit code when set to true.
In practice, this means that when the failOn* options are used, PHPUnit native deprecations/notices/warnings will now also fail a build, which was not the case in PHPUnit < 10.
As the XML file is validated against the XSD file, this means that you cannot add the failOnNotice/failOnDeprecation options in a configuration file which will be used on PHPUnit 10.0 as that would fail the XSD validation, leading to a PHPUnit warning which would fail the build.
Along the same lines, as the include/exclude elements within the coverage element are deprecated as of PHPUnit 10.1, in favour of using source with include/exclude, a configuration which validates on PHPUnit 10.0 will not validate correctly on PHPUnit 10.1 leading to a deprecation notice, which would fail the build when failOnDeprecation is on.
... etc...

This basically means that if you want PHPUnit to fail a build on PHP native deprecations/notices/warnings (which you should want for open source projects, most definitely open source projects in the PHP tool chain), you will now no longer be allowed to have any PHPUnit deprecations/notices/warnings as those will now also fail the build.
It also means that a new release of PHPUnit can randomly start failing builds if a change was made in PHPUnit which causes a new deprecation/notice/warning to be thrown.
All in all, not pretty and it makes things a heck of a lot less stable, but it is what it is for now, so we better deal with it.
So, to get round this and to have the most optimal configuration for PHPUnit 10.x possible at this time....

The failOnWarning option is added to the phpunit10.xml.dist file as it is already available in PHPUnit 10.0.
A new "Migrate configuration" step needs to be added to the GH Actions test workflow.
This step will migrate the phpunit10.xml.dist file, which is compatible with PHPUnit 10.0, to a version which is compatible with whichever PHPUnit 10.x version the tests are being run on.
This step will fail when there is nothing to migrate, so it needs a continue-on-error to ignore that failure.
Note: the migration step will also fail when the original XML file doesn't validate against the original XSD, which is why the base configuration needs to be for PHPUnit 10.0.
As for the failOnNotice/failOnDeprecation options: those cannot be added to the config for the above mentioned reasons (failure to validate against the PHPUnit 10.0 XSD), but they also cannot be added to the "default" command used for running the tests on PHPUnit 10 as a run against PHPUnit 10.0 would then fail with an "Unknown option ...." error.
In other words, the only realistic way to add these, for now, is to add them to the command on the fly for those test runs where PHPUnit 10.1 or higher will be used.

Refs:

sebastianbergmann/phpunit#5196
https://github.com/sebastianbergmann/phpunit/commit/fb6673f06ef90b43667b7187722e2c840dcdb573

coverage: 96.247%. remained the same when pulling 2462abe4996522c1c604392dad5936488fafb8c3 on 2.0/phpunit-10/update-environment-and-ci into c6e39f38ec2429c94b40b077d4ac8b68e1ffc86a on 2.x.


fix(region): init and change status

这个 PR 实现什么功能/修复什么问题:

[x] 功能、bugfix描述
[x] 冒烟测试

是否需要 backport 到之前的 release 分支:

release/3.7

/cc @zexi

/area region

Codecov Report

Merging #10133 (2283caa) into master (69a5898) will increase coverage by 9.98%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master   #10133       +/-   ##
===========================================
+ Coverage    5.94%   15.92%    +9.98%
===========================================
  Files         860      124      -736
  Lines      133512    12861   -120651
===========================================
- Hits         7936     2048     -5888
+ Misses     124871    10622   -114249
+ Partials      705      191      -514

Flag
Coverage Δ

aFlag
15.92% <ø> (+9.98%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/keystone/models/syncworker.go

pkg/compute/models/networkschedtags.go

pkg/compute/models/networkinterfacenetwork.go

pkg/appsrv/appsrv.go

pkg/compute/models/loadbalancers.go

pkg/cloudcommon/db/update.go

pkg/compute/models/storages.go

pkg/compute/models/dbinstance_secgroups.go

pkg/keystone/tokens/policy.go

pkg/compute/models/snapshotpolicyresource.go

... and 725 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 69a5898...2283caa. Read the comment docs.


Fix "Chunksize cannot exceed dimension size"

[x] Closes #1225
[x] Tests added / passed
[x] Passes git diff upstream/master **/*py | flake8 --diff
[x] Fully documented, including whats-new.rst for all changes and api.rst for new API

I updated the logic to only drop chunksizes if the dimension is no longer unlimited, which is the case where an error comes up. This allows us to faithfully keep chunksizes for unlimited dimensions (e.g., if you directly read/write a complete netCDF file).

I had this error in 0.9.5.  0.10.0 definitely fixes it.  Thanks!


Removed System.Windows.Forms dependency in WPF nuspec file

As far as I can see this framework reference isn't required because the core and the WPF projects don't include this reference.

Good, let's try this.


⚠ Samsung has degraded performance

In a7f9960, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2268 ms

Resolved: Samsung performance has improved in a127895.


Om80 - server agnostic exporter

initial changes

moved gauge metrics to config, includes - tool config, go code to read, parse stats, test-cases for this functionality
enhanced watcher_namespace.go according to this pattern

created wrong PR hence closing.


[macOS] Include AirPlay output devices

From trying StreamDeck-AudioSwitcher, I don't think AirPlay output devices are included in the enumeration of output devices.  The documentation on AudioObjectGetPropertyData is basically empty (although maybe I'm looking in the wrong place), so I'm not really sure how to fix this, but looking at this code suggests to me that doing AudioObjectGetPropertyDataSize/AudioObjectGetPropertyData with an AudioObjectPropertyAddress of  {kAudioDevicePropertyDataSources, kAudioDevicePropertyScopeOutput, kAudioObjectPropertyElementWildcard} might do it.  (I'm not familiar enough with setting up to build and debug a Stream Deck plugin to be able to readily test this myself.)

Thanks; it'll probably be a few weeks until I can take a look, but this seems promising.

It appears that airplay devices only appear in that list if they are the active device; from the perspective of audio-switcher, this is not useful.


[Feature Request] Allow setting dynatemp_range in SamplingConfig

SamplingConfig has already a lot of options:

But I missed an important one: dynatemp_range, which when set with a positive number, makes use of the dynamic temperature sampler.
Would you consider adding it, along with the dynatemp_exponent option?
More info [Reference]
dynatemp_range: Dynamic temperature range. The final temperature will be in the range of [temperature - dynatemp_range; temperature + dynatemp_range] Default: 0.0, which is disabled.
dynatemp_exponent: Dynamic temperature exponent. Default: 1.0

With https://github.com/ngxson/wllama/commit/3acbfcde9e8108ec65d53c429c01ded0fcf7e11d , 4 sampling params are added:

penalize_nl
dynatemp_range
dynatemp_exponent
logit_bias

Thank you for the fast response!
I see the params were added to the samplingInit function:
https://github.com/ngxson/wllama/blob/7330db3afc10477afdc2c946f4ecd99961ac4844/src/wllama.ts#L258-L279
But the SamplingConfig interface wasn't updated:
https://github.com/ngxson/wllama/blob/7330db3afc10477afdc2c946f4ecd99961ac4844/src/wllama.ts#L44-L61
In a quick look, it seems one solution would be setting the samplingInit config argument to be of type SamplingConfig:
async samplingInit(config: SamplingConfig)

What do you think?

Yeah you’re right. That was a bad design by me. I’ll fix that tomorrow when I come back from my trip.

Thank you for reporting the issue. It should be fixed in v1.6.0:
https://github.com/ngxson/wllama/blob/4c917e6f47154bb3bb74e5ac23bde4c85c9efeab/src/wllama.ts#L263

Working great now!
Thank you for the update!


Not logging in on iOS initial load

Bug description:
Anyone knows what might cause react-native-webview to not login only on iOS?
I have a webview where I pass some other props in to generate a custom firebase token to automagically log in a user on the webview if they are already logged in in the app. On android, this works perfectly but on iOS, it flickers for a moment but doesn't log in then i have to navigate away and navigate back to the webvioew before it properly logs in. Worth noting that I can't seem to reproduce this on the simulator it only occurs on physical devices/Testflight installation. Weirdly enough if I add a  alert('Successful login'), the login works but the pop up is annoying haha
To Reproduce:
Create a custom token then log in on the webview. First load the user wont be logged in but on navigating back the user is already logged in
Expected behavior:
Logged in successfully on ios same as android
Screenshots/Videos:
N/A
Environment:

OS: iOS
OS version: 15.8.2
react-native version: 0.72.7 (also tried on 0.74)
react-native-webview version: v13.10.2

Found a workaround: setTimeout on the login method in the useEffect not sure why or how it helps but it does weirdly enough


zeroFillGaps not working properly when returned User Events from UserEventService

...at least for multiple projects, see screen shot below:

cjmoses
12:30 PM
I think because there's a single result set being returned, the code would have to zero fill from start each separate project's data and then add all of that to a single result set. I suspect it would require keeping a map of DayCountItems per projectId and only merging them into a single collection after all zero filling has taken place.

:+1:


Delete Prompt is Extremely Delayed when Using a Shared Network Drive

Description
Files hangs when attempting to delete something on a remote drive.
Steps To Reproduce

Connect to a Shared Network Drive
Attempt to delete a file or a group of files

Expected behavior
Files should bring up the prompt immediatly, and if needed, loading times should occur after the user has already made their choice.
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22000.469
Windows Version
Windows 11 22000.469
Relevant Assets/Logs

Merging with #6502


How to add custom block on hover over polygon by using the polygon component

Provide a function to onMouseover as provided by the event list.

Thanks @RishabhJain96 , Also custom block is not working for markers when i am using it inside  component, any idea how we can add info window on it. Thanks for the help.

Could you provide some code?

import React from "react"
import { Marker,  InfoWindow } from "react-google-maps"
import { default as MarkerClusterer }
from 'google-react/lib/addons/MarkerClusterer';
export default React.createClass({
getInitialState() {
    return { showInfoWindow: false }
},

render() {

    const { marker } = this.props

    return (
        <MarkerClusterer
          averageCenter
          enableRetinaIcons
          gridSize={60}
          minimumClusterSize={1}
          imagePath={hexToRGBValue(MAP_GEO_COLOR_BY_TYPE.lens_item_of_interest)}
        >
            <Marker
                {...marker}
                onClick={(e) => { this.setState({ showInfoWindow: true }) }}
            >
                { this.state.showInfoWindow ?
                    <InfoWindow onCloseclick={(e) => { this.setState({ showInfoWindow: false }) }}>
                        //content
                    </InfoWindow>
                    : null
                }
            </Marker>
        </MarkerClusterer>
    )

}

})

@RishabhJain96 : In my code it's not showing info window on click on a clustered marker. any idea how we can do it. Thanks

HI @RishabhJain96 , i am using code below and it's not working. thanks for the help
<Polygon
options={{
fillColor: THREAT_LEVELS_LIST_COLOR[this.props.threatLevelIndexSelected],
fillOpacity: 0.7,
strokeColor: THREAT_LEVELS_LIST_COLOR[this.props.threatLevelIndexSelected],
strokeOpacity: 0.7,
strokeWeight: 1,
}}
onClick={(e) => { console.log('1'); this.setState({ showInfoWindow: true }) }}
onMouseover={(e) => { console.log('2'); this.setState({ showInfoWindow: true }) }}
onMouseout={(e) => { console.log('3'); this.setState({ showInfoWindow: false }) }}
paths={this.getCountryCoordinates('TJ')}
>
{ this.state.showInfoWindow ?
<InfoWindow onCloseclick={(e) => { this.setState({ showInfoWindow: false }) }}>

info window data will goes here

: null
}

Hi @tomchentw  I am trying to use InfoWindow component inside the Polygon component, it's not working. Can you please tell me how can i fix this. Thanks

@nishankkumar1994 <InfoWindow> expects to have an anchor component when it is placed inside something (which is often a <Marker>). The <Polygon> cannot be served as an anchor by design. However, you can render the <InfoWindow> separately by just giving it props.position.
Also,  6.0.0 is released on npm beta tag now. See the changelog here. We also have a new demo page. Feel free to try it:
https://tomchentw.github.io/react-google-maps/

hello
creating an Info Window for polygons, Is this possible for now?


Reference species are also needed for background functional groups

(The present issue is related to #9)
With respect to background functional groups, four types of parameters can be obtained through the bridge between FishBase/SeaLifeBase and OSMOSE:
(1) Trophic level;
(2) Minimum size of the background functional group;
(3) Maximum size of the background functional group;
(4) Theoretical accessibility coefficients of background functional groups to the life stages of focal functional groups.
The "osm_param-ltl.csv" file indicates the names of background functional groups using the "plankton.name.plk" keys. For instance, The "plankton.name.plk7" key is associated with the "Bivalves" value.
I suggest that, for each focal functional group, we introduce new keys in the "osm_param-ltl.csv" file, which we would call "plankton.reference*.name.plk". For instance, we could introduce several new keys for "Bivalves", one of which could be "plankton.reference1.name.plk" associated with the value "ArgopectenGibbus" (calico scallop).
It will be tricky to define reference species (i.e., latin names) for many focal functional groups, whose constituents are described using genuses or broader taxonomic classifications. For example, in the case of the West Florida Shelf application of OSMOSE, it is indicated that the constituents of the "Small copepods" background functional group are Paracalanidae spp., Oncaea sp., and Oithona sp.
@jhpoelen Please let me know what you think about the above. If you like the ideas mentioned above, I can provide you with an updated version of the "osm_param-ltl.csv" file, for the West Florida Shelf case study, so that you can test the bridge between FishBase/SeaLifeBase and OSMOSE with this new version of the file.

Please have a look at #31, which is related to the current issue.

@jhpoelen @FIN-JBarile @Dengaloo
In the "osm_param-ltl.csv" OSMOSE configuration file, I introduced new keys called "plankton.reference.name.plk". For instance, for bivalves (plankton.name.plk7 = "Bivalves"), plankton.reference.name1.plk7 is Argopecten and plankton.reference.name2.plk7 is Donax.
The new version of the "osm_param-ltl.csv" OSMOSE configuration file can be found in Dropbox in the "OSMOSE configuration files" folder.
You will notice that all the reference species provided in the "osm_param-ltl.csv" are Latin genus names, or family names, or classes, etc. This is because for many background functional groups (e.g., small phytoplankton, meiofauna), it is extremely difficult to find Latin species names.
Therefore, I trust that we can implement something smart such that FishBase/SeaLifeBase identifies whether the value provided to a given "plankton.reference.name.plk" key is a Latin name, a family name, a class name, etc. to deliver the parameter estimates that we need (i.e., minimum and maximum size of the background functional groups, etc.).

@agruss2 rather than using latin names, I would suggest to use a fishbase spec code (or any other taxon id) in addition to providing the taxon name. This help to resolve the issue of figuring out the taxonomic rank of the taxon, 'because we can simply look it up by a taxon code.

@agruss2 this can/should also be applied to any other location where taxon names are used. I am almost inclined to make the latin names optional (for humans) and the codes mandatory (machine readable, necessary for trait extraction).

@jhpoelen Please haev a look at #34 and let me know your thoughts.


update OGC API - Records support

Description

review requirements classes implementation

searchable catalogue
record core
GeoJSON
HTML
sorting
filtering

ensure the OpenAPI document is up to date (paths, query parameters, models)

Update made in #988.


schema:dump fails with Unknown table 'COLUMN_STATISTICS' in information_schema

Sail Version: v1.12.3
Laravel Version: 8.69.0
PHP Version: 8.0.12
OS: macOS M1
Database Driver: MariaDB 10.6.4-MariaDB-1:10.6.4

Description:
When using MariaDB, artisan schema:dump fails with the error below:
mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: Couldn't execute 'SELECT COLUMN_NAME,                       JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')                FROM information_schema.COLUMN_STATISTICS                WHERE SCHEMA_NAME = 'test' AND TABLE_NAME = 'failed_jobs';': Unknown table 'COLUMN_STATISTICS' in information_schema (1109)

   Symfony\Component\Process\Exception\ProcessFailedException

  The command "mysqldump  --user="${:LARAVEL_LOAD_USER}" --password="${:LARAVEL_LOAD_PASSWORD}" --host="${:LARAVEL_LOAD_HOST}" --port="${:LARAVEL_LOAD_PORT}" --no-tablespaces --skip-add-locks --skip-comments --skip-set-charset --tz-utc "${:LARAVEL_LOAD_DATABASE}" --routines --result-file="${:LARAVEL_LOAD_PATH}" --no-data" failed.

Exit Code: 2(Misuse of shell builtins)

Working directory: /var/www/html

Output:
================

Error Output:
================
mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: Couldn't execute 'SELECT COLUMN_NAME,                       JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')                FROM information_schema.COLUMN_STATISTICS                WHERE SCHEMA_NAME = 'test' AND TABLE_NAME = 'failed_jobs';': Unknown table 'COLUMN_STATISTICS' in information_schema (1109)

  at vendor/symfony/process/Process.php:270
    266▕      */
    267▕     public function mustRun(callable $callback = null, array $env = []): self
    268▕     {
    269▕         if (0 !== $this->run($callback, $env)) {
  ➜ 270▕             throw new ProcessFailedException($this);
    271▕         }
    272▕
    273▕         return $this;
    274▕     }

      +16 vendor frames
  17  artisan:37
      Illuminate\Foundation\Console\Kernel::handle()

The issue seems to be due to a new flag column-statistics that is enabled by default in mysqldump.
A work around was to disable it by adding --column-statistics=0. I have solved it by mounting the following into /etc/mysql/conf.d/custom.cnf of the container. The mysql container is not affected
[mysqldump]
column-statistics=0

Steps To Reproduce:

laravel new sail-test && cd sail-test
php artisan sail:install --with mariadb
sail up -d
sail artisan migrate
sail artisan schema:dump

Schema dump is only available for mysql, postgres and sqlite. Please see the docs.


Unit test to create all repo test files against ach server

#412

Codecov Report

Merging #416 into master will decrease coverage by 0.34%.
The diff coverage is 26.31%.

@@            Coverage Diff             @@
##           master     #416      +/-   ##
==========================================
- Coverage   85.45%   85.11%   -0.35%
==========================================
  Files         109      109
  Lines        6829     6861      +32
==========================================
+ Hits         5836     5840       +4
- Misses        696      722      +26
- Partials      297      299       +2

Impacted Files
Coverage Δ

test/ach-atx-write/main.go
91.54% <ø> (ø)

test/ach-atx-read/main.go
65.21% <ø> (ø)

iatBatch.go
90.79% <0%> (-3.29%)
:arrow_down:

test/ach-iat-read/main.go
70.37% <100%> (+2.37%)
:arrow_up:

test/ach-adv-write/main.go
89.47% <100%> (ø)
:arrow_up:

test/ach-web-read/main.go
73.33% <100%> (ø)
:arrow_up:

file.go
70.03% <5.55%> (-4.67%)
:arrow_down:

validators.go
96.77% <0%> (+0.02%)
:arrow_up:

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 8a6a59f...5210f0a. Read the comment docs.


v1.0.0 on Centos 7 complie error whith cuda 8.0

build with --config=cuda get error
[rnd@localhost tensorflow]$ bazel build -c opt --config=cuda tensorflow/tools/pip_package:build_pip_package --verbose_failures
INFO: $TEST_TMPDIR defined: output root default is '/home/rnd/tmp'.
......
WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.build/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing.
WARNING: /home/rnd/gits/tensorflow/tensorflow/workspace.bzl:27:5:
Current Bazel is not a release version, cannot check for compatibility.
WARNING: /home/rnd/gits/tensorflow/tensorflow/workspace.bzl:28:5: Make sure that you are running at least Bazel 0.4.2.
.
INFO: Found 1 target...
ERROR: /home/rnd/tmp/_bazel_rnd/707043e71401a80a1e11714c15a7b311/external/pcre/BUILD:5:1: undeclared inclusion(s) in rule '@pcre//:pcre':
this rule is missing dependency declarations for the following files included by 'external/pcre/pcre_globals.c':
'/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h'
'/lib/gcc/x86_64-redhat-linux/4.8.5/include/syslimits.h'
'/lib/gcc/x86_64-redhat-linux/4.8.5/include/stddef.h'
'/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdarg.h'
'/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h'.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 6.763s, Critical Path: 0.73s
Environment info
Operating System:
CentOS Linux release 7.2.1511 (Core)
Installed version of CUDA and cuDNN:
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
[rnd@localhost ~]$ ls /usr/local/cuda/lib64/libcud*
/usr/local/cuda/lib64/libcudadevrt.a
/usr/local/cuda/lib64/libcudart.so
/usr/local/cuda/lib64/libcudart.so.8.0
/usr/local/cuda/lib64/libcudart.so.8.0.44
/usr/local/cuda/lib64/libcudart_static.a
/usr/local/cuda/lib64/libcudnn.so
/usr/local/cuda/lib64/libcudnn.so.5
/usr/local/cuda/lib64/libcudnn.so.5.1.5
/usr/local/cuda/lib64/libcudnn_static.a
If installed from source, provide

The commit hash (git rev-parse HEAD)
[rnd@localhost tensorflow]$ git rev-parse HEAD
07bb8ea2379bd459832b23951fb20ec47f3fdbd4

The output of bazel version
[rnd@localhost bazel]$ git checkout 0.4.2
HEAD is now at ba94a7b... Release 0.4.2 (2016-12-02)
[rnd@localhost bazel]$ git rev-parse HEAD
ba94a7b93e1c95bca1928d8c51c6adc62ed864ab
[rnd@localhost bazel]$ bazel version
INFO: $TEST_TMPDIR defined: output root default is '/home/rnd/tmp'.
......
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Jan 01 00:00:00 1970 (0)
Build timestamp: Thu Jan 01 00:00:00 1970 (0)
Build timestamp as int: 0

What other attempted solutions have you tried?
delete "--config=cuda" will be OK, but I need cuda
[rnd@localhost tensorflow]$ bazel build -c opt  tensorflow/tools/pip_package:build_pip_package --verbose_failures

We don't officially support CentOS. Some people have managed to get it to work with the cmake build file. Please search existing issues.


Number getting blocked after adding participant in a group

//Sorry for posting this issue in php repository last time.

SENT: <iq id="1453315750-2" type="set" xmlns="w:g2"<EMAIL_ADDRESS>SENT:   <add>
SENT:     <participant<EMAIL_ADDRESS>SENT:   </add>
SENT: </iq>

RECVD: <stream:error>
RECVD:   <system-shutdown></system-shutdown>
RECVD: </stream:error>

If I query groups or send message to group then it's working fine but number got blocked immediately if I fire participant add/remove command. Please guide what's wrong, may be there's some protocol change for adding/removing participant!

Working after updating the API

Dear Krishan,
Please help me can you good personal email.
thank you bro
On Mon, Feb 22, 2016 at 6:30 AM, gahlotkrishan<EMAIL_ADDRESS>wrote:

Working after updating the API
—
Reply to this email directly or view it on GitHub
https://github.com/mgp25/Chat-API-NET/issues/143#issuecomment-186986171.

--
Best Regards,

 Amer AlFaqeeh*
   Software Engineering
   Business Intelligence Developer

 Email<EMAIL_ADDRESS>

 Email<EMAIL_ADDRESS>
    Mobile:    +966-59-5205281


Fix moe_normalize_expert_weights when top_k=1

The router.py function,
    def _top_k(self, scores):
        if self.args.moe_top_k == 1:
            return scores.max(dim=-1) # <-- causes weight shape to become [S]
        return torch.topk(scores, self.args.moe_top_k, dim=-1) # <-- shape is normally [S,K]

caused expert weight norm to be calculated wrong:
        expert_weights, expert_indices = self._top_k(scores)
        if self.args.moe_normalize_expert_weights:
            # this function expects dim=-1 to only contain a single token's weights
            expert_weights = expert_weights / torch.norm(
                expert_weights, p=self.args.moe_normalize_expert_weights,dim=-1, keepdim=True)

After this PR, top-1 models with moe_normalize_expert_weights=1 should always have the final weights become 1 (where previously they would be divided weirdly)

Thanks for the PR! And great catch on this bug!

Thanks for the update! One last small comment and then I think we're ok to merge!

Thanks for the contribution!


Added examples for clamp_max, max_over_time, sum_over_time functions.

Added examples for below functions:

clamp_max
max_over_time
sum_over_time

We looked at this in the bug scrub, and the comments above have not been addressed. We're going to close this for now, but if you would like to add additional better examples to this page feel free to send in a PR.


Storybook 8 addon compatibility

Hey @renatomoor! I’m one of Storybook’s core maintainers.
Storybook 8 (our next major release) is coming soon, and it introduces some breaking changes that your addon might need to account for.
We’ve listed all the key changes in a new Storybook 8 migration guide, and we’d encourage you to check it out and see if your addon is impacted.
We also have an addons channel in our Discord community, which we’d like to use to better communicate with addon authors in the future. If you’re not part of the server, consider joining here and message me (@joevaugh4n) so that I can give you the addon creator role! If you’re already in the server, please just ping me and I’ll respond to you there.
Thanks for being a part of our addon community!
Joe

@renatomoor any timeline on this?

Just ended up here. Solution to add darkmode to storybook for tailwind is now directly in the tailwind guid of storybook: https://storybook.js.org/recipes/tailwindcss (Step 3)


Using the plugin in Ionic

I would like to use this plugin in an Ionic 3 application
The plugin does not seem to load correctly. I have used an npm import and confirm that the node module jquery.panzoom is present. In order to import the function into my typescript file, I have tried:
import * as panzoom from 'jquery.panzoom';
import panzoom from 'jquery.panzoom';
import Panzoom from 'jquery.panzoom';
import { panzoom } from 'jquery.panzoom';
import { Panzoom } from 'jquery.panzoom';

However lint says that the imports are unused and when the script tries to call .panzoom, Safari's console indicates that the function is undefined.
I load jQuery also as a node module in the following way without a problem:
import * as $ from 'jquery';
Ionic 3, Angular 4
Version 3.2.2 of jquery.panzoom
Version 3.2.1 of jquery
Tested in mobile Safari
Thanks!

I solved the problem using the import like this:
import from 'jquery.panzoom';


Help Wanted: Improve Kubernetes Operator product documentation

Problem space
While the Mattermost Kubernetes product documentation shouldn't be a comprehensive guide for all things Kubernetes and operators, this content needs to provide clear guidance on how to have success with a Mattermost deployment that is deployed via Kubernetes.
Target audience: System Administrators, Developers, Integrators
Goal
Clear, comprehensive guidance to be successful deploying Mattermost using the Kubernetes Operator
Delivery expectations

1 PR for all changes.
Ensure the following technical feedback is incorporated into the existing content:

There is a section called Deploy Mattermost in the installation steps.

There are 2 steps: create a file, use the name from that file in the second file.
The confusing part for a recent customer was that they thought the value for licenseSecret should have been the file name.
Instead if should be metadata → name from the mattermost-license-secret.yaml file.
There is a comment mentioning name but it's not specific enough to some new Kubernetes users and it makes the experience more confusing.

Another point of clarity would be if we had a list/table of the default values for each of the spec.size settings.

For example, the customer chose 100users and had no idea that it required 3 replicas with 50 GB provisioned space.
Since the customer didn't have that much space or compute nodes, they never got their database running and, instead, it only said reconciling (once they knew enough about how to even find that information).

Some information about how to override it would be great as well

Some people just want to play with the operator and not necessarily be subject to a lot of cloud-based costs for unnecessary CPU and disk. I think I see it in the Helm chart.

A few more prominent troubleshooting ideas would be great!

How to check on the install status (e.g. look at the logs for the operators)
What does reconciling mean?

Developers have their "go to" list of things to do when something doesn't work. Let's include some in this documentation too.
There is a caveat here about not using the MinIO and MySQL operators for production.

That's fair but can we recommend or provide pointers to production-grade operators from MinIO, MySQL, PostgreSQL?
That has scared a few customers/prospects away from the operator in general.

Comment in the PR to request a generated preview of your work. The Docs team will add the appropriate labels to your PR.

Tech needed

Kubernetes
Mattermost Kubernetes Operator
RST format
Sphinx

Affected repository: mattermost/docs
Where to get help
Join the Mattermost Docs team on the Mattermost Community Server in the ~Documentation Working Group channel to discuss this ticket, or feel free to comment in this docs ticket.

@cwarnermm Can I take this up?

We would welcome your help with this ticket, @adithyaakrishna! Thank you!

@adithyaakrishna - Are you actively working on this ticket?

Addressed by https://github.com/mattermost/docs/pull/6895


[WIP] Add RHS AFRF as playable "Blufor" side

This pull request adds RHS AFRF units as playable side. I have tested if this works but haven't played whole game with this (yet).
When playing with this preset friendly and enemy side needs to be changed:
GRLIB_side_friendly = EAST;
GRLIB_side_enemy = WEST;

Without changing it everything but UAV's seemed to work fine (could not connect to them via any terminal).
I have noticed that with new supply crates when there are 3 crates on Ural truck they clip into each other a little. See screenshot below:

TODO:

[x] Add russian units to preset
[x] Transport configs for VDV Urals and KamaZ trucks
[x] Test UAVs
[x] Play with the preset and try to balance it
[x] ~Fix Mi8 unable to lift FOB box via vanilla system~ When weight of FOB box is 2700 or lower Mi8 can lift it.
[x] Add support units to support arrays

Optional:

[x] ~Change Urals to carry only 2 crates?~ All trucks should be equal❓

Very nice. :smile:
The Ural config was a choice between clipping but a standard capacity or ignoring the standard in favour of aesthetics. All trucks would fit 3, making them all 'balanced', worth the same etc. Same could be said for Mohawk/Huron/Stallion, the Stallion was explicitly more expensive last time I looked as it had a max of 5 crates, not 3. Just kind of adds a "level up" feeling to buying more expensive logistical vehicles.
I'd personally recommend having GUI colours swap in every place, the sector name should show as blue for BluFor and red when captured. The progress bar should be blue for BluFor and move to be red as you progress etc etc.

As we've already talked in the discord, I guess it wouldn't be very senseful to implement the "red vs. blue" in the "old code".
I guess it would be best to finish this preset concerning balancing etc. (we also need a enemy blufor preset) and we'll move these both presets to the rewrite. Opinions?

I think enemy NATO preset should be done in another pull request. Without enemy NATO this can be played fine on Takistan or Al Rayak with "Project OPFOR" preset as enemies.

In regards to the Mi-8 not being able to lift the FOB box, have you tried doing it using Advanced Towing, etc?

@FatRefrigerator it is sling loadable with Advanced Rappelling, but that is not the point. Preset should be playable without additional mods. I have fixed this in #284.

@Wyqer I have moved huron spawns on lhd upwards and littebird spawns further from eachother in 7371e57539289055724d0b9ec94595c9c93129ca.
This fixes Mi-8s blowing up on spawn and KA-60 breaking its rotor on another kamov. Can this stay here or should I move this to another PR?