compiling error for SCIS latex template

Thanks for your excellent work! I am a newer ready to submit SCIS journal, but fail to compile the official latex template on my own computer, even following some instructions on zhihu. Could you give me some advice on your latex compiler configuration?

I'm sorry, I just saw your question.


Failed to derive block receipts fields

Hi there,
Many thanks for the incredibly valuable work here!
When running getTransactionReceipt on transactions in blocks around 14794507 I am getting the following error in the erigon output:
[EROR] [02-24|15:36:10.630] Failed to derive block receipts fields   hash=0x7cca3e99c68f0cda13ec1a1a48769cbf420c690f457d23677b0a1d8cb2bd83df number=14794507 err="transaction and receipt count mismatch, tx count = 276, receipts count = 275"
I am not getting this error for most recent blocks, and not getting it either for blocks prior to ~14500000
Any thoughts?

Hmmm, can you try to query a contract at that block?
Erigon is still in alpha/beta stage, so I would not be surprised if there are some speed bumps.

It also might have to do with this:
https://github.com/ledgerwatch/erigon/issues/3438
I have not updated my version of erigon in a while, so I'll try to find some time to getting this updated.

It also might have to do with this: ledgerwatch/erigon#3438
I have not updated my version of erigon in a while, so I'll try to find some time to getting this updated.

Yep this definitely looks like it.
Is there a way to resync all blocks since 14500000? A full resync would be a pain in the a** :)

Hmmm, can you try to query a contract at that block?
Erigon is still in alpha/beta stage, so I would not be surprised if there are some speed bumps.

I’ll try that later today. Away from my terminal right now.
Would you be able to call getTransactionReceipt for transaction 0xc46fdb4d59a2c77fe347a021fdfda51e230fd4f770da3ca093d9dc758c32f725 on your side to validate if the issue is isolated to me?
Also I am running the latest devel version of erigon on my side. I created the node using your snapshot yesterday. My latest blocks are not showing the error, so my hypothesis is you could be running a version of erigon that’s not patched for the issue and is compromising blocks since ~1 month ago

Hey, thanks so much for giving this a try and replying again here :)
When running this query, did you notice anything in your rpcdaemon stdout/stderr? The error message I mentioned in my first post popped up there, not in the api call response.

Yes, I am already in the process of doing this. It does look like --bad.block will do what we want (from my reading of the code), but might take some hacking of the code in order to get it to ensure it doesn't persist the bad block.
I bisected the bad block to: 14515943. I'm going to resync form block: 1451000 just to be safe.

It looks like it is working, but won't know for a week or so. What I did was:

Update to latest code in devel branch (0cac29d1d2021562722dd6dec5d36f170d5a0a84)
[not-needed by must users] Stop cron to upload once per day
Set --bad.block=0x081e77856fe4b03f1856bb9bf41c7341f9148395d91d414d76ed4ac3c09abf54 in the docker-compose.yml file
Start docker-compose, once it starts processing then...
Stopped docker-compose
Removed the flag from step 3
Run start docker-compose again.

I'll post an update in about 2 days.

Ha, great that you took the time to narrow down the bad block #. I didn't do that and am unwinding to 14500000. Oh well.

Unwinding has failed 3 times already on my side. Erigon crashes in stage 9 with no error message.
[INFO] [02-27|14:13:57.714] [9/16 IntermediateHashes] ETL [1/2] Extracting from=StorageChangeSet current key=0000000000ed4d75bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c0000000000000001 alloc="3.2 GiB" sys="6.3 GiB" [INFO] [02-27|14:14:11.065] Flushed buffer file                      name=/erigon/data/erigon/etl-temp/erigon-sortable-buf-1347755927 alloc="3.8 GiB" sys="6.3 GiB" [INFO] [02-27|14:14:15.879] [p2p] GoodPeers                          eth66=27 [INFO] [02-27|14:16:15.879] [p2p] GoodPeers                          eth66=28 [INFO] [02-27|14:18:15.880] [p2p] GoodPeers                          eth66=27 [INFO] [02-27|14:20:15.879] [p2p] GoodPeers                          eth66=28
Seems like it's not going to work on my end.
Question for you: did you keep any snapshot from block ~14510000?

Mine is still going, I'm on a very under-powered AWS instance (I may upgrade it though).
I'm on stage 12, but it is still going.
Are you sure it crashed? I read through the code and most steps don't publish anything in the logs while doing an unwind.

Yep it definitely crashed on my side. ps aux | grep erigon does not show any signs of life. That happened roughly 24h after start of unwinding. And no error in the logs.
I'm running on a i3en.2xlarge instance (64GB of memory).
I'm curious to hear if it works out on your side. As a side question, do you by any chance keep older snapshots in storage?

No, sadly I only kept the last 3 days. In hindsight I should have kept version in archive storage once-per-month.
Yeah, you probably ran out of memory. I'm spinning up a new instance right now with is4gen.8xlarge. This should be able to unwind much faster (as it has 4x NVMes and it looks like it's mostly disk IO bound). By default I use im4gn.2xlarge as it is just enough to fit everything on disk when compressed and barely able to keep up with the chain.

Gotcha, hope it works out.
In parallel I am going to spin up a new machine and start syncing from scratch, in case that's our only way out.

Update: I was able to get erigon to roll back all the way to block 14509999. I am now syncing upwards. I did discover a bug in erigon though that it would not download new blocks after rolling back so far. I * think * I fixed it by adding some custom hacks in to force it to forget about some residual state.
I am hoping that there won't be any more of these unwind state bugs.

Wow. Brilliant. Hope it works out!

It is now at the Execution stage (Stage 6). The bad news is it appears it could take up to a month to catch back up. It's able to process about 4-6 blocks per second and there's quite a few more steps after this stage is done.
Stay tuned. I'll be uploading partial updates once per day in the following folder: s3://public-blockchain-snapshots/bsc/

What a pain. I've started syncing from scratch a few days ago. Also in Execution stage right now. Seems like about 19 days to go. I can share a clean snapshot once that's done.

I suspect it will take a bit longer than that. IIRC around October of last year it starts taking an extremely long time per block to run the Execution stage.

I have good news. I have a chain that is back-up-to-date and it appears the issue is resolved.
I am in the process of uploading now. I expect it to be done uploading in about 3-4 hours.
(It turned out the estimator code does not work properly and gives wildly wrong estimates)

I have good news. I have a chain that is back-up-to-date and it appears the issue is resolved.
I am in the process of uploading now. I expect it to be done uploading in about 3-4 hours.
(It turned out the estimator code does not work properly and gives wildly wrong estimates)

Great news. Can I ask which commit of erigon you're using ?

Great news. Can I ask which commit of erigon you're using ?
I am on:<PHONE_NUMBER>2d88ece8b78e2a26fb16a4b273e7b0

Thanks for all the help :-)


Move to UBI Base Image

Move to UBI Base Image
Update JVM Truststore location for new base image

This change is

Tested Helm/Istio/MiniKube OK

Docker tested OK


Dynamic Deserialization of complex type and casting it to concrete type

Hi,
I have a json where I do not know the (complex) type during compile time, but only during runtime, so I'm trying to use the DeserializeDynamic Feature, it deserializes fine to dynamic, but then I'm trying to cast to the concrete type (using the Typeconverter) and it fails in Jil.2.12.1
Example source:
        var testObject = new TestObject();
        testObject.Forms.Add(new AnotherTestObject {Key = "Hello", Value = "World"});
        string json = Jil.JSON.Serialize(testObject);

        var typed = Jil.JSON.Deserialize<TestObject>(json); // works

        var dynamic = Jil.JSON.DeserializeDynamic(json);
        var cast = (TestObject)dynamic; // Exception Unable to convert dynamic [Object] to [TestObject]

        var converter = TypeDescriptor.GetConverter(dynamic);
        bool can = converter.CanConvertTo(typeof (TestObject)); // false, should be true

The exception happens at: var cast = (TestObject)dynamic;
The supplied classes look like this:
class TestObject
{
    private List<AnotherTestObject> m_Objects;

    public List<AnotherTestObject> Forms
    {
        get { return m_Objects ?? (m_Objects = new List<AnotherTestObject>()); }
        set { m_Objects = value; }
    }
}

class AnotherTestObject
{
    public string Key { get; set; }
    public string Value { get; set; }
}

Am I wrong to assume that this should work?

At this time, Jil doesn't support casting it's dynamic returns to more complex types than those that make up JSON primitives (lists, dictionaries, strings, numbers, etc.).  TypeConverters are supported so that trial casts aren't necessary (as throwing exceptions on failed casts is very slow).
This isn't supported, but you can hack around it with some reflection.
void Main()
{
	var typeKnownAtRuntime = typeof(TestObject);
	var proxyThunkMtd = ProxyClass.ThunkMtd.MakeGenericMethod(typeKnownAtRuntime);
	var thunk = (Func<string, object>)Delegate.CreateDelegate(typeof(Func<string, object>), proxyThunkMtd);

	var testObject = new TestObject();
    testObject.Forms.Add(new AnotherTestObject {Key = "Hello", Value = "World"});
    string json = Jil.JSON.Serialize(testObject);

	var dynamic = thunk(json);
    // dynamic is a TestObject
}

class TestObject
{
    private List<AnotherTestObject> m_Objects;

    public List<AnotherTestObject> Forms
    {
        get { return m_Objects ?? (m_Objects = new List<AnotherTestObject>()); }
        set { m_Objects = value; }
    }
}

class AnotherTestObject
{
    public string Key { get; set; }
    public string Value { get; set; }
}

static class ProxyClass
{
	public static readonly MethodInfo ThunkMtd = typeof(ProxyClass).GetMethod("Thunk", BindingFlags.NonPublic | BindingFlags.Static);
	static object Thunk<T>(string reader)
	{
		return Jil.JSON.Deserialize<T>(reader);
	}
}


