multitrack with media

Bug description
Creating multitrack wavesurfer using media doesn't work.
Minimal code snippet
The first WaveSurfer instance, created using a URL, worked as expected. However, the second one, created using a media element, did not work.
    const multitrack = Multitrack.create(
      [
        {
          id: 0,
          url: '/music/mp3/vocal.mp3',
          volume: 0.5,
          options: {
            height: 120,
            waveColor: 'hsl(46, 87%, 49%)',
            progressColor: 'hsl(46, 87%, 20%)'
          }
        },
        {
          id: 1,
          volume: 0.5,
          options: {
            height: 120,
            waveColor: 'hsl(46, 87%, 49%)',
            progressColor: 'hsl(46, 87%, 20%)',
            media: new Audio('/music/mp3/vocal.mp3')
          }
        },
      ],
      {
        container: playerRef.current, // required!
        minPxPerSec: 5, // zoom level
        rightButtonDrag: true, // drag tracks with the right mouse button
        cursorWidth: 2,
        cursorColor: '#D72F21',
        trackBorderColor: 'black',
        envelopeOptions: {
          lineWidth: 0,
          dragPointSize: 0
        }
      }
    );

Expected result
It should work the same way as when a wavesurfer is created using a URL.
Obtained result
Screenshots

@WooWan thanks for creating this issue. I'm not planning to work on it, but feel free to make a PR.


Updated Favicon

As mentioned in the above issue #128 and the other PR #154 I have made the necessary changes referring to the official branding kit given by the hacktoberfest team on their official website. @max-programming

@tmsagarofficial Can you also update the SEO metadata to point to the right icons?

Also can you fix this problem? And also show the open PRs

@tmsagarofficial Can you also update the SEO metadata to point to the right icons?

where exactly do u want me to update this? 😅

Just point the icons to the new and proper icons in the next-seo.config.ts file in the root


iOS 9-10: Image not appearing

Check List

[ X ] I have read the wiki page and cheat sheet, but there is no information I need.
[ X ] I have searched in existing issues, but did not find a same one.
[ x ] I want to report a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
First of all I would like to thank you for this library, I've used it in almost all of my Apps! On my latest app that I'm building I have the following issue:
I am loading an image into an UIImageView using kingfisher, on my view's viewDidLoad. On ios 11 everything works correctly. On iOS 10 (and 9), I get an empty (white) image. However, when I go into the View Hierarchy Debugger, the image is loaded and showing correctly, but on the device it's not. Any ideas what's causing this? Please see the screenshot below.
The weird thing is that the second time I load that view controller with the same image URL it loads successfully. Keep in mind that all of th images I'm showing have already been loaded by KF since the previous view controller is a UITableViewController that contains the images (it's an article list)
Reproduce
in my viewDidLoad I call the following method:
topArticleImageView.kf.setImage(with: try? article.imageURL.asURL(), placeholder: Constants.placeholderImage)
Other Comment
Please see the screenshot of the problem: imgur
Any ideas? Is this a possible bug in the library? Thank you!

@L4grange Not sure what could cause it, but sounds like the image is not set in the main thread. (But that should not be the case since we are actually dispatching the image setting to main queue)
Does this issue happens 100% on iOS 9 and 10? Could it be a layout issue that your image view is just not in the screen? (say something you could try to set some background color and set the image manually to nil to see whether you could see the color, or just confirm the view's frame and/or cliping status).

Thanks for your reply. I have done what you've asked me and it turns out even without using kingfisher, my imageview gets hidden on ios 9 and 10. The imageView is inside a scrollview and gets hidden by a white view that does not appear on the view hierarchy debugger. This is a layout issue that I'll have to debug myself. Thank you for your time and your help, and this amazing library!

@L4grange Have you figured out what was that magic view on top of the image view?
Trapped into the same issue recently. Can be reproduced only on the iOS < 10.0.
In the debug hierarchy nothing hides the actual image view. However on the iOS 10 sim I don't see the image view at all. Only a contentView behind it.


fixed RouterLocaleGuesser return value when locale is not allowed

When a locale was not allowed it did return true.
This fixes the return value to false when a locale is not allowed.
relates to https://github.com/lunetics/LocaleBundle/issues/140

can we have a bug fix version for this?
i guess this would be 2.4.2


Fix StaticArray#to_json

StaticArray.to_json currently results in a compiler error coming from the crystal stdlib:
In /usr/share/crystal/src/json/to_json.cr:10:15

 10 | to_json(json)
              ^---
Error: expected argument #1 to 'StaticArray(Int32, 1)#to_json' to be IO, not JSON::Builder

Overloads are:
 - Object#to_json(io : IO)
 - Object#to_json()

Minimal Reproduction Example:
require "json"

StaticArray[1].to_json

This seems to be caused by it using the generic Object.to_json. This PR fixes it by overwriting to_json for StaticArray to be the same as for normal arrays

Thanks @Vendicated and congrats on your first contribution to Crystal!


My world has been reverted to an older stage!

While reading through chat on how to LOAD an UNLOADED world I type /mvm set autoload true "Worldname" on the world... it did not work.
I tried again (this is on a SkyLands word BTW) and still nothing.
I typed this command in and tried on the normal spawn world and it worked (I did this as a test)
Next I typed it in again for the SkyLands world and it worked.
I restarted the server and my main spawn world is now UNLOADED and I was put into the world named "world" (which is not my default spawn world "Spawn" is my default world) and the world is my old version world!

Not something Multiverse would handle, locked due to lack of updates and it no longer occurring if it ever did.


use single Python Version for API container CI/CD and tox

Description
use single Python Version for API container CI/CD and tox

Fixes #717
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality not to work as expected)

Additional requirements

[ ] Tests have been added for the bug fix or new feature
[ ] Docs have been added for the bug fix or new feature

Code of Conduct
By submitting this PR, you agree to follow our Code of Conduct.

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

@kairoaraujo please go through the pr.

@MVrachev there you go, i have made changes as you mentioned.

@kairoaraujo resolved as mentioned by you.

@kairoaraujo is it good to go now?

Thank you @Brijeshthummar02
We hope you engage in the RSTUF project.

@kairoaraujo yeah, i would stick to the RSTFU projects.


Fix calendar scrolling

@chrishanes do you think this was done in order that the date picker would work without javascript? (I just tried the existing code with javascript turned off and the date picker is completely missing)


Starting work on v2.5.0...

API developers, please see my pull request with API changes and see my releases page for additional information.

Summary:

Crucial API changes (see the initial message)
New methods, API events
Fix 1.12 /vehicle language
Add vehicle price, along with /vehicle buycar and /vehicle buyvoucher
WorldGuard for all supported versions (including 1.12)

(no, absolutely not release-ready)


Change PaymentSheet buy button color

With the ios stripe sdk, we can set the color of the Buy button for the PaymentSheet
https://stripe.com/docs/payments/accept-a-payment?platform=ios#customization
Can we do it as well with this plugin ?

Now, capacitor-community/stripe don't have API of change the color of button.
If you need this api, please create pull request.
Thanks.

@MohamedRed Did you adapt this plugin for production? If yes, please tell us what app. Please help us to develop this plugin in 2022.
https://github.com/capacitor-community/stripe/issues/145
Thanks.

Setting the colour would be amazing


[hapi] Dynamically fetch schema on request

Hi guys,
I've one question about graphQL server (using it with Hapi):
On my project, user can create entities types and add new fields.
These kind of actions generates a new schema with these new informations.
Re generating the schema is not an issue, but I don't know how to tell the server to use this new version.
Basically, all I would like is, in plugin options, being able to pass a function to retrieve the schema and not the schema itself.
Is there a way to do that? Or a way to "refresh" the server when the schema is updated, without having to fully restart the server.
Thanks!

Finally resolved this myself, using a getter to retrieve schema
const obj = {
    get schema() {
         // return generated schema
    }
}

And defining plugins options like this : graphqlOptions: { schema: obj.schema }
This makes the job as obj.schema is a GraphQLSchema as expected.


Questions regarding this project

Hey guys I have some questions regarding this project:

Can this library be used to integrate into a game engine as easily as somehting like egui
Are there any caching capabilities even though it is immediate?
Does it compile for web as well?
Does it lock you into some kind of framework like iced does?

Hi @Raj2032 :)

I don't think so. It doesn't follow the IMGUI pattern of outputting vertex buffers, instead using it's own renderer (https://github.com/audulus/vger-rs)
Not yet, though I'm planning to do that.
That's a WIP.
No. See https://github.com/audulus/rui-ios

@wtholliday

Is it somehow still possible to support it in game engines?
If it does have caching capabilities would it be suitable to be used as retained graphics?
Ah right mate :)
Interesting mate :) glad it doesn't lock you into some framework or something :)
Does rui support Android as well? Or is this WIP?
Can I make my GUI application anything I want it to look, for example something like this:

I haven't thought about android. In theory it should work.
Yes, though it doesn't have theming, so you'd have to write your own widgets.

BTW, it seems like you may be looking for a more mature toolkit than rui. rui is really very young (only started in February of this year).


Initial HTTP Sketch

Implements an initial sketch of what an "Edge Node" looks like in Fabric.  More work to be done.

Outstanding: fix tests, achieve 100% coverage.


vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd

This is a backport of https://github.com/containerd/containerd/pull/6687 to the release 1.6 branch

The build failures are due to the rocky linux 8 vagrant box not existing and the windows MinGW script failing to execute.


update packages

:white_check_mark: Build TheIdServer 6.3.1-fix-dependencies1-0107 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/6809a5fcb8 by @)

:white_check_mark: Build TheIdServer 6.3.1-fix-dependencies1-0108 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/45805e73d8 by @)


groupby with index name

ddf = dd.DataFrame(....)
g = ddf.set_index('name')

# works
g.groupby(g.index).apply(lambda x: x)

# fails (as the index name is not set/recognized)
g.groupby('name').apply(lambda x: x)

xref #956

Is this possible in pandas? I can't seem to get it to work:
In [36]: df = pd.DataFrame({'a': [1, 2, 3, 4], 'b': ['a', 'b', 'c', 'c']}).set_index('b')

In [37]: df.groupby('b')
<big traceback...>
KeyError: 'b'

The goal is to be able to pass the name of the index in as groupby and have it trigger a proper groupby index.
E.g. if we have a dataframe with the index name 'date' we want to be able to say df.groupby('date') and have it do a proper groupby-index call.
This wasn't possible before because we didn't track the name of the index.  As of #961 we do.

