How to bind a signal of MutableObservableArray(s) to a MutableObservableArray2D ?

Context
I have 2 MutableObservableArray (with identical element types). Each array will change over time and I would like to feed them to a MutableObservableArray2D. That array, in turn, will be fed to a UITableView and would, in this particular case, have 2 sections.
So is this possible ?
Example
This is so far what I narrowed it down to as the most likely candidate, but it's still not working :
        arrayA
            .combineLatest(with: arrayB)
            .map { ($0.collection, $1.collection) }
            .map { [("A", $0), ("B", $1)] }
            .bind(to: AB2DArray)

At the moment I am getting the following error :
Cannot convert value of type 'MutableObservableArray2D<String, String>' (aka 'Property<TreeChangeset<TreeArray<Array2DElement<String, String>>>>') to expected argument type 'UIPickerView'

Any ideas ?

It's not as easy as it seems.
MutableObservableArray<T> emits events of the element type OrderedCollectionChangeset<[T]>. The changeset contains both the collection (array) itself, as well as the description of changes (diff).
To merge two or more observable arrays into one 2D array you have to merge one or more OrderedCollectionChangeset<[T]> into one TreeChangeset<Array2D<U, T>>.
We can start by doing the following
let a = MutableObservableArray([1, 2, 3])
let b = MutableObservableArray([10, 20, 30])

let ab = a.combineLatest(with: b) { (a: OrderedCollectionChangeset<[Int]>, b: OrderedCollectionChangeset<[Int]>) -> TreeChangeset<Array2D<String, Int>> in
    let array2D = Array2D(sectionsWithItems: [("A", a.collection), ("B", b.collection)])
    let diff = OrderedCollectionDiff<IndexPath>() // empty diff
    return TreeChangeset(collection: array2D, diff: diff)
}

You can then bind ab signal to a table or a collection view and you'll get two sections. You can also bind it to a MutableObservableArray2D instance, although it's not necessary just for the sake of the table/collection view bindings.
This will work, however each change to any of the source arrays will trigger table/collection view reload. You won't get fine-grained updates. The reason is that we've ignored diffs from a and b, we are sending just the empty diff and the empty diff makes the view reload the data.
To improve, we should merge the diffs from the source arrays into a 2D array diff, i.e. a tree diff. Source array diffs are of the type OrderedCollectionDiff<Int>. We need to merge those into single OrderedCollectionDiff<IndexPath> diff.
Diffs are just arrays of indices that describe changes. We need to transform Int indices that refer to source arrays into IndexPath indices that refer to the destination 2D array. There is a map on the diff type that maps indices so we can use that. It idea here is to group arrays into sections in order they are passed into.
Let's implement this in a convenience initializer of OrderedCollectionDiff
extension OrderedCollectionDiff where Index == IndexPath {

    init(sectionArraysDiffs diffs: [OrderedCollectionDiff<Int>]) {
        let diffs = diffs.enumerated().map { (pair: (Int, OrderedCollectionDiff<Int>)) -> OrderedCollectionDiff<IndexPath> in
            let section = pair.0
            let diff = pair.1
            return diff.map { IndexPath(item: $0, section: section) }
        }
        self.init(
            inserts: diffs.flatMap { $0.inserts },
            deletes: diffs.flatMap { $0.deletes },
            updates: diffs.flatMap { $0.updates },
            moves: diffs.flatMap { $0.moves }
        )
    }
}

Now we can do
let ab = a.combineLatest(with: b) { (a: OrderedCollectionChangeset<[Int]>, b: OrderedCollectionChangeset<[Int]>) -> TreeChangeset<Array2D<String, Int>> in
    let array2D = Array2D(sectionsWithItems: [("A", a.collection), ("B", b.collection)])
    let diff = OrderedCollectionDiff<IndexPath>(sectionArraysDiffs: [a.diff, b.diff])
    return TreeChangeset(collection: array2D, diff: diff)
}

and our ab signal will then contain the fine-grained changes (diff) too.
To make things nicer, we could make a function that can combine N observable array signals into a single 2D array signal:
func combineIntoArray2DChangeset<S: SignalProtocol, T>(_ signals: [S], sections: [T]) -> Signal<TreeChangeset<Array2D<T, S.Element.Collection.Element>>, S.Error> where S.Element: OrderedCollectionChangesetProtocol, S.Element.Collection.Index == Int {
    return combineLatest(signals.map { $0.toSignal() }, combine: { (changesets) -> TreeChangeset<Array2D<T, S.Element.Collection.Element>> in
        let sectionsWithItems = Array(zip(sections, changesets.map { Array($0.collection) }))
        let array2D = Array2D(sectionsWithItems: sectionsWithItems)
        let diff = OrderedCollectionDiff(sectionArraysDiffs: changesets.map { $0.diff })
        return TreeChangeset(collection: array2D, diff: diff)

    })
}

It's a bit uglier than I wanted it to be, but it enables us to do the following:
let a = MutableObservableArray([1, 2, 3])
let b = MutableObservableArray([10, 20, 30])

let ab = combineIntoArray2DChangeset([a, b], sections: ["A", "B"])

ab.bind(to: tableView, cellType: Cell.self) { (cell, item) in
    // todo
}

Great ! Thanks a lot for the detailed explanation and code. This works really well.

Great ! Thanks a lot for the detailed explanation and code. This works really well.

Would there be a way to make this more generic down the road ? I.e. by adding it to a MutableObservableArray's combine operation (so they can be chained) ? Something along the lines of :
MutableObservableArray.combine(with:sections:)

At this point I don't have something like that in plan as it does not seems the be general enough.


Replace spec with links to spec in pulumi-hugo

This commit follows up on https://github.com/pulumi/pulumi-hugo/pull/1665 by removing the spec from the README here, replacing it with a link to the page on the website (for viewing), and the file in the repo (for editing).
This anticipates the PR mentioned above being merged, and should not be merged itself until the change there is live.

I rebased this, and resolved the conflict between this PR and https://github.com/pulumi/pulumi-yaml/commit/49c0c85894c7260d63a51ea275e122a98cd11ca7 by sticking with my changes, and creating https://github.com/pulumi/pulumi-hugo/pull/1712 -- in other words, I ported the change made to the spec here, to the website.

The spec is live on the docs site: https://www.pulumi.com/docs/reference/yaml/ -- so this can be considered for merging.


Clean up llvm-config options

Does a few small things:
1- orders our search in terms of preference where we prefer newer LLVMs to
older ones. Generic llvm-config is considered the least desirable.
2- only search in the users PATH. don't go poking into "magic" directories
where some tool might have installed a version looking for llvm-config.
If we do that, then it makes it impossible for a user with more than 1
LLVM installation to pick the version to use based solely on their PATH.

My editor changed the formatting on the Makefile to be the correct tabs instead of spaces. Not sure if want that or not. I'm leaving for now. Line 229 is the meat of the real change.

Given we aren't using  .RECIPEPREFIX , it really should be tabs not spaces. AND that is only supported in GNU make.

Wow tab change broke something.


Fix #160, add filter for library

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

108 of 108 (100.0%)  changed or added relevant lines in 15 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1021

Relevant Lines:
1021

💛  - Coveralls


removed splash screen

Fixes #446
Test plan (OPTIONAL)
A good test plan should give instructions that someone else can easily follow.
How someone can test your code?
Checklist

[ ] I have mentioned related issue number in PR description.
[ ] I have added screenshots and related demo links of my changes..
[ ] The title of my pull request is a short description of the requested changes.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] Open Source Program names(OPTIONAL: If you participated in any open-source program then please mention the program name here)

Share the website link so I can review the changes?

file:///Users/harshit/Desktop/Movie-Streaming-Website/home.html

How can I share my local html changes here ?
can you guide

How can I share my local html changes here ?
can you guide

Deploy website on GitHub pages or netlify then share the link.

How can I share my local html changes here ?
can you guide

Please share the link @harshit-dugar


fix(ui): add CopyButton to preimage in Payment modal

Description:
Add CopyButton to preimage in Payment modal
Motivation and Context:
fix #2490
How Has This Been Tested?
Manually
Screenshots (if appropriate):

Types of changes:
Enhancement
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[x] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage remained the same at 20.147% when pulling 1bb9776364e2b2df7929114fb472abe691fb80e7 on mrfelton:fix/2490-preimage-copybutton into 2e911992cc02df7530dc433a0d16b9537b75a4bc on LN-Zap:next.

Coverage remained the same at 20.147% when pulling 1bb9776364e2b2df7929114fb472abe691fb80e7 on mrfelton:fix/2490-preimage-copybutton into 2e911992cc02df7530dc433a0d16b9537b75a4bc on LN-Zap:next.

Good catch @korhaliv . Updated


Can't to run examples

I used instruction to run the tests
https://github.com/Atlantic18/DoctrineExtensions#running-the-tests
and it's okay (only 73 test was skipped)
after that I've tried to run example
https://github.com/Atlantic18/DoctrineExtensions#running-the-example
after I wrote in console php example/run.php I had exception:
PHP Fatal error:  Uncaught exception 'Doctrine\Common\Persistence\Mapping\MappingException' with message 'Class 'Entity\Category' does not exist' in /var/www/doctrineextensions/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php:96
Stack trace:
#0 /var/www/doctrineextensions/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php(41): Doctrine\Common\Persistence\Mapping\MappingException::nonExistingClass('Entity\Category')
#1 /var/www/doctrineextensions/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(281): Doctrine\Common\Persistence\Mapping\RuntimeReflectionService->getParentClasses('Entity\Category')
#2 /var/www/doctrineextensions/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(311): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getParentClasses('Entity\Category')
#3 /var/www/doctrineextensions/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Class in /var/www/doctrineextensions/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php on line 96

half of the tests are running with doctrine mongo ODM, if you do not have mongodb extension or service running they will skip..
example was not running because of an update from PR which I haven't fully investigated well, it is not tested.. thanks for noticing it ;)

also regarding PHP7 mongodb odm is broken with old extension dependency..


all the changes in the code aren't highlighted.

The code provided in the docs is not highlighting all the changes that were made in the context after adding the genre search in the Index.cshtml file.