Fix/callback auth

Description
Fix post-audit finding + general risk mitigation: add access control to the callback and check it the pool has been deployed by an immutable factory
Limitations & risks
Does not rely on create2, add one extra-call to the factory when setting a pool -> future-proof for deployment with uni v3 fork (different factory address or bytecode).
Check-list

[x] Tests are covering the new feature ⚠ needs unit tests in the test branch ⚠
[x] Code is natspec'd
[x] Code is linted and formatted
[x] I have run the test locally (and they pass)
[x] I have rebased to the latest main commit (and tests still pass)

Interactions
These changes will impact the following contracts:

Directly:
swap terminal
Indirectly:
/

folded into #35


fix: LeafMode-Node supports taints migration(cherry-pick)

What type of PR is this?
/kind bug

What does this PR do?

fix: LeafMode-Node supports taints migration
Which issue(s) does this PR fix?

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

https://github.com/kosmos-io/kosmos/pull/451

/lgtm
/approve


RxJS Support

Requirement
Rather than have watchers/etc, use RxJS for more 'reactive' design.

You might also consider https://mobxjs.github.io/mobx/

I'd rather stick w/ RX given the Angular2 usage.


Incompatibility with PF2e Dorako UI module

Describe the bug
Using any setting other than foundry default seems to make the chat portrait added by Dorako UI disappear.
To Reproduce
Steps to reproduce the behavior:

Install PF2e Dorako UI and Chat Message Timestamp
Enable both of them in the same pf2e world.
Set Chat portrait style setting to any option other than Disable.
Set Show date setting to any option other than Foundry
Send an in character message in chat (for example using one of the pregenerated characters from the included compendiums)

Expected behavior
A portrait based on the actor image or token should be visible in the message header.
Screenshots/GIFs/Videos
Show date: Foundry

Show date: Always

Desktop:

OS: Windows 10
Browser: Firefox
FVTT Version: 9.269
Chat Message Timestamp version: 0.2.0
PF2e Dorako UI version: 1.4.2