I understand what the goal is, what I mean is pandas doesn't support passing an index name. You need to use the level keyword to make it work. It's definitely doable, I'm just unsure if we want to break compatibility here.

Oh, my bad.  I totally misread your original message.

2 comments

it's Unimplemented but pandas will at some point support inference on a name of it's an index level and unambiguous
if/when dask supports multi indexes the level arg is important (most of the time can be inferred as well)

Closing for now, as this behavior is unimplemented in pandas. Feel free to reopen when the issue is resolved upstream.
In [8]: df = pd.DataFrame({'a': [1, 2, 3, 4], 'b': ['a', 'b', 'c', 'c']}).set_index('b')

In [9]: df
Out[9]:
   a
b
a  1
b  2
c  3
c  4

In [10]: df.groupby('b')
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
/Users/jcrist/anaconda/envs/dask/lib/python3.5/site-packages/pandas/indexes/base.py in get_loc(self, key, method, tolerance)
   2133             try:
-> 2134                 return self._engine.get_loc(key)
   2135             except KeyError:

pandas/index.pyx in pandas.index.IndexEngine.get_loc (pandas/index.c:4433)()

pandas/index.pyx in pandas.index.IndexEngine.get_loc (pandas/index.c:4279)()

pandas/src/hashtable_class_helper.pxi in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:13742)()

pandas/src/hashtable_class_helper.pxi in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:13696)()

KeyError: 'b'

This can be reopened; pandas has implemented the ability to groupby on index columns a while ago. The example from @jchrist above now works.


Bump urfave/cli to v2