The foreach loop was changed as the model changed but is not highlighted, so when following along the tutorial I was stuck finding what did I do wrong, since I only changed the highlighted lines in the files (like anyone else following along would do).
I think that line should be highlighted for the convenience of the reader 😁.
The code block in the markdown docs is on line 273 that points to IndexFormGenreNoRating.cshtml file and in the query parameter it says to highlight that particular line(i.e line 43) but as in the screenshot that I shared it doesn't seem to work.
OS Information
Distributor ID:	Ubuntu
Description:	Ubuntu 21.10
Release:	21.10
Codename:	impish

Browser Information
Firefox Browser 96.0 (64-bit)

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

ID: f9b9859c-b83c-5fc3-41d5-15531232185f
Version Independent ID: 5438de31-8562-3747-d1a5-2a4622252fc1
Content: Part 7, add search to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/search.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

What code? Where in the docs? Please don't use images, copy/paste code. I can't copy and image and search.

Any chance you could PR this? At the top right of the article, select the Edit pen icon:

Select the pen icon again. Save.

Like I said above in the below line this code points to that code block in the docs.
[!code-cshtml[](~/tutorials/first-mvc-app/start-mvc/sample/MvcMovie22/Views/Movies/IndexFormGenreNoRating.cshtml?highlight=1,15,16,17,19,28,31,34,37,43)]

The line that isn't highlighted:
        @foreach (var item in Model.Movies)

And in the highlight query (?highlight=) there is the line number(i.e 43) which isn't highlighted, I thinks there is some internal problem.
And I'm having the same problem on another machine as well, it's information:
Browser Info : Google Chrome Version 97.0.4692.71 (Official Build) (64-bit)
OS Info
Edition	Windows 11 Home Single Language
Version	21H2
Installed on	10/21/2021
OS build	22000.434
Experience	Windows Feature Experience Pack 1000.22000.434.0


Proposal: Reduce Pipeline.map's IPC overhead with chunking

Hi @basnijholt,
I've been using pipefunc on a scientific computing workflow and have been so far quite impressed by how much simpler my codebase became and the overall developer experience of pipefunc in general.
Thanks for you work!
I ran into the problem that mapspec introduced quite a lot of overhead for some PipeFuncs which compute much faster than the overhead introduced by for instance ProcessPoolExecutor.submit().  However, performing these computations manually with ProcessPoolExecutor.map() with an adequate chunksize is rather performant, as chunking the inputs minimizes IPC
(running ProcessPoolExecutor.map(chunksize=1) leads to a similar performance loss.)
Unfortunately, the current implementation of Pipeline.map() with mapspec does not allow a similar optimization (without custom parallelization) and each mapspec computation (each index) results in a Executor.submit() call, while mapspec computations of the same PipeFunc with a large set of inputs could be easily batched just like its done in ProcessPoolExecutor.map() for instance.
As I did not want to resort to custom parallelization within a PipeFunc in this scenario, I am currently implementing a chunksize option to Pipeline.map() on my fork of pipefunc which allows the user to specify chunksizes for different Pipefuncs, similar to specifying different Executor instances.
Internally I have modified the _run_iteration_and_process() function to handle lists of indexes instead of a single index and added some prior index batching in _maybe_parallel_map and unpack the result array after calling _result() on the concurrent.futures.Future instance.
def _run_iteration_and_process(
    index_chunk: list[int],
    func: PipeFunc,
    kwargs: dict[str, Any],
    shape: tuple[int, ...],
    shape_mask: tuple[bool, ...],
    arrays: Sequence[StorageBase],
    cache: _CacheBase | None = None,
    *,
    force_dump: bool = False,
) -> list[tuple[Any, ...]]:

    chunk_outputs = []

    for index in index_chunk:
        selected = _select_kwargs_and_eval_resources(
            func, kwargs, shape, shape_mask, index
        )
        output = _run_iteration(func, selected, cache)
        outputs = _pick_output(func, output)
        _update_array(
            func,
            arrays,
            shape,
            shape_mask,
            index,
            outputs,
            in_post_process=False,
            force_dump=force_dump,
        )
        chunk_outputs.append(outputs)
    return chunk_outputs

On the simple benchmark below I achieved a performance increase from about 85 seconds to 0.3 seconds for the total runtime of Pipeline.map() on my machine running Python 3.11.2 (Setting chunksize=1 results in about the same behaviour as currently implemented in pipefunc).
I am using the same chunksize that is implemented in multiprocessing.Pool.map() as the default chunksize.
def sample_function(x: float) -> float:
    return x**3

samples = np.random.randint(0, 100, 10**5)

sample_function_node = PipeFunc(
    sample_function, "sample_result", mapspec="x[i] -> sample_result[i]"
)
sample_pipeline = Pipeline([sample_function_node])

with ProcessPoolExecutor() as ex:
    chunksize, extra = divmod(len(samples), ex._max_workers * 4)
    if extra:
        chunksize += 1

    with Timer(f"Pipeline[chunksize={chunksize}]"):
        sample_pipeline.map(
            dict(x=samples),
            executor=ex,
            output_names=["sample_result"],
            storage="dict",
            chunksizes={"sample_result": chunksize},
        )

    with Timer(f"Pipeline[chunksize={1}]"):
        sample_pipeline.map(
            dict(x=samples),
            executor=ex,
            output_names=["sample_result"],
            storage="dict",
            chunksizes={"sample_result": 1},
        )

Just give me a heads-up if you are interested in adding this enhancement to pipefunc so that I can prepare a PR or whether you have other plans for parallelization that would conflict with this solution.

I've been using pipefunc on a scientific computing workflow and have been so far quite impressed by how much simpler my codebase became and the overall developer experience of pipefunc in general.

@LennartGevers, that is awesome! Could I ask how you found out about PipeFunc? I want to get it in the hands of more folks! 😄
About the chunksize, that is a very good idea! It was already on the very long list of improvements I still want to make at some point. I would very much appreciate if you could help out and make a PR! :tada: 🚀
I also find it satisfying that you have been able to make this change relatively easily, which means my effort to make the code maintainable/understandable worthwhile.

@basnijholt, I've found out about pipefunc through this reddit post. I was at that time looking for a pipeline framework for a python backend at wortk but found pipefunc to be well suited for my bachelors thesis project. It was actually quite pleasant to make the changes in your codebase, it does seem quite understandable😄.
I will setup a proper dev environment for pipefunc and do the remaining integration and some unittesting of this feature. Perhaps you have an idea how this option should be expose by Pipeline.map() to the user? Otherwise I would stick to the chunksizes dictionary, which takes an integer or maybe also a callable for each PipeFunc, simmilar to the executor option.

through this reddit post

Good to know! Will post it to Reddit at some low frequency 😄

how this option should be expose by Pipeline.map() to the user

I think a dict with chunksizes from output_name -> int makes sense!

dev environment

Setting up a dev env should be as simple as pip install -e ".[dev]"
Thanks again!

@LennartGevers did just that ;)

@LennartGevers did just that ;)

Looks good! I'll let you know if I stumble upon some places where you could also make some promo for pipefunc 😄


script: weekly insertions summary