Notes
Currently I am using Chat Portrait module as a workaround (it's not as pretty though), so maybe looking into how it handles this could be helpful.
I am also reporting this at https://github.com/Dorako/pf2e-dorako-ui/issues/70

The module overrides the chat card. It would seem the PF2e Dorako UI version also uses a custom chat template.  Any module that makes changes to the chat card template will be incompatible

The issue seems to have been fixed on the other module's end.


Support env vars as source of data

Support env vars as source of data for template.
It should be done by --env option. Then environment  variables should be grouped in env object accessible from template.
Possible also --env container-name to change default name for container object.

Or maybe it could also restrict which variables are available?


AnyMSeq and AnyMValue should be able to work directly with cyclops-react types

Use of comprehenders aids interoperability with other libraries, but should not be necessary for cyclops types (concrete implementations could also be provided for JDK types). Historically they were necessary because of the level of modularization within the project.  This would have a number of advantages

Performance - remove the overhead of acting on a type through a comprehender (except where necessary - e.g. to support cross-type flatMapping)
Debugging - simplify stacktraces when working with AnyM and make debugging in general simpler
Allow deeply nested data structures. The current one size fits all approach assumes datastructures are basically flat. This is not true with advent of AnyM support for monad transformers.

Because of 3. above this should be completed as part of 1.0.0-FINAL.

This can be implemented by providing
traversable()
foldable()
operators that return the underlying monad if it implements foldable() or traversable()

Implemented in #190


Noise generated when using short sentences.

Just run python3 -m tts_server.cli "Alright".  6 seconds of noise

Yeah there's an underlying issue with StyleTTS that does this for some reason.


Denmark adjustments

Can I open a PR removing the following from Denmark holidays?
Jun 5 | Constitution Day
Dec 24 | Christmas Eve
Dec 31 | New Year's Eve
According to these source, those are not officially non working days, they're only Observances:
https://publicholidays.dk/2019-dates/
https://www.timeanddate.com/holidays/denmark/

seems that you are absolutely right ; Denmark calendar is wrong.
as long as you follow the contributing guidelines, tick all the relevant checkboxes when you write your PR, you should be fine.
If you need some help, don't hesitate :o)

version 5.2.2 (sorry about the pun, couldn't resist) has been released and pushed on PyPI with your lovely patch.
Enjoy!


Specifying output Resolution

Hi,
I've installed ecmwf-opendata very rencently. Working on it for a moment without significant issue, I found on ECMWF page that it is possible to mention to the script the output resolution! Wanting to get the HRES (0.1 ~ 9 Km), I tryed to pass on the script that value but failed. URL not found. I've checked the Open data (https://data.ecmwf.int/forecasts/20220608/00z/0p4-beta/oper/), of course,  there is not yet way to request it.
So my question is :
Does the keyword resol is supported by the server ?
If yes, is there a ways to use it and how, is that means the data will be interpolated or the raw data itself
Thanks in advance for any ansmers

From the documentation about the ECMWF open data: (https://www.ecmwf.int/en/forecasts/datasets/open-data) Products are produced at 0.4 degrees resolution in GRIB2 format unless stated otherwise.
It would help if you pointed to where you found the information "I found on ECMWF page", what you actually tried "I tryed to pass on the script that value", and what actual error message you got "but failed. URL not found ".

Does the keyword resol is supported by the server ?
No, the server only supports URLs, i.e. HTTP requests.

Thanks floriankrb
Hence, I disregarded this ""unless stated otherwise"".
I though that it is similar to MARS server where I can use grid keyword to specify output resolution.
Thanks indeed!


Alternative support for Google Speech to Text (feature request)

For people from countries who speak languages not supported by Microsoft speech it would be a great feature to use Google STT and TTS.

Hi @slesinger! Thank you for your suggestion. We're not planning to integrate with other backends ourselves, but would be more than willing to review and merge patches that do so. For those backends, users would also be responsible for acquiring the necessary API keys.

What about self-hosted speec recognition?

Are you referring to deepspeech? It is on our roadmap to support it, but currently has very low priority.

Yes something like this. I've actually played with it but unfortunately the setup is quite complicated -- And without a GPU its rather slow :/


Upgrade dependencies

Codecov Report

Merging #481 (34aabe8) into master (2f8ee9c) will increase coverage by 0.11%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master     #481      +/-   ##
==========================================
+ Coverage   72.42%   72.54%   +0.11%
==========================================
  Files          70       71       +1
  Lines        5437     5441       +4
==========================================
+ Hits         3938     3947       +9
+ Misses       1106     1103       -3
+ Partials      393      391       -2

Files Changed
Coverage Δ

net/dtlslistener.go
71.13% <66.66%> (+1.74%)
:arrow_up:

net/udplistener_1_18.go
100.00% <100.00%> (ø)

... and 8 files with indirect coverage changes

@hasheddan nicely done, everything works! Thank you for the assist ( or the goal, since you've done more of the work 🥂  )

Thanks to you as well @Danielius1922!


Firmware 4.0.0 support

Here's the debug output 4.0.0 firmware.

New Firmware (4.0.0) from Bosch and Thermostat is not working anymore. Is it possible to prevent this Issue due self updating manifest? Attached you find my Debug Scan. Greetings.
bosch_scan.zip

Fixed in v0.21.0 https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/releases/tag/v0.21.0
Let me know if there are any problems.

Thanks for fixing quickly


no underscores allowed?

May I ask what does that mean? I'm attempting to use Aura.Autoload with the dropbox sdk which uses PSR-0. Unfortunately, they use underscores.
https://github.com/dropbox/dropbox-sdk-php/blob/master/lib/Dropbox/Exception/InvalidAccessToken.php
Can I still use this?
Thanks.

use v1 of Aura.Autoload , v2 is psr-4 complaint.
Hope that helps. If so may be you could close the issue.
Thank you.

I meant to press comment. Sorry :( . ( v1 is 1.x branch )

Hello,
What if I want to use both PSR-0 and PSR-4 libraries?
Thanks.

That seems you want to register two autoloaders psr0 and psr4. I feel in that case you should rely on composer.

I see. Thanks!


module bcs data transform to json

Description
This PR introduces a new data transformer in crates/data-transform
The purpose of this code is to take a row from the EVENTS table, read the bcs coded column, EVENT_BCS, and return the decoded JSON, using the appropriate module.
There are times when the correct package and the module aren't available in the database, so this uses a custom local resolver, GrootModuleResolver. For modules that do exist, it will use the normal logic.
The logic is as follows:
-Create a new local module cache with a custom resolver
-Load each row in the events table
-If it is a specific module, use the custom resolver to get the module from the local cache. Otherwise, use the normal logic
-Deserialize it and return the json
-Write the json to a new table with a json specific column, EVENT_JSON
Test Plan
How did you test the new or updated feature?
This was developed and tested on my devserver.
It is currently running and loading results into a Snowflake instance.

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

I am fine getting this in as is and we iterate over.
@bschwab let me know if that makes sense to you.
Also this is just for the event stuff, what about the code that moves tables from PG to Snowflake?


MySQL DATETIME field with CURRENT_TIMESTAMP default value

Propel2 keeps generating TIMESTAMP underlaying MySQL type when field has defaultExpr of CURRENT_TIMESTAMP
The code responsible for this behaviour is located in Propel/Generator/Platform/MysqlPlatform.php
        // Special handling of TIMESTAMP/DATETIME types ...
        // See: http://propel.phpdb.org/trac/ticket/538
        if ($sqlType == 'DATETIME') {
            $def = $domain->getDefaultValue();
            if ($def && $def->isExpression()) {
                // DATETIME values can only have constant expressions
                $sqlType = 'TIMESTAMP';
            }
        } elseif ...

But with MySQL 5.6 this is not an issue anymore, so there should be an option, as MySQL behaviour really differs with TIMESTAMP and DATETIME.

Yeah we could remove that.

Is someone able to make a PR here with suggested changes?


"No such file or directory" when building for Android

OS: Ubuntu 22.04.1 LTS
I cloned the repository and when I run the following command in the root folder:
sudo docker run -e RUST_BACKTRACE='full' --rm -v $(pwd)":/root/src" -w /root/src notfl3/cargo-apk cargo quad-apk build --example meshbatch
I get this output:
Updating crates.io index
 Downloading crates ...

  Downloaded keyframe_derive v1.0.0
  Downloaded oorandom v11.1.3
  Downloaded num-derive v0.3.3
  Downloaded quad-rand v0.2.1
  Downloaded keyframe v1.1.1
  Downloaded glam v0.17.3
   Compiling lewton v0.9.4
   Compiling audrey v0.3.0
   Compiling quad-snd v0.2.5
   Compiling good-web-game v0.5.0 (/root/src)
warning: field is never read: `root`
  --> src/filesystem.rs:24:5
   |
24 |     root: Option<path::PathBuf>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default
note: `Filesystem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
  --> src/filesystem.rs:22:10
   |
22 | #[derive(Debug)]
   |          ^^^^^
   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: `good-web-game` (lib) generated 1 warning
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/ops/build/compile.rs:165:18
stack backtrace:
   0:     0x55a48f0e2c6d - std::backtrace_rs::backtrace::libunwind::trace::h22893a5306c091b4
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x55a48f0e2c6d - std::backtrace_rs::backtrace::trace_unsynchronized::h29c3bc6f9e91819d
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x55a48f0e2c6d - std::sys_common::backtrace::_print_fmt::he497d8a0ec903793
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:66:5
   3:     0x55a48f0e2c6d - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9c2a9d2774d81873
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:45:22
   4:     0x55a48f10aeac - core::fmt::write::hba4337c43d992f49
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/fmt/mod.rs:1194:17
   5:     0x55a48f0dda81 - std::io::Write::write_fmt::heb73de6e02cfabed
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/io/mod.rs:1655:15
   6:     0x55a48f0e5115 - std::sys_common::backtrace::_print::h63c8b24acdd8e8ce
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:48:5
   7:     0x55a48f0e5115 - std::sys_common::backtrace::print::h426700d6240cdcc2
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:35:9
   8:     0x55a48f0e5115 - std::panicking::default_hook::{{closure}}::hc9a76eed0b18f82b
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:295:22
   9:     0x55a48f0e4dc9 - std::panicking::default_hook::h2e88d02087fae196
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:314:9
  10:     0x55a48f0e5662 - std::panicking::rust_panic_with_hook::habfdcc2e90f9fd4c
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:698:17
  11:     0x55a48f0e5547 - std::panicking::begin_panic_handler::{{closure}}::he054b2a83a51d2cd
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:588:13
  12:     0x55a48f0e3124 - std::sys_common::backtrace::__rust_end_short_backtrace::ha48b94ab49b30915
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:138:18
  13:     0x55a48f0e5279 - rust_begin_unwind
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:584:5
  14:     0x55a48e97ffe3 - core::panicking::panic_fmt::h366d3a309ae17c94
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/panicking.rs:143:14
  15:     0x55a48e9800d3 - core::result::unwrap_failed::hddd78f4658ac7d0f
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/result.rs:1785:5
  16:     0x55a48e9e8c2c - <cargo_quad_apk::ops::build::compile::SharedLibraryExecutor as cargo::core::compiler::Executor>::exec::hecd7f5a732703b11
  17:     0x55a48eafc29c - core::ops::function::FnOnce::call_once{{vtable.shim}}::h89048bd199c4c0bd
  18:     0x55a48eafafcc - core::ops::function::FnOnce::call_once{{vtable.shim}}::h53362546aa0cb559
  19:     0x55a48eafafcc - core::ops::function::FnOnce::call_once{{vtable.shim}}::h53362546aa0cb559
  20:     0x55a48ea16366 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8587960837c1a47f
  21:     0x55a48ea7cfee - std::sys_common::backtrace::__rust_begin_short_backtrace::h18f4b9ad908d67c2
  22:     0x55a48ecd71ca - core::ops::function::FnOnce::call_once{{vtable.shim}}::haf12b2dab199031b
  23:     0x55a48f0ebeb3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha99802c2c52ada61
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/alloc/src/boxed.rs:1861:9
  24:     0x55a48f0ebeb3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha39aea1c57e28a15
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/alloc/src/boxed.rs:1861:9
  25:     0x55a48f0ebeb3 - std::sys::unix::thread::Thread::new::thread_start::h9f8e3d72b1f7662f
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys/unix/thread.rs:108:17
  26:     0x7f15c01c6ea7 - start_thread
  27:     0x7f15bffaadef - clone
  28:                0x0 - <unknown>
error: worker panicked
thread 'main' panicked at 'child threads shouldn't panic: Any { .. }', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.62.0/src/cargo/core/compiler/job_queue.rs:565:10
stack backtrace:
   0:     0x55a48f0e2c6d - std::backtrace_rs::backtrace::libunwind::trace::h22893a5306c091b4
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x55a48f0e2c6d - std::backtrace_rs::backtrace::trace_unsynchronized::h29c3bc6f9e91819d
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x55a48f0e2c6d - std::sys_common::backtrace::_print_fmt::he497d8a0ec903793
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:66:5
   3:     0x55a48f0e2c6d - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9c2a9d2774d81873
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:45:22
   4:     0x55a48f10aeac - core::fmt::write::hba4337c43d992f49
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/fmt/mod.rs:1194:17
   5:     0x55a48f0dda81 - std::io::Write::write_fmt::heb73de6e02cfabed
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/io/mod.rs:1655:15
   6:     0x55a48f0e5115 - std::sys_common::backtrace::_print::h63c8b24acdd8e8ce
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:48:5
   7:     0x55a48f0e5115 - std::sys_common::backtrace::print::h426700d6240cdcc2
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:35:9
   8:     0x55a48f0e5115 - std::panicking::default_hook::{{closure}}::hc9a76eed0b18f82b
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:295:22
   9:     0x55a48f0e4dc9 - std::panicking::default_hook::h2e88d02087fae196
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:314:9
  10:     0x55a48f0e5662 - std::panicking::rust_panic_with_hook::habfdcc2e90f9fd4c
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:698:17
  11:     0x55a48f0e5547 - std::panicking::begin_panic_handler::{{closure}}::he054b2a83a51d2cd
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:588:13
  12:     0x55a48f0e3124 - std::sys_common::backtrace::__rust_end_short_backtrace::ha48b94ab49b30915
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:138:18
  13:     0x55a48f0e5279 - rust_begin_unwind
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:584:5
  14:     0x55a48e97ffe3 - core::panicking::panic_fmt::h366d3a309ae17c94
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/panicking.rs:143:14
  15:     0x55a48e9800d3 - core::result::unwrap_failed::hddd78f4658ac7d0f
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/result.rs:1785:5
  16:     0x55a48eb468c9 - cargo::core::compiler::job_queue::JobQueue::execute::hba7ec7a43962ba31
  17:     0x55a48eacf87c - cargo::core::compiler::context::Context::compile::h12a1634d09886c54
  18:     0x55a48ec97aab - cargo::ops::cargo_compile::compile_ws::hc7ed5025c3dd63b8
  19:     0x55a48ec978b1 - cargo::ops::cargo_compile::compile_with_exec::hdd1df846945e4d8f
  20:     0x55a48e9e5212 - cargo_quad_apk::ops::build::compile::build_shared_libraries::h2e67de507c24ff76
  21:     0x55a48e9b7945 - cargo_quad_apk::ops::build::build::h1b15337b0f0cb992
  22:     0x55a48e9c8aca - cargo_quad_apk::main::he8379582492ed856
  23:     0x55a48e9cbe53 - std::sys_common::backtrace::__rust_begin_short_backtrace::h70860d16cf446d25
  24:     0x55a48e9f8599 - std::rt::lang_start::{{closure}}::he9d9d9652557586f
  25:     0x55a48f0d665e - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::had4f69b3aefb47a8
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/ops/function.rs:259:13
  26:     0x55a48f0d665e - std::panicking::try::do_call::hf2ad5355fcafe775
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:492:40
  27:     0x55a48f0d665e - std::panicking::try::h0a63ac363423e61e
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:456:19
  28:     0x55a48f0d665e - std::panic::catch_unwind::h18088edcecb8693a
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panic.rs:137:14
  29:     0x55a48f0d665e - std::rt::lang_start_internal::{{closure}}::ha7dad166dc711761
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/rt.rs:128:48
  30:     0x55a48f0d665e - std::panicking::try::do_call::hda0c61bf3a57d6e6
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:492:40
  31:     0x55a48f0d665e - std::panicking::try::hbc940e68560040a9
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:456:19
  32:     0x55a48f0d665e - std::panic::catch_unwind::haed0df2aeb3fa368
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panic.rs:137:14
  33:     0x55a48f0d665e - std::rt::lang_start_internal::h9c06694362b5b80c
                               at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/rt.rs:128:20
  34:     0x55a48e9cbce2 - main
  35:     0x7f15bfed3d0a - __libc_start_main
  36:     0x55a48e9802da - _start
  37:                0x0 - <unknown>

I'm not sure what could be the problem, however when I ran the same command in the miniquad repo the build completed and it worked successfully on my Android device.

Ok, I looked into it, but I fear I don't see an elegant solution to this.
With EventHandlerFree disappearing I think I'd have to restructure everything to no longer store the miniquad context (because we can't), but to instead hand it through, coming from update and draw, everywhere where it was used before.
This makes everything a bit more clunky, but it's not the end of the world.
I'm pretty optimistic that this would fix the problem, as miniquad would be in sync again, but to be honest I'm not sure if I'll get up the motivation to do this soon, with ggez aiming for its own Android support somewhere in the not-too-soon future.
But I guess I'll try. It's not that much work.

OK.
I just released 0.6.0 . In it I changed everything to respect the loss of EventHandlerFree, making us hand around quad_ctx a lot.
I checked everything except the Android build. If your project is simple enough to adapt to the new changes I'd be very thankful if you could perhaps try it again with these changes. Or perhaps it's way simpler to just try one of the examples, but I'm just done for today (and busy tomorrow).
So... now that I did all this I wondered: "Well, this is annoying. How does macroquad solve this?"
And what do you know, they just solve it by storing the miniquad context inside of a big juicy unsafe static variable: ^^
static mut CONTEXT: Option<Context> = None;

...

miniquad::start(
    conf::Conf {
        sample_count: 4,
        ..config
    },
    |ctx| {
        unsafe {
            MAIN_FUTURE = Some(Box::pin(future));
        }
        unsafe { CONTEXT = Some(Context::new(ctx)) };
        Box::new(Stage {})
    },
);

To be honest I feel a bit stupid now. Maybe that would have been the way to go and I'll do so in the next version as well...

Great! It works now :).
And I see that putting that quad_ctx in an unsafe static variable would be easier, but there is also this comment where that variable is set, so ¯_(ツ)_/¯ .
Anyways, I'm closing this since it is working.


Serverless parallelization of reference generation

Finding byte ranges in every file in an archival dataset is an embarrassingly-parallel problem, which might be a good fit for serverless.
This step is analogous to the parallel=True option to xr.open_mfdataset, which wraps xr.open_dataset in @dask.delayed for each file to parallelize the opening step (totally separate from any dask.array tree reduction after the arrays have been created).
https://github.com/pydata/xarray/blob/12123be8608f3a90c6a6d8a1cdc4845126492364/xarray/backends/api.py#L1046
With that motivation, it's been suggested that we add a delayed-like function to Cubed https://github.com/cubed-dev/cubed/issues/311, which could in theory plug in to xarray.open_mfdataset.
A simpler way to test this idea would be just to skip the cubed layer and use a lithops map-gather (or whatever the correct primitive is) to try out serverless generation of references. I think for this to work the resulting virtual datasets need to be able to be gathered onto one node, but the discussion in https://github.com/TomNicholas/VirtualiZarr/issues/104#issuecomment-2103039189 indicates that this should be okay (at least after #107 is complete).
xref https://github.com/TomNicholas/VirtualiZarr/issues/95
cc @tomwhite @rabernat

I'm reading about how reduce jobs work in lithops but I don't fully get it. Is it the case that we need each serverless worker to write out the references it read to some globally-accessible storage? So that they can all be accessed by a single node/worker for the concatenation step?

Yes though you can also tree-reduce. IIUC serverless tasks don't communicate between each other, and must communicate through storage.
Though perhaps lithops has something like https://modal.com/docs/guide/dicts-and-queues to enable cross-task communication.

I'm reading about how reduce jobs work in lithops but I don't fully get it. Is it the case that we need each serverless worker to write out the references it read to some globally-accessible storage? So that they can all be accessed by a single node/worker for the concatenation step?

I haven't used Lithops map_reduce (we just use map in Cubed), but the reduce function runs in a single container and will receive all the map outputs so they can be combined in the way you specify. (You don't need to write anything to storage, Lithops will do that part for you.) Given that the map output is a small amount of metadata Lithops map_reduce sounds like a good fit for the problem.

It may be possible to actually use cubed to do the serverless concatenation. Cubed implements serverless concatenation operations for numpy arrays, which work like a tree reduction, concatenating subsets and saving each round to an intermediate Zarr store.
The difficulty here is that ManifestArrays are a weird type of array, that is backed underneath by 3 numpy arrays. Cubed would know how to concatenate any one of these arrays but not what to do with all three at once. In particular if I understand correctly the problem is that it wouldn't know how to serialize the intermediate ManifestArrays to Zarr.
One solution might be to repurpose internal machinery cubed has which uses Zarr structured arrays to effectively operate on multiple numpy arrays at once. Cubed has this because reductions such as mean require keeping track not just of the totals but also the counts.
@tomwhite suggested that I could possibly plug a ManifestArray into Cubed in the same way that Tensorstore can be plugged in as an alternative to zarr-python, following this TensorStoreGroup object
https://github.com/cubed-dev/cubed/blob/main/cubed%2Fstorage%2Fbackends%2Ftensorstore.py#L48
But I have to admit I don't fully understand this suggestion yet, I need to play around with it.


In the event of an alarm activation, it will stop another music player that is currently playing.

Alarm plugin version
1.22 ~ 2.1.0
Describe the bug
When the Flutter Alarm plugin is activated, it will stop another music player that is currently playing. However, the system alarm will not interrupt the music player.
Device info
Android 8 and Android 13

Hi @pyjserv,
Thanks for your interest in the package.
I'm not sure to understand your issue. The other music player is interrupted at the moment your alarm is set or when it starts ringing ?

Thanks for your reply. The other music player(MX Player Pro or Youtube) is interrupted at the moment when the alarm is ringing.

OK. It's actually the excepted behavior. This way, you're sure to listen the alarm ring.
You think the alarm should play and let the other media play, with 2 audio playing at the same time ?

Hearing both audio sources or just the alarm sound is not a problem. The main inconvenience is that after the alarm ends, the user needs to manually replay the music player that was interrupted. If this is a to-do list app rather than a wake-up app, it can be a bit inconvenient for the user.

I see. I'm currently refactoring completely the android part. I'll keep in mind your request.
Do you have the same issue with iOS ?

I see. I'm currently refactoring completely the android part. I'll keep in mind your request.

I'm glad to hear that. Thank you! :)

Do you have the same issue with iOS ?

I don't have an iOS device to test.

I see. I'm currently refactoring completely the android part. I'll keep in mind your request.
Do you have the same issue with iOS ?

Thanks for your work, I like this package. I'm working on iOS with audio_services, and just_audio.
I played a song and it shows on Media Control notifications, then I started an alarm and the Media Control disappear. I guess alarm is also playing a song on the background which causes the Media Control got removed?

Hi @andyngdz
Thanks for your interest in the package !
That's interesting. I'll take a look if I put back your song on Media Control notification.

@gdelataillade
This is a feature I really need.
I'm not looking for a wake-up call, but rather an app that alerts me when I complete a short task.
Whenever a task is completed, the user stops the music or YouTube they were listening to.
I want the notification to go off and not affect the music or YouTube at all.
If there is anything I can do temporarily before this is fixed, I would really appreciate it.

@synstin
I just answered in the discussion #104


[Cordova] First set of changes for offline sync

Added a basic implementation of SQLite store based on litehelpers' SQLite
Some TODOs are marked in code and needs to be taken care of.
More UTs need to be added. This commit contains a single UT to test basic functionality.
Tweaked the test framework adapter to start running the tests only when asked to do so. This makes it possible to trigger the tests when all required cordova plugins are loaded. WinRT implementation already does this
QUnit adds new elements to the DOM which is not allowed in WinRT unless done in an 'unsafe' context. Implemented a hack to workaround this limitation without having to edit QUnit code. This implementation makes an implicit assumption on the QUnit code (that the only disallowed calls are the calls to the toolbar's appendChild() method)
Ported the existing browser UTs to Cordova. Fixed some incorrect platform checks (isWinRT, etc).

Ping!


In which states does the rapid test proof feature comply with legal requirements?

What is missing

I cannot find any information on which states accept the CWA as proof of a negative rapid corona test. The Berlin regulation requires a specification of the test site. Accordingly, I assume that the CWA is not a valid proof. Is that correct?
Why should it be included

Users should not have to search forever on their state's website only to find nothing there.
Where should it be included

At least in the FAQ of the website. Better would be in the app as well.

To give a little update about this:
The EU Digital Test Certificate will also include the name of the test center. You can request this certificate In-App for PCR & Rapid Antigen Test starting at version 2.4.
The normal RAT proof feature is not changed and still doesn't include the name of the testing site.
So:
EU Digital Test Certificate ✅
RAT Proof Feature in-App ❌

I suggest to close this issue now, as the app now includes a different text:
"To verifiably prove the result displayed here, an EU Digital Covid Certificate is required. If you requested a digital test certificate when you registered your test and the testing point supports the issuing of digital certificates, you can find your digital test certificate using the link specified above. You will also find the certificate on the “Certificates” tab.\nPlease also find out about the criteria for recognition and validity of test certificates in the context of the purpose for which you need proof."
This means that there is no proof feature in the app anymore.
FYI @ferdinand


Add Shopware

Shopware Awesome List
List here
Introduction
Shopware is a opensource eCommerce System written in PHP. That list contains nice extensions, themes and other examples for Shopware which i review myself.
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Yes!
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

You have to review at least 2 other open pull requests. Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. Comment here which PRs you reviewed. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration.
I have read and understood the instructions for creating a list.
This pull request has a descriptive title in the format Add Name of List (Example: Add Swift), not Update readme.md or Add awesome list.
The entry in the Awesome list should:

Include a short description about the project/theme of the list. It should not describe the list itself.Example: - [Fish](…) - User-friendly shell., not - [Fish](…) - Resources for Fish..
Be added at the bottom of the appropriate category.

The list I'm submitting complies with the below requirements.

Requirements for your Awesome list

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
It's the result of hard work and the best I could possibly produce.
Non-generated Markdown file in a GitHub repo.
Includes a succinct description of the project/theme at the top of the readme. (Example)
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate.
Only has awesome items. Awesome lists are curations of the best, not everything.
Includes a project logo/illustration whenever possible.

Either centered, fullwidth, or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.

Can be placed centered if the list has a centered graphics header.

Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of nested lists, preferably none.

Has an appropriate license.

That means something like CC0, not a code licence like MIT, BSD, Apache, etc.
WTFPL and Unlicense are not acceptable licenses.
If you use a license badge, it should be SVG, not PNG.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.

Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.

Go to the top and read it again.

Thanks for making an Awesome list! 🙌
It looks like you didn't read the guidelines closely enough. I noticed multiple things that are not followed. Try going through the list point for point to ensure you follow it. I spent a lot of time creating the guidelines so I wouldn't have to comment on common mistakes, and rather spend my time improving Awesome.

@shyim you should updated short description of the repository, currently it's just Awesome Shopware.

@Xyroid thanks corrected 😊

Closing for lack of response.

Also:
❯ awesome-lint https://github.com/shyim/awesome-shopware
✖ Linting

  README.md:87:3
  ✖   75:85  List item description must end with proper punctuation  remark-lint:awesome/list-item
  ✖   87:3   Link to https://github.com/shyim/ShyimRollbar is dead   remark-lint:no-dead-urls
  ✖  108:3   Link to https://github.com/shyim/ShyimDisqus is dead    remark-lint:no-dead-urls
  ✖  123:88  List item description must end with proper punctuation  remark-lint:awesome/list-item
  ✖  124:81  List item description must end with proper punctuation  remark-lint:awesome/list-item

  5 errors

https://github.com/sindresorhus/awesome-lint


[Question] DivSpectrums?

Hey, @shimat. Me again. Is it possible somehow to get this method working with your package? https://github.com/opencv/opencv/blob/94f00cf09694c38407cce23ed9fea288ab622b0f/modules/imgproc/src/phasecorr.cpp#L161
Or it requires to make a new build of opencv with this method included?

divSpectrums is an internal function of OpenCV and cannot be called from outside.

Or it requires to make a new build of opencv with this method included?

Yes.

Hey, @shimat  - https://github.com/opencv/opencv/issues/19767. The proposed change has been merged in opencv. Let me know when an update to your lib is planning


Install-BcContainerHelper Version 1.0.7 shows error about unknown parameter "AllowPrerelease"

Version: latest
BcContainerHelper 1.0.6 is installed
Determine latest BcContainerHelper version
BcContainerHelper 1.0.7 is the latest version
Updating BcContainerHelper to 1.0.7
Update-Module : Es wurde kein Parameter gefunden, der dem Parameternamen "AllowPrerelease" entspricht.
In C:\BE-terna\Powershell\Scripts\Docker\Install-BcContainerHelper.ps1:59 Zeichen:101
+ ... er -Force -RequiredVersion $bcContainerHelperVersion -AllowPrerelease
+                                                          ~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Update-Module], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Update-Module

Remark: this routine is used by
https://dev.azure.com/businesscentralapps/HelloWorld/_git/HelloWorld?path=%2Fscripts%2FInstall-BcContainerHelper.ps1

@freddydk
where can I put comments or errors about your HelloWorld example?

Here is fine.
on this one - in settings.json is uses preview - change that to latest (then it uses latest non-prerelease)
Look: https://freddysblog.com/2020/08/11/bccontainerhelper/ - search for allowprerelease

Hello @freddydk,
thanks for the fast reply.
Updating PowerShellGet did help,
However we define no version for bccontainerhelper in our settings, therefore it took "latest" (see in the first posting).

[off-topic]
@freddydk
where can I put comments or errors about your HelloWorld example?
https://dev.azure.com/businesscentralapps/HelloWorld/
We are using those scripts for our pipelines and now we are trying to use the new "Run-AlPipeline" script.
However we had to add the "NewBcContainer" parameter to adjust our container build.

I think the setting in settings.json was "preview" and not "latest"
"latest" should grab latest released version
"preview" should grab latest preview version

What did you have to do in NewBcContainer?
(Maybe I can advice other ways - or implement other ways)
Overriding the functions should be last resort and not something all need to do.
Thanks for trying out Run-AlPipeline.
I am right now updating it to include most (if not all) the automated validation tests done when submitting for validation.

We need to install Barcode into the container (1D barcode fonts and an OnPrem barcode .NET) to get our apps compiling.
This code does work: we had to fill and to add the NewBcContainer parameter for that.
$NewBcContainer = { Param([Hashtable]$parameters)
        New-BcContainer @parameters;
        .\scripts\Install-Fonts.ps1 -containerName $parameters.ContainerName ;
        .\scripts\Install-ThirdParty.ps1 -containerName $parameters.ContainerName;
        Invoke-ScriptInBcContainer $parameters.ContainerName
        -scriptblock { $progressPreference = 'SilentlyContinue' } }

Run-AlPipeline @params
    -pipelinename $pipelineName
    -containerName $containerName
    -imageName $imageName
    -NewBcContainer $NewBcContainer

For the moment I am getting an error about compiling the code (some packages seem to be missing).
Therefore I am wondering if there is some kind of platform to report problems or questions.
Additionally I am wondering how to skip the "Run-Test" functionality.
Remark: we can't get your "Run-Test" scripts running (including the old existing scripts) since we are getting Client-Context errors if we try to post inventory within our integrations tests (I did report that several times).
For the moment we are running our tests directly via the codeunits itself (in that case we have no isolation which makes things quite difficult for testing).

The Run-AlPipeline is part of containerhelper - so this is the right place.
Run-AlPipeline is very much optimized for appsource apps or per tenant extensions for BC Saas.
There is a parameter called -doNotRunTests which bypasses the test runner.


Explore the possibility of dynamic deployments

It's possible that the kruise CLI could read from a config file and dynamically set options that kruise doesn't explicitly know about. Explore the feasibility of this

/cib


Updated symbols directory

It took some searching to find where to copy the SVG files on OS X and I also found a post about Windows along the way. Figured it would be handy to have in the README.

Nice enhancement!
I will add Linux and OSX because that directory is not only for OSX but also for a lot of UNIX OS like most linux distros. I just used the information provided in inkscape wiki, but I think this is better and more useful.
Thanks

@Xaviju Good point about Linux using the same folder. Thanks for the merge and providing the symbols library!


psnr results

Hi. I'm sorry to bothering you.
Are the PSNR results calculated by MATLAB with YCbCr space or by your calc_psnr in utility.py?
Thanks!

Hi @sujyQ, thanks for your interest in our work. In our experiments, we calculate PSNR values using cal_psnr function (here). You can also use Matlab to calculate them and the results will be the same.

I've got it! THX:)


mapping fail not uploaded but gradle task succeed

Expected behavior
If I run a command like :app:uploadBugsnagProduction-releaseMapping and it fails the task should fail.
Observed behavior
I get a message that say that the upload failed:

Bugsnag upload failed with code 400: proguard file generated without -keepattributes LineNumberTable
But the build succeed.

Steps to reproduce
Proguard without -keepattributes LineNumberTable and try to upload the mapping manually.
Version
4.5.0
Additional information
This is a problem when you are running scripts or all your release is done by jenkins or similar.

Thanks for the report @BraisGabin - this has now been addressed by #151


Search Functionality

@di Do we have a search functionality to check if a package exists?

Hi @kgrvamsi, not sure exactly what you mean. Do you mean something like pip search?

Right @di sorry i thought i mentioned the command but yes we pip search

@kgrvamsi PyPI provides an XML-RPC API which pip search uses under the hood, you probably just want to interact with that API directly.

Awesome @di this helps.


Add Dockerfile

Add a Dockerfile which provides the Nextsim installation. This should be put into the repository first. We should also consider uploading it on DockerHub, so that users, but also the Github Actions, can directly use the image.
Steps:

[ ] Add Dockerfile to repository
[ ] Update documentation accordingly
[ ] Consider DockerHub (and, if positive decision is made, upload and document stuff)

I first thought it would be best to create a light-weight Dockerfile/image based off alpine. However, as the CI tests Ubuntu I started with Dockerfiles based off that. Do you think we should still have a "lighter" alternative @TomMelt @einola @timspainNERSC ?

my two cents...
For docker you want alpine. It has a much lower overhead. We could add the alpine build to the CI and then we are covering even more bases. More chance to spot bugs :bug: :mag:
I don't have a strong preference though, as I won't be running it inside docker anyway.

I see three ways of structuring the Dockerfile. Which we choose depends on the use case.

Everything happens in the Dockerfile, including git pull, cmake, and make
The code is copied into the Dockerfile, which then runs cmake and make
We mount the src directory inside Docker and leave the running of cmake and make to the user

I guess option 1 is best for general distribution, and option 3 is best for development - but option 3 is much more cumbersome. Option 2 lies somewhere between.
We've used option 3 in the past, where the process is along the lines of
$ docker build . -t nextsim
$ docker run --rm -it -v $PWD:/nextsim -w /nextsim nextsim make

Then, if I modify the code, I can rerun the second command, and the compilation is very quick. But I always have to look up the second command o_o
What do you think about these three options?

I like to work with 2 for development (using docker run --rm -it --entrypoint bash nextsim to enter the Docker image and then run whatever I like to run). 1 would be cleaner for deployment on Dockerhub. I do not like option 3, as it feels a bit like a half-done job - if we've gone that far with Docker, we might as well build the code.


When combining outputs (output.xml), result statics are changed

For example
Run test suite A including 10 TC.
2 TC failed because TC teardown failed, other 8 TC failed also because of TC itself issue.
After combining outputs, combined report say that
8 TC failed because of TC itself issue, but 2 TC success.
I used below command for combining outputs.
rebot -l none -r "$NAME.html" --outputdir "$TEST_DIR" --reporttitle "$STAGE_NAME" --argumentfile "$TEST_DIR/xmlfiles""

Before combining.
Start / End / Elapsed:
20150225 10:24:42.153 / 20150225 10:58:55.539 / 00:34:13.386
Status:
22 critical test, 0 passed, 22 failed
22 test total, 0 passed, 22 failed
Message:
Suite teardown failed:
Several failures occurred:
After combining
Status:
22 critical test, 3 passed, 19 failed
22 test total, 3 passed, 19 failed
Message:
Suite teardown failed:
Several failures occurred:

Suite tear down failed

There are two natural possibilities for this:

You run tests with --critical or --noncritical options and don't use those when combining results. Criticality information is not stored in output.xml and thus you need to specify it again at this point. If you are only interested in combined results, you don't actually need to specify it during execution at all.

You are looking at status on console and there is a failure in suite teardown. Individual test results are logged to output.xml and to console after test itself passes. If suite teardown fails, tests in that suite are marked failed in reports/logs, but information on console or in the original output.xml cannot be updated.

If your situation matches either of the above, things work as expected. If not, please explain your situation in more detail.


Add missing word and space in RC4 CLI doc

Summary
Within the Moving away from project.json paragraph, start a sentence with "The" and add a missing space.

Hi @scottaddie, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Thanks, @scottaddie, for submitting the correction!


Add MIMIC CDM

@fdefalco Will you review this?

I like the addition of readme files to the data sets, but I believe the intent is to have only the zip file and this commit adds all the individual csv files as well?

@fdefalco I removed the raw csv files.


[jvm-packages] Declared Spark as provided in the POM

Closes #2891.

Codecov Report

Merging #3093 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #3093   +/-   ##
=========================================
  Coverage     43.72%   43.72%
  Complexity      228      228
=========================================
  Files           159      159
  Lines         12352    12352
  Branches        466      466
=========================================
  Hits           5401     5401
  Misses         6759     6759
  Partials        192      192

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 24c2e41...46eadec. Read the comment docs.

merged, thanks


Apply-PnPTenantTemplate : Value cannot be null. Parameter name: value

Category

[ ] Question
[ x] Bug
[ ] Enhancement

Expected or Desired Behavior
Running command
Apply-PnPTenantTemplate -Path .\starterkit.pnp
Results in an error I cannot find a solution for.
Observed Behavior
Apply-PnPProvisioningHierarchy : Value cannot be null.
Parameter name: value
At line:1 char:1

Apply-PnPProvisioningHierarchy -Path starterkit.pnp

  + CategoryInfo          : NotSpecified: (:) [Apply-PnPTenantTemplate], ArgumentNullException
  + FullyQualifiedErrorId : System.ArgumentNullException,SharePointPnP.PowerShell.Commands.Provisioning.Tenant.Apply
 TenantTemplate

Steps to Reproduce
Following instructions to install Sp starter kit
https://github.com/SharePoint/sp-starter-kit
Submission Guidelines

Facing same issue
Apply-PnPTenantTemplate : Object reference not set to an instance of an object.
At line:1 char:1

Apply-PnPTenantTemplate -Path starterkit.pnp -Parameters @{"PORTALURL ...

  + CategoryInfo          : WriteError: (:) [Apply-PnPTenantTemplate], NullReferenceException
  + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.Tenant.ApplyTenantTemplate

Hi Chimosh,
to your error "Apply-PnPProvisioningHierarchy : Value cannot be null." - I have had nearly the same one and found a solution. Maybe your case is similar but my error was
**Apply-PnPTenantTemplate** : Value cannot be null.
The problem for me was that I had a previous version sharepoint-starter-kit app installed in my App Catalog. It was installed by the starter kit some months ago but I didn't proceed at that time due to errors, then I had a long break and then tried again. So the starter kit installed the latest version package sharepoint-starter-kit while the old one was still in the catalog. It resulted in the "Value cannot be null" error.
I removed both packages, the old and the new one, and then ran the deployment again by the command:
Apply-PnPTenantTemplate -Path starterkit.pnp
That time, the process ran without errors.

This appears to be a duplicate of: https://github.com/SharePoint/sp-starter-kit/issues/274

Closing this issue as it is duplicate, and has been inactive for a few months. If still have issues, please see if #274 is similar to your issue, if not, please open a new ticket.


ReplaceToBiomeName not working

I have several biomes set to replace to biome names and upon boot it says that they registered with biome ID 0.
TerrainControl v forge-2.8.2

This is a known issue.  The previous patch rut applied to the forge version was just duct tape to prevent the server crash.

FYI @lightningo7 I am working to resolve this issue.

Any ETA on when it'll be fixed? I look forward to having this working.

@mcsnetworks @lightningo7 Test my patched jar here
https://www.dropbox.com/s/6ioy6jgc2nuk1gn/terraincontrol-forge-2.8.2-SNAPSHOT.jar
Backup your world before testing. Please confirm if it works and I'll PR the fix so everyone benefits.

I've tested this with Forge 2185 (and SpongeForge 1.10.2-2171-5.1.0-BETA-1992) , and blood's test build holds water. Replacetobiome worked as expected; the test biome Flard (ID 666) generated as an amplified desert yet reported as a Flower Forest (ID 132). No errors whatsoever on console.
Forge's biome registration changed sometime in the past, this has probably been around a while.
This is also probably the same bug as Terrain Control issue #442

I'll test this evening.


Access denied for user 'root,clustercheck'@'localhost' (using password: YES)

Hi,
i get some errors using this class in combination with puppetlabs/mysql
root user get´s created with empty password and does not allow login with pass only with empty pass also error on Clustercheck, /var/log/mariadb folder doesn´t get created
Distributor ID: CentOS
Description:    CentOS Linux release 7.7.1908 (Core)
Release:        7.7.1908
Codename:       Core
puppet --version 5.5.16
mysql  Ver 14.14 Distrib 5.7.27, for Linux (x86_64) using  EditLine wrapper
Always done a Clean Setup via Cobbler
my node config:
 class { 'galera':
    galera_servers  => ['xxx.xxx.xxx.xxx', 'xxx.xxx.xxx.xxx', 'xxx.xxx.xxx.xxx'],
    galera_master   => 'poc-db01',
    create_root_user => 'true',
    root_password   => 'pa$$w0rd',
    status_password => 'pa$$w0rd',
    vendor_type     => 'codership',
    local_ip => $facts['networking']['ip'],
    configure_firewall => true,
    mysql_port => 3306,
    wsrep_state_transfer_port => 4444,
    wsrep_inc_state_transfer_port => 4568,
    wsrep_group_comm_port => 4567,
    override_options => {
        'mysqld' => {
            'bind_address' => '<IP_ADDRESS>',
        },
    },
}

if vendor_type is "codership" or "mariadb"  "/var/log/mariadb" folder ist not created
i added this code to init.pp to prevent puppet run fail
.........

   service_name => $params['mysql_service_name'],
    restart            => $mysql_restart,
  }

 if (($vendor_type == 'codership') or ($vendor_type == 'mariadb')) {
    file { '/var/log/mariadb':
      ensure => 'directory',
      owner  => 'mysql',
      group  => 'mysql',
      require => Class['mysql::server::install'],
      before => Class['mysql::server::installdb'],
   }
  }

 file { $rundir:
    ensure  => directory,
...........
  }

Next Error msg:
Error: Could not prefetch mysql_user provider 'mysql':
Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Error: Failed to apply catalog: Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

i can connect to mysql via mysql -uroot -p it requests a pass i just press enter and i'm in.
(root@localhost) [mysql]> select * from user where user='root'\G;
*************************** 1. row ***************************
                  Host: localhost
                  User: root
                plugin: mysql_native_password
...........
authentication_string:  **<<<< is empty**
      password_expired: N
 password_last_changed: 2019-10-06 19:58:59
     password_lifetime: NULL
        account_locked: N
1 row in set (0.00 sec)

ERROR:
No query specified
(root@localhost) [mysql]>

if i set it manually Password:
(root@localhost) [(none)]>  UPDATE mysql.user SET authentication_string = PASSWORD('pa$$w0rd') WHERE User = 'root' AND Host = 'localhost';
Query OK, 1 row affected, 1 warning (0.01 sec)
Rows matched: 1  Changed: 1  Warnings: 1
(root@localhost) [(none)]> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
(root@localhost) [(none)]> quit
Bye

it runs till clustercheck and ends with different error, manual login for user "clustercheck" work too
Notice: /Stage[main]/Galera::Validate/Exec[validate_connection]/returns: mysql: [Warning] Using a password on the command line interface can be insecure.
Notice: /Stage[main]/Galera::Validate/Exec[validate_connection]/returns: ERROR 1045 (28000): Access denied for user 'clustercheck'@'localhost' (using password: YES)
Error: /Stage[main]/Galera::Validate/Exec[validate_connection]: Failed to call refresh: 'mysql --host=localhost --user=clustercheck --password=pa$$w0rd -e 'select count(1);'' returned 1 instead of one of [0]
Error: /Stage[main]/Galera::Validate/Exec[validate_connection]: 'mysql --host=localhost --user=clustercheck --password=pa$$w0rd -e 'select count(1);'' returned 1 instead of one of [0]
Notice: /Stage[main]/Mysql::Server/Anchor[mysql::server::end]: Dependency Exec[validate_connection] has failures: true
Warning: /Stage[main]/Mysql::Server/Anchor[mysql::server::end]: Skipping because of failed dependencies
Info: Stage[main]: Unscheduling all events on Stage[main]

Password Hash for "clustercheck" is same as "root":
(root@localhost) [(none)]> select user,host,authentication_string  from mysql.user;
+---------------+-----------+-------------------------------------------+
| user          | host      | authentication_string                     |
+---------------+-----------+-------------------------------------------+
| root          | localhost | *A32931B9B0D4C7CF9173CAA42B07BD2EA453EF94 |
| mysql.session | localhost | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE |
| mysql.sys     | localhost | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE |
| clustercheck  | %         | *A32931B9B0D4C7CF9173CAA42B07BD2EA453EF94 |
| clustercheck  | localhost | *A32931B9B0D4C7CF9173CAA42B07BD2EA453EF94 |
+---------------+-----------+-------------------------------------------+
5 rows in set (0.00 sec)

(root@localhost) [(none)]>

i also debuged down to mysql::server::root_password (root_password.pp),
mysql::Server::create_root_user == true
mysql::server::root_password is set
did i missed some or is this a bug
kind regards

Which version of puppet-galera are you using?
I need to see the initial error message. Please post the full output of the Puppt Agent run on a fresh cluster node.
Please post the output of the following commands after Puppet Agent ran:

# rpm -qa '*mysql*'
# cat /etc/my.cnf


[Do not merge] Debug integration test failure

To debug the integration test failure in https://github.com/istio/istio/issues/14364:

sync the code to the commit 41ea3ce, which is merged in master branch on 5-23-2019.
include a notes.txt just to trigger a PR in github.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: lei-tang
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: rshriram
If they are not already assigned, you can assign the PR to them by writing /assign @rshriram in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: lei-tang
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
If they are not already assigned, you can assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS
prow/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lei-tang can these be closed now or are you still using them?

Closed.


New request fields

Based on the new flow of a super admin requesting changes two new fields need to be added to the listing table:

Request summary - text field
Request date - time stamp (similar to how we capture updated at)
Request user

Confirm if we want to capture the user who requested changes

QA Notes
There is no relevant product QA on this ticket, it can be closed after merge.


Source gen fails when a boolean param is used in a class

Not sure if this is only under certain circumstances, (e.g. classes instead of records), but this effectively reproduces the issue. I can provide a reproduction project if you'd like.
builder.Services.AddDexieNET<MultiTableDB>();

   [DBName("MultiTableDB")]
   public interface IMultiTableStore : IDBStore { };

   [Schema(StoreName = "Users")]
   public partial class UsersEntity : IMultiTableStore
   {
       [Index(IsPrimary = true)]
       public string ID { get; set; } = "";

       //Source gen fails when this is uncommented
       public bool param1 { get; set; }

       protected UsersEntity() { }
   }

Same with records.
    [Schema(StoreName = "Persons")]
    public partial record PersonEntity
    (
        [property: Index] string Name,
        [property: Index] int Age,
        bool Alive // fail
    ) : IMultiTableStore;

Thank you for your report. I have fixed this in the cloud branch, but I need to check if porting back is possible. As workaround you can just index the boolean as shown here:
https://github.com/b-straub/DexieNET/blob/ce476f6748dc3cca925b5c438b0f5d153a0a4f7a/DexieNETTest/TestBase/Test/Data/DBStores.cs#L98
this will invoke the needed JSON converter.

Fixed with 1.0.2, please check and close when working.


Remove error/cleanup-like gotos in C

The relooper algorithm c2rust transpile uses to translate gotos makes a mess of the control flow to the point where it takes a long time to untangle the state machines into normal control flow.  Most of these gotos use fairly simple control flow, being mostly used for error cleanup.  So they can be removed by either inlining (if the goto is very short), outlining and then calling the outline function at each goto, or in a few cases, just reorganize the structured control flow a little bit.
I intend to re-transpile and merge back these goto-less functions, as I'm pretty sure that'll be easier than untangling the relooper state machines (I usually end up just re-translating by hand, but some of these functions are quite long).  I'll probably add this to this same PR, but I want to put up these changes to the C first for some initial review.  In particular the ones where I re-organized control flow, as the inlining and outlining are much more straightforward.

I'm gonna approve this PR as is, probably makes sense to do the re-translation in separate PRs.

I can do that in a separate PR if you think that's better.  I want to test this changed C code first, though.  I'll merge once I do that.

Fixed some typos and a few warnings and the tests all pass now with -Dtest_rust=false, so this should be good.  I'll re-transpile and merge the functions with gotos back in in a follow-up PR.


Support for "white-space: nowrap"

@monospaced Any plans to merge this? The PR isn't really descriptive, but we can improve it if needed :)

This will not be merged due to changing name in package.json.


Asking for code component

thank you for your nice work. I want to use these modules for salient object detection. I can't find the relevant code for the paper. Would you mind showing me where is the code for this component below?

besh wish to you.❤

Hi please refer to the discussion here.

Hi please refer to the discussion here.

yes. I have seen this link. But, I still can't find some modules codes like the Point Quadtree and Coarse Masks ROI Feature
Thank you for your quick reply

I met the same problem, have you found the Incoherence Detector module and Point Quadtree now?
Thanks in advance!


Expanded support for InfiniBand

Environment

Python version: 3.6.8
Nautobot version: 1.0.3

Proposed Functionality
On selecting an InfiniBand type of interface on the "Create interface" page, have extra options appear for the following;-

Number of InfiniBand links
InfiniBand device (HCA) name - e.g. mlnx5_0 - but also keep the normal Name field at the top of the form for the interface name - ib0 etc. So, a device can be referenced by its interface name and HCA name - ib0 and mlnx5_0
InfiniBand default GID
Link Layer - e.g. InfiniBand, Ethernet etc
Split cables - e.g. single port on HDR switch with 4 links out, the cables splits into 2 x 2 link cable and attaches to two separate nodes. HDR port 4 links ----->>>> cable splits into 2 x 2 link cables -----> 2 links to node 1 and 2 links to node 2
Physical/Logical support for InfiniBand switches

Use Case
InfiniBand networks have extra details that ethernet networks don't. Output from InfiniBand commands refer to these InfiniBand specific details. The best example would be the iblinkinfo command, which will map out InfiniBand cables using the HCA name. Having these InfinIBand specific details also recorded would be very useful. Having these features would be a boon for HPC users especially.

Database Changes

External Dependencies

Unfortunately what you're asking for has multiple layers to it and would require a much deeper conversation. We've discussed being able to multiplex cards/ports into cable connections in the past but there has yet to be any notable movement on this due to the deep complexity in how it would be modeled.
As it is currently, the interface type itself is just a basic string field. One big step forward would be to evolve interface type into its own complex object type similar to the relationship between Device and DeviceType objects.
We'd need to have logic underlying the implementation of a complex interface type such as this, and how the interconnection of the split cables to the ports to the cable objects in the database all correlate, are managed, are configured, are rendered in the UI vs. the API, etc.
I think for starters, it could be interesting to try to get a plugin going that would understand complex interface types and all the data elements required so that we can begin this journey. I'm also interested to see how useful custom fields on an Interface object might go to being able to help to solve this.
And you're going to love my next question:
Can you please provide as much detail w/ sample data & diagrams on how what you're asking for would be configured from your perspective, so that we can keep the conversation going on how we might begin to achieve something like what you're asking?

Hello! I'm working on this between jobs. I'll have something here by mid next week. Thanks!

Hello! I'm working on this between jobs. I'll have something here by mid next week. Thanks!

Great thanks!

Hello,
I've gotten around the virtual port and split cables issue by double the interfaces on the switch device. It's not ideal, but it works pretty well. Iblinkinfo reports the 40 port switches as having 80(81) ports anyway.
Here's a little bit of explanation on the InfiniBand HDR switches. Each HDR switch has 40 physical ports, and each port has 4 x HDR lanes (~50Gbps per lane) for 200Gbps in total. These ports can be split into 2 x 2 lanes, for two 100Gbps ports per physical port.
The splitter cables are used in this scenario. One end has all 4 lanes and plugs into the switch port, at the cable splits into two connects with 2 lanes each at the other end - Y cable.
Internally, the switch shows ports like this;-
Standard 4 lane port
IB/1/1
Split port
IB/1/1/1
and
IB/1/1/2
Iblinkinfo shows the ports like this;-
Standard 4 lane port (These two represent port 1 - iblinkinfo shows 81 ports (81st port is aggregation node) in total)
Port 1[  ] ==( 4X      53.125 Gbps Active/  LinkUp)
Port 2[  ] ==(                Down/ Polling)
Split port (Port 1 split)
Port 1[  ] ==( 2X        53.125 Gbps Active/  LinkUp)
Port 2[  ] ==( 2X        53.125 Gbps Active/  LinkUp)
Setting the switch device to have 80 ports in NautoBot does workaround this fine for the ports, but, split cables are represented as two separate cables.
Interface creation ideas.
When creating an interface in NautoBot, the current system has you pick InfiniBand from a list of connection types and has the bandwidth for only 1 lane listed in brackets. InfiniBand generally uses QSFP56 as the connector for HDR. Perhaps having InfiniBand as a check box option above the Type dropdown, which then once pressed, would change the Type dropdown to a Connector dropdown which would only show connector types (QSFP56, QSFP28 etc).
Next an option for the number of lanes - 1, 2, 4, 8, 12 etc - have it also have a Gbps speed window update to show the speed based on the number of lanes selected.
An HDR switch can have EDR, FDR, etc devices connect to it as well - therefor there needs to be a way for the switch device view to show this. For example, once an EDR device has been cabled to an HDR device, have the HDR device show that port as running as EDR and the number of lanes and total speed.
Cabling
Perhaps having a C side option for split cables. Click a box to enable the additional connection 'C'.
These features may not be of use to many people and would be a lot of work to implement. But, for those with large InfiniBand networks, it would be fantastic. Spreadsheets only go so far. The current commercial products out there are pretty awful too.
Cheers!


sdk is broken (0.5.9)

The sdk seems to be broken, not even the "example/" would run or compile.
when trying to run the example, there are tons of compilation errors.
Launching lib\main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/google_fonts-2.3.0/lib/google_fonts.dart:2881:7: Error: No named parameter with the name 'displayLarge'.
      displayLarge: GoogleFonts.aBeeZee(textStyle: textTheme.displayLarge),
      ^^^^^^^^^^^^
../../../flutter/packages/flutter/lib/src/material/text_theme.dart:81:9: Context: Found this candidate, but the arguments don't match.
  const TextTheme({
        ^^^^^^^^^
../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/google_fonts-2.3.0/lib/google_fonts.dart:2968:7: Error: No named parameter with the name 'displayLarge'.
      displayLarge: GoogleFonts.abel(textStyle: textTheme.displayLarge),
      ^^^^^^^^^^^^
../../../flutter/packages/flutter/lib/src/material/text_theme.dart:81:9: Context: Found this candidate, but the arguments don't match.
  const TextTheme({
        ^^^^^^^^^
../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/google_fonts-2.3.0/lib/google_fonts.dart:3083:7: Error: No named parameter with the name 'displayLarge'.
      displayLarge: GoogleFonts.abhayaLibre(textStyle: textTheme.displayLarge),
      ^^^^^^^^^^^^
      (..... over 1000 errors like these....)

---- snip ----
lib/exts.dart:165:35: Error: The getter 'name' isn't defined for the class 'SimulateScenarioResult'.
 - 'SimulateScenarioResult' is from 'package:livekit_example/exts.dart' ('lib/exts.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
                    child: Text(e.name),
                                  ^^^^
../lib/src/utils.dart:82:37: Error: The getter 'name' isn't defined for the class 'TargetPlatform'.
 - 'TargetPlatform' is from 'package:flutter/src/foundation/platform.dart' ('../../../flutter/packages/flutter/lib/src/foundation/platform.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
          os: defaultTargetPlatform.name,
                                    ^^^^
../lib/src/core/signal_client.dart:408:29: Error: The getter 'name' isn't defined for the class 'ConnectionState'.
 - 'ConnectionState' is from 'package:livekit_client/src/types/other.dart' ('../lib/src/types/other.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
        '${_connectionState.name} -> ${newValue.name}');
                            ^^^^
../lib/src/core/signal_client.dart:408:49: Error: The getter 'name' isn't defined for the class 'ConnectionState'.
 - 'ConnectionState' is from 'package:livekit_client/src/types/other.dart' ('../lib/src/types/other.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
        '${_connectionState.name} -> ${newValue.name}');
                                                ^^^^
../lib/src/internal/events.dart:106:59: Error: The getter 'name' isn't defined for the class 'ConnectionState'.
 - 'ConnectionState' is from 'package:livekit_client/src/types/other.dart' ('../lib/src/types/other.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
  String toString() => '$runtimeType(newState: ${newState.name}, '
                                                          ^^^^
../lib/src/core/engine.dart:507:73: Error: The getter 'name' isn't defined for the class 'DisconnectReason'.
 - 'DisconnectReason' is from 'package:livekit_client/src/types/other.dart' ('../lib/src/types/other.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
        .info('onDisconnected state:${_connectionState} reason:${reason.name}');
                                                                        ^^^^
../lib/src/core/engine.dart:637:29: Error: The getter 'name' isn't defined for the class 'ConnectionState'.
 - 'ConnectionState' is from 'package:livekit_client/src/types/other.dart' ('../lib/src/types/other.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
        '${_connectionState.name} -> ${newValue.name}');
                            ^^^^
../lib/src/core/engine.dart:637:49: Error: The getter 'name' isn't defined for the class 'ConnectionState'.
 - 'ConnectionState' is from 'package:livekit_client/src/types/other.dart' ('../lib/src/types/other.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
        '${_connectionState.name} -> ${newValue.name}');
                                                ^^^^

I just confirmed it compiles Android / Web / macOS so far, using the latest Flutter Stable SDK.
What version of Flutter SDK are you using ?

Thanks @hiroshihorie
I was using Flutter 2.5.2 • channel stable
I upgraded to Flutter 2.10.5  • channel stable
and now it works ;)


localhost:3000 no data

this is my tribeca.json

when i open localhost:3000,this is no data

This is the environment variable that I've set up.

Excuse me, why doesn't my page have data?

Did you ever resolve this?

@ldc2726 I solved it.
If you send me a message I can help you out most likely.

@Dreem-lense 你好，我也是这种问题，无论是在linux上运行还是在window本地上运行，都是没有行情数据，请问原因会出在哪呢？

@Dreem-lense Hello, I am also the problem, whether it is running on Linux or running on Windows, there is no market data. Where is the reason?

@Dreem-lense According to the document, I chose to install it manually. The other configuration is the same as his. I use OkCoin. I don't know whether websocket is not usable.

I tried to run it with "EXCHANGE:null" mode in my local. In browser, it displays only empty datas. Nothing works. any idea ?

What kind of data do you expect to get if you don't chose an exchange?
Le ven. 18 mai 2018 08:45, tony-stark001<EMAIL_ADDRESS>a
écrit :

I tried to run it with "EXCHANGE:null" mode in my local. In browser, it
displays only empty datas. Nothing works. any idea ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/michaelgrosner/tribeca/issues/211#issuecomment-390111117,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGizFqbr3QEZbvN-7Pd_p94OZmZJJWjvks5tzm4YgaJpZM4RfWI_
.

Hi @Camille92 , thanks for the reply. So this package will only work for api's like, OkCoin,CoinBase,etc., ?

yes, unless you code it otherwise.

Le 18 mai 2018 à 11:26, tony-stark001<EMAIL_ADDRESS>a écrit :
Hi @Camille92 https://github.com/Camille92 , thanks for the reply. So this package will only work for api's like, OkCoin,CoinBase,etc., ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/michaelgrosner/tribeca/issues/211#issuecomment-390150321, or mute the thread https://github.com/notifications/unsubscribe-auth/AGizFraEzzbW2reBAS3hP6uw5caJ5XMIks5tzpPXgaJpZM4RfWI_.

I have posted a question here. Can you tell me is it possible ?

@ldc2726 Hi I also have a problem no data available in the Web UI. Could you tell me how to solve it?


[Feature Request]: Make the editor choice a user preference

Describe the feature you'd like
The choice between WYSIWYG and Markdown editor should be set as user preference, not as application configuration, except, eventually for the default editor.
Describe the benefits this feature would bring to BookStack users
Each user could contribute using his preferred editor, not the admin's choice.
Additional context
No response

Hi @taophp,
This is already open within issues #119, #369, #458 and #842 so I'll therefore close this off as a duplicate.


Fixes incorrect description of RDS encryption policy

Changed description to reflect the actual content of the policy as suggested in #538

Thanks @alex-petrov-vt for your contribution. I'll let @cesar-rodriguez take a look at this as well.


Add project configuaration.

I've added the possibility to create a lumen_config.json file and configure the behavior of lumen.
an example for a config json could be
{
    "model_provider": "ollama",
    "model": "mistral",
    // "api-key": "<api-key>", this could be added if needed
    "prefix": {
        "docs": "document changes",
        "feature": "new feature",
        // this accepts any key and will write this object as a string given to the AI prompt
    }
}

Neat.
I have a couple of opinions

I don't like the name prefix - doesn't communicate the idea well enough. I think a better name would be commit_types
Instead of model_provider, it should be ai_provider to stay consistent with the env var names
I prefer the name LumenConfig instead of ProjectConfig
The configuration.rs file should take care of all the 3 ways (file, cli-flags, env) we could get the config. So inside run, we should only see something like let config = Config::build(). It should also do all the error handling, by creating a new LumenConfigError.
Each of the command should now take a config of its own, so future additions to these commands will not affect the signature of the function. Instead of fn draft(diff, context, commit_types), it should be fn draft(diff, config). This also applies to other commands but we can change them later on.
The config should be extensible and applicable to all commands. commit_types is not applicable to explain or list, so the API should probably look something like commands.draft.commit_types
There should be a CLI flag to specify path of the config file, which defaults to lumen.config.json
I would like the default config to be named lumen.config.json, following the new eslint config's format

I do have some other points but these are the most important ones for now.
Let me know if you have any concerns and if you would like to work on these changes. I am happy to pick up where you left off as well.
Note: I will not be having my laptop for this coming week 🌴 so expect responses to be delayed :)

Heads up, I have made some changes in the direction of point 5.
The change just refactors the command file and makes a step in the direction of command configs
Next: the AIProvider command implementations can just use the CommandType as an input instead of multiple arguments

Update, point 5 is merged
Apologies for the conflicts, but the project structure is much more maintainable

I'll resolve the conflicts, and will start working on the listed points.

Might be easier to start from scratch

Yeah, that sounds more reasonable. I've got one question, would you like the config to be a part of the AIPrompt struct, or should I pass it as it's own argument to the functions?

It wasn't that hard to merge, but check the code, I've implemented all the points except point 6. I'll be doing it and handling through LumenError in next commit

I've implemented point 6 in the latest commit now a json file would look like this:
{
    "ai_model": "phind",
    "draft": {
        "docs": "Documentation only changes",
        "style": "Changes that do not affect the meaning of the code",
        "refactor": "A code change that neither fixes a bug nor adds a feature",
        "perf": "A code change that improves performance",
        "test": "Adding missing tests or correcting existing tests",
        "build": "Changes that affect the build system or external dependencies",
        "ci": "Changes to our CI configuration files and scripts",
        "chore": "Other changes that don't modify src or test files",
        "revert": "Reverts a previous commit",
        "feat": "A new feature",
        "fix": "A bug fix"
    }
}

I've resolved the conflicts with main and added error handling using the LumenError. Is there additional changes I should do?

Hi, I don't have my laptop for a couple more days. I want to test this out before merging it and might also add some changes.
I'll prevent merging any other changes to not introduce new conflicts - thanks!

Merging your PR into feature/project-config-file
I would like to test it out and make some additional changes before merging to main


quality level show in jade cant be translate to other language.

the quality level (iron, gold, diamond) show in Jade mod cant be translate to other language by writing a lang file.

Fixed in the latest version
(Currently uploading)