This bumps urfave/cli to v2 track. This is an opportunistic upgrade (we're not using any of the features yet) so that we can stay up to date as bugs are fixed.

Is that worth taking on right now?

We don't really have to take on that right now. I thought it would be nice to do this though so that new CLIs will be on the v2 version.

@yorinasub17 what do you feel your next step will be?
I'm on the fence of using entrypoint for my own Terraform CLI wrapper as it is still using urfave/cli/v1 as opposed to v2.

UPDATE: rebased on master.

We are looking to upgrade the Patcher CLI to v2 of urfave/cli, and it seems this PR needs to get merged first. @yorinasub17 can I help push this over the line? Is only rebasing and fixing conflicts needed or something else as well? Happy to take over this PR and shepherd it to completion!

Just rebased on master and it looks like build passed and no more merge conflict, so this is ready for merge again! (provided you don't find anything else that needs updating).

Thanks for review! Merging now.

Released as https://github.com/gruntwork-io/go-commons/releases/tag/v0.11.0


Live view freezes and jerks with Reolink

Since 6.0.0 release the live view does Not work. It stucks freeze and jerks. 10 cameras all the same. Worked brilliant before.<!-- =================================================================
***               PLEASE DO NOT IGNORE THIS TEMPLATE

*** This is the smallest amount of information needed to help you!
====================================================================== -->
Checklist:

Please try updating to the latest available version.
Please try clearing your browser cache.

[REQUIRED] Card diagnostic information:

[REQUIRED] Description of problem:

[OPTIONAL] Last working release (if known):
[OPTIONAL] Javascript errors shown in the web inspector:

[OPTIONAL] Additional information:

@copa80 Can you confirm that it's the same problem as this issue #1741 ?

@copa80 Can you confirm that it's the same problem as this issue #1741 ?
Yes seems to be the same

Closing as duplicate of #1741


Make key/value fields autocomplete via taginfo sugges

Make key/value fields autocomplete via taginfo suggestions api.
(idea by Oleksiy Muzalyev via osm-talk)

Do we need approval from taginfo maintainers for this?
I know that Nominatim explicitly forbids implementing type ahead search using the public API, I could not find such a restriction on the public taginfo API.


"Interacted" flag should be reset on relaunch

Testing #119108

Create an interact with a terminal
Set an environment variable
Manually relaunch ✔
Clear the environment variable
Manual relaunch required again -- I think it can be automatic now

Good find


change: Update to new BraketSimulator interface

Issue #, if available: N/A
Description of changes: Update the LocalSimulator interface to handle the updates to BraketSimulator.jl
Testing done: BraketSimulator.jl tests passed
Merge Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.
General

[x] I have read the CONTRIBUTING doc
[x] I used the commit message format described in CONTRIBUTING
[x] I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

[x] I have installed and run git secrets to make sure I did not commit any sensitive information (passwords or credentials)
[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have checked that my tests are not configured for a specific region or account (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Example notebook is broken because BraketSimulator.jl's interface branch needs merging


Browserstack

Hm, I thought that browserstack was paid only

@tpluscode You can find more information regarding freelancers and open source plans here

Not sure if we should add this considering that they are selecting eligible open source project, which is a serious drawback.


txs with amount 0 generated when rewards are 0

The expected result would have been that they would not be generated.

Closed with #10


Link element in NavBar link is smaller than hovered list item area

The link element in a navbar link list item is smaller than the outer <li> item, which has an hover effect.

This results in the bug the menu item itself is hovered, but nothing happens on click if you don't hit the inner link element.
I think this could be fixed by removing the line-height of .ms-NavBar-item and make the .ms-NavBar-link a inline-block element with a height of 29px and a top padding of 10.5px.
10.5px seems to result in exact the same look, but because float values in pixel units are evil we could use 0.7em or any better idea. :smirk:
.ms-NavBar-link {
    padding-top: 10.5px;
    display: inline-block;
    height: 29px;
}

.ms-NavBar-item {
    line-height: initial;
}

Fixed by PR #615. The CommandButton we're using now is full height.


Sni/issue 13

Solves issue #13: the store now emits actions sequentially.
(PR built on top of #14 )

have been tested in real case and work well in main Groupon app


How to run openwebrtc on iOS in the background

I have already run ios/NativeDemo app in my iPhone, it works perfectly. However, when I press home button and the app enters the background mode, the connection is closed. How to continue running openwebrtc in the background? Thanks.

I think @stefanalund and @Rugvip can probably figure this out. It's platform specific and we need to document how on Android and iOS.

iOS stops the camera when an app is put in to the background, but audio should be possible to keep alive. There's a specific background mode that needs to be enabled in the App Settings.

Yes, I expect that the app keeps audio talking in the background.
I add key Required background modes that has App plays audio and App provides Voice over IP services item to Info.plist. Unfortunately, it's not working.

It's interesting.
I modify the code like this to use audio only, and when entering background mode, the app will keep audio connection. I can listen and send voice with each other.
[nativeHandler startGetCaptureSourcesForAudio:YES video:NO];

However, when entering background, iPhone won't show using audio view on the top. When I test Talky.io app, it will show like this.

So audio is running when in the background now?

Yes, it is.

We use OpenGL for video rendering in hybrid and native applications in case that gives any clues.
It could possibly be as simple as deregistering the nsview against the tag. And then reregistering again when coming back into focus. I think @rugvip has done something like that on Android but I'm not sure.

Perhaps I should ask if display of video resumes when you resume the app.

Sorry for all the questions and few answers, but did audio start working in the background when you went audio-only?

Yes, it did.
Audio worked in the background when the app went audio-only.


LS-60249 Enable OpAMP Bridge by default

Description

For both otel-cloud-stack and kube-otel-stack charts, switched opAMPBridge.enabled to true so that the OpAMP bridge is provisioned by default during Helm chart install
Incremented minor version of both charts to reflect the change in behavior

For Docs team
This should address the open question in OpAMP doc updates in https://github.com/lightstep/docs-staging/pull/691 about the default opamp bridge config. With this change, the OpAMP Bridge will be enabled by default for customers, so no special instruction are needed in quick start guides and docs about enabling the bridge. However, with the bridge enabled by default, we will need to make sure we direct customers to generate and save an API Key (as a kubernetes secret) for the bridge
It also might be important to recognize that this behavior is introduced with these new chart versions (from this PR)

otel-cloud-stack: 0.5.0
kube-otel-stack: 0.6.0

How did you test this?
Ran the following commands before and after changes to render k8s configs:
helm template test-stack otel-cloud-stack -f otel-cloud-stack/values.yaml --set clusterName='gfast-test' --set=tracesCollector.enabled=true --set=logsCollector.enabled=true

I then diffed the old and new configs for each chart. I checked each diff to ensure that we saw the following changes (and nothing more), and all looked good

Chart version updates
Collectors now get the opentelemetry.io/opamp-reporting: "true" label
Configs for new resources: bridge ClusterRole, bridge ClusterRoleBinding, OpAMPBridge

kube_otel_stack_new.yaml.txt
kube_otel_stack_orig.yaml.txt
kube_otel_stack_diff.txt
otel_cloud_stack_new.yaml.txt
otel_cloud_stack_orig.yaml.txt
otel_cloud_stack_diff.txt

one little rec — try running the exact same helm command we recommend in the quickstart for testing (main difference is to name the release the same as the chart name, i.e. helm template otel-cloud-stack charts/otel-cloud-stack ....., this does matter a tiny bit because it impacts the naming of provisioned resources)

one little rec — try running the exact same helm command we recommend in the quickstart for testing (main difference is to name the release the same as the chart name, i.e. helm template otel-cloud-stack charts/otel-cloud-stack ....., this does matter a tiny bit because it impacts the naming of provisioned resources)

you got it, I just re-ran the helm template commands and updated the test files


Fix the formatting of duration

Fixes https://github.com/microsoft/vcpkg-tool/pull/909#issuecomment-1471964306
Before:
Detecting compiler hash for triplet arm64-osx...
The following packages will be rebuilt:
    boost-uninstall[core]:arm64-osx -> 1.81.0#2
Removing 1/2 boost-uninstall:arm64-osx
Elapsed time to handle boost-uninstall:arm64-osx: 1.88325 ms
Restored 0 package(s) from /Users/leanderSchulten/.cache/vcpkg/archives in 682.708 us. Use --debug to see more details.
Attempting to fetch 1 package(s) from HTTP servers
Restored 0 package(s) from HTTP servers in 210.244292 ms. Use --debug to see more details.
Installing 2/2 boost-uninstall:arm64-osx...
Building boost-uninstall[core]:arm64-osx...
warning: -- Using community triplet arm64-osx. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /Users/leanderSchulten/git_projekte/vcpkg/triplets/community/arm64-osx.cmake
--
Please use the following command when you need to remove all boost ports/components:
    "./vcpkg remove boost-uninstall:arm64-osx --recurse"

-- Performing post-build validation
Uploaded binaries to 1 HTTP remotes.
Stored binary cache: "/Users/leanderSchulten/.cache/vcpkg/archives/ea/ea1a7b9817b0c937939d837215893858a607c709475ce50a9119f085c3cf5089.zip"
Elapsed time to handle boost-uninstall:arm64-osx: 293.621666 ms
Total install time: 506.937584 ms

After:
Detecting compiler hash for triplet arm64-osx...
The following packages will be rebuilt:
    boost-uninstall[core]:arm64-osx -> 1.81.0#2
Removing 1/2 boost-uninstall:arm64-osx
Elapsed time to handle boost-uninstall:arm64-osx: 3.85 ms
Restored 0 package(s) from /Users/leanderSchulten/.cache/vcpkg/archives in 608 us. Use --debug to see more details.
Attempting to fetch 1 package(s) from HTTP servers
Restored 0 package(s) from HTTP servers in 48.7 ms. Use --debug to see more details.
Installing 2/2 boost-uninstall:arm64-osx...
Building boost-uninstall[core]:arm64-osx...
warning: -- Using community triplet arm64-osx. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /Users/leanderSchulten/git_projekte/vcpkg/triplets/community/arm64-osx.cmake
--
Please use the following command when you need to remove all boost ports/components:
    "./vcpkg remove boost-uninstall:arm64-osx --recurse"

-- Performing post-build validation
Uploaded binaries to 1 HTTP remotes.
Stored binary cache: "/Users/leanderSchulten/.cache/vcpkg/archives/e6/e6662b667e7f7a6f36d61d7b468ec4a10a93d244d30aab378e5f0a5bf46c9de2.zip"
Elapsed time to handle boost-uninstall:arm64-osx: 105 ms
Total install time: 159 ms

Thanks!


How is this prefix given

Dear authors,
thank you for your interesting research which is really inspiring
I just have one small question about data pre-processing (or maybe model inference).  I want to know how the prefix  which is in the model input is given. In your paper, Fig1 gives an illustration of this. But I notice that the prefix in Fig 1 seems to be exactly the same as the prefix part in the ground truth(i.e., fix(doc). For  fix(doc, how is the length of such a prefix arrived at, and why can't it be shorter or longer? (i.e., fix( or fix(docs): ).
Moreover, in model training, did you use prefixes and histories?
Looking forward to your reply. Thx in advance!

Hello! Thank you for taking interest in our work :)
In our experiments, we constructed the prefixes sort of artificially by taking the first X% characters of each message as prefix and treating the remaining part as target (X here is what we call "context ratio" throughout the results section). We experimented with three different values of X:

0% (no prefix at all, generation)
25%
50%

This concerns only evaluation stage; during training, we used full commit messages, exactly the same as when training for commit message generation. If you're interested, here is the code that is responsible for prefixes construction during evaluation.
In a real-world completion scenario, it could be a task of its own to determine when exactly the completion model should and should not be invoked, maybe guided by some heuristics or even a separate model.
As for the history, we considered two configurations:

history is used during both training and evaluation
history is not used during both training and evaluation

You can find the code responsible for constructing inputs with history during training here.
I hope that answers your questions, but feel free to let me know if I can be of help!

Thank you for your detailed information. It is really enlightening to me.
Thx again!


[RFE] Add new "NamespacedRules" field.

Related to Global Roles v2
SURE-6636

Basic Requirements

A new field should be added on the GlobalRole type called NamespacedRules.
This field should be a map[string][]rbacv1.PolicyRule, indicating which rules are active in which namespaces.
The use of * should have no special meaning as a key.
Each value in the map should result in one role in the namespace specified by key
When a GlobalRoleBinding is made to a global role using these fields, one rolebinding should be made (per namespace) to the role created in the handler
The role/rolebinding should have labels indicating which GlobalRole/GlobalRoleBinding they are owned by
The role/rolebinding should have an ownerRef referring to the GlobalRole/GlobalRoleBinding
If the role/rolebinding is updated/deleted, it should enqueue the owning GlobalRole/GlobalRoleBinding (as defined by the label)
The GlobalRole/GlobalRoleBinding controllers should remove any roles/bindings which claim to be owned by the GlobalRole/GlobalRoleBinding (by label) but are for a different subject or have different rules.
Tests should be written for all net-new code

Validation
Root Cause
Users would like more fine grained control over the permissions provided by Global Roles (GR) and Global Role Bindings (GBR). Specifically, they want to be able to provide rules that apply only in specific namespaces.
What was fixed, or what change has occurred
We have added a new field to GRs called NamespacedRules. It is a map of Policy Rules where the key is the Namespace it should apply to.
Example NamespacedRules:
...
namespacedRules:
  namespace1:
    - apiGroups:
      - catalog.cattle.io
      resources:
      - apps
      verbs:
      - edit
  namespace2:
    - apiGroups:
      - catalog.cattle.io
      resources:
      - apps
      verbs:
      - list
...

When a GR with NamespacedRules is created, a Role is created in each of those Namespaces that has the Policy Rules specified. When a GRB is created to assign that GR to a user, it creates Role Bindings in each Namespace to assign the Roles in the respective Namespaces.
In order to manage all the Roles and Role Bindings, they have a label on them with key authz.management.cattle.io/gr-owner (grb-owner for GRB) and the value is the name of the owning GR or GRB.
Areas or cases that should be tested
This is a fairly significant change in GRs and GRBs, so they need to be thoroughly tested. Some tests could include:

Creating, updating and removing GR and GRBs with NamespacedRules
Modifying and deleting the created Roles and Role Bindings

After deleting a Role/Role Binding, Rancher should attempt to recreate it immediately
Deleting a Namespace that contains the Role/Role Binding removes those resources and it does not attempt to recreate them. It should log a warning and then stop warning the user.
After modifying the Rules in the Role, Rancher should revert it immediately

The * wildcard does not work for NamespacedRules. It should not provide access to all resources in a Namespace
Creating Role and Role Bindings with an GR or GRB owner label to a GR or GRB that should not exist gets removed
kubectl explain globalrole should give a clear explanation of how to use NamespacedRules

What areas could experience regressions
It's important that these new changes don't affect the other aspects of GRs and GRBs.

Inherited cluster rules and global rules would be the most likely to experience regressions.
The UI could experience some regressions or have poor design/UX so that is something to look out for. I made no changes to the UI so I'm not sure how it might react to the new field.

Are the repro steps accurate/minimal?
This is a new feature so there aren't repro steps. I've added an example GR below that I used to test. Applying it via kubectl apply -f gr.yaml is the easiest way to create them.
  Example GlobalRole with NamespacedRules and standard global Rules
```
apiVersion: management.cattle.io/v3
kind: GlobalRole
metadata:
  namespace: default
  name: test-gr-2
rules:
- apiGroups:
  - catalog.cattle.io
  resources:
  - apps
  verbs:
  - create
namespacedRules:
  namespace1:
    - apiGroups:
      - catalog.cattle.io
      resources:
      - apps
      verbs:
      - edit
  namespace2:
    - apiGroups:
      - catalog.cattle.io
      resources:
      - apps
      verbs:
      - list
```

Validated on v2.9-head 3c4ccdc5

Suite
Test case
Status

Fresh Checks
Create a global role with nameSpacedRule
PASS

Create a global role with * as key in namespaced rule
PASS

Auth providers Create a global role with nameSpacedRule
PASS

Create a global role with * for resources and apiGroups
PASS

Add multiple namespaces in the namespacedRules
PASS

Verify passing a namespace that does not exist in the namespaced rules
PASS

Update global role with nameSpacedRule
PASS

Update an existing global role and add multiple namespaced rules
PASS

Delete global role with nameSpacedRule
PASS

Delete a namespace deletes roles and role bindings
PASS

Delete global role binding
PASS

Delete a role binding
PASS

Delete role created for the namespacedrule
PASS

Update the globalrole from the above test case and remove a namespace
PASS

Delete the user and verify the global role bindings were deleted.
PASS

Upgrade Checks
Create a global rolev2 with inherited cluster role and upgrade rancher
PASS

Other checks
Recreate an existing role binding manually for a new user, verify the rb is deleted immediately.
PASS

Create a global role with namespaced rules, using fleet.
PASS

Backup/restore checks
Restore backup on a migrated rancher server on the same rancher version
PASS

Upgrade and restore on a migrated rancher server


Application settings UI

Add settings UI.
To think about a generic approach with auto-building based on metadata (types)?
TBD.

What will be configurable in the setting?

Everything that you need. Any param of the settings module which stores params from different modules of the app. Maybe, it'll be a generic auto-builder with manual overrides, or just a hardcoded interface.
Personally, I'll try to add keyboard config if it's possible without much pain.

: D oh sound good. I'm curious how is the configuration stored? Is it on local storage and user will have same setting every time he open the browser?

You can take a look how it's implemented right now.
Basically, I added the provider dependency as an abstract layer for a persistence storage. One of which is LocalStorage, another one is the void -- a fallback-to-defaults provider (or null-object). If you ever need a server-side persistence, well, it'll be quite easy to roll it out as a new provider (or composition of providers, or decoration).
Regarding some kind of cross-device storage, there is a basic import/export functionality which is still needed a thorough planning. 😟

I see, so storage can be different among different devices right? What is the best practice to support cross-device storage?
If we have setting in server-side, we need to support setting based on user right? it is a lot of work, so can go forward with local storage for now.


⚠ Turnos 24x7 has degraded performance

In 09b09c4, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 969 ms

Resolved: Turnos 24x7 performance has improved in 56b23bb.


Update Bid History for lot currently being viewed by user

Update Bid History for lot currently being viewed by user.

Fixed in #1476.


Error: Formula.Firewall: Query 'Monday Board' (step '2nd_Page_Table_Updated') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.

Hello,
Thanks for the powerbi code. When I go through the Applied Steps in the Monday Board example, the tables are generating successfully. BUT when I get to the Combined_Table1 step I receive the following error. Can you help please?
Formula.Firewall: Query 'Monday Board' (step '2nd_Page_Table_Updated') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.

Fortunately, the solution is simple.  The following URL has some more detail but to solve this you need to ignore privacy levels in your Power BI file.  In Power BI, go to File=>Options and Settings=>Options and set the Ignore Privacy Levels option.
https://community.fabric.microsoft.com/t5/Desktop/Formula-Firewall-Query-references-other-queries-so-it-may-not/m-p/18619
Howard Bouk
From: 1nsoul @.>
Date: Wednesday, March 27, 2024 at 9:47 AM
To: hmbouk/Monday-paginated-board-PBI-query @.>
Cc: Subscribed @.***>
Subject: [hmbouk/Monday-paginated-board-PBI-query] Error: Formula.Firewall: Query 'Monday Board' (step '2nd_Page_Table_Updated') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination. (Issue #3)
Hello,
Thanks for the powerbi code. When I go through the Applied Steps in the Monday Board example, the tables are generating successfully. BUT when I get to the Combined_Table1 step I receive the following error. Can you help please?
Formula.Firewall: Query 'Monday Board' (step '2nd_Page_Table_Updated') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.
—
Reply to this email directly, view it on GitHubhttps://github.com/hmbouk/Monday-paginated-board-PBI-query/issues/3, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADGMAVW4HT4LC6OIW5TXDBDY2K5WZAVCNFSM6AAAAABFK5I2R2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYTAOBVGQ3DQNI.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Tailing logs with JSON output.

Do the current stern options support JSON log output from pods with traditional stern color?
A subset of our pods currently output JSON logs with additional fields. An example Stern output (Stern 1.10):

dsj-stat-builder-service-daemon-55444b74cb-zwtfx dsj-stat-builder-service-daemon {"@timestamp":"2019-01-08T03:13:41.573Z","source_host":"dsj-stat-builder-service-daemon-55444b74cb-zwtfx","file":"Bucket.java","method":"readMetadataFromFS","level":"INFO","line_number":"441","thread_name":"Step Runner for count-records-and-segments","@version":1,"logger_name":"com.rapleaf.formats.bucket.Bucket","message":"Metadata obtained at gs://liveramp-eng-dist-incoming-data/input_data/data/spruce/persistent/data_sync_requests_by_job_id/1610409_1546917039906/bucket.meta","class":"com.rapleaf.formats.bucket.Bucket","mdc":{"run_identifier":"2010629208","joblet_identifier":"1736402519276071327217165","application":"dsj-stat-builder","workflow_execution_id":"344533283","workflow_attempt_id":"355297393","source_host":"dsj-stat-builder-service-daemon-55444b74cb-zwtfx","team":"dev-dist"}}

I am able to parse these using JQ, but haven't been able to figure out how to preserve Stern's color coding while doing so. Is this currently supported/I need to read the docs better or is additional parsing of json log messages not yet a feature?

Then you can use it as follows: stern -l app=test --template '{{color .PodColor .PodName}} {{color .ContainerColor .ContainerName}} {{parse message .Message}}'

I really like this idea. This would make following logs a lot more fun!


the legup hls compiler

Hello, where can I find the original repository of the legup hls compiler iteself?

Hi, LegUp Computing Inc. has been acquired by Microchip Technology and is now part of the FPGA design tools as SmartHLS.
https://www.microchip.com/en-us/products/fpgas-and-plds/fpga-and-soc-design-tools/smarthls-compiler
For the academic open-source version, please refer to http://legup.eecg.utoronto.ca./


drag window with mouse cause ^c in the terminal

VSCode Version: 1.38.1
OS Version: Windows 10

Steps to Reproduce:

open cscode

drag window

there will be ^c in the terminal

Does this issue occur when all extensions are disabled?: Yes!

I've never seen this before, ^C should only happen when you hit ctrl+c while the terminal is focused.


[backport] When initially adding a group to Istio access with Github auth enabled, the member type shows as 'group' instead of 'Organization'

Backport of rancher/rancher#23264

I don't think we need this. Let me know if you think we do @codyrancher


Disable x-frame-option in standalone application #1501

it allows to embed it in Eclipse Theia (requirement to embed in Eclipse
Che)
Is it safe to do it this way? Are there other ways to avoid x-frame-options issues when embedding in an i-frame?
I can also imagine to disable it only when starting the standalone app with specific parameters. Would it make sense?

provided another PR which is making it configurable to disable the x-frame-options https://github.com/atlasmap/atlasmap/pull/1571


Can't Running Program Windows via Terminal

When i create symbolic link in my terminal, why i cant running this ?

It seems to be working here. What's your problem exactly?


Skipping training and extraction

Hi! I am confused about something.
Let's say I've got an entirely different model and I have saved its weights to a h5 format, can I just go ahead to the inference and skip the other steps listed in the readme?

No, the rust backend uses PyTorch, which has a different serialization format than h5 so there needs to be some conversion. If you already have an h5 file, simply run the extract_keras_weights.py script as specified in the README to get a numpy file which the inference can then use.

Oh! I actually have it in pytorch pth...I was thinking of converting to h5 through onnx. So what should I do with the pth

Hmm so to be a bit more specific, the conversion script adjusts some tensor dimensional differences between Keras and Pytorch and then serializes the entire model as a .npy file. So you would still have to serialize the .pth file into .npy. I would take a look here, and see if you can tweak the function to not do any re-shaping of the .pth model. Otherwise, you could convert to h5 and then use the script.

Thank you


Add option to specify base class of generated scanner

Currently, I'm post-processing the output files with search/replace.  If you agree that this is an option that should be added, I can try to work on a PR.
(Of course, the specified class has to extend reflex::AbstractLexer<reflex::Matcher>.)

Perhaps use multiple inheritance? I don't see a compelling reason to add a new feature to specify a user-defined base class for reflex::AbstractLexer<reflex::Matcher>.

It wouldn't be a base class for AbstractLexer.  It would be a base class for the generated scanner:
AbstractLexer → MyBaseClass → MyGeneratedLexer
I considered multiple inheritance.  However, in my case, the base class has to inherit from AbstractLexer because it needs access to that functionality.

However, in my case, the base class has to inherit from AbstractLexer because it needs access to that functionality.

Not sure why? This has never been necessary in our lexer projects. The protected members of AbstractLexer state are all accessible through methods:
 protected:
  Input                in_;      ///< the input character sequence to scan
  std::ostream        *os_;      ///< the output stream to echo text matches to
  char                *base_;    ///< the buffer to scan in place, if non-NULL
  size_t               size_;    ///< the size of the buffer to scan in place, if nonzero
  Matcher             *matcher_; ///< the matcher used for scanning
  int                  start_;   ///< the current start condition state
  int                  debug_;   ///< 1 if -d (--debug) 0 otherwise:
  std::stack<Matcher*> stack_;   ///< a stack of pointers to matchers
  std::stack<int>      state_;   ///< a stack of start condition states

It's safer to not use them directly. See the manual on how to use the lexer methods.

Maybe I'm just being dumb, but if I have this structure:
AbstractLexer → MyGeneratedLexer
MyBaseClass ↗
How can MyBaseClass call methods defined by AbstractLexer?

The abstract class is just that, abstract. But the derived class (generated) inherits these methods. For example, in() returns in_. Is that not what you want?

How can I call in() from MyBaseClass?

Um, you don't, because it's an abstract class. Use the generated class. We typically derive classes from the generated class.

In my case, I want to add the same functionality to many different lexers, and that code needs to be able to call functions defined in AbstractLexer. Without the ability to implement this:
AbstractLexer → MyBaseClass → MyGeneratedLexer
I would have to duplicate the code across each lexer. My current solution works, so if you really don’t think it’s appropriate to implement my request, then I’ll stick with what I have.

Sorry, I just realized that I never gave you the full picture in the diagrams.  I'm only creating a base class because I want to do this:
                            ↗ Lexer1
AbstractLexer → MyBaseClass → Lexer2
                            ↘ Lexer3

IMHO multiple inheritance makes sense in this scenario: that base class should not be derived from the lexer abstract class to be placed in the middle BEFORE the generated classes. It is not the proper placement from an organizational and access privilege point of view. Your base class can still be derived from the abstract lexer if you want to access its features. Another simpler (perhaps much better) way is to create a template class instantiated with the generated lexer classes and add your shared methods there.

OK, thanks for the advice.


bug(AUTOCOMPLETE): Autocomplete options popup is not binded to its target element when dialog is scrolled

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
We have an autocomplete element in dialog body and dialog body is scrollable. if we open the autocomplete options and scroll the dialog body, the options popup is not bind to its trigger element and is floating headless.
https://github.com/angular/components/assets/114717711/f2dbcab3-943f-4d2d-a62f-3938392d9ec0
Reproduction
StackBlitz link:  https://stackblitz.com/edit/yqwgdw?file=src%2Fexample%2Fdialog-overview-example.ts
Steps to reproduce:

Create a Mat Dialog.
Place a Mat Autocomplete element in dialog body.
Add 500px margin all around the autocomplete to introduce scrollbars.
Open the autocomplete popup for options.
Scroll the underling dialog body.

Expected Behavior
The options popup should stay attached to input box.
Actual Behavior
The options popup is floating headless.
Environment

Angular: 17.3.0
CDK/Material: 17.3.1
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

You can fix it on your end by adding the cdkScrollable attribute to mat-dialog-content. That being said, we should be doing this automatically.

The workaround will work for now.


Sweetspot recalibration after disconnection

Sweetspot recalibration for D1, D2 and D3.
By increasing the drive power now I've been able to address also D5. Despite achieving 98% readout fidelity T2 looks weird.

Although the sweetspots didn't change much I'm opening the PR since I've also a calibration for D5


Integrate agda2hs with cabal

Which integration is needed? Could not agda2hs just be used as Haskell pre-processor?

Which integration is needed? Could not agda2hs just be used as Haskell pre-processor?

Chances are that's its slightly more complicated than a simple preprocessor, because

.agda files can import each other.
.agdai files are generated during type checking.
agda2hs.agda-lib needs to be in scope and match the Haskell dependencies listed in the Cabal

That said, writing a simple Cabal preprocessor is fairly straightforwad. For reference, here is an Cabal (>= 3.8.1) preprocessor for files with the .foo extension
module MyPreprocessor (foo) where

import Prelude
import Distribution.PackageDescription
    ( BuildInfo
    )
import Distribution.Simple.LocalBuildInfo
    ( ComponentLocalBuildInfo
    , LocalBuildInfo
    )
import Distribution.Simple.PreProcess
    ( PPSuffixHandler
    , PreProcessor (..)
    , mkSimplePreProcessor
    , unsorted
    )

foo :: PPSuffixHandler
foo = ("foo", ppFoo)

-- | Preprocess a @.foo@ file into a Haskell module.
ppFoo
    :: BuildInfo -> LocalBuildInfo -> ComponentLocalBuildInfo -> PreProcessor
ppFoo _ _ _ =
    PreProcessor
        { platformIndependent = True
        , runPreProcessor = mkSimplePreProcessor $ \inFile outFile _verbosity →
            readFile inFile >>= writeFile outFile
        , ppOrdering = unsorted
        }

You can use it like this from a custom Setup.hs:
import Distribution.Simple
    ( UserHooks (..)
    , defaultMainWithHooks
    , simpleUserHooks
    )
import Distribution.Simple.PreProcess
    ( knownSuffixHandlers
    )
import MyPreprocessor
    ( foo
    )

main :: IO ()
main =
    defaultMainWithHooks
        $ simpleUserHooks
            { hookedPreProcessors =
                knownSuffixHandlers <> [foo]
            }

Are there any example projects that do this? I've messed around a bit with adding a preprocessor in Cabal, but it'd be nice if I didn't have to reinvent the wheel. Even if it didn't handle each and every situation, a simple template .cabal and Setup.hs that shows how to include one .agda file in a .hs project would be great.

Are there any example projects that do this?

Unfortunately, I do not have any examples that do this for agda2hs. I have two examples that are related, though:

A custom preprocessor for files with suffix .fine: https://github.com/cardano-foundation/fine-types/blob/c5a18ee7e3a9866d3f988944c485f79bac76b614/lib/deposit-wallet-mock/deposit-wallet-mock.cabal
A script that generates .hs files for packaging with .cabal: https://github.com/cardano-foundation/cardano-wallet-agda/blob/aa78c9b565dddc7f2d61d05e50ed53f87f2ca00a/lib/customer-deposit-wallet-pure/generate-haskell.sh

Thanks @HeinrichApfelmus - I've put together a simple HelloWorld project here: https://github.com/wouter-swierstra/agda2hs-cabal
I'm sure there's half a dozen things that are broken, but it serves fine as a proof of concept.


how to use with redux saga and typescript?

I'm trying to integrate kuker with react-readux-saga, but I'm stuck here:
const sagaMiddleware = createSagaMiddleware({
  sagaMonitor: emitter.sagaMonitor
})

Because the createSagaMiddleware expects an emitter function as well:
export default function sagaMiddlewareFactory<T>(options?: {
  sagaMonitor?: Monitor;
  emitter: (emit: Emit<T>) => Emit<T>;
}): SagaMiddleware;

Am I missing something?
We are using "react-redux": "^5.0.3" + "redux": "^3.6.0" + "redux-saga": "0.14.8" with react 16
The error is:
[tsl] ERROR in index.ts(31,45)
      TS2345: Argument of type '{ sagaMonitor: any; }' is not assignable to parameter of type '{ sagaMonitor?: Monitor; emitter: (emit: Emit<{}>) => Emit<{}>; }'.
  Property 'emitter' is missing in type '{ sagaMonitor: any; }'.
i ｢wdm｣: Failed to compile.

Thank you! It seems to me that our redux saga dependency is way too old, this shouldn't happen indeed.
The d.ts file is out of date, the relevant upstream issue is (was) here:
https://github.com/redux-saga/redux-saga/issues/813


fix typo

Please provide a description of this PR:

@zirain: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
0b9cdf82825b13a22aec0241ba717e5c1a32290a
link
unknown
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Typo "publishded"

@rs, FYI: merged this. Anything more need to be done to update https://rest-layer.io?

This file is generated from the README, so fixing the generated file is pointless.


implement require backend decorator

This change saves us some code by abstracting away the common need to confirm a backend exists into a Python decorator that can be applied to all methods that require the backend to exist.
Can you confirm that this is what you want, and see if there are any other places you could simplify the code by applying this proposed decorator?

Might be worth doing something similar for schema? I saw a place where we do a similar check for a schema and return a Schema Not Found error.
Or, maybe not worth it... but this backend thing was showing up in lots of functions.

Looks great. Merging.


Plot entropy vs. particular ions and angle types

Plot entropy with percentiles envelopes for particular ions (Na^+, Mg^2+, Ca^2+) and particular angle types (\Phi_14 vs. \Psi_14 and \Phi_13 vs. \Psi_13) f Will have 6 point on the plot for HA and 6 points on the plot for CS. Make 2 plots one for CS6 and one for HA.

Each entropy should be computed from aggregate hist, and then plot min and max instead of quantiles

Dane, perhaps not yet best presentation, in #41

As for #42 :

The result is equal to one from #41 but the code is cleaner IMO


Firestore v1beta1 snippets have incorrect case

We've actually got everything we need - it's just we've also got some unused files in Google.Firestore.v1beta1. I just need to delete those.


Loads model from file path in Android fail

I built the apk and ran it on the Quest2, there is an error for not finding the model. The model is under the StreamingAssets and the "Is Model Path In Streaming Assets" is enabled. After doing the investigation, it seems we should use UnityWebRequest to access StreamingAssest on Android and WebGL platforms. So after the adjustment in WhisperWrapper.cs the issue is fixed:
     public static WhisperWrapper InitFromFile(string modelPath, WhisperContextParams contextParams)
       {
#if UNITY_ANDROID && !UNITY_EDITOR
           var buffer = FileUtils.ReadFileWebRequest(modelPath); // this line is modified
           var res = InitFromBuffer(buffer, contextParams);
           return res;
#else

I hope my fix makes sense or maybe there are some settings I am missing in my project. Thank you

I unable to replicate this locally on my Google Pixel 4. Original code looks like this:
https://github.com/Macoron/whisper.unity/blob/25c8d267cf219f6a6728c6b35d6566c4a4d1aefd/Packages/com.whisper.unity/Runtime/WhisperWrapper.cs#L272-L278
Where FileUtils.ReadFile is:
https://github.com/Macoron/whisper.unity/blob/25c8d267cf219f6a6728c6b35d6566c4a4d1aefd/Packages/com.whisper.unity/Runtime/Utils/FileUtils.cs#L13-L19
It should work same, because FileUtils.ReadFile will call FileUtils.ReadFileWebRequest on Android.

Reopen issue, if you have more info


Assembly Strong-Name Signing

We're trying to use AngouriMath in an environment, where we need strongly-named assemblies.
Are there any plans to strongly-name the package published on NuGet?

I think we can do it for the next release, thank you for your proposal

@thomasgassmann hello. If you still consider using AngouriMath, we published a preview version here: https://www.nuget.org/packages/AngouriMath/1.2.0-preview.1
If something goes wrong, please, let me know.

@WhiteBlackGoose Thank you!


First hit is not sent if bootstrap with delay

If I bootstrap the plugin with a delay, when the executions reaches this code:
Router.onReady(function (current) {
    Vue.nextTick().then(function () {
      api.config(config.params);
      trackPage({
        to: current
      });
    });

The current param is undefined.
I solved the problem changing:
to: current
To:
to: Router.currentRoute

@soylomass thanks a lot for your feedback and sorry for the huge delay in responding and fixing this. 🙏

:tada: This issue has been resolved in version 1.12.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


'ConversableAgent' object has no attribute 'initiate_chats'

What happened?
I am following this article - https://microsoft.github.io/autogen/0.2/docs/tutorial/conversation-patterns#sequential-chats but I get error message 'ConversableAgent' object has no attribute 'initiate_chats'
What did you expect to happen?
Initiate chat should allow an array of elements
chat_results = number_agent.initiate_chats(
[
{
"recipient": adder_agent,
"message": "14",
"max_turns": 2,
"summary_method": "last_msg",
},
{
"recipient": multiplier_agent,
"message": "These are my numbers",
"max_turns": 2,
"summary_method": "last_msg",
},
{
"recipient": subtracter_agent,
"message": "These are my numbers",
"max_turns": 2,
"summary_method": "last_msg",
},
{
"recipient": divider_agent,
"message": "These are my numbers",
"max_turns": 2,
"summary_method": "last_msg",
},
]
)
How can we reproduce it (as minimally and precisely as possible)?
Just follow the document - https://microsoft.github.io/autogen/0.2/docs/tutorial/conversation-patterns#sequential-chats
AutoGen version
0.4
Which package was this bug in
Core
Model used
gpt-4o
Python version
Python 3.13.0
Operating system
Windows 11
Any additional info you think would be helpful for fixing this bug
No response

i am using 0.2, i resolved this pproblem by lower my python from 3.13 to to 3.12


Fix Gateway API HttpRoute cannot strip path prefix.

According to Kubernetes guidlines empty prefix should be allowed.
Fixes: #27994
Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Are you a user of Cilium? Please add yourself to the Users doc
[x] Thanks for contributing!

Fixes: #issue-number
Fix Gateway API HttpRoute cannot strip path prefix.

Hi, @meyskens Ready for review. Please take a look. Thanks~

/test


[Event Request] Report 5185 "Log Segment" – "Segment Header" OnAfterGetRecord

[Event Request] Report 5185 "Log Segment" – "Segment Header" OnAfterGetRecord
Could we please have a in publisher OnBeforeLogSegment in Trigger OnAfterGetRecord "Segment Header" Report 5185 "Log Segment"?
            trigger OnAfterGetRecord()
            begin

                // >>>>>>>>
                OnBeforeLogSegment("Segment Header");
                // <<<<<<<<

                SegManagement.LogSegment("Segment Header", Send, FollowUp);
            end;
..
// >>>>>>>>
[IntegrationEvent(false, false)]
local procedure OnBeforeLogSegment(var SegmentHeader: Record "Segment Header")
begin
end;
// <<<<<<<<

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Syntax error: invalid regular expressions

When running the generator I get the following error in the console leading to not being able to run the generator.
 ERROR  SyntaxError: Invalid regular expression: /(?<fileName>[^(\s]+):[0-9]+:[0-9]+/: Invalid group

Seems to be related to a recent PR
https://github.com/nativescript-vue/vue-cli-plugin-nativescript-vue/pull/12

updating nodejs solved the problem.

updating nodejs solved the problem

I can't currently get a rundown of global packages as I'm away from the computer but basically the same as above in installing from UI and CLI and trying multiple packages.
I'm guessing it comes this line https://github.com/nativescript-vue/vue-cli-plugin-nativescript-vue/blob/80cc51bccdf1de4ae10155c289557351cac7a23f/generator/index.js#L908. From my knowledge only ES2018 has the ability to do look behind regular expressions.

Ok...i was able to reproduce on node version 8 regardless of the version of npm.

So, I had just commented that I was able to reproduce on any version of Node 8 and saw a couple of notifications come in at the same time with updates from @jandever and  @codytooker.  However, now the issue doesn't show those comments.
Looks like the fix is to be on node 10.x or above as node 8 doesn't support the look behinds.  I'm going to leave this issue open and see if I can come up with a regular expression that will work on node 8, 10 and 12.
May not be possible, but at least the temporary workaround is to upgrade to at least 10.x.

Should be addressed in #19


python311Packages.levenshtein: 0.21.1 -> 0.22.0

Diff: https://github.com/maxbachmann/Levenshtein/compare/refs/tags/v0.21.1...v0.22.0
Changelog: https://github.com/maxbachmann/Levenshtein/blob/refs/tags/v0.22.0/HISTORY.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 257594 run on x86_64-linux 1

5 packages marked as broken and skipped:

python310Packages.paddleocr
python310Packages.paddleocr.dist
python310Packages.unstructured-inference
python310Packages.unstructured-inference.dist
unstructured-api

67 packages built:

adl
anime-downloader
anime-downloader.dist
apostrophe
atomic-operator
atomic-operator.dist
creds
creds.dist
ibus-engines.uniemoji
knowsmore
knowsmore.dist
ledger-autosync
ledger-autosync.dist
paperwork
paperwork.dist
puddletag
puddletag.dist
pynitrokey
pynitrokey.dist
python310Packages.autofaiss
python310Packages.autofaiss.dist
python310Packages.fire
python310Packages.fire.dist
python310Packages.fuzzywuzzy
python310Packages.fuzzywuzzy.dist
python310Packages.levenshtein
python310Packages.levenshtein.dist
python310Packages.nkdfu
python310Packages.nkdfu.dist
python310Packages.paperwork-backend
python310Packages.paperwork-backend.dist
python310Packages.paperwork-shell
python310Packages.paperwork-shell.dist
python310Packages.pdf2docx
python310Packages.pdf2docx.dist
python310Packages.thefuzz
python310Packages.thefuzz.dist
trytond (python310Packages.trytond)
trytond.dist (python310Packages.trytond.dist)
python310Packages.videocr
python310Packages.videocr.dist
python311Packages.autofaiss
python311Packages.autofaiss.dist
python311Packages.fire
python311Packages.fire.dist
python311Packages.fuzzywuzzy
python311Packages.fuzzywuzzy.dist
python311Packages.levenshtein
python311Packages.levenshtein.dist
python311Packages.nkdfu
python311Packages.nkdfu.dist
python311Packages.paperwork-backend
python311Packages.paperwork-backend.dist
python311Packages.paperwork-shell
python311Packages.paperwork-shell.dist
python311Packages.pdf2docx
python311Packages.pdf2docx.dist
python311Packages.thefuzz
python311Packages.thefuzz.dist
python311Packages.trytond
python311Packages.trytond.dist
python311Packages.videocr
python311Packages.videocr.dist
sublime-music
sublime-music.dist
ulauncher
ulauncher.dist


Crash on invalid jsonpath provided

Extension crashes when I try to type into xpath field, so I can't complete filter. Minimal reproduce is $.[?(, which is part of $.[?(@.field)]

Moreover this value stored somewhere and I can't erase value even after devtools reopen

Finally, I managed to get it working again:

Removed the effector-devtools key from local storage
Restarted the extension
Changed the enabled field to true in local storage in effector-devtools


Improve code block and inline code detection

The PR handles 2 additional edge cases for code block and inline code detection.
It also resolves an Inefficient regular expression code scan alert (see screenshot below) detected by enabling Code Scanning in my clone of your repository.
PS - thank you for all of your amazing contributions!

@sawhney17 Any chance you could get this merged or provide feedback? Thank you in advance.

This looks great! Thank you for the fix :)


HDDS-5603. Stop ContainerBalancer when SCM is stopped.

What changes were proposed in this pull request?
ContainerBalancer should be stopped in StorageContainerManager#stop.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5603
How was this patch tested?
Existing tests.

@lokeshj1703 @JacksonYao287 please take a look.

Thanks for the review!

Container balancer should also call join for the balancer thread on stop and currentBalancingThread can be set to null.

Done.

@siddhantsangwan Thanks for the contribution! @JacksonYao287 Thanks for the review! I have merged the PR to master branch.


sources doesn't include unmanaged source code

steps
Try 1.3.0-M3 with shapeless. https://github.com/milessabin/shapeless
sbt:root> show coreJVM/Compile/sources

problem
It only shows src_managed files, and thus compile fails.
expectation
It lists the source code.

Similar issue with specs.
addSbtPlugin("org.scala-js"       % "sbt-scalajs"              % "0.6.27")
addSbtPlugin("org.portable-scala" % "sbt-crossproject"         % "0.6.0")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.6.0")
...

It doesn't find some sources in Compile:
show commonJVM/Compile/sources shows only the source from common/jvm/src but not common/shared/src.

sbt:root> show coreJVM/Compile/unmanagedSources/fileInputs
[info] * /Users/eed3si9n/work/quicktest/shapeless/core/jvm/src/main/scala-2.12/**/*.{java,scala}
[info] * /Users/eed3si9n/work/quicktest/shapeless/core/jvm/src/main/scala/**/*.{java,scala}
[info] * /Users/eed3si9n/work/quicktest/shapeless/core/jvm/src/main/java/**/*.{java,scala}
[info] * /Users/eed3si9n/work/quicktest/shapeless/core/src/main/scala-2.12/**/*.{java,scala}
[info] * /Users/eed3si9n/work/quicktest/shapeless/core/src/main/scala/**/*.{java,scala}
[info] * /Users/eed3si9n/work/quicktest/shapeless/core/jvm/src/main/scala-2.12/**/*.{java,scala}
[info] * /Users/eed3si9n/work/quicktest/shapeless/core/jvm/src/main/scala_2.11+/**/*.{java,scala}
[info] * /Users/eed3si9n/work/quicktest/shapeless/core/jvm/src/main/scala_2.13-/**/*.{java,scala}
[info] * /Users/eed3si9n/work/quicktest/shapeless/core/jvm/src/main/java/**/*.{java,scala}
[info] * /Users/eed3si9n/work/quicktest/shapeless/core/src/main/scala-2.12/**/*.{java,scala}
[info] * /Users/eed3si9n/work/quicktest/shapeless/core/src/main/scala_2.11+/**/*.{java,scala}
[info] * /Users/eed3si9n/work/quicktest/shapeless/core/src/main/scala_2.13-/**/*.{java,scala}
[info] * /Users/eed3si9n/work/quicktest/shapeless/core/jvm/*.{java,scala}
sbt:root> show coreJVM/Compile/unmanagedSources/inputFileStamps
[info] *

scala> (coreJVM/Compile/unmanagedSources/fileTreeView).eval
res1: sbt.nio.file.FileTreeView[(java.nio.file.Path, sbt.nio.file.FileAttributes)] = sbt.nio.file.FileTreeView$DefaultFileTreeView$@30ba29cf

scala> (coreJVM/Compile/unmanagedSources/fileInputs).eval
res2: Seq[sbt.nio.file.Glob] = List(/Users/eed3si9n/work/quicktest/shapeless/core/jvm/src/main/scala-2.12/**/*.{java,scala}, /Users/eed3si9n/work/quicktest/shapeless/core/jvm/src/main/scala/**/*.{java,scala}, /Users/eed3si9n/work/quicktest/shapeless/core/jvm/src/main/java/**/*.{java,scala}, /Users/eed3si9n/work/quicktest/shapeless/core/src/main/scala-2.12/**/*.{java,scala}, /Users/eed3si9n/work/quicktest/shapeless/core/src/main/scala/**/*.{java,scala}, /Users/eed3si9n/work/quicktest/shapeless/core/jvm/src/main/scala-2.12/**/*.{java,scala}, /Users/eed3si9n/work/quicktest/shapeless/core/jvm/src/main/scala_2.11+/**/*.{java,scala}, /Users/eed3si9n/work/quicktest/shapeless/core/jvm/src/main/scala_2.13-/**/*.{java,scala}, /Users/eed3si9n/work/quicktest/shapeless/core...

scala> res1.list(res2)
res3: Seq[(java.nio.file.Path, sbt.nio.file.FileAttributes)] = Vector()

I think I have a repro - https://github.com/sbt/io/pull/237

Calling distinct on the glob list works around the issue, but I don't know why duplicate has such devastating effect.

FTR, I updated https://github.com/sbt/io/pull/237 so the iterator doesn't get stuck when it finds a path that it's seen already.

Anything I can do to help with this?

No. I am happy to have found the bug before we released sbt 1.3.0 thanks to Community Build.


Updating document.title on history change

What do you think about changing the document.title (either via JS or actually in the DOM) on page change? It would allow client-side trackers to track the new title.
Would all three history adapters need to be changed?

Look at the MDN docs for pushState the title parameter appears to be ignored. So maybe setting window.title somewhere might be enough? In #831 I made a change, though, to prevent history from being recorded when scrolling through pages. We got a lot of feedback (and also felt ourselves) that not being able to easily leave an entry via the back button was annoying. Not quite sure how this affects the change suggested here.
For client side tracking we mostly report things explicitly (listening to pageflow.events.on('page:change', () => {})).

I see!
I am going to drop this feature if you don't mind. We have bigger fish to fry, this seems too trivial.


Model class should use prototype rather than assigning new methods to each model in the constructor.

Using prototype has a number of advantages, but mostly the current method being used to populate methods per instance is very bad for performance and memory usage.

It's the same for other classes too, like AggregateFunctions etc. In fact the only place this code is using prototype is in the drivers. 👎

Probably has something todo with the fact we're using getters and setters.
Perhaps when this was originally written JS didn't allow getters/setters on prototypes? Not sure.

Even if that were the case it's still a terrible reason for making every non-property instantiated in the constructor. This is some of the worst performing code I've used in ages, it was a massive mistake for my previous client to use it. No one should use orm2.


Add support for exporting Ableton scales

Abnormality — Yesterday at 10:46 PM

can you add support for exporting .ascl files(the new ableton scale files)

they look like that

! 19-EDO.ascl
!
19 equal divisions of an octave. 19 proportionally equal and equal sounding semitone intervals per octave.
!
! default tuning: degree 14<PHONE_NUMBER> cents) 440 Hz, or degree 0 =<PHONE_NUMBER> Hz
!
19
!
63.15789474 ! C♯
126.3157895 ! D♭
189.4736842 ! D
252.6315789 ! D♯
315.7894737 ! E♭
378.9473684 ! E
442.1052632 ! E♯|F♭
505.2631579 ! F
568.4210526 ! F♯
631.5789474 ! G♭
694.7368421 ! G
757.8947368 ! G♯
821.0526316 ! A♭
884.2105263 ! A
947.3684211 ! A♯
1010.526316 ! B♭
1073.684211 ! B
1136.842105 ! B♯|C♭
2/1 ! C
!
! @ABL NOTE_NAMES "C" "C♯" "D♭" "D" "D♯" "E♭" "E" "E♯|F♭" "F" "F♯" "G♭" "G" "G♯" "A♭" "A" "A♯" "B♭" "B" "B♯|C♭"
! @ABL REFERENCE_PITCH 3 14 440.0
! @ABL NOTE_RANGE_BY_INDEX 0 2 6 15
! @ABL LINK https://www.ableton.com/learn-more/tuning-systems/19-edo

https://help.ableton.com/hc/en-us/articles/10998372840220-ASCL-Specification


Split.list Wildcard Breaks When Passed as a List

When using a wildcard and passing the output column as a list there is a value error that is thrown:
"Exception has occurred: ValueError
split.list - Columns must be same length as key"
  - split.list:
      input: column
      output:
        - Col*

Split.text has a similar issue, it works but outputs one column with the wildcard name.


Rewrite: onenter

We will need a custom tag for a onenter event.
In Medusa 0.x this worked like m:click="increaseCounter(1, 'ABC')
The goal is to be able to reference a method on the controller side directly.

[ ] Should be able to refer to a method without parameter doAction()
[ ] Should be able to add parameters to the method doAction(1, 'ABC')
[ ] Should be able to refer to other values (ie if I click, send the value of an input field as parameter); I have no requirement on how to refer to this, my suggestion would be doAction(#mySearchField, 123)
[ ] Should be able to refer to your own value  doAction(this.value, 123), again - not sure what the best way to write this would be

Add extra JS? rewrite-1.0.0-onenter
Given
<input id="search_enter" m:enter="search(:{#search_enter})" type="text" >

Result
<input id="search_enter" type="text" onkeypress="if(event.key === 'Enter') { _M.doAction(null, `search('${document.querySelector('#search_enter').value}')`) }">

See PR #310
A cleaner solution then rewrite-1.0.0-onenter
Calls JS-function doActionOnKeyUp

[x] Should be able to refer to a method without parameter doAction()
[x] Should be able to add parameters to the method doAction(1, 'ABC')
[x] Should be able to refer to other values (ie if I click, send the value of an input field as parameter); I have no requirement on how to refer to this, my suggestion would be doAction(:{#mySearchField}, 123)
[x] Should be able to refer to your own value  doAction(:{this}, 123), again - not sure what the best way to write this would be


extract_dts_includes: Binding merge warning should be enhanced

Building hello_world on nucleo_f401re, I guet the following warning:
extract_dts_includes.py: Merge of 'description': 'Clock gate control information'  overwrites 'Clock gate information'.
extract_dts_includes.py: Merge of 'description': 'Clock gate control information'  overwrites 'Clock gate information'.
extract_dts_includes.py: Merge of 'description': 'Clock gate control information'  overwrites 'Clock gate information'.

This warning is a consequence of https://github.com/zephyrproject-rtos/zephyr/pull/7548
It should not be displayed in this case (description, title and version fields should not produce warning)
Besides, message should be enhanced in order to mention what is the impacted node to investigate.

@b0661 , could you have a look?

Warning is triggered because of clock property is included in st,stm32-uart.yaml and uart.yaml.
So it allowed to detect an actual  yaml description issue.
Warning is good, but binding should be fixed


Rewrite

fba8ca2 changes the default parameterization to NamedTuples from ComponentArrays. ComponentArrays still work but generating a ComponentArray with 90M parameters takes too long (>30 min). For problems requiring an AbstractArray (mostly SciML) the parameterization would not be that large.

We are now quite close to merging. A few things I am working on rn:

[ ] Remove the Flux dependency
[ ] Remove the Yota.jl adjoints
[ ] Add an example imagenet training script like flax/pytorch

If you see anything missing from NNlib that should be in NNlib (e.g. functional versions of norm layers), don't hesitate to drop a PR and ping me.


fix xenserver 7.0.1 os mapping typo

Description

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package

@PaulAngus a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-264

@blueorangutan test

@PaulAngus a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-342)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 30032 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3567-t342-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_outofbandmanagement.py
Intermittent failure detected: /marvin/tests/smoke/test_host_maintenance.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 75 look OK, 2 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_01_cancel_host_maintenace_with_no_migration_jobs
Failure
1.17
test_host_maintenance.py

test_02_cancel_host_maintenace_with_migration_jobs
Error
4.72
test_host_maintenance.py

test_hostha_enable_ha_when_host_disabled
Error
2.67
test_hostha_kvm.py

test_hostha_enable_ha_when_host_in_maintenance
Error
304.86
test_hostha_kvm.py


Failed to load resource: the server responded with a status of 404 (Not Found)

For Bug Reports

BookStack Version : GitHub v0.19.0 release
PHP Version: 7.0.23
MySQL Version: 5.7.19

Expected Behavior
Page load with no errors to load resources:
http://localhost/bookstack/public/css/styles.css?version=v0.19.0
http://localhost/bookstack/public/libs/jquery/jquery.min.js?version=2.1.4
...
Current Behavior
Resourses css, js, libs, etc not found | Path is incorrect in all pages. Add /index.php/ in all paths
http://localhost/bookstack/public/index.php/css/styles.css?version=v0.19.0
http://localhost/bookstack/public/index.php/libs/jquery/jquery.min.js?version=2.1.4
...

Steps to Reproduce
Manual Installation Windows 10
https://www.bookstackapp.com/docs/admin/installation/

Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.


AttributeError: 'UdpTransportTarget' object has no attribute 'contextName'

Hi, I am getting the error mentioned in the title when trying to run the below script. Could you please help with this?
from pysnmp.hlapi import *
`community_string = 'public'
oid = '<IP_ADDRESS>.4.1.2<IP_ADDRESS>.<IP_ADDRESS>.4.9'
ip_address = '<IP_ADDRESS>'
def get_inpututil():
errorIndication, errorStatus, errorIndex, varBinds = next(
    getCmd(SnmpEngine(),
           CommunityData(community_string),
           UdpTransportTarget((ip_address, 161)),
           ContextData(),
           ObjectType(ObjectIdentity(oid)))
)
for varBind in varBinds:
    print('Util = {} %'.format(varBind[1]/100))

if name == 'main':
get_inpututil()`

If you switch to PySNMP 5 (package pysnmp-lextudio), the script can be further simplified,
http://www.pysnmp.com/pysnmp/quick-start#fetch-snmp-variable
Read #429 to learn more.

a friend of mine tried this code and it works for him so i think it is  a version problem of package and python


upgrade delta-rs to v0.18.0 and deltalake-arrow to 52

Is your feature request related to a problem? Please describe.
The latest delta-rs version 0.18.0 use arrow 52. After #17354, iceberg will also use arrow 52. If the arrow version used internally can also upgrade to 52, then we will be able to unify our multiple arrow version to possibly reduce the build time.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

kindly ping here

cc @xxhZs

cc @xxhZs

Tried this before, but there was a bit of a problem with delta's dependencies at the time, which led to unnecessary arrow packages, will look at it again now!

unnecessary arrow packages

I think currently we are generally tolerant of multiple arrow versions, so it should be fine


How can I use vllm in cpp file？

vLLM currently only offers Python or HTTP API. If you want to embed LLM inference in C++, I would recommend look into PyTorch cpp or llamacpp.


getRelationshipsForEntity for graph repository doesn't return full body of relationship

Attached is the result for getRelationshipsForEntity call, proxies are null
AssetSchemaTypeAtRetrieval.txt

Tested after latest updates and the relationship is complete when querying


Remove pre-squashing investment migrations

Codecov Report

Merging #365 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           develop    #365   +/-   ##
=======================================
  Coverage     95.4%   95.4%
=======================================
  Files           67      67
  Lines         2522    2522
  Branches       218     218
=======================================
  Hits          2406    2406
  Misses          84      84
  Partials        32      32

Continue to review full report at Codecov.

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


Fix PPP punctuation and phrasing

Codecov Report

Merging #252 (0eb9817) into master (f867304) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #252   +/-   ##
=========================================
  Coverage     65.17%   65.17%
  Complexity      850      850
=========================================
  Files           137      137
  Lines          3136     3136
  Branches        414      414
=========================================
  Hits           2044     2044
  Misses          951      951
  Partials        141      141

Continue to review full report at Codecov.

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


Fix missing config in system-probe for core dump and auto-exit

What does this PR do?
Fixes core dump and auto-exit functionality to be able to read from system-probe config.
Motivation
Missing config for common functionality in system-probe
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Blocked by #14024


cmd: remove quotes for command arguments

What problem does this PR solve?

Issue Number: ref #628
Problem Summary:
Although "ip" "addr" "add" ... works on the command line, it fails on exec.Command(...).
What is changed and how it works:
Remove quotes for command arguments.
Check List
Tests

[x] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

Run TiProxy with a non-root user and check if the ip is bound.
Notable changes

[ ] Has configuration change
[ ] Has HTTP API interfaces change
[ ] Has tiproxyctl change
[ ] Other user behavior changes

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

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

Please upload report for BASE (main@21a813a). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #630   +/-   ##
=======================================
  Coverage        ?   68.77%
=======================================
  Files           ?       86
  Lines           ?     8007
  Branches        ?        0
=======================================
  Hits            ?     5507
  Misses          ?     2107
  Partials        ?      393

Flag
Coverage Δ

unit
68.77% <100.00%> (?)

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

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

/retest


Clean up Zulip Cloud new host deployments

Improve some of the tooling around standing up new hosts internally in Zulip Cloud.
Testing plan: Deployed new internal hosts.

Looks good merged, thanks @alexmv!


GridObjectCollection Distance field for Surface Type Plane

Overview
GridObjectCollection has 4 Surface Types, of which 3 are radial and have inspector fields to define the radius from the origin and the radial range.
The Plane type neither makes any use of them in the code nor hides them when selected
This PR adds a Distance field for the PlaneType.
It creates custom inspectors that hide and show fields according to the drop down configurations.
It alters the BaseCollectionInspector and seals the OnInspectorGUI in favor of OnInspectorGUIInsertion, which when overridden will draw additional inspector fields before its own.

/azp run mrtk_pr

/azp run mrtk_docs


Resolves #164: tests callable args on splice

The plan on line 48 needs to be increased by 1, otherwise the test suite will fail.

Thx. Fixed.

Thanks a lot.


Add a pull request trigger example

For https://forum.buildkite.community/t/allow-triggered-child-build-to-inherit-pr-related-env-vars-from-parent-build/168

Awesome 👌🏼


restartable PgStream::recv_unchecked()

Here are some ideas on implementing a restartable BufStream::read().
I understand that these kinds of changes are slated for 0.6, so this PR is merely an attempt to explore ideas and try to learn more about protocol issues observed during concurrent query throughput testing.
This adds a BufStream::slice(begin..end) method which returns a slice of the buffer without removing the data.
Since slice() does not remove the data, there may be data in the buffer when read() is called. As a result,  read_raw_into() is altered so that it fills only the necessary additional bytes to obtain the specified 'cnt'.
With the above, PgStream::recv_unchecked()  takes the header as a slice, and afterward, reads the entire message (all or none).  The header remains in the read buffer (rbuf) until the whole message is read.
With these changes, I still see Protocol("unknown message type: \'\\u{0}\'") errors when testing throughput of concurrent queries.
I'll create a test case to illustrate the issue.

The following MSSQL test cases is failing:
thread 'it_can_return_1000_rows' panicked at 'split_to out of bounds: 4 <= 2', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/bytes-0.5.6/src/bytes.rs:379:9
this could occur if Buffstream::read() were executing concurrently in differing threads using the same BufStream instance.  The code does a read_raw_into() and then a ruf.split_to(cnt).  If they are not serialized, this error could occur.
We could add a mutex to test whether that will eliminate the error.  The mutex would be undesirable from a performance perspective, so this would only serve to illustrate the issue.

The following MSSQL test cases is failing:
thread 'it_can_return_1000_rows' panicked at 'split_to out of bounds: 4 <= 2', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/bytes-0.5.6/src/bytes.rs:379:9
this could occur if Buffstream::read() were executing concurrently in differing threads using the same BufStream instance.  The code does a read_raw_into() and then a ruf.split_to(cnt).  If they are not serialized, this error could occur.
We could add a mutex to test whether that will eliminate the error.  The mutex would be undesirable from a performance perspective, so this would only serve to illustrate the issue.

The added mutex does not fix the it_can_return_1000_rows test.
However, it does fix the Postgres Protocol("unknown message type: '\u{0}'") errors.
I'll expand the locking to test whether serializing the other read_xxx() methods helps.

The added mutex does not fix the it_can_return_1000_rows test.
However, it does fix the Postgres Protocol("unknown message type: '\u{0}'") errors.
I'll expand the locking to test whether serializing the other read_xxx() methods helps.

The MSSQL "it_can_return_1000_rows" test still fails with the same error ('split_to out of bounds: 4 <= 2').
I'll install MSSQL locally and explore the issue further.

The MSSQL "it_can_return_1000_rows" test still fails with the same error ('split_to out of bounds: 4 <= 2').
I'll install MSSQL locally and explore the issue further.

I wonder if thread safety of BufStream is a relevant issue.    I'm not sure about this because, in a single-threaded async runtime, maybe this shouldn't be an issue at all.  I thought actix-web used single-threaded async runtimes; however the issues occur when using actix-web.

I wonder if thread safety of BufStream is a relevant issue.    I'm not sure about this because, in a single-threaded async runtime, maybe this shouldn't be an issue at all.  I thought actix-web used single-threaded async runtimes; however the issues occur when using actix-web.

At least in one specific test, thread safety of BufStream is not the crucial issue.
I added a mutex to BufStream as follows:
pub async fn read_raw(&mut self, cnt: usize) -> Result<BytesMut, Error> {
        let _lock = {
            match self.rlock.try_lock() {
                Some(lock) => lock,
                None => {
                    log::error!("buf_stream already locked.");
                    self.rlock.lock().await
                }
            }
        };
        read_raw_into(&mut self.stream, &mut self.rbuf, cnt).await?;
        Ok(self.rbuf.split_to(cnt))
    }

I used sqlx-actix-test to reproduce the protocol errors.
I see many protocol error, and no "buf_stream already locked." errors.  So, for this specific test that uses runtime-actix-rustls, it doesn't look like thread safety of buf_stream is the crucial issue.

At least in one specific test, thread safety of BufStream is not the crucial issue.
I added a mutex to BufStream as follows:
pub async fn read_raw(&mut self, cnt: usize) -> Result<BytesMut, Error> {
        let _lock = {
            match self.rlock.try_lock() {
                Some(lock) => lock,
                None => {
                    log::error!("buf_stream already locked.");
                    self.rlock.lock().await
                }
            }
        };
        read_raw_into(&mut self.stream, &mut self.rbuf, cnt).await?;
        Ok(self.rbuf.split_to(cnt))
    }

I used sqlx-actix-test to reproduce the protocol errors.
I see many protocol error, and no "buf_stream already locked." errors.  So, for this specific test that uses runtime-actix-rustls, it doesn't look like thread safety of buf_stream is the crucial issue.

I am closing this because it does not fix the issues observed in the test  #972

I am closing this because it does not fix the issues observed in the test  #972


Unable to sideload via devcontainer

Prerequisites
Please answer the following questions before submitting an issue.

[X] I am running the latest version of Node and the tools
[X] I checked the documentation and found no answer
[X] I checked to make sure that this issue has not already been filed

Expected behavior
Sideload support from devcontainer.
Current behavior
Error: Platform not supported: linux.
Please note that I've opened this feature request as bug because https://github.com/OfficeDev/Office-Addin-Scripts/issues/576
Steps to Reproduce
Please provide detailed steps for reproducing the issue.

generate office via yo
create a node devcontainer
try to sideload your addin via package.json template or manually

The minimal command to sideload manually is:
yarn office-addin-dev-settings sideload manifest.xml
Context
In this case context is WSL: host info are not relevant. By the way I have tried on:

MacOS Monterey 21.1
Windows 10
Windows 11

With :

Node version: Node latest LTS (v16.13.1)
Office version: Office 365 - Montly update

Here is where you can submit feature requests: https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/idb-p/Microsoft365DeveloperPlatform


priority for sprites

It would be nice to being able to set whether the sprite should be displayed before or after the tiles during rendering.

Not really practical. You could make them all below the tiles with some rewriting.


May I know when will the code be released?

Hi. Thanks very much for sharing your great work. Would you mind letting me know when the code will be released? We are looking forward it.

Hi, the code is released. Thanks for your attention!


Hydrogen deploy

WHY are these changes introduced?
Closes https://github.com/Shopify/oxygen-platform/issues/1037

WHAT is this pull request doing?
Adds a deploy command to deploy a Hydrogen project to Oxygen via oxygen-cli.
The command includes all the flags present in oxygen-cli as well as a shop flag.
When no token is provided via a flag manually, we can retrieve the Oxygen deployment token from the Admin API.
As the command cannot be used yet while we wait for other work to be done - the command is set to hidden.

HOW to test your changes?

See here
Post-merge steps

Checklist

[ ] I've read the Contributing Guidelines
[ ] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[ ] I've added a changeset if this PR contains user-facing or noteworthy changes
[ ] I've added tests to cover my changes
[ ] I've added or updated the documentation

Thanks for the PR!
Would it be possible to consume @shopify/oxygen-cli as a library from Hydrogen CLI instead of importing it as a command? Basically, ignore the fact that @shopify/oxygen-cli is an Oclif plugin and contains another CLI, and just import pure JS functions to call from Hydrogen CLI.
That way we could own the log styling in Hydrogen CLI to be consistent with all the other commands. Also, that gives us a way to do things around deployment in Hydrogen CLI: run build before deploy, show CPU metrics of the build, etc.
Even better if we can avoid importing an extra version of Oclif and an extra version of cli-kit. For this, I guess the file where the "deploy" function is exported shouldn't import any of those (i.e. no re-exporting in index.js). We'd still be installing multiple versions but I guess we can't do anything about it unless we release a non-CLI package for Oxygen deployments.

I will look into consuming oxygen-cli as a library. Two things to note: oxygen-cli needs to perform the build step itself, as it retrieves the path on which the to-be-uploaded assets will be available from the hub, and then performs the build step with this path exposed.
Secondly: oxygen-cli uses cli-kit for a range of things; it imports functions for reading files, dealing with paths, mimes, graphQL, CI metadata etc which can not be avoided.


fix #2286: parse error on CREATE CONTINUOUS QUERY

This turned out to be an issue in the AST code instead of the parser.  server.go calls the String() method on the CQ so it can be sent to applyCreateContinuousQuery, which then re-parses the query.  The String() method on type CreateContinuousQueryStatement was not quoting identifiers causing the parse in applyCreateContinuousQuery to fail.
Also fixed a bug in the parser_test.go.  It wasn't checking the results of parsing CQs.

What is the issue?

https://github.com/influxdb/influxdb/issues/2286

+1


We need logic to confirm Winget is on the system

I have run into a few times that clients do not have Winget on the windows build. We need to have a way to first detect if Desktopappinstaller is even on the box and healthy and if not auto install/auto update. in the cases i have found if you simply navigate to the Microsoft store "app installer" it will detect it's installed but needs an update to work correctly.

Hello. In theory when we use Winget-Install it is in addition to Winget-AutoUpdate in our mind. WAU takes care about Winget install.
But we can add this feature to Winget-Install as well.


Draw order is reversed

I have a case with two images:

(A) with draw_order=10
(B) with draw_order=5 logged as a child entity of (A)

Where (B) is drawn on top of (A). I would expect (B) to be drawn below (A).
 It gets the correct cutout where the backimage already was, but the back image got blended with the backround when it shouldn't

This is no longer observable because #6635 makes opacity be 1.0 for images by default.
However, the real issue is still around: The renderer should actually sort for rendering, otherwise transparency doesn't work as expected.

Closing as duplicate of #702


rebuild-ui is broken

$ make rebuild-ui
::group::rebuild-ui logs
bash ./scripts/rebuild-ui.sh
+ cd jaeger-ui
+ git fetch --all --unshallow --tags
fatal: --unshallow on a complete repository does not make sense
make: *** [rebuild-ui] Error 128

cc @andreasgerstmayr

I added --unshallow because without it the script didn't work when pointing jaeger-ui to a non-tagged commit. Didn't realize git complains if the repo is already unshallowed :|

the script didn't work when pointing jaeger-ui to a non-tagged commit

Seems to work fine for me when I removed --unshallow. Perhaps your local repo had an issue with how the submodule was initialized.

It works locally, but not in CI. GitHub actions checks repos out as shallow by default. We do have git fetch --prune --unshallow --tags in the workflow file to unshallow the repo, but afaics that only unshallows the root repository and not all submodules.