We already have an endpoint for this: /doi/inserted/{idate}. However, the JSON output needs to be parsed into a user-friendly summary. I'd like a script that lists which DOIs were added this week, and if possible, who added it/how it was added.
I'd also like the script to (literally) highlight DOIs that meet the following criteria:
is either CrossRef or arXiv
has a jrc_publishing date within the past 6 weeks
is not a version of an existing paper (this doesn't include preprint-paper relations, just "is version of")
does not have a jrc_newsletter date.
This will allow me to quickly see which DOIs you caught and which DOIs I caught, while also quickly filtering out the DOIs we don't (yet) care about.
This is only a medium-ish priority.

Done. This is currently on a branch called "qc", in the folder utility/bin/qc_testing/paper_discovery_manual_vs_sync


Set up infra as code

[ ] update vagrant file

Acceptance Criteria

Assuming this is the vagrant file, so done.


Hyperlink to another sheet

Hello there,
How works hyperlink or formulas inside xlsx. Example: HYPERLINK("sheet1!a1";"click me")?
Regards!

Hyperlinks inside Excel not supported for now

wait pls, I'll release 1.3 today, there works
link text

\o/ Thank you so mutch

see 1.3.10
https://github.com/shuchkin/simplexlsxgen#data-types

Worked the link, but now have a error: SimpleXLSXGen.php (752) Undefined offset: 1"

Worked the link, but now have a error: SimpleXLSXGen.php (752) Undefined offset: 1"

what php version, and what string value triggered this error?

fixed

what php version: 7.3.29
and what string value triggered this error? 1.28.632

Success! Thank you very much


problem with PS docker image

Just try this image https://hub.docker.com/r/lalyos/powershell/
?1h=PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
nnPS /> nn
Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
Last 0 Keys:
Exception:
System.DivideByZeroException: Attempted to divide by zero.
at Microsoft.PowerShell.PSConsoleReadLine.Initialize(Runspace runspace, EngineIntrinsics engineIntrinsics)
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

FWIW,
I get the exception on the microsoft/powershell:latest image, however PS is usable after that one. It happens only once when firing up the docker image.
Here's the output of the script mentioned when opening a new issue:
PS version: 6.0.0-beta
PSReadline version: 1.2
os: Linux c27fd96181fd 4.2.8 #1 SMP Tue Jun 6 06:03:33 CST 2017 x86_64 x86_64 x86_64 GNU/Linux
PS file version:
On the docker image there's no powershell.exe, but powershell. $((dir $pshome\powershell).VersionInfo.FileVersion) produces no output for that though.

Closing - I can't repro using the latest docker images. Reopen if you see it again.


frontend_server_dart: No such file on 3.16.6

Steps to reproduce
Following a Flutter upgrade from 3.16.5 to 3.16.6, running flutter clean and then my project with flutter run --flavor dev --t main_dev.dart resulted in an error.
Expected results

build the app correctly

Actual results

The project is not running

Logs
Logs
Launching lib/main_dev.dart on sdk gphone64 arm64 in debug mode...
../../../../../flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot: Error: Error when reading '../../../../../flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot':
No such file or directory
the Dart compiler exited unexpectedly.
the Dart compiler exited unexpectedly.
Running Gradle task 'assembleDevDebug'...    ```

</details>

### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Community Edition (version 2023.2.3)
[✓] VS Code (version 1.85.1)
[✓] Connected device (5 available)
[✓] Network resources

! Doctor found issues in 1 category.

Thanks for filing this @Abdalqader27.
Please can you provide more information on this?

Did you run flutter clean in project then flutter pub get before running flutter run --flavor dev --t main_dev.dart? Was this the case?
Also does this happen with newly created projects or only existing ones?

This might be similar/related to https://github.com/flutter/flutter/issues/27835, can you check it out as well?

Hey @dam-ease,
I encountered an issue after upgrading to version 3.16.6. When I ran flutter run --flavor dev --t main_dev.dart, I faced a problem. I attempted to resolve it by executing flutter clean and then flutter pub get, but the issue persisted. This problem occurred in both newly created projects and existing ones.
To resolve it, I took the step of removing the entire Flutter SDK and manually downloading it from https://docs.flutter.dev/get-started/install/macos/mobile-ios?tab=download. This approach proved successful.
It appears that the problem arises specifically during the upgrade process, and it seems that the file frontend_server.dart.snapshot was somehow removed during the upgrade.

Thanks for your response @Abdalqader27.
This could be related to changes in flutter/bin/cache during the upgrade process.
Labelling for more insights per https://github.com/flutter/flutter/issues/27835#issuecomment-462725525

Thanks for your response @Abdalqader27. This could be related to changes in flutter/bin/cache during the upgrade process. Labelling for more insights per #27835 (comment)

I don't think that is related.
I could not reproduce this on macOS with version 3.16.6. @Abdalqader27 could you flutter upgrade to the newest 3.16.7, and let me know if you can reproduce this?

Hello @christopherfujino, my apologies for the delayed reply. Unfortunately, I wasn't able to recreate it. I suggest we consider closing this issue for the time being.

I'm currently seeing this as well on the latest master channel. I have a frontend_server_aot.dart.snapshot file, but no frontend_server.dart.snapshot. My Flutter installation comes from source, which I blew away and re-cloned, but that did not create the file.
I then changed to the stable channel, and the file was created. I then changed back to the master channel, and it seems to have been deleted again.
This is currently blocking me from running dart run build_runner build on master.

I'm currently seeing this as well on the latest master channel. I have a frontend_server_aot.dart.snapshot file, but no frontend_server.dart.snapshot. My Flutter installation comes from source, which I blew away and re-cloned, but that did not create the file.
I then changed to the stable channel, and the file was created. I then changed back to the master channel, and it seems to have been deleted again. I then changed to beta and it was once again restored.
This is currently preventing running dart run build_runner build on master.

@craiglabenz are you saying that you can consistently reproduce this on master? Can you share the output of flutter doctor -v?

Welp, I just switched back to the master channel and the issue is not repeating. Again, I have frontend_server_aot.dart.snapshot and not frontend_server.dart.snapshot, but now build_runner runs just fine 😱

Re-opening this as I've seen several reports of this

@a-siva & @derekxu16 I think we should consider reverting https://dart.googlesource.com/sdk.git/+/0165643fa76973ad5a3a1ebe5131a9bd8f121f69^!/#F0, as it seems like a lot of existing applications have an older version of frontend_server_client in their pubspec.lock that will be broken by this change.

@a-siva & @derekxu16 I think we should consider reverting https://dart.googlesource.com/sdk.git/+/0165643fa76973ad5a3a1ebe5131a9bd8f121f69^!/#F0, as it seems like a lot of existing applications have an older version of frontend_server_client in their pubspec.lock that will be broken by this change.

Why do these apps have an older version of frontend_server_client ? Is there a way of ensuring that the pubspec file gets updated when they move to a newer version of flutter?

Why do these apps have an older version of frontend_server_client ?

I could imagine if you have a pubspec.lock, it might not be part of your normal workflow to run pub upgrade.

Is there a way of ensuring that the pubspec file gets updated when they move to a newer version of flutter?

We do if and only if your current working directory is a Flutter project: https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/commands/upgrade.dart#L328

Why do these apps have an older version of frontend_server_client ?

I could imagine if you have a pubspec.lock, it might not be part of your normal workflow to run pub upgrade.

I would classify this as a user error in that an update is being done to a newer version of Flutter without the corresponding change to dependent packages.

The need to run $ flutter upgrade here was not at all apparent to me. At a minimum, it seems like any code that uses one of these snapshots should first confirm its existence and, if it's missing, suggest commands the user might run.

The need to run $ flutter upgrade here was not at all apparent to me. At a minimum, it seems like any code that uses one of these snapshots should first confirm its existence and, if it's missing, suggest steps the user might take.

The real fix here would have been to run dart pub upgrade in your project--if you had run flutter upgrade while in the same directory, it would have incidentally done this.
For better or worse, I suspect most users do not assume they should run {flutter|dart} pub upgrade in an existing project when changing their Fluter or Dart SDK.

For better or worse, I suspect most users do not assume they should run {flutter|dart} pub upgrade in an existing project when changing their Fluter or Dart SDK.

Can some kind of message be added to the Flutter update process indicating that users have to run {flutter|dart} pub upgrade

At a minimum, it seems like any code that uses one of these snapshots should first confirm its existence and, if it's missing, suggest steps the user might take.

The real solution is change these packages to not have knowledge of the snapshot names, location etc. Instead the Dart CLI should provide commands to start these servers. //cc @bkonyi

After upgrading to Flutter 3.24, I was having the same issue. I fixed by upgrading the build runner to the latest version.
build_runner: 2.4.12

Not working for me.
  build_runner:
    dependency: "direct dev"
    description:
      name: build_runner
      sha256: dd09dd4e2b078992f42aac7f1a622f01882a8492fef08486b27ddde929c19f04
      url: "https://pub.dev"
    source: hosted
    version: "2.4.12"

Built build_runner:build_runner.
[INFO] Generating build script completed, took 232ms
[INFO] Precompiling build script......Could not find a command named "../../fvm/versions/stable/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot".

After upgrading to Flutter 3.24, I was having the same issue. I fixed by upgrading the build runner to the latest version.
build_runner: 2.4.12

not working for me ((

After upgrading to Flutter 3.24, I was having the same issue. I fixed by upgrading the build runner to the latest version.
build_runner: 2.4.12

not working for me ((

Try remove pubspec.lock and launching pub get.

After upgrading to Flutter 3.24, I was having the same issue. I fixed by upgrading the build runner to the latest version.
build_runner: 2.4.12

not working for me ((

Try remove pubspec.lock and launching pub get.

but now while building release app I have  this:

─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────────────────┐
│ [!] Your project requires a newer version of the Kotlin Gradle plugin.                                 │
│ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then update the  │
│ version number of the plugin with id "org.jetbrains.kotlin.android" in the plugins block of            │
│ /android/settings.gradle.                                    │
│                                                                                │
│ Alternatively (if your project was created before Flutter 3.19), update                                │
│ /android/build.gradle                                        │
│ ext.kotlin_version = '<latest-version>'                                                                │
└────────────────────────────────────────────────────────────────────────────────────────────────────────┘

but I already update kotlin
 id "org.jetbrains.kotlin.android" version "2.0.10" apply false

but I already update kotlin
id "org.jetbrains.kotlin.android" version "2.0.10" apply false

@Vrungel322, It's not right thread to this issue.
But i use id "org.jetbrains.kotlin.android" version "1.9.24" apply false and all right.
U should make settings.gradle in android/ folder and set settings block like this. Or see docs to migrate.
pluginManagement {
    def taskName = getGradle().getStartParameter().getTaskRequests().toString().toLowerCase()

    def flutterSdkPath = {
        def properties = new Properties()
        file("local.properties").withInputStream { properties.load(it) }
        def flutterSdkPath = properties.getProperty("flutter.sdk")
        assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
        return flutterSdkPath
    }
    settings.ext.flutterSdkPath = flutterSdkPath()

    includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")

    repositories {
        google()
        mavenCentral()
        gradlePluginPortal()
        // Configure the Maven repository address for the HMS Core SDK.
        maven {url "https://developer.huawei.com/repo/"}
    }
}

plugins {
    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
    id "com.android.application" version "7.3.1" apply false
    id "org.jetbrains.kotlin.android" version "1.9.24" apply false
    id "com.google.gms.google-services" version "4.3.15" apply false
    id "com.google.firebase.crashlytics" version "2.9.9" apply false
}

include ":app"

dart pub upgrade

it worked thanks

After upgrading to Flutter 3.24, I was having the same issue. I fixed by upgrading the build runner to the latest version.
build_runner: 2.4.12

not working for me ((

Try remove pubspec.lock and launching pub get.

Not working for me. Could you please provide more details? as I understood, you also use FVM, should I use fvm prefix for terminal commands in this case? Anyway, I've already tried several options:

remove pubspec.lock
run fvm flutter pub get
try to run fvm flutter packages pub run build_runner build --delete-conflicting-outputs
get the same error Could not find a command named "/fvm/versions/3.24.0/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot"

Hi @torindev, yes i use fvm and you should run all commands from fvm if you use it.
Try run this commands and enjoi.
rm -rf pubspec.lock
rm -rf ioc/Podfile.lock
(fvm) flutter clean
flutter cache clean
(fvm) flutter cache clean
pod cache clean
(fvm) flutter pub get
cd ios pod install
(fvm) fvm dart run build_runner build --delete-conflicting-outputs --release

Hi @torindev, yes i use fvm and you should run all commands from fvm if you use it.
Try run this commands and enjoi.
rm -rf pubspec.lock
rm -rf ioc/Podfile.lock
(fvm) flutter clean
flutter cache clean
(fvm) flutter cache clean
pod cache clean
(fvm) flutter pub get
cd ios pod install
(fvm) fvm dart run build_runner build --delete-conflicting-outputs --release

I've removed my previous comment, I didn't think that you will answer so fast 😄 looks like your initial suggest works well! anyway, thanks for the details!

I was also facing this issue. I deleted pubspec.lock and then flutter pub get. It fixed my issue.

but now while building release app I have this:

@Vrungel322, It's not right thread to this issue.

@ziqq, it might not be an issue with this thread, but it'd be better if the steps suggested (removing all of pubspec.lock) didn't potentially cause a bunch more issues like this to come up.
Is there a way to find out what package is causing the issue, so it can be upgraded on it's own?

After upgrading to Flutter 3.24, I was having the same issue. I fixed by upgrading the build runner to the latest version.
build_runner: 2.4.12

Not working for me.
  build_runner:
    dependency: "direct dev"
    description:
      name: build_runner
      sha256: dd09dd4e2b078992f42aac7f1a622f01882a8492fef08486b27ddde929c19f04
      url: "https://pub.dev"
    source: hosted
    version: "2.4.12"

Built build_runner:build_runner.
[INFO] Generating build script completed, took 232ms
[INFO] Precompiling build script......Could not find a command named "../../fvm/versions/stable/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot".

UPD: Removing pubspec.lock and launching pub get resolve my problem.

@ziqq Thankyou. Your solution worked for me. :)

I was also facing this issue. I deleted pubspec.lock and then flutter pub get. It fixed my issue.

Seems related to pubspec.yaml. I just removed isar generator and installed auto_route generator and got the error executing dart run build_runner build


Stats Module

Problem Statement
In order to even attempt cost-based query planning, SpiceDB needs to gather some metrics about the relationships that it is trying to traverse. This proposal is meant to more directly discuss details of a potential stats module that is alluded to in https://github.com/authzed/spicedb/issues/1573.
Solution Brainstorm
It has been a while since I filed https://github.com/authzed/spicedb/issues/1573, but I have been noodling on the stats module problem, and I wanted to capture some of my thoughts to see what kind of other thoughts they might generates from other folks.
There are a few high-level problems here that I'll try to ideate on:

Stats to track
HLL storage
Syncing
Deletes

Stats to track
This one is short. The stats module should be flexible enough to track additional metrics over time, but the clearest need is to track cardinality between relationships. As such, the stats module should expose the ability to fetch relationship cardinality estimates in its interface. Tracking the cardinality is touched on in https://github.com/authzed/spicedb/issues/1573, but I think the clearest path is to use a structure like HLLs to estimate cardinality in a memory-efficient way.
Whenever a relationship is created, an HLL for each end of that relationship would be updated. (More later on deletes)
Additional stats may be integrated as needed.
HLL storage
This one might be tricky. I see a few options which I'll try to outline exhaustively:

❌ Store HLLs in a DB-native way
Most DBs don't support truly native HLLs, and that is certainly true of the storage backends supported by SpiceDB. Some may require an extension to be installed or might not have a native option at all. Even if extensions existed for each backend, requiring users to install and upgrade special DB extensions is likely an unacceptable user experience for SpiceDB customers.
❌ Stats-specific storage
A dedicated storage option (like Redis) could be pulled in for storing stats. While Redis has fantastic support for HLLs, I personally do not like this approach as it still complicates the SpiceDB deployment story and also comes with some persistence concerns. Adding yet another piece to deploy and maintain is likely unacceptable, so I won't spend more time on it.
(Yes?) App-level HLLs stored as byte arrays
Expecting byte array support for a DB is reasonably table stakes, so the DB requirement here should be easy to meet. CockroachDB, Spanner, Postgres, MySQL. In this world, SpiceDB is responsible for operating on the HLLs and serializing them out as bytes within the DB. This is more complexity within SpiceDB itself, but likely worth the tradeoff of a more simplified deploy/customer experience.

Syncing
This section assumes app-level HLLs.
These stats are meant to be a heuristics by nature, so it should be okay for the data to be a little stale. It may make sense to have a goroutine running on the side and receiving events over a channel. As it receives events, it will update some in-memory HLLs. Separately, on some cadence (X minutes, X events, etc), the in-memory HLLs should be merged with the HLLs in the database. Since we lack DB-native HLL operations, this syncing will require a read-modify-write pattern where the updated HLLs need be read, deserialized, merged with the in-memory HLLs, and serialized out to the DB. There will be a balance between choosing a syncing cadence that is high enough to not cause DB lock contention while also being low enough to be uselessly out of date.
Deletes
Deletes get tricky and have the opportunity to throw off stats when performed with significant volume. Due to the probabilistic nature of HLLs, you can't really properly "delete" from it. Separate HLLs could be used to track deletes, but it's still ultimately a guess with potential to go wrong. This isn't really unique to SpiceDB as all DB stats modules have edge cases where the stats tracking may go awry, but it's worth calling out, being aware of, and having some sort of a plan for.
Other Thoughts?
Is it worth it to consider some equivalent of the ANALYZE command to allow SpiceDB users to force their stats to be updated after major operations? This could be useful for scenarios where large deletes have occured and thrown off stats.

Copying over some great context from @josephschorr in the Discord

could be a process which uses the watch API and updates in the background and out of band
That would prevent multiple writers
Could even be sharded
And if it provided its own grpc API, SpiceDB could call that to get the stats in-memory
Likely a great way to prototype

More context in thread here
https://discord.com/channels/844600078504951838/900405749405089812/1215155499264385045


[Bug Report] - Fix Failing Tests

Work on this can begin right away. However, it should not be submitted until ensuring there are no additional failing tests from #571 and #606.
Component tests to fix:

[x] BasicInfo.test.jsx - Andrew
[x] ContactListTable.test.jsx
[x] ContactListTableDesktop.test.jsx - Andy
[x] ContactListTableMobile.test.jsx - Andy
[ ] DocumentCard.jsx - Josh
[ ] DocumentsDesktop.jsx - Josh
[ ] DocumentsMobile.jsx - Josh
[x] HousingInfo.test.jsx - Andrew
[x] Messages.test.jsx - Andy
[x] PodRegistrationForm.test.jsx
[ ] Profile.test.jsx - Andrew
[x] Signup.test.jsx

Describe the bug:
Some of the tests are now failing.
Expected behavior:
Every test should pass to ensure maximum test coverage possible.
To Reproduce:
Steps to reproduce the behavior:

Run npm run test in the terminal

Additional context:
The tests fail due to changes in the related components. So they should be updated or, when relevant, rewritten according to each component's new specifications. For example, some have been broken up into multiple smaller components and so will need additional tests.
CivicProfile and FinancialInfo are not yet implemented and therefore do not require tests at this time

I've written a few of the tests now but would appreciate some assistance so we can get this done sooner rather than later. I'm not the quickest at these.

I'm fairly sure a bunch of these are timeouts which can be fixed by bumping up the global test timeout time or on a per-test basis.

@andycwilliams I may have accidentally fixed them all on #666, take a look.

@andycwilliams I don't see any obvious problems with BasicInfo or HousingInfo so I checked them off. Please let me know if there are others you'd like picked up (Profile?).

Added my name next to Profile.

Several more tests have been written as of #667. Only a handful more to go.

@AJSterner Any news on tests for Profile?

@andycwilliams Profile tests ready for an initial review:
https://github.com/codeforpdx/PASS/pull/673

Closed out Profile tests!


Table 'django_site' doesn't exist

$ ./manage.py migrate
django.db.utils.ProgrammingError: (1146, "Table 'myproj.django_site' doesn't exist")

Fixed, please update with new version.


Add interface nil checks

I added missing interface nil checks to prevent possible nil pointer dereferences.
Beside that, I think that preservBuf must always be larget than 0:
https://github.com/kubernetes-sigs/cri-o/blob/95ad21041c8a9f337673f97ecca7709daca8b8b2/utils/utils.go#L116-L121
because empty keys are not possible within the function:
https://github.com/kubernetes-sigs/cri-o/blob/95ad21041c8a9f337673f97ecca7709daca8b8b2/utils/utils.go#L92-L96

/ok-to-test
/approve
/test all

/test e2e_rhel

LGTM

/lgtm


magit log undefined keybinding

Hey, thanks a lot for this project, really helpful. Unfortunately I have an issue when trying to use magit and displaying the log of a git repo. SPC g g brings up the magit status buffer but when I press l (lower case L) to display the git log, I get no key for magit-log:-G. Enabling debug mode then shows:
Debugger entered--Lisp error: (error "No key for magit-log:-G")
  transient--exit-and-debug(error (error "No key for magit-log:-G"))
  error("No key for %s" magit-log:-G)
  #f(compiled-function (cl--cnm obj) #<bytecode 0x1bffb7086ba94780>)(#f(compiled-function (&rest args) #<bytecode -0x6940ba42f277a8f>) #<transient-option transient-option-4e384eb>)
  apply(#f(compiled-function (cl--cnm obj) #<bytecode 0x1bffb7086ba94780>) #f(compiled-function (&rest args) #<bytecode -0x6940ba42f277a8f>) #<transient-option transient-option-4e384eb>)
  #f(compiled-function (obj) #<bytecode 0x1c84dd2df7b4f216>)(#<transient-option transient-option-4e384eb>)
  apply(#f(compiled-function (obj) #<bytecode 0x1c84dd2df7b4f216>) #<transient-option transient-option-4e384eb> nil)
  transient--init-suffix-key(#<transient-option transient-option-4e384eb>)
  transient--init-suffix(nil (1 transient-suffix (:command magit-log:-G)) #<transient-column transient-column-641d765>)
  transient--init-child(nil (1 transient-suffix (:command magit-log:-G)) #<transient-column transient-column-641d765>)
  #f(compiled-function (c) #<bytecode -0x1b7e2898b85b3796>)((1 transient-suffix (:command magit-log:-G)))
  cl-mapcan(#f(compiled-function (c) #<bytecode -0x1b7e2898b85b3796>) ((1 transient-suffix (:command magit-log:-n)) (1 transient-suffix (:command magit:--author)) (7 transient-suffix (:command magit-log:--since)) (7 transient-suffix (:command magit-log:--until)) (1 transient-suffix (:command magit-log:--grep)) (7 transient-switch (:key "-i" :description "Search case-insensitive" :shortarg "-i" :argument "--regexp-ignore-case" :command transient:magit-log:--regexp-ignore-case)) (7 transient-switch (:key "-I" :description "Invert search pattern" :argument "--invert-grep" :command transient:magit-log:--invert-grep)) (1 transient-suffix (:command magit-log:-G)) (1 transient-suffix (:command magit-log:-S)) (1 transient-suffix (:command magit-log:-L)) (7 transient-switch (:key "=m" :description "Omit merges" :argument "--no-merges" :command transient:magit-log:--no-merges)) (7 transient-switch (:key "=p" :description "First parent" :argument "--first-parent" :command transient:magit-log:--first-parent))))
  transient--init-group(nil [1 transient-column (:description "Commit limiting") ((1 transient-suffix (:command magit-log:-n)) (1 transient-suffix (:command magit:--author)) (7 transient-suffix (:command magit-log:--since)) (7 transient-suffix (:command magit-log:--until)) (1 transient-suffix (:command magit-log:--grep)) (7 transient-switch (:key "-i" :description "Search case-insensitive" :shortarg "-i" :argument "--regexp-ignore-case" :command transient:magit-log:--regexp-ignore-case)) (7 transient-switch (:key "-I" :description "Invert search pattern" :argument "--invert-grep" :command transient:magit-log:--invert-grep)) (1 transient-suffix (:command magit-log:-G)) (1 transient-suffix (:command magit-log:-S)) (1 transient-suffix (:command magit-log:-L)) (7 transient-switch (:key "=m" :description "Omit merges" :argument "--no-merges" :command transient:magit-log:--no-merges)) (7 transient-switch (:key "=p" :description "First parent" :argument "--first-parent" :command transient:magit-log:--first-parent)))] nil)
  transient--init-child(nil [1 transient-column (:description "Commit limiting") ((1 transient-suffix (:command magit-log:-n)) (1 transient-suffix (:command magit:--author)) (7 transient-suffix (:command magit-log:--since)) (7 transient-suffix (:command magit-log:--until)) (1 transient-suffix (:command magit-log:--grep)) (7 transient-switch (:key "-i" :description "Search case-insensitive" :shortarg "-i" :argument "--regexp-ignore-case" :command transient:magit-log:--regexp-ignore-case)) (7 transient-switch (:key "-I" :description "Invert search pattern" :argument "--invert-grep" :command transient:magit-log:--invert-grep)) (1 transient-suffix (:command magit-log:-G)) (1 transient-suffix (:command magit-log:-S)) (1 transient-suffix (:command magit-log:-L)) (7 transient-switch (:key "=m" :description "Omit merges" :argument "--no-merges" :command transient:magit-log:--no-merges)) (7 transient-switch (:key "=p" :description "First parent" :argument "--first-parent" :command transient:magit-log:--first-parent)))] nil)
  #f(compiled-function (c) #<bytecode -0x40d6ccefffca5bd>)([1 transient-column (:description "Commit limiting") ((1 transient-suffix (:command magit-log:-n)) (1 transient-suffix (:command magit:--author)) (7 transient-suffix (:command magit-log:--since)) (7 transient-suffix (:command magit-log:--until)) (1 transient-suffix (:command magit-log:--grep)) (7 transient-switch (:key "-i" :description "Search case-insensitive" :shortarg "-i" :argument "--regexp-ignore-case" :command transient:magit-log:--regexp-ignore-case)) (7 transient-switch (:key "-I" :description "Invert search pattern" :argument "--invert-grep" :command transient:magit-log:--invert-grep)) (1 transient-suffix (:command magit-log:-G)) (1 transient-suffix (:command magit-log:-S)) (1 transient-suffix (:command magit-log:-L)) (7 transient-switch (:key "=m" :description "Omit merges" :argument "--no-merges" :command transient:magit-log:--no-merges)) (7 transient-switch (:key "=p" :description "First parent" :argument "--first-parent" :command transient:magit-log:--first-parent)))])
  cl-mapcan(#f(compiled-function (c) #<bytecode -0x40d6ccefffca5bd>) ([1 transient-column (:description "Commit limiting") ((1 transient-suffix (:command magit-log:-n)) (1 transient-suffix (:command magit:--author)) (7 transient-suffix (:command magit-log:--since)) (7 transient-suffix (:command magit-log:--until)) (1 transient-suffix (:command magit-log:--grep)) (7 transient-switch (:key "-i" :description "Search case-insensitive" :shortarg "-i" :argument "--regexp-ignore-case" :command transient:magit-log:--regexp-ignore-case)) (7 transient-switch (:key "-I" :description "Invert search pattern" :argument "--invert-grep" :command transient:magit-log:--invert-grep)) (1 transient-suffix (:command magit-log:-G)) (1 transient-suffix (:command magit-log:-S)) (1 transient-suffix (:command magit-log:-L)) (7 transient-switch (:key "=m" :description "Omit merges" :argument "--no-merges" :command transient:magit-log:--no-merges)) (7 transient-switch (:key "=p" :description "First parent" :argument "--first-parent" :command transient:magit-log:--first-parent)))] [1 transient-column (:description "History simplification") ((1 transient-switch (:key "-D" :description "Simplify by decoration" :argument "--simplify-by-decoration" :command transient:magit-log:--simplify-by-decoration)) (1 transient-suffix (:command magit:--)) (1 transient-switch (:key "-f" :description "Follow renames when showing single-file log" :argument "--follow" :command transient:magit-log:--follow)) (6 transient-switch (:key "/s" :description "Only commits changing given paths" :argument "--sparse" :command transient:magit-log:--sparse)) (7 transient-switch (:key "/d" :description "Only selected commits plus meaningful history" :argument "--dense" :command transient:magit-log:--dense)) (7 transient-switch (:key "/a" :description "Only commits existing directly on ancestry path" :argument "--ancestry-path" :command transient:magit-log:--ancestry-path)) (6 transient-switch (:key "/f" :description "Do not prune history" :argument "--full-history" :command transient:magit-log:--full-history)) (7 transient-switch (:key "/m" :description "Prune some history" :argument "--simplify-merges" :command transient:magit-log:--simplify-merges)))] [1 transient-column (:description "Commit ordering") ((1 transient-suffix (:command magit-log:--*-order)) (1 transient-switch (:key "-r" :description "Reverse order" :argument "--reverse" :command transient:magit-log:--reverse)))] [1 transient-column (:description "Formatting") ((1 transient-switch (:key "-g" :description "Show graph" :argument "--graph" :command transient:magit-log:--graph)) (1 transient-switch (:key "-c" :description "Show graph in color" :argument "--color" :command transient:magit-log:--color)) (1 transient-switch (:key "-d" :description "Show refnames" :argument "--decorate" :command transient:magit-log:--decorate)) (1 transient-switch (:key "=S" :description "Show signatures" :argument "--show-signature" :command transient:magit-log:--show-signature)) (1 transient-switch (:key "-h" :description "Show header" :argument "++header" :command transient:magit-log:++header)) (1 transient-switch (:key "-p" :description "Show diffs" :shortarg "-p" :argument "--patch" :command transient:magit-log:--patch)) (1 transient-switch (:key "-s" :description "Show diffstats" :argument "--stat" :command transient:magit-log:--stat)))] [1 transient-columns nil ([1 transient-column (:description "Log") ((1 transient-suffix ...) (1 transient-suffix ...) (1 transient-suffix ...) (1 transient-suffix ...))] [1 transient-column (:description "") ((1 transient-suffix ...) (1 transient-suffix ...) (1 transient-suffix ...) (7 transient-suffix ...) (7 transient-suffix ...) (7 transient-suffix ...))] [1 transient-column (:description "Reflog") ((1 transient-suffix ...) (1 transient-suffix ...) (1 transient-suffix ...))] [1 transient-column (:if #f(compiled-function () #<bytecode -0x30e31722b4ef020>) :description "Wiplog") ((1 transient-suffix ...) (1 transient-suffix ...))] [1 transient-column (:description "Other") ((5 transient-suffix ...))])] [1 transient-columns (:hide #f(compiled-function () #<bytecode -0x172e7b5a6273a90f>)) ([1 transient-column (:description "Value commands") ((1 transient-suffix ...) (1 transient-suffix ...) (1 transient-suffix ...) (1 transient-suffix ...) (1 transient-suffix ...))] [1 transient-column (:description "Sticky commands") ((1 transient-suffix ...) (1 transient-suffix ...) (1 transient-suffix ...))] [1 transient-column (:description "Customize") ((1 transient-suffix ...) (1 transient-suffix ...) (1 transient-suffix ...))])]))
  transient--init-suffixes(magit-log)
  transient--init-objects(magit-log nil nil)
  transient-setup(magit-log)
  magit-log()
  funcall-interactively(magit-log)
  command-execute(magit-log record)
  execute-extended-command(nil "magit-log" nil)
  funcall-interactively(execute-extended-command nil "magit-log" nil)
  command-execute(execute-extended-command)

and indeed in /nix/store/dwfk82bqma7lb8flyq9pk0p3d5s32cqv-emacs-magit-9999snapshot/share/emacs/site-lisp/elpa/magit-9999snapshot/magit-log.el line 445 I can see    (magit-log:-G)     ;2 which does look like the upstream code so I am not sure what is breaking here.. Do you happen to have an idea? Thanks!

Calling magit-log-current directly works fine so it seems like an issue with the transient buffer but I have no clue how to debug this further.

I cannot reproduce this. Can you share the flake (including flake.lock) that triggers this (or unstraightened commit + doomdir that reproduce it with nix run .#doom-emacs)?
(Assuming you have :tools magit enabled in Doom, your version of Magit is the one pinned by Doom, but Doom does not pin the "transient" library Magit uses: with Unstraightened, that means you should have the version from emacs-overlay. The only Unstraightened-specific issue I can think of is version skew between transient and Magit. So I'm interested in flake.lock (particularly whether you've pinned emacs-overlay to a different commit) and any pins you have in packages.el as those determine which versions you end up with.)
If we build Magit against a different version of transient than we run it against that could cause trouble, but as far as I know that can't happen.
Glancing at transient and magit-log.el, I'm surprised it fails on magit-log:-G and not on magit-log:-n, which appears earlier in the transient definition and is defined much the same way magit-log:-G is. Would need to wrap my head around how transient works to troubleshoot, which will be much easier if I can reproduce this...

No worries, glad it's fixed!
I'll let this one go since it sounds like it didn't stay broken for long, but if you hit something like this again, you're not overriding inputs for emacs-overlay and doomemacs, and it stays broken for at least a few days, please do report it here: even if it's an upstream problem, if it's not too hard to write a test for I can make CI fail (meaning the revisions of emacs-overlay and doomemacs we're pinned to don't update until the problem is fixed).


Check Java Heap OOM caused when enabling observability

Description:
Check Java Heap OOM caused when enabling observability

This will be fixed with https://github.com/ballerina-platform/ballerina-lang/issues/42001


[native_assets_cli] Document NativeCodeAsset.file requiredness

https://github.com/dart-lang/native/issues/1049

coverage: 92.009%. remained the same
when pulling 317e4ee5f785235da53ee5020b56a8016f20de0f on nac-dry-run-file
into 9a691ac451676b44d9e034d57b377d96211962d2 on main.


WIP: troubleshooting children sort when IPs change

Follow-up to #2385 cc @drolando

Yeah this commit still doesn't fix my traces.
On the other hand it the issue is simply that the ips don't match I can probably fix that, but it'd still be nice if the code didn't rely on ip values.
Why does it btw? You already have the parentId and spanId, why do you care about the ip?

This is a work in progress to investigate what is actually interfering with the sort order. I didn't actually change the javascript code for this test to pass, which means I got something wrong.


DSD-1671: Accessibility update for the focus ring style in the FeedbackBox open button

Fixes JIRA ticket DSD-1671
This PR does the following:

Updates the focus ring style for the FeedbackBox's open button to have better contrast against darker backgrounds.
This specifically fixes the color contrast issue when reviewed in DC Facelift but this applied to other apps.

How has this been tested?
Added a scrollable section in Storybook to better view the focus ring on various DS background colors.

Accessibility concerns or updates

Fixes the color contrast issue.

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] I have added relevant accessibility documentation for this pull request.
[ ] All new and existing tests passed.

Front End Review:

[ ] Review the Vercel preview deployment once it is ready.

@avertrees @7emansell just fyi that I'm going to merge this in soon.


VNET extension

Adding VNET extension for public repo , Pending changes :  update index.json to add the extension and uploading .whl file to blob repo will happen later .

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/rahulgouthamDOTgs/azure-cli-extensions.git@master#subdirectory=src/$EXT&egg=$EXT"

@rohit-joy  @QingqingYuan  Please review .

@rohit-joy  @williexu  @derekbekoe   test_static.sh  points to ./src/rdbms/azext_rdbms/ for pylint , do we need to make it generic ?

@rahulgouthamDOTgs I recently made the change: https://github.com/Azure/azure-cli-extensions/blob/master/scripts/ci/test_static.sh#L12
If you rebase, you should be able to get the updated code

@rohit-joy  @williexu  it looks like pylint is referring to rdbms/azext_rdbms/_client_factory.py and hence it complains , i tried changing the name to _client_vnet_factory.py , but its still looking at rdbms/azext_rdbms/ folder ,  how do i fix this ? :(

@rahulgouthamDOTgs, could you try renaming the rdbms_vnet/azext_rdbms folder to rdbms_vnet/azext_rdbms_vnet?

@rahulgouthamDOTgs, looks like the static analysis issues are resolved.
Add your github user to ./.github/CODEOWNERS!

@rahulgouthamDOTgs, is it OK to merge?

@rohit-joy  yes , we are good to merge :)

@rahulgouthamDOTgs, please fix CI issue in the index.json file.


SQLite unused id

test initialization_sect_create_a_sqlite_database_line_10 ... ok
warning: field is never used: id
--> /tmp/rust-skeptic.1Pj6bBl4LxO2/test.rs:8:5
|
8 |     id: i32,
|     ^^^^^^^
|
= note: #[warn(dead_code)] on by default

Is this in my recipe? There's no id field there.


Switches to different WiFi access points sometimes makes the audio sound messed up

This issue with the audio (and maybe the video) would be visible in large buildings that have more than one access point and a non seamless handover. When it switches networks, it will emit a robot connected message in the chat, and reboot the audio and video.
Current workaround to fix the issue before it is fixed is to run .stream reset in the chat for the robot

fixed with latest merge #100


feat(deps): upgrade compiler dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-compiler-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1379

Questions ?
Please refer to the Backport tool documentation


jq manpage not linked

Issue description
I just installed jq version 1.6 on macOS. The man page makes it to the nix store, but not into the nix profile.
Steps to reproduce
$ nix-env -iA nixpkgs.jq
$ man jq
No manual entry for jq

Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

system: "x86_64-darwin"
host os: Darwin 18.2.0, macOS 10.14.3
multi-user?: no
sandbox: no
version: nix-env (Nix) 2.1.3
channels(rob): "nixpkgs-19.03pre167327.11cf7d6e1ff"
nixpkgs: /Users/rob/.nix-defexpr/channels/nixpkgs

I believe this was fixed with https://github.com/NixOS/nixpkgs/pull/35884.

Oh good. Should have run nix-channel --update before reporting, can confirm it works now. Sorry for the noise.


OpenAL integration

I'm creating the pull request to get some feedback as I develop the integration. (And also, to see if it's a change well received by the rbfx developers)
OpenAL offers very high quality 3D audio, including effects such as reverb or HRTF.
I'm implementing it alongside Urho3D's default Audio module so it's backwards compatible, but I may add some new functions later on to control effects.

I'm moving the pull request from draft to review, but OpenAL is not yet integrated into the build system

In coming days ill make a branch with OpenAL integrated for you, then you can rebase on it. Should i use https://github.com/kcat/openal-soft or some other repo?

Yep, that's the official repo

I just realized I did something wrong with git while trying to sync the fork, for some reason all my commits have been duplicated. Hope it's not a problem.

Make a new branch, cherry-pick commits you want from old one and force-push into your PR branch. That will fix weird stuff.

I'll close this pull request and re-open it with my openal branch as a head


Trigger staging bundle release for v0.20.1

Issue #, if available:
Description of changes:
Trigger v0.20.1 staging bundle release
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Different scale of math block in v2

@mojavelinux Thanks for your reply in https://github.com/asciidoctor/asciidoctor-pdf/issues/2011#issuecomment-1115338781.

If you can prepare a reproducible example, could you file an issue so I can investigate it?

I just created a reproducible example as a GitHub gist. The output from v1.6.2 is:

versus that from v2.0.5:

The generated SVGs for the math block are the same, so the issue is not related to AsciiDoctor Mathematical.

I'll investigate.
FYI, image_fit is not a valid theme key.

I can confirm that the SVG is scaled differently between Asciidoctor PDF 2 and Asciidoctor PDF 1.6. I can reproduce it by embedding the SVG directly, so this has nothing at all to do with Asciidoctor Mathematical. It's possible you are seeing the result of a bug fix, but I need to dive a bit deeper to know what's going on.

What Asciidoctor PDF 2 is doing here is actually correct. There was a bug in Asciidoctor PDF 1.6 that it would incorrectly apply px to pt conversion for an SVG whose width is defined using pt units. Now it honors the pt units. This change was made in d863c14776bfcbd31672407ba076ebca9f4cc74a.
What I'm noticing, however, is that Asciidoctor PDF 2 will not apply the px to pt conversion for an SVG whose width is defined using px units. I think it should. Though that doesn't impact this particular scenario.

As I concluded, the behavior of Asciidoctor PDF 2 is correct. However, what I discovered is that if the value were to have the units px, the behavior / scaling would not be correct. I opened a new issue to address this problem. See #2215.

Thanks for testing and verifying the fix!

I can confirm the problem has been resolved since v2.0.7. Thanks a lot.

It seems the problem has not been resolved. I just continued the conversation in zulipchat.

I assure you the problem is resolved. Asciidoctor PDF renders the SVG exactly as it is requested. If there is a problem with the size, it needs to be set in Asciidoctor Mathematical correctly.


[ARM plugin] NEDepthConvertLayer replace to NECast

[x] Extend count of data types for native support
[x] Extend tests cover

@ilya-lavrenov done


Confusion about “dynamic embedding” remove operation

Appreciate some explanation about hash conflict in remove operation. I wonder about a situation like this, if two features are mapped to the same embedding vector, when I remove one of them, the corresponding embedding vector would be cleared (as I understand), what would happen when the other feature looks up the embedding table again, would it be treated as a new feature and with a new embedding vector inserted?

Hi, @JinrongGuo1 . There is no hash confliction in dynamic_embedding.

Thanks, I got it.


a better addOperator way

there are too many calls with addOperator in the constructor. Enum Class can help.
public static enum CommonOper {
        ADD(new AbstractOperator("+", OPERATOR_PRECEDENCE_ADDITIVE, true) {
            @Override
            public BigDecimal eval(BigDecimal v1, BigDecimal v2) {
                assertNotNull(v1, v2);
                return v1.add(v2);
            }
        }),
        SUB(new AbstractOperator("-", OPERATOR_PRECEDENCE_ADDITIVE, true) {
            @Override
            public BigDecimal eval(BigDecimal v1, BigDecimal v2) {
                assertNotNull(v1, v2);
                return v1.subtract(v2);
            }
        }),
        ;
        private LazyOperator operator;
        CommonOper(LazyOperator operator) {
            this.operator = operator;
        }
        public LazyOperator getOperator() {
            return operator;
        }
}

in constructor
a for loop can add all common operator
for (CommonOper oper : CommonOper.values()) {
            addOperator(oper.getOperator());
}

the same way can be used for
Enum CommonUnaryOper
Enum CommonFuncs
Enum CommonConstantVariable

But that doesn't save you a lot. Quite nothing, actually. Because currently all this code is gathered under the constructor, then it would be gathered under the Enum with the loop in the constructor.
For a similar idea see #158, which introduces a scope mechanic, which would allow to gather these under a "common scope".


Tetris-Naainz

[X] I have read the steps to getting a blot

[X] I am submitting art that...

[x] is algorithmically generated (will change each time the program is run)
[X] is drawable on a blot (fits in the work area & doesn't overlap too much)
[X] is original (not copied from somewhere else)
[X] doesn't call Math.random() (See the documentation on randomness)

[ ] Optional, if you used a tutorial or based your art on something else, please include the link here:

[ ] Optional, if you remixed this from something else, mention it here:

My generative artwork is inspired by the game "Tetris". The artwork features a grid of 10 columns and 20 rows, representing the playing area of tetris. The bottom 10 rows are stacked in randomly generated blocks.
The top section of the grid, the single block (tetromino) is randomly placed to simulate a game. It can be placed in one of the 7 shapes: I, O, T, S, Z, J, or L.
Creating this Tetris-inspired game was quite exciting and really helped me learn more about js syntax and logical thinking. I spent about 1 hour, 30 minutes on this  project. I learnt so much more about Blot's random functions, bt.rand(), etc. syntax unknown to me, previously.

Accidentally merged and removed my art files too 💀💀, should be fixed now.

Hey! I think I've created something that quite well resembles your requested changes.

The score value is determined by the total number of cells that are filled with tetromino pieces on the grid.


Update README.md (Fixed TYPO)

Fixed typo in Found a Bug section

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@QuincyLarson I think this one is okay to be merged!

Argh! Apologies! I clicked on the wrong button!

@BeardedWinter Thanks for catching this typo and fixing it!
@raisedadead could you address the merge conflict and merge this?

:sparkles: :sparkles: AWESOME! LGTM. :sparkles: :sparkles:
Thanks @BeardedWinter , for this pull request and contributing to the code-base for the first time.
We will be looking forward for more contributions in future.
Cheers and happy contributing!


Added Fixes for _PushStatus _SCHEMA Insertion and Ensuring Order for _PushStatus Row Update

_PushStatus sometimes gets injected to the _SCHEMA collection, causing:

Parse Dashboard through parse.com to stop working.
Push notifications sent through parse.com to stop working.

These code changes also ensure that the _PushStatus update during push notification processing is correct (first from 'pending' to 'running' and only then from 'running' to 'succeeded’).

[Current coverage][cc-pull] is 75.39% (diff: 45.00%)

Merging [#2375][cc-pull] into [master][cc-base-branch] will decrease coverage by 16.44%

@@             master      #2375   diff @@
==========================================
  Files            95         95
  Lines         10708      10723     +15
  Methods        1309       1312      +3
  Messages          0          0
  Branches       1741       1741
==========================================
- Hits           9835       8085   -1750
- Misses          873       2638   +1765
  Partials          0          0

Powered by Codecov. Last update [fa49f05...2696b8b][cc-compare]
[cc-base-branch]: https://codecov.io/gh/ParsePlatform/parse-server/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/ParsePlatform/parse-server/compare/fa49f05fddbeecfc81dfa4506272ae375875bbcd...2696b8bcaffb2c9107e3a4a7b5ad458c3daab057?src=pr
[cc-pull]: https://codecov.io/gh/ParsePlatform/parse-server/pull/2375?src=pr

@sprabs, We were running into the same issue. The fix suggested here seems to help after testing extensively by sending several push notifications; Thank you.
@flovilmart, can you please look at the changes suggested here and comment; Thank you.

@flovilmart I wanted to follow up with you to see if you had any suggestions. This fix is in our repo and has been working well for almost a week now. Looks like others have tried it out, too.
Happy to address any questions you have. I'd like to merge it to master soon so that my repo isn't diverged.

The ordering problem should already be taken care of by he push status handler since 2.2.17. Can you confirm the problem still exist with master without the patch? I wanted to avoid blocking as you did.

@flovilmart Sure, I'll try that.
However, I want to convey that there are two issues that are addressed in this pr. Even if you handle the ordering properly, the schema injection could potentially still happen (this is covered by my fix in SchemaController.js).

@sprabs can you confirm or infirm that 2.2.17 is still broken?

@sprabs ping?

@flovilmart Sorry for the delay. We wanted to test it extensively. After reverting my changes and pulling the latest, I think we can confirm that your fix also fixes this particular issue we saw. Thanks for adding the fix!


Enable consumers to hook into the terminal link matcher by specifying a priority for the link matchers

Right now link matchers are considers in the order in which they are declared, meaning any task framework link matchers that are registered will be the last considered so the local link matchers would always beat it.
/cc @dbaeumer

@dbaeumer this should be good to go now, any custom links registered with ITerminalInstance.registerLinkHandler should be higher priority than the generic local link matcher, and lower priority than the http link matcher.

@dbaeumer please verify

The fact that tasks can add links means this is verified.


[Feature][Sort] Add IsNullOperator definition to support transform

Description
Add IsNullOperator definition to support transform
Use case
No response
Are you willing to submit PR?

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

Code of Conduct

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

Same as https://github.com/apache/incubator-inlong/pull/3820.


Update sandbox exp-test commands, options

Previous versions of commands listed in tutorial threw errors

Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)

Thanks!


Road casings sometimes have gaps at joins

Style change requested
Roads should join with continuous centers and casings, but the current style doesn't always display that way.
See here:

demo style: https://openhistoricalmap.github.io/mbgl-timeslider/demo/#17.973/34.49796/-79.11447/2023,-4000-2023
resolved via adjusting round - will be in next update

resolved in latest: https://www.openhistoricalmap.org/#map=17/34.49720/-79.11341&layers=O&date=2024-12-31&daterange=1824-01-01,2024-12-31


ARROW-3256,3304: [JS] fix file footer inconsistency, yield all messages from the stream reader

Yield all messages from the stream reader to support reading multiple tables from the same source stream. This is something a stream-reader refactor should support out of the box, but this PR adds this ability to master until that refactor is done. I added an integration test that shows what such a reader would look like today.

Cool, @TheNeuralBit does this look good?

:+1: LGTM


Fix: action kind for actions and for funcs has drifted apart on the backend

Address it here

We don't actually need this as it was picked up elsewhere - sorry!!


Simple gpio output not working (IDFGH-9482)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
ESP-IDF v4.4.4-dirty
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
Development Kit.
esp32 wroom
Power Supply used.
USB
What is the expected behavior?
with the provided sample I expect a squarewave on pin 21 period 200ms
What is the actual behavior?
every 100ms there is a short bit stream burst every 100ms with an apparent clock of 100kHz
Steps to reproduce.

run provided sample
check pin21 with oscilloscope
gpio21.zip

Debug Logs.
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6668
ho 0 tail 12 room 4
load:0x40078000,len:14944
load:0x40080400,len:3816
0x40080400: _init at ??:?

entry 0x40080698
I (29) boot: ESP-IDF v4.4.4-dirty 2nd stage bootloader
I (29) boot: compile time 16:35:42
I (29) boot: chip revision: v3.0
I (33) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (40) boot.esp32: SPI Speed      : 40MHz
I (44) boot.esp32: SPI Mode       : DIO
I (49) boot.esp32: SPI Flash Size : 2MB
I (53) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (62) boot: ## Label            Usage          Type ST Offset   Length
I (70) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (77) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (85) boot:  2 factory          factory app      00 00 00010000 00100000
I (92) boot: End of partition table
I (96) boot_comm: chip revision: 3, min. application chip revision: 0
I (103) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=086e4h ( 34532) map
I (125) esp_image: segment 1: paddr=0001870c vaddr=3ffb0000 size=02430h (  9264) load
I (128) esp_image: segment 2: paddr=0001ab44 vaddr=40080000 size=054d4h ( 21716) load
I (140) esp_image: segment 3: paddr=00020020 vaddr=400d0020 size=15bb0h ( 89008) map
I (173) esp_image: segment 4: paddr=00035bd8 vaddr=400854d4 size=063b4h ( 25524) load
I (189) boot: Loaded app from partition at offset 0x10000
I (189) boot: Disabling RNG early entropy source...
I (201) cpu_start: Pro cpu up.
I (201) cpu_start: Starting app cpu, entry point is 0x4008102c
0x4008102c: call_start_cpu1 at C:/Espressif/frameworks/esp-idf-v4.4.4/components/esp_system/port/cpu_start.c:148

I (0) cpu_start: App cpu up.
I (215) cpu_start: Pro cpu start user code
I (215) cpu_start: cpu freq: 160000000
I (215) cpu_start: Application information:
I (220) cpu_start: Project name:     generic_gpio
I (225) cpu_start: App version:      v4.4.4-dirty
I (230) cpu_start: Compile time:     Feb 25 2023 16:35:23
I (236) cpu_start: ELF file SHA256:  dd549a210dccab57...
I (242) cpu_start: ESP-IDF:          v4.4.4-dirty
I (248) heap_init: Initializing. RAM available for dynamic allocation:
I (255) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (261) heap_init: At 3FFB2D18 len 0002D2E8 (180 KiB): DRAM
I (267) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (274) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (280) heap_init: At 4008B888 len 00014778 (81 KiB): IRAM
I (288) spi_flash: detected chip: generic
I (291) spi_flash: flash io: dio
W (295) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (309) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (319) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
cnt: 0
cnt: 1
cnt: 2
cnt: 3
cnt: 4
cnt: 5
cnt: 6

More Information.
No response

see also https://github.com/espressif/esp-idf/issues/10816

misplaced wire

Hi @devotip
Were we able to find a solution?


fixed footer links

Localized links are too confusing
This is an easy-to-maintain solution

r? @nikomatsakis
(rust_highfive has picked a reviewer for you, use r? to override)

Thanks!


[CARBONDATA-2674][Streaming]Streaming with merge index enabled does not consider the merge index file while pruning.

…
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[X] Any interfaces changed?
None
[X] Any backward compatibility impacted?
None
[X] Document update required?
None
[X] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.
Added test to varify the merge index scenarios.
[x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6654/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5481/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6658/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5485/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6698/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5525/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5552/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5550/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5569/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5552/

LGTM

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5571/


[Bug] : the logo of the twitter is not updated

#Description
the logo of the twitter is not updated
Screenshot

@omicreativedev can  assign this issue to me??

@Rohit-Sharmaa yes, absolutely. In fact, do you know if there is a logo for X? Would you be open to finding a logo or icon for Linkedin and Dev.to as well?

@Rohit-Sharmaa Do you think font-awesome or something similar might give us more options for various social media icons?

@Rohit-Sharmaa I found an iconset that has the new X logo already. Have a look:
https://tabler-icons.io/
https://github.com/tabler/tabler-icons
If you haven't started on this, would you be able to integrate this?


Dr/kv overhaul

please give feedback on kv types,
caps had big vuln, fixed
kv runtime was cloning unnecessarily so refactored some of that out

Looks good :+1:
I wonder if there should be a DbKey type? I guess the choice to not have it is to make it easier for consumers of the API (since they won't have to, e.g., import that type in order to talk to kv)?


What are the tracked objects?

Describe the situation you are working on
First of all, great library you have created I am impressed and I hope you are as happy with your library as I am using it.
So i am working on a way to track cars and pedestrians and creating a csv file for them using both detectron2 demo and the yolov7 demo to test between them.
Describe what is it that you need help with
There are a lot of different colored bboxes eg this image. I wonder what the difference is between the colored ones (which i assume to be the tracked objects) and the black bboxes (which i assume to be too low confidence to be used as a tracked object)?
I would like some clarity on that and if its possible to include the black bboxes into tracked objects as well.
Additional context
This frame has picked up 4 Objects but clearly there are many more bboxes and most of them are quite useful and I would like to add it to tracked objects.

Hi @CassielMapersive, thanks for those words!
Can you send a snippet of the code you're using? I believe those black boxes are detections, and the colored ones are the actual tracked objects. But I can't be sure unless you send some code, and I can see how you're calling the drawing functions.

Thank you @facundo-lezama for the quick reply!
I barely changed anything to the demo, here is what happens for every frame. Also I am not sure if this is relevant but
DISTANCE_THRESHOLD_BBOX: float = 5
DISTANCE_THRESHOLD_CENTROID: int = 30
MAX_DISTANCE: int = 5000
video sizes are usually  (7000,3500).
Also I realise that the detections tend to be more accurate to than the tracked objects. Which in theory does not make sense since norfair uses the detections. Is there a way to improve the accuracy and sensitivity of the tracked objects?
Sorry for the confusion, I am quite new with this. :)

Thanks for the information!

There are a lot of different colored bboxes eg this image. I wonder what the difference is between the colored ones (which i assume to be the tracked objects) and the black bboxes (which i assume to be too low confidence to be used as a tracked object)?

The black boxes are detections, the instances created by the object detector for that specific frame. The colored ones are the tracked objects that Norfair has created based on previous detections.

Also I realise that the detections tend to be more accurate to than the tracked objects. Which in theory does not make sense since norfair uses the detections. Is there a way to improve the accuracy and sensitivity of the tracked objects?

Detections are usually more accurate than tracked objects. The reason is simple: detections are outputs from the object detector model for the specific frame, while tracked objects' positions are estimated using, most commonly, a Kalman Filter based on previous positions. If an object is detected often throughout the video, Norfair should be able to track it with high accuracy. But there are also circumstances such as occlusions, low frame rate, moving cameras and other hard scenarios, where the estimations for new positions of the objects are less accurate.

@facundo-lezama Thank you, I understand now.
Last questions to this thread: Is there a way to integrate another tracking algo? or change the Kalman filter for another one for example? Improve the tracking in some way or use a different approach entirely like deep sort for example?

@CassielMapersive, I would suggest you go over some of the typical knobs that you need to tune to get the tracker to work. Our Getting Started guide has some pointers to start with.
In our experience, this is an iterative process (and not a simple one) that requires you to tune things until you're comfortable with the results.
Norfair's tracking strategy was built on top of known algorithms like SORT, but Norfair is not a library that integrates different algorithms.

Thank you for the help!


there is a bug，at Multi Query Attention with spatial downsampling model

hello, i try to run this code but I faced a bug. due to my poor code ability， so I submit the bug。i know the problem reason， but I don't know how to fix it。please give help，thanks！
q = F.avg_pool2d(self.query_h_strides, self.query_w_strides)
TypeError: avg_pool2d(): argument 'input' (position 1) must be Tensor, not int

ok，I will provide the code later (maybe two days) because there is no computer around
---Original---
From: @.>
Date: Fri, May 31, 2024 21:18 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [jaiwei98/MobileNetV4-pytorch] there is a bug，at Multi Query Attention with spatial downsampling model (Issue #8)
Hello, can you provide a minimal code to reproduce this error?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


How to Insert and Delete Columns when working with Package

Please provide an example of how to insert/delete a column once worksheet has been opened via Open-ExcelPackage or Import-Excel.  I need to insert the column in the middle of the existing data. The only way I can think of is to convert it to CSV, change the data, and convert it back. Working with strings doesn't seem like it would be the proper PowerShell way. Hoping this wonderful module has a way.
Thanks for the module and the assistance,

DeleteColumn is straightforward
$ws.DeleteColumn

OverloadDefinitions
-------------------
void DeleteColumn(int column)
void DeleteColumn(int columnFrom, int columns)

Insert is more challenging
The module has no helper functions to transform a  PS array to a column etc for an existing sheet.
These lines (off the top of my head), would need to be worked into a function, generalized, handle error conditions, and be tested using Pester.
$ws.InsertColumn(2, 1)

$row = 1
$ws.Cells[$row, 2].Value = 'Month'
$row += 1
for ($i = 0; $i -lt $months.Count; $i++) {
    $ws.Cells[$row, 2].Value = $months[$i]
    $row += 1
}

Insert Example
$data = ConvertFrom-Csv @"
Region,State,Units,Price
West,Texas,927,923.71
North,Tennessee,466,770.67
East,Florida,520,458.68
East,Maine,828,661.24
West,Virginia,465,053.58
North,Missouri,436,235.67
South,Kansas,214,992.47
North,North Dakota,789,640.72
South,Delaware,712,508.55
"@

$xlfile = "./test.xlsx"
Remove-Item  $xlfile -ErrorAction SilentlyContinue

$xlpkg = $data | Export-Excel $xlfile -PassThru

$ws = $xlpkg.Sheet1

$months = @("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep")

$ws.InsertColumn(2, 1)

$row = 1
$ws.Cells[$row, 2].Value = 'Month'
$row += 1
for ($i = 0; $i -lt $months.Count; $i++) {
    $ws.Cells[$row, 2].Value = $months[$i]
    $row += 1
}

Close-ExcelPackage $xlpkg -Show

Thank you very much


Web Interface not interacting

I'm getting this error message when I have it setup on my Raspberry Pi. The web-interface loads but the buttons don't work:
pi@Pandora-Pi:~ $ cd Patiobar && node index.js
a user connected
internal/fs/utils.js:314
throw err;
^
Error: ENOENT: no such file or directory, open '/home/pi/.config/pianobar/currentSong'
at Object.openSync (fs.js:498:3)
at Object.readFileSync (fs.js:394:35)
at readCurrentSong (/home/pi/Patiobar/index.js:16:23)
at Namespace. (/home/pi/Patiobar/index.js:65:2)
at Namespace.emit (events.js:375:28)
at Namespace.emit (/home/pi/Patiobar/node_modules/socket.io/lib/namespace.js:213:10)
at /home/pi/Patiobar/node_modules/socket.io/lib/namespace.js:181:14
at processTicksAndRejections (internal/process/task_queues.js:77:11) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/home/pi/.config/pianobar/currentSong'

Do you have Pianobar running?  Patiobar is yelling that it can't find the current song.  Can you also post our Pianobar config?

Yes, Pianobar is running currently in another terminal window.
~/.config/pianobar/config:

This is an example configuration file for pianobar. You may remove the # from
lines you need and copy/move this file to ~/.config/pianobar/config
See manpage for a description of the config keys

User
user =<EMAIL_ADDRESS>password = *********
or
#password_command = gpg --decrypt ~/password
Proxy (for those who are not living in the USA)
#control_proxy = http://<IP_ADDRESS>:9090/
Keybindings
act_help = ?
act_songlove = +
act_songban = -
act_stationaddmusic = a
act_stationcreate = c
act_stationdelete = d
act_songexplain = e
act_stationaddbygenre = g
act_songinfo = i
act_addshared = j
act_songmove = m
act_songnext = n
act_songpause = p
act_quit = q
act_stationrename = r
act_stationchange = s
act_songtired = t
act_upcoming = u
act_stationselectquickmix = x
act_voldown = (
act_volup = )
Misc
#audio_quality = low
autostart_station =<PHONE_NUMBER>46454719
#event_command = /home/pi/.config/pianobar/scripts/eventcmd.sh
fifo = /home/pi/Patiobar/ctl
#sort = quickmix_10_name_az
#love_icon = [+]
#ban_icon = [-]
volume = 0
Format strings
format_nowplaying_song = SONG: %t | %a | %l
format_nowplaying_station = STATION: %n | %i
format_msg_time = TIME: %s
No special prefix on songs, stations or info
format_msg_nowplaying = %s
format_msg_info = %s
high-quality audio (192k mp3, for Pandora One subscribers only!)
#audio_quality = high
#rpc_host = internal-tuner.pandora.com
#partner_user = pandora one
#partner_password = TVCKIBGS9AO9TSYLNNFUML0743LH82D
#device = D01
#encrypt_password = 2%3WCL*JU$MP]4
#decrypt_password = U#IO$RZPAB%VX2
tls_fingerprint = 2D0AFDAFA16F4B5C0A43F3CB1D4752F9535507C0

Looks like the issue is most likely that the event_command is not configured in you pianobar config file. event_command should point to the location on disk of eventcmd.sh from this repo, e.g. event_command = /home/pi/Patiobar/eventcmd.sh
How did you install patiobar?  Did you run the install command?

I installed using this:
git clone https://github.com/kylejohnson/Patiobar.git
cd Patiobar
bash install.sh
I'll see if I can make that change and let you know.

Confirmed this worked for me. I went into ~/.config/pianobar/config and removed the # from the event_command line, then changed it to:
event_command = /home/pi/Patiobar/eventcmd.sh
This fixed the issue perfectly. Thanks for all of your help!