Modify memory metrics

Split swap traffic bytes metric to swap in and swap out
Expose counter metrics for minor and major page faults
Expose gauge metric for actual balloon bytes
Expose gauge metric for usable memory bytes
Expose gauge metric for total used memory

Signed-off-by: Yuval Turgeman<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

/retest

/retest

@sradco @andreyod please review

lgtm

/hold
for other reviewers to take a look, unhold whenever that makes sense

@yuvalturg maybe it's worth adding a note in the release note block that the metrics have changed?

/retest

/retest

/retest

/test pull-kubevirt-check-tests-for-flakes

/retest

/retest

/lgtm

Lets open a new bug for fixing the Capital letter.

/unhold


Add predefined size dropdown in the save panel

Add predefined size dropdown.

Fixes #36

Apologies - The past few weeks has been crazily busy for me.

No worries at all. I just wanted to make sure you were not waiting for me.

@ShamsAlDinShakuntala Friendly ping :)

@ShamsAlDinShakuntala Bump

Closing this to give other people a chance to work on it.


[ALLUXIO-2587] Mark StreamCache as ThreadSafe and add concurrent test.

https://alluxio.atlassian.net/browse/ALLUXIO-2587
Adds concurrent test to StreamCache and mark it as @ThreadSafe.
Although the cached FileInStream and FileOutStream are not thread safe, but the StreamCache is thread safe, which means concurrent put, get, invalidate operations won't cause damage to StreamCache.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13781/
Test PASSed.

@jsimsa thanks for suggestion, PTAL.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13801/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.master.MasterFaultToleranceIntegrationTest.workerReRegister
Test FAILed.

jenkins, test this please

Jenkins, test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13802/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.master.MasterFaultToleranceIntegrationTest.deleteFileFault
Test FAILed.

Merged build finished. Test FAILed.

jenkins, test this please

jenkins, test this please


Is this project dead?

Tested trying in laravel 8 and it won't work.   It's too bad, this had a lot of promise.

Im after the Same Answer. Installing inside of laravel 8. get the constraint error.

Im after the Same Answer. Installing inside of laravel 8. get the constraint error.

@skino2019  I decided I am going to have to rewrite parts of it in order to make it work.   This project is dead, I would recommend if you are interested in it, fork and rewrite the parts that are necessary.

@skino2019  I decided I am going to have to rewrite parts of it in order to make it work.   This project is dead, I would recommend if you are interested in it, fork and rewrite the parts that are necessary.

Unfortunately i'm not smart enough for that yet :(
thanks for reply.

Unfortunately i'm not smart enough for that yet :(
thanks for reply.

@skino2019 I decided I am going to have to rewrite parts of it in order to make it work. This project is dead, I would recommend if you are interested in it, fork and rewrite the parts that are necessary.

Did you manage it to work with Laravel 8?

@skino2019 I decided I am going to have to rewrite parts of it in order to make it work. This project is dead, I would recommend if you are interested in it, fork and rewrite the parts that are necessary.

Did you manage it to work with Laravel 8?

yes, I had to basically copy the code to my project and tie everything up different, fix routes, and update some libraries it used, but I got it to work on 8

Hey, I'd say this project is pretty dead - I'm developing an update to my forum package here, if you'd like to follow along.

Hey, I'd say this project is pretty dead - I'm developing an update to my forum package Laravel Firefly, if you'd like to follow along.

Cheers for reply, i hadn't seen the previous comment. i shall 100% follow the other project

Maybe try one of the active forks of Chatter:
https://github.com/thedevdojo/chatter/network
(Hit Shift+➡ to scroll to the right end of the graph.)


__moduleName to be handled generically for System.register

The System.register format should come with a default handling of __moduleName that doesn't involve inlining the string twice in the bundle.

:+1: I actually have an issue with a missing __moduleName when bundling the jspm-loader-css.

Here's a strategy for __moduleName treatment going forward:

Add __moduleName as the second argument to the declaration function in System.register(name, deps, function declare(_export, __moduleName) { ... })
The reason this was avoided before was to allow context to become the second argument, but instead context can be implemented by being the this value of the declare callback function(which doesn't rely in any way on being the global value), or even potentially the third argument anyway.System.registerwill likely end up renamed toSystem.loader.registerorSystemJS.register` possibly allowing for some breaking behaviours too, so we do have flexibility here.
Transpilers targeting System.register should now implement __moduleName as the second argument into declare. This can then be removed when not needed by minficiation / dead code analysis.
While transpilers do not yet support this, we will continue to provide the __moduleName runtime wrapping in SystemJS, and in the builder project System.register modules will be automatically transformed to add this argument.
Eventually the wrappers and automatic conversion can be deprecated when transpiler implementations are used widely enough.

Released in 0.14.12.


Replaced OpenURI with NET::HTTP and introduced timeout of 3 seconds

As promised in the discussion in #7 I replaced OpenURI with NET::HTTP and added timeouts of 3 seconds. I will experiment with retries in my local branch and commit that later.

Oh. I just received the Notification that you have merged it. Is the travis build still failing? I haven't had the time to work it out the last week.

Okay, I just saw that you have killed support for Ruby 1.9.3, which is a really great decision! :+1:

Re-released as 1.3.2


Prtesting

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/TestingPullRequest.md
:warning:Warning
View
Details

docs-ref-conceptual/addfile.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/TestingPullRequest.md

Line 4: [Warning] Invalid file link:(~/nonexisted1.md).
Line 5: [Warning] Invalid file link:(~/nonexisted2.md).
Line 6: [Warning] Invalid file link:(~/nonexisted3.md).
Line 9: [Warning] The content part of NOTE/WARNING/CAUTION/IMPORTANT syntax is suggested to start in a new line.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


N-qubit diagonal gate

Is your feature request related to a use case or problem? Please describe.
Quantum oracles implementing functions of type f: {0,1}^n -> {1,-1} (n is the number of qubits) can be represented as diagonal gates. Currently Cirq only has a ThreeQubitDiagonalGate. For larger oracles one can use the MatrixGate, however there is no decomposition logic implemented for it.
Describe the solution you'd like

DiagonalGate

qubits = cirq.LineQubit.range(6)
c = cirq.Circuit(cirq.DiagonalGate([1,-1,1,1,1,-1])(qubits))
print(c)

Should provide a meaningful circuit diagram.

Decomposition

a,b,c = cirq.LineQubit.range(3)
cirq.decompose(cirq.DiagonalGate([1,-1,1])(a,b,c))

should provide a list of 1 and 2 qubit gates that allows for implementation of this gate on hardware.
[optional] Additional context (e.g. screenshots)
This came up during implementing the Fourier checking algo as a tutorial: https://github.com/quantumlib/Cirq/issues/3687
What is the urgency from your perspective for this issue? Is it blocking important work?

P3 - I'm not really blocked by it, it is an idea I'd like to discuss / suggestion based on principle

It looks like https://github.com/quantumlib/Cirq/pull/3890 took care of this. Please re-open if there is more work to do here.


form type ?

possible to add form type ?

Hi, @grekpg
What would you expect from such a form type? :)

this is editor so how add it as form type to symfony form for json (array) field


Account names readen from operation dump are containing garbage

Let operation dump has following account names:
16lenaccountname
alice
bob

Expected result of reading:
16lenaccountname
alice
bob

Actual result:
16lenaccountname
aliceaccountname
bobenaccountname

PR #727


feat: add i18n support for OSS-GPT chat widget

Brief Information
This pull request is in the type of (more info about types):

[ ] build
[ ] ci
[ ] docs
[x] feat
[ ] fix
[ ] perf
[ ] refactor
[ ] test

Related issues (all available keywords):

resolve #614

Details

add i18n support for OSS-GPT chat widget.

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA

Others

Hi @wj23027, great job! Some advice on wording :)

Got it! I will modify it ASAP~


TASK: Set Up MDM API for error message endpoints

[x] Create an MDM API so that the end points can be displayed in error messages.

Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)

Set up basic scaffolding for MDM API to return "hello masterDataManagement"
Need to work on connecting the database with app

Created PRs:
Created MDM API Scaffolding

Created project using NEST CLI
Set up controller, service, and module to return dummy data "Hello masterDataManagement!"
Updated Readme file
Added .github folder with the workflows
Added manifest files
Added sonar-project properties file
PR in EASEY-mdm-api repo (task/748 MDM API scaffolding #1)

Added unit tests so sonar cloud would run
Created PR for unit tests :
PR in EASEY-mdm-api repo (Task/748 MDM API scaffolding #2)
Added Unit Tests


Crash on Mac M2

Hi
I was able to build it but as soon as I launch the iir-modal.maxpat patch it crashes immediately.
This is the crash report:

I'm trying to use this external as nn~ isn't working for my case (I'm trying to load a custom AutoEncoder model I have trained on human voices and explore its latent space).

There are many reasons why it would crash. Did you try with encoder.maxhelp? In particular, the encoderobject expects input with the shape (B, 1, H, W). For example, in the case of a 64x64 image single channel image, the input to the object must be a list of 64x64=4096 values. Your model has to be exported so that it accepts this shape.


Fix regex for older grep versions

Fix the install script on OpenBSD which has an older version of grep.
See comment here https://github.com/apex/apex/issues/400#issuecomment-278069309

haha damn, so much for this being a convenient script, thanks!


fix: region is not set correctly when generating luis settings file name in luis build call

Description
Composer is calling luis build api to publish luis models and generate luis settings file. But currently in composer, the config.region is not passed into luis build api that makes the luis settings file name luis.settings.{environment}.{region}.json consumed the default westus region even if users are specifying other regions.
Task Item
Closes #4663

Coverage remained the same at 55.213% when pulling ab8554813eb3ef1c95be2f0bf6d38b4f4b18eb09 on feich/FixRegionNotSetInLuisBuildCall into d5b2950f6b39b6eb5b9a42ec667cc1a7f808aed7 on main.


Diktat should run tests using SAVE-engine

We should rewrite our tests, so they would use save tests.

Can it be considered done in #1060 ?

Not yet. Only one test is optimized for the fix and warn plugin.

Can it be considered done in #1060 ?

Not yet. Only one test is optimized for the fix and warn plugin.

Main logic is done and checked in warnings mode. We are blocked by ktlint release by for now.

completed in #1388


Cosmetics Doubling when equipted

Describe the bug
i noticed on other players that the cosmetics were doubling like one would be on there head like normal then there was a glitched one above there head
To Reproduce
Steps to reproduce the behavior:
Equip any head cosmetic or any cosmetic and have someone look at you
Expected behavior
For someone to look into it and fix the visual bug
Screenshots
Will incude
Username:
Killercreechan
Server name (all applicable):
Titan Possibly all

This is a bug with Pixelmon 9.1.0, and should be forwarded to their tracker. Closing


Fixing up packages to not reference specific fxlab project versions

Fixing up packages to not reference specific fxlab project versions

LGTM.

Looks like we have some dependency problems with RC...looking now

I've updated our project.json files to remove beta dependencies and remove corefxlab-specific version dependencies. Also disabled some failing HTTP tests after the project.json updates.

@dotnet-bot  test this please


Getting Unauthorized error, even when using the correct password

Hello,
thanks for the great extension!
This problem is kind of solved, but there may be some kind of password "caching" bug.
I setup a connection, first with the wrong password (by mistake) for system ABC (example), and got an Unauthorized error message.
After changing to the correct password (tested several times), kept getting the Unauthorized error.
I then setup system DEF, with the correct password, it worked.
I then tried again to connect with ABC, but without any change in config, it worked.
I did not try to reproduce it, but is it possible that the password is somehow cached, and that caused the issue?
Best Regards,
Guilherme Dellagustin.

Hi Guilherme
It does try to remember passwords, but it's supposed to only do so after a successful connection.
And update it after another login
Anyway you can remove it with the right command:

Let me know if it fixes it


invalid nested repetition operator: ++

I wasn't sure if this issue belongs here or in the explorer theme repository.
I tried to use this repository as a base for my own roam notes. The first problem I encoutered, was that git did not allow me to fetch the submodule over ssh (on windows). I could fix it by changing the remote url for the submodule to use https.
The main problem I am facing is that hugo would not build the site. Hugo complains:
Start building sites …
hugo v0.92.2-CDF6A0D6+extended windows/amd64 BuildDate=2022-02-11T14:17:39Z VendorInfo=gohugoio
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:38:11: executing "_default/single.html" at <partial "menu-right-content" .>: error calling partial: execute of template failed: template: partials/menu-right-content.html:17:3: executing "partials/menu-right-content.html" at <partial "component/backlinks" .>: error calling partial: execute of template failed: template: partials/component/backlinks.html:4:11: executing "partials/component/backlinks.html" at <partial "util/is-backlink" (dict "First" $.Page "Second" $other)>: error calling partial: execute of template failed: template: partials/util/is-backlink.html:16:5: executing "partials/util/is-backlink.html" at <findRE (printf "['\"\\s]?%s['\"\\s]" (lower .First.Title)) (lower .Second.RawContent)>: error calling findRE: error parsing regexp: invalid nested repetition operator: `++`
Built in 791 ms

I could not use your batch export script, since my roam files lie in directory hiearchy so I already have my own export script, but looking at yours I was not able to find a reason why the export process should be the issue.
If I just put a few files in the content directory the site works well, however with all files in there, I see the error. It is hard to find which file exactly causes the error since incrementally adding files generally does not work since they all link to each other and missing references also produce errors.
Do you have any idea how this error could come up?

Uppon looking at the code more and not understanding how there was a nested regex repitition operator ++, I realized I have a note with the title PointNet++ (a famous computer vision paper). When the title is inserted there with the %s it would result in a  ++. Maybe is there a way to escape the title such that the title is not interpreted as a regular expression?

Hello! 👋
Yeah, it should be in the other repository (which is essentially in maintainance mode). No problem. Can you share with me your setup so that I can try to reproduce?

Sure!
A simple way to reproduce it:
git clone https://github.com/bphenriques/knowledge-base
cd knowledge-base/themes
git clone https://github.com/bphenriques/explorer-hugo-theme/ explorer
cd ..
mkdir content
mkdir content/notes

Then put a hugo markdown file into the notes folder which has ++ as part of the title, for example:
+++
title = "PointNet++"
author = ["Felix Brendel"]
lastmod = 2022-02-16T20:46:45+01:00
tags = ["deep-learning", "ML-4-3d", "paper"]
draft = false
+++

Similar goals as PointNet but tries to capture the local structures of the
points by using hierarchical processing.

When trying to do hugo serve the error will occur.
I agree, this is more of a issue with the theme.

👋  Thank you!
I managed to reproduce your file and fix. It was as you said. For now, backlink searching is excluding characters such as +(){}|\?$^, let me know if it is working for you!
Preview of your file:

PS: I also changed the way the title is rendered so that the ++ are displayed. The release is v0.2.0.
Thank you for reaching out!

Thank you that's great! I'll have a look soon!

I tested it at it seems to work brilliantly! Thank you again


fix: add ICQ test for new update period behaviour #NTRN-396

Task: https://hadronlabs.atlassian.net/browse/NTRN-396
Related PRs:
https://github.com/neutron-org/neutron-query-relayer/pull/93

Test run: https://github.com/neutron-org/neutron-tests/actions/runs/10848288468

Test run: https://github.com/neutron-org/neutron-tests/actions/runs/10901691854

Test run: https://github.com/neutron-org/neutron-tests/actions/runs/10941015644


(DAL) Update proof related codes

Description
Potential fix for invalid signer error
Type of change
Please delete options that are not relevant.

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

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Deployment

[ ] Should publish npm package
[ ] Should publish Docker image

lgtm!
not sure what does 27 or 28 stand for RecoverSigner function but is it okay we are not doing anything if signatureCopy[64] is not 27 or 28?

More exactly if signatureCopy[64] is 0 or 1, it means it has already been processed, ready to extract signer.
the process is called normalization. it can be more precise if the value is not 0,1,27, nor 28, return error


Web App Example

Community Request
Quorum reference pages contain many useful and fully functioning Quorum language examples.
Do you have some time line to also add WEB browser Quorum app code example? Quorum reference is really very good idea of your team. Because you are always publish new Quorum libraryes or language features in time.
I will be looking forward to Webbrowser project app example.

Dear MR Stefik. Thank you very much for your reported issue. You have made very big joy to Me.
I have thought, that if I will compile some of The provided interface based Quorum reference code example as a WEB browser app, that I will simply open default.html and app will be accessible with The screen reader like a WEB app. I have thought, that it will not be necessary to have access to Quorum WEB server. That I will be able to host such apps on static server without Apache, Mysql, ETC. But very probably, it is impossible. It is sad, because Quorum is much more simple than Object Pascal and Pas2JS transpiller. This transpiller generate .js file which can be simply executed with no online external server requirements. Unfortunately, my logical think based brain operations were too weak to understand code logic and object Pascal. So I have been so overjoyed by Quorum. I have thought, that I will be able to store compiled project on some server without setup Quorum server somewhere or with no need to use Quorum server which run thanks to The Quorum code developers.
If it is impossible, I Am very sorry, that I have bothered Quorum mailing list and MR Stefik so much.
I have only wanted to make my dreams to come true.
But even if WEbbrowser app requires connection to Quorum server, please try to provide some example with some interface based app or with WEB pages app if WEB browser app can not create accessible screen reader compatible GUI. There are many libraryes to create WEB pages in Quorum including AUdio tag support, ETC.

You don't need the Quorum server to run the HTML pages, nor do you need apache/mysql, or anything really. To run a Quorum program in HTML, you just have to load the page in a browser. Those pages you make though can do anything, so we can't know what circumstances you have exactly, so it's on you to figure out what you are actually trying to achieve.
The one exception here is fonts. Quorum requires you to host something for fonts, because of web assembly, and this is out of our control. Nginx/apache/any free server on your machine will do. Importantly though, this has nothing to do with the Quorum server itself. You need a "local" server on "your" machine, or to host anywhere you wish.
There might be a workaround for this, but it only matters if you need font loading in your application. That said, downloading and installing one of these servers is free and only takes a short time to setup.

OK dear MR Stefik. Thank you for your extreme patience. So Theoretically.
Is it possible to build The following sample project as a WEB page, which will be loadable in WEB browser with no need to connect to quorum live or other server? So Theoretically, this app could even work offline in The browser?
https://quorumlanguage.com/tutorials/ui/tree.html
I have fallen in love with special technique, which allow user to run Quorum apps inside WEB browser, because it is cross platform compatible. On Android and Windows 100 % and even with Orca screen reader for Linux.
My goal is to use quorum WEB browser apps for creating memory training test. So Quorum example codes are good starting point to try GUI how does Quorum work and I will rewrite The code in Quorum studio, because it is brilliant piece of programmers team work. Even Google could learn from yours team about how to make commercial and fully accessible IDE. YMr Stefik I can only congratulate to you and all engaged experts.

Here is Tree example attached. I have compiled it with Quorum studio. I have even tried to repair default.js Javascript file according to The instructions in The attached readme.txt. But Really, empty Browser window with The only Web page title. But no app GUi. Is it possible to add other code in to .html file?
I have removed all other libraryes, because I believe, that it is only for desktop compiled apps which have been built to .jar format in Quorum studio.
Run.zip

Correct, you can do stuff like this on the web in the latest versions of Quorum. As a reminder, the accessibility architecture for the web is in active development. It works now, but there is more to do. Also, because trees involve fonts, you'll need a local web server on your local machine for everything to work how you expect.
Also because this doesn't appear to be a bug, I'm going to close this ticket. Feel free to respond more on the mailing list if you have questions.


No module named 'flowMC.sampler'

I installed Jim (0.1.1) and flowMC (0.3.4) both by pip and when I tried to run the example "GW150914" from doc page the line from jimgw.jim import Jimcalls from flowMC.sampler.Sampler import Samplerwhich raises the error on the title.

This can be fixed by using from flowMC.Sampler import Sampler. Docs are not updated!

This works, but the next line is also problematic: from flowMC.sampler.MALA import MALA I tried from flowMC.Sampler.MALA import MALAand from flowMC.Sampler import MALA but neither worked.

Note that this is not an issue related to flowMC. Closing issue.
For reference, Jim is in heavy development and it has not reached a significant version release yet. We do anticipate a major release with better documentation and up to date dependencies in the coming months.

@Felipe-4 if you need help with jim-related development, feel free to reach out to me to discuss things. You can find my contact info on my Github profile.


Make API website access through standard browsers more helpful

We have a public DNS now at api.qcarchive.molssi.org, yay! This is helpful for Tornado based communication from a Client instance, but has some placeholder objects when accessing it through a browser:
api.qcarchive.molssi.org goes to a standard NGiNX webpage. We should probably point this to the docs or the upcoming Hugo page.
api.qcarchive.molssi.org:443 (or any non-dedicated port) points to a 400 error due to pointing a HTTP request at an HTTPS location
https://api.qcarchive.molssi.org:433 (or any non-dedicated port) actually gives us a traceback error, nothing is revealed, but still interesting
Traceback (most recent call last):
  File "/home/dgasmith/miniconda3/envs/qcf/lib/python3.7/site-packages/tornado/web.py", line 1569, in _execute
    result = self.prepare()
  File "/home/dgasmith/miniconda3/envs/qcf/lib/python3.7/site-packages/tornado/web.py", line 2322, in prepare
    raise HTTPError(self._status_code)
tornado.web.HTTPError: HTTP 404: Not Found

I'm not sure if we should change the pointers here, or how to for that mater, but something to consider.

This has been changed to "Bad Gateway". Check out our websites for better web-based data inspection.


Why does the link of RDD2019 become RDD2020 after successful download? So where is RDD2019? Is RDD2018 modified or not?

This is my opinion.
13,133 images of Japan road damage (RDD2019) are in RDD2020.
If you want to use RDD2019, I think you need to use only Japan road damage images in RDD2020.


Refactor accessor + flexible indexes + Dask support

This PR will eventually be quite big (sorry, at this stage I think it'll be more productive overall than splitting things in many PRs).
Two goals:

Flexible indexes, i.e., easy to extend xoak to other indexes, reusing the same API for indexing Datasets / DataArrays
Fully lazy, Dask enabled indexing for both for index builds and queries, aligned with index/query point coordinates chunks

TODO:

[x] add docstrings
[x] add some tests
[x] update example notebook

Flexible indexes
Registering a new custom index in xoak can be easily done with the help of a small adapter class that must implement the build and query methods, e.g.,
import xoak
from mypackage import MyIndex

@xoak.register_index('my_index')
class MyIndexAdapter(xoak.IndexAdapter):

    def build(self, points):
        # must return an instance of the wrapped index
        return MyIndex(points)

    def query(self, my_index, points):
        # must return a (distances, positions) tuple of numpy arrays
        return my_index.query(points)

Any option to pass to the underlying index construction should be added as argument in the adapter class' __init__ method (we could address later how query options are handled).
In the example above, my_index is registered in xoak's available indexes. It can be selected like this:
Dataset.xoak.set_index(['lat', 'lon'], 'my_index')

It's also possible to directly provide the adapter class (useful when one does not want to register an index adapter):
Dataset.xoak.set_index(['lat', 'lon'], MyIndexAdapter)

xoak.indexes returns a mapping of all available indexes. As an alternative to the decorator above, it can also be used to register index adapters, e.g.,
xoak.indexes.register('my_index', MyIndexAdapter)

Dask support
This PR implements dask-enabled index build and/or query that is independent of the underlying index. It handles chunked coordinate variables for either or both index / query points.
For chunked index coordinates, a forest of index trees is built (one tree per chunk).
A query is executed in two stages:

1st "map" stage:

map the index adapter class query method for each query array chunk and each tree of the forest.
concatenate all distances/positions results into two dask arrays of shape (n_points, n_indexes), respectively.

2nd "reduce" stage:

brute force lookup: argmin is applied on the distances array over the indexes dimension (columns)

Advantages of this approach:

It's simple, efficient and should scale well
It can be fully lazy, including the index construction, which means that out-of-core selection is possible in theory.
If we need to execute a lot of queries on the same dataset, it is possible to cache the indexes in memory using dask.persist(). There's an option for that (enabled by default):

Dataset.xoak.set_index(['lat', 'lon'], MyIndexAdapter, persist=True)

Indexes are not partitioned following the spatial distribution of the points but rather using the coordinate chunks. This could make queries less optimized, but this reduces the amount of data transferred between dask workers.

Potential caveats:

Index tree structures can be tricky to serialize/deserialize. It depends on their implementation. Serialization may be not very efficient (it may sometimes require a full tree rebuild). I still need to figure out if we can avoid that with dask (i.e., preferably move the query data to where the indexes live).
Chunk sizes of index and/or query coordinates have a great impact on the overall performance and must be set carefully. It greatly depends on which index is used. It unlikely corresponds to optimal chunk sizes for I/O perfomance.

Other changes

I removed the transform argument in Dataset.xoak.set_index and the tolerance argument in Dataset.xoak.sel. Supported features may greatly vary from one index to another, so I'd suggest that most logic should be implemented in index adapter classes (with option forwarding), instead of trying to extend an API that is common to all indexes.

Dataset.xoak.sel triggers the computation of the query dask graph (if any), because xarray.Dataset.sel does not (yet) support dask arrays as indexers.

I think we should leave Dataset.xoak.sel with as few features as possible and on par with xarray.Dataset.sel. It would be great to leverage all the features of tree-based indexes (e.g., return distances, select k-nearest neighbors, lazy selection, set masks or max distances, etc.), but I think that the xoak accessor should provide other methods for those special cases.

I think it's ready for review. @willirath @koldunovn if you want to take a look (I know, it's quite big).
I don't know why lint tests are failing here (I run black on those files). Tests are running fine locally.
We still need some more tests for the accessor. That can be done in #10 after merging this (probably a couple of merge conflicts to solve).
I updated the example notebook.
There's one performance issue when index coordinates are chunked (I think it's a xarray issue), but we can go ahead and address this later IMO.

There's one performance issue when index coordinates are chunked (I think it's a xarray issue)

Opened https://github.com/pydata/xarray/issues/4555

Let's also track https://github.com/pydata/xarray/issues/2511 so that eventually we won't have to trigger computation of the dask graph in .xoak.sel().

I've done some tests on a bigger server with the S2 point index, still using randomly located points.
Settings:

Dask local cluster of 60 workers with 1 thread each (I have issues with multi-threads)
60M indexed points (60 chunks of 1M points)
9M query points (10 chunks of 900k points)

Results:

building the 60 indexes and persisting them in memory takes 2 seconds
querying the points takes 50 seconds

Caveats:
The results above were obtained after I spent a while on tweaking chunks, dask cluster and dask configuration (e.g., disable work stealing). It turns out to be very tricky in reality. Scaling is also highly limited by memory.
There's one major issue here: during the query, the indexes get replicated on a growing number of dask workers, which causes memory blow-up and significant drop in performance due to index data serialization (which, in the case of the S2, means rebuilding indexes from scratch!). I suspect that the dask's scheduler has a poor idea on the memory footprint of those indexes (persisted in memory). This may explain why dask's heuristics to assign tasks to the workers miserably fails in this case.
I need to figure out:

If we can give to dask a better idea on the memory footprint of each index
If / how best we can force dask to submit the query tasks to the workers where the index lives in memory, i.e., move query point data between workers rather than indexes objects (assuming that query point data is generally smaller than index point data).

If we can give to dask a better idea on the memory footprint of each index

Turns out we just need to define the __sizeof__ method for the index wrapper classes. It does yield better performance, but it still doesn't solve all the issues. We could imagine to "fool" dask by returning a very large size and hope that indexes won't be replicated too much, but that's not very elegant.

if / how best we can force dask to submit the query tasks to the workers where the index lives in memory

It pretty straightforward to do this using client.compute(..., workers=...). It doesn't play well with resilience, though (it may freeze the computation if workers die or indexes are deleted for some reason). To improve stability we could use client.replicate() and client.rebalance(). It works quite well, but all those manual tuning steps require experience and attention.

Despite those tricks, I still sometimes get workers restarted or indexes deleted for unknown reasons. I don't know, maybe I use too large amounts of data for the cluster I setup.
With this approach, I'm afraid there's no way to completely avoid large amounts of data being transferred between workers, so scalability is still limited.
On the positive side, we do really get very nice speed-ups with decent amounts of data (millions of points on my laptop)!

Broadcasting the query point chunks to all workers may greatly help too:
query_points = ... # dask array

query_points = query_points.persist()

client.replicate(query_points)

This could be the best thing to do actually, since in most cases the whole query data should easily fit in each worker's memory.
Now this is looking good:

Ok let's merge this. Tests failed because of black (I suspect a version mismatch), so no harm here we can take care of this later.


ci(renovate): update screenshotter browser, .flowconfig, editor SDKs, and Actions

Enable Renovate to

update screenshotter browser image

#2491 proved it's important to test on latest browsers
Example: https://github.com/ylemkimon/KaTeX/pull/48

update versions in .flowconfig and Yarn 2 editor SDKs

Example: https://github.com/ylemkimon/renovate-flow/pull/2
Blocked on https://github.com/renovatebot/renovate/issues/7285

update GitHub Actions in workflows

Turns out https://github.com/KaTeX/KaTeX/pull/2493#discussion_r487341345 was wrong and Renovate updates GitHub Actions more reliably

and do not skip netlify for website updates.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2516   +/-   ##
=======================================
  Coverage   93.83%   93.83%
=======================================
  Files          84       84
  Lines        6144     6144
  Branches     1260     1260
=======================================
  Hits         5765     5765
  Misses        348      348
  Partials       31       31

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 50e4b54...a4a2c2b. Read the comment docs.


Use local variable for match_input_once to avoid saving it in checkpoint

Fixes #6786

Can one of the admins verify this patch?

Are we certain that users don't want the additional reproducibilty of saving this list of filenames in the checkpoint?

In the original issue, the surprise was you run tf.train.match_filenames_once was run to generate list of testing filenames. Then pre-trained model was loaded from checkpoint, which overwrote this list with training filenames. 100% test set accuracy, woohoo!
Saved filenames are useful to restore while training a model, but are not useful to restore when loading this model for testing. It seems there needs to be some kind of distinction between model parameters and checkpointed things that are not model parameters.

Jenkins, test this please.

The failure is due to timeout
//tensorflow/contrib/layers:feature_column_ops_test                     TIMEOUT in 65.0s
  /var/lib/jenkins/workspace/tensorflow-pull-requests-cpu/bazel-ci_build-cache/.cache/bazel/_bazel_jenkins/eab0d61a99b6696edb3d2aff87b585e8/execroot/workspace/bazel-out/local-opt/testlogs/tensorflow/contrib/layers/feature_column_ops_test/test.log

btw, unrelated timeout issue has been fixed

@tensorflow-jenkins test this please

@yaroslavvb I'm afraid that this broke an internal test. I'll be reverting this in the next push, while I investigate.

@rmlarsen my first guess would be that the test is trying to restore "matching_filenames" variable from checkpoint

@yaroslavvb thanks for the hint. Will take a look later.


thehive4py==1.8.1 Code Erroe

Not Send Alert to Thehive

Hello, this sounds like an error in your own code.


luci-app-uhttpd: adding "defaults" uhttpd server makes cert parameters disappear

Steps to reproduce:

go to: Services → uHTTPd
enter "defaults" to the left of "Add" and click "Add".

Actual behavior:

all values in the section "uHTTPd Self-signed Certificate Parameters" disappears.

Expected behavior:

the values in the section "uHTTPd Self-signed Certificate Parameters" should remain.

Additional Information:
OpenWrt version information from system /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r26515-6e51b363e9'
DISTRIB_TARGET='x86/64'
DISTRIB_ARCH='x86_64'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r26515-6e51b363e9'
DISTRIB_TAINTS=''

This problem is related to Named uci sections may be overwritten by misstake in luci

Likely caused by the same issue you reported in the forum: https://forum.openwrt.org/t/named-uci-sections-may-be-overwritten-by-misstake-in-luci/200130/5


revert custom .wav file changes

I got it working with the last version, that I could load the speech files fo refine.
I did not like the result though. now I wanted no continue converting my books with the default models set by --engine xtts --speaker ...
but somehow it still tries to load the latent speaker stuff from before when i supplied the three wave files. i tried deleteing the model completly but no change
how do I get back the original behvaiour I had when calling
python3 /home/jk/epub2tts/epub2tts.py ~/epubconvert/....epub --engine xtts --speaker "Badr Odhiambo" before I called it with the .wav files as input?

I'm not really sue what could be happening here? Between runs there's nothing that caches the previously supplied wave files as far as I am aware.
Can you share output showing where it's loading anything from the previous speaker so we can get a better look at what might be going on?

the first part stayed the same, it list the chapters an loads the model
_Part: 27
Then, once we proceeded halfway to the demon's camp, the black cube, Mao, sent a number of demons forward too.  Is that large man with a doglike face a kobold?  There was a woman who looked like a vampire in armor, and a heavily armored lizardman too.
B
Length: 5599
Part: 28
Extra Story,  The Prickly Girl Wants to Be Spoiled Too
It was a little after Souma and his group returned from the Demon Lord's Domain to the Kingdom.
Around this time, the two countries were sorting out how they were going to announce the complete l
Number of chapters to read: 28
Saving to How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-badr-odhiambo.m4b
Total characters: 390646
Using GPU
VRAM:<PHONE_NUMBER>
Loading model: /home/jk/.local/share/tts/tts_models--multilingual--multi-dataset--xtts_v2

tts_models/multilingual/multi-dataset/xtts_v2 is already downloaded.
Using model: xtts_

now before at this point it listed all the previous already converted chapters, shows the next batch of sentences to tts and startrs processing
but since i used the .wav files ones (even in differnt directory) the already finishes chapters of this book are ignored and the output looks the same as when I called it with the .wav files
[2024-01-08 21:11:47,792] [INFO] [real_accelerator.py:161:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[2024-01-08 21:11:48,254] [INFO] [logging.py:96:log_dist] [Rank -1] DeepSpeed info: version=0.12.6, git-hash=unknown, git-branch=unknown
[2024-01-08 21:11:48,255] [WARNING] [config_utils.py:69:_process_deprecated_field] Config parameter replace_method is deprecated. This parameter is no longer needed, please remove from your call to DeepSpeed-inference
[2024-01-08 21:11:48,255] [WARNING] [config_utils.py:69:_process_deprecated_field] Config parameter mp_size is deprecated use tensor_parallel.tp_size instead
[2024-01-08 21:11:48,256] [INFO] [logging.py:96:log_dist] [Rank -1] quantize_bits = 8 mlp_extra_grouping = False, quantize_groups = 1
Using /home/jk/.cache/torch_extensions/py310_cu121 as PyTorch extensions root...
Detected CUDA files, patching ldflags
Emitting ninja build file /home/jk/.cache/torch_extensions/py310_cu121/transformer_inference/build.ninja...
Building extension module transformer_inference...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: no work to do.
Loading extension module transformer_inference...
Time to load transformer_inference op: 0.06924605369567871 seconds
[2024-01-08 21:11:49,068] [INFO] [logging.py:96:log_dist] [Rank -1] DeepSpeed-Inference config: {'layer_id': 0, 'hidden_size': 1024, 'intermediate_size': 4096, 'heads': 16, 'num_hidden_layers': -1, 'dtype': torch.float32, 'pre_layer_norm': True, 'norm_type': <NormType.LayerNorm: 1>, 'local_rank': -1, 'stochastic_mode': False, 'epsilon': 1e-05, 'mp_size': 1, 'scale_attention': True, 'triangular_masking': True, 'local_attention': False, 'window_size': 1, 'rotary_dim': -1, 'rotate_half': False, 'rotate_every_two': True, 'return_tuple': True, 'mlp_after_attn': True, 'mlp_act_func_type': <ActivationFuncType.GELU: 1>, 'specialized_mode': False, 'training_mp_size': 1, 'bigscience_bloom': False, 'max_out_tokens': 1024, 'min_out_tokens': 1, 'scale_attn_by_inverse_layer_idx': False, 'enable_qkv_quantization': False, 'use_mup': False, 'return_single_tuple': False, 'set_empty_params': False, 'transposed_mode': False, 'use_triton': False, 'triton_autotune': False, 'num_kv': -1, 'rope_theta': 10000}
VRAM:<PHONE_NUMBER>
Computing speaker latents...
Reading from 1 to 28
How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-1.wav exists, skipping to next chapter
0.20% spoken so far.
Elapsed: 0 minutes, ETA: 0 minutes
How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-2.wav exists, skipping to next chapter
0.26% spoken so far.
Elapsed: 0 minutes, ETA: 1 minutes
0%|                                                                                | 0/2 [00:00<?, ?it/s]------------------------------------------------------
Free memory : 0.474219 (GigaBytes)
Total memory: 3.999512 (GigaBytes)
Requested memory: 0.335938 (GigaBytes)
Setting maximum total tokens (input + output) to 1024
WorkSpace: 0xbb4a00000
0%|                                                                                | 0/2 [00:13<?, ?it/s]
since that one call with the .wav files, now the intermediate files it creates are .wav
and it looks like it is detecting ones, but somehow it looks now for .wav intermediate  files,
but the intermediate ones created before were .flac and also was looking for flac before.
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-1.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-1.wav'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-10.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-11.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-12.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-13.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-14.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-15.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-16.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-2.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-2.wav'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-3.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-4.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-5.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-6.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-7.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-8.flac'
'How a Realist Hero Rebuilt the Kingdom - LN 17 Premium-9.flac'
It is just surprising that calling once with the input .wav options, changes also the behaviour of calling it without. or did this change due to recent comits?

ahh just saw the last merge ffmepg, changed the format of the intermediate files
then it still would be nice to have the realtime factor display back as well

AH! I understand what happened... If epub2tts is interrupted before completing, it will leave the intermediate files it completed behind. When I first started working on this, it would occasionally crash, and sometimes it would be after having already done a lot of the work.  So if it crashes and you leave those temp files sitting there, epub2tts will pick up where it left off. BUT if you want to start fresh after a crash, you need to delete all the temp-N.wav (or .flac if you were using an earlier version) files. Same with each chapter file, for instance if the epub was "mybook.epub" and you had --start 5, and it crashed while working on the third part, you will have mybook-5.wav and mybook-6.wav sitting in the directory.
SO - if you remove all those temp files and start again, it will start fresh from the beginning. If you leave the temp files, it will try to pick up where it left off.
Hope that explanation is clear enough and helps, please feel free to ask about anything else that comes up!

Yeah it's a very useful feature. Just started the book, then updated and expected to continue it. It would have worked but the comit changed the intermediate format. All good


A very encouraging work!

This "Approximating Interactive Human Evaluation with Self-Play for Open-Domain Dialog Systems" is a very encouraging work in the field of open-domain dialog system. I'm very happy to try your metric. I have a few questions here:

What's the weight of each individual metric in computing the final metric?
How did you collect the Reddit data mentioned in the paper? I'm aware of pushshift API and pushshift directory contents. However, I don't know exactly how to extract Reddit comments and process them into conversations for a specific subreddit, e.g., /r/CasualConversation.

Really appreciate your hard work :)
Thanks,
Peixiang

Hi Peixiang, Thank you for your questions.
More information can be found in the appendix of our paper:
Re hybrid metric:
Appendix 7.2 provides information about weight of individual metrics and their stability across training folds. Here are the raw values with 90% confidence intervals:
Sentiment -U=0.608 ± 0.018
Sentiment Transition -U=-1.176 ± 0.172
Sentiment Min-Max -U=0.059 ± 0.013
Laughter -U=0.171 ± 0.015
Sentiment Coher. -U/B=0.866 ± 0.077
Semantic Coher. -U/B=-0.146 ± 0.022
Average Word Coher. -U/B=2.201 ± 0.165
Extrema Word Coher. -U/B=-2.588 ± 0.137
Greedy Word Coher. -U/B=0.244 ± 0.159
Question Score -B=-0.036 ± 0.040
#Word -U=-0.084 ± 0.171
Intercept=2.245 ± 0.037

Re reddit dataset:
Appendix 7.5 provides details about scraping reddit dataset, downloadable from here. We used submission IDs from the 1.7B Reddit comments dataset and then used PRAW to scrape the main submissions.

@asmadotgh Thank you very much for the detailed weight info and reddit dataset collection method.
Thanks,
Peixiang


EC key support

This change add EC key support for simple-mail-forwarder.
Also fixes a little typo.
Solves #50

It looks good to me, I'll merge it first.
However, please test it after the new docker image had been published and make sure it works as you expected.
Thank you very much for bring this new feature to the SMF!

@Czocher I had just fixed a bug introduced from this PR that broke the unit testing.

@huan I'm extremely sorry, haven't realized there were unit tests in this project!

Of course we have! ;-)

I think this PR has some problems...
I used letsencrypt to generate fullchain.pem and privkey.pem and used them as smtp.cert and smtp.key in folder that is mouted as /etc/postfix/cert/ in container.
When starting latest/1.1 image, then server starts correctly, no errors in logs, but when configuring smtp server in gmail, then I get error:

Authentication failed. Please check your username/password.
Server returned error: "TLS Negotiation failed, the certificate doesn't match the host., code: 0"

Tested certs with https://www.checktls.com/TestReceiver and cert test fails:

Details about cert fail:

	Cert VALIDATION ERROR(S): self signed certificate
So email is encrypted but the recipient domain is not verified
Cert Hostname DOES NOT VERIFY (mail.example.com != simple-mail-forwarder.com)
So email is encrypted but the host is not verified
cert not revoked by OCSP
Data:
  Version: n/a
  Serial Number: 99:7b:00:b0:9a:d6:ff:88
  Validity:
    Not Before: Sep  7 15:05:26 2020 GMT
    Not After: Sep  5 15:05:26 2030 GMT
  Issuer:
    commonName =	simple-mail-forwarder.com
    countryName =	US
    localityName =	L
    organizationName =	O
    stateOrProvinceName =	Matrix
  Subject:
    commonName =	simple-mail-forwarder.com
    countryName =	US
    localityName =	L
    organizationName =	O
    stateOrProvinceName =	Matrix
  Subject Public Key Info:
    Public Key Algorithm: id-ecPublicKey
    Public Key Bits: (384 bit)
    Modulus:
      49:F6:54:70:FF:D0:4F:75:A9:A3:53:BE:E5:FB:74:44
[...]
      B
    Exponent: n/a
    Key:
      -----BEGIN PUBLIC KEY-----
      MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEn2VHD/0E91qaNTvuX7dET+ZcuzKLg3ZV
[...]
      -----END PUBLIC KEY-----
  X509v3 Extensions:
Digest: 8aa3ee4ff9e1a701ee47b0c17a291228b03341e5ef7076f01ebfcad1aea369a2
Signature: ecdsa-with-SHA256
  6d:61:69:6c:2d:66:6f:72:77:61:72:64:65:72:2e:63
[...]
Fingerprints:
  sha256$8aa3ee4ff9e1a701ee47b0c17a291228b03341e5ef7076f01ebfcad1aea369a2
[...]
  sha512$pub$163ac8d3d075fe6a910e956a58bbe122fc06f21d662b14ec39bacfcad18c97f370415df2fc14ef6732c2c383f439d9b4a5a7437a4280f1d7f2bbb4bc4c9ea359
Certificate:
  -----BEGIN CERTIFICATE-----
  MIIB4TCCAWcCCQCZewCwmtb/iDAKBggqhkjOPQQDAjBaMQswCQYDVQQGEwJVUzEP
[...]
  E13NIJM=
  -----END CERTIFICATE-----

After starting container, I noticed that smtp.ec.cert and smtp.ec.key files were also generated. I do not know what exactly are they, but I think these are not needed.
Stopped container, deleted smtp.ec.cert and smtp.ec.key files, changed image to 1.0.0 and started container. Now smtp.ec.cert and smtp.ec.key files were not created and all tests pass on https://www.checktls.com/TestReceiver. Also, now gmail allows it to use as SMTP.

The following works for me:
cp ../../archive/mydomain/fullchain2.pem smtp.cert
cp ../../archive/mydomain/fullchain2.pem smtp.ec.cert
cp ../../archive/mydomain/privkey2.pem smtp.ec.key
cp ../../archive/mydomain/privkey2.pem smtp.key

Basically, the ec files are just a copy of the non-ec files.

I can confirm that cp smtp.cert smtp.ec.cert && cp smtp.key smtp.ec.key fixes latest image.
If these "ec" cert/key are required when using letsencrypt (or any other certs?), then I think README should explicitly mention that these files must be copied there.


:bug: Fix windows CR LF issue in wordRegExp

Issue #7662

Thanks for this! Could you write a test for this @dranzerashi?

I didn't find a spec for cursor, Is it ok if I try updating the word selection and delete methods in text-editor-spec to cover the changes.

The test case concerning the issue already exists in Text-editor-spec, however the sample.js file that is loaded as test-case has unix style line endings. So the test-case always passes even on windows.

The text-editor-spec already has suitable test cases concerning the issue, however the sample.js file is written in unix format and hence passes all the test cases without raising errors.

Yeah, so we just need a test that converts sample.js to use CRLF line endings and checks that ctrl-delete still works properly at the end of a line.

I included your work in my pull request #9937, which did some additional fixes for CRLF line endings. Unfortunately, without thinking, I rebased my branch afterward, so these commits did not get marked as included. My apologies for that, @dranzerashi. Thanks for this work. Through https://github.com/atom/atom/pull/9937, it will be released in Atom 1.4.0.


hipBindTexture return error

Is there some upper limit in hipBindTexture usage for the last parameter size setting? I find when I set the last parameter to 131072 * sizeof(float),  this api will return hipErrorRuntimeOther.

@joye ,
Short answer to your question 'Yes, there is size limit'.
More details:
Number of valid texture element size is depend on values used to create hipChannelFormatDesc. Calculation goes like 'x- value/4 * (number of channels set)' e.g. hipChannelFormatDesc chanDesc = hipCreateChannelDesc(32, 0, 0, 0, hipChannelFormatKindFloat); // x=32, #channels=1, element size  = 32 / 4 * 1 = 8;
In this case total size in bytes  = 131072 * sizeof(float) = 524288 bytes
No. of texture elements = total size / element size = 524288 / 8 = 65536
You can query max supported number of 1D texture elements as below:
hipDeviceGetAttribute(&outData, hipDeviceAttributeMaxTexture1DWidth, dev_id); on successful run you will get max number of elements in outData.
Limit check : Your input memory size should not end up having greater than or equal to max number of elements supported. In your case it is happening hence the failure.
Note: Max limit can’t be mentioned as it is all in texture element size which can be calculated based on user input.

Closed the bug for now let me know if you have any query regarding the same.


Pull request for fos_branch to main

This is to merge the branch.
The only thing that I can't do is to add the downgit link as that can only be done when in the main branch. The downgit link will include which branch the folder is in.
Kin

The changes have been and ready to merge


Support for bignumerics in bigquery

Context
The client disconnects when trying to load bignumerics form external table (in bigquery).
Expected
Data as in the bigquery table
Actual
Client disconnect with error on the server:
client disconnected with error = This feature is not implemented: Can't create a scalar from array of type "Decimal256(76, 38)"

Impact

This looks done.


[KYUUBI #1780] Add error log in Rest be

Why are the changes needed?
closes #1780
Add error log in Rest be
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #1781 (2abc9c8) into master (250d2f1) will decrease coverage by 0.08%.
The diff coverage is 5.88%.

@@             Coverage Diff              @@
##             master    #1781      +/-   ##
============================================
- Coverage     59.84%   59.75%   -0.09%
+ Complexity      264      263       -1
============================================
  Files           275      275
  Lines         13613    13635      +22
  Branches       1745     1745
============================================
+ Hits           8147     8148       +1
- Misses         4774     4794      +20
- Partials        692      693       +1

Impacted Files
Coverage Δ

...apache/kyuubi/server/api/v1/SessionsResource.scala
65.34% <0.00%> (-12.31%)
:arrow_down:

...ache/kyuubi/server/api/v1/OperationsResource.scala
67.46% <15.00%> (-2.66%)
:arrow_down:

...ache/kyuubi/operation/KyuubiOperationManager.scala
92.50% <0.00%> (-2.50%)
:arrow_down:

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 250d2f1...2abc9c8. Read the comment docs.

Thanks, merging to master


Previous reads not used to generate downstream

The current implementation does not use previous reads done by the transaction to generate downstream operations.
E.g., A transaction reads x, then it updates it.
The update will send a read to the vnode which is unnecessary because that read has been done.
I propose to have an internal read set at the coordinator for this purpose.

I see the problem. I was merging the wrong branch. Sorry!


[WIP] Add documentation for pelorus dashboards and dashboard development

resolves #130 #136
@redhat-cop/mdt

I read through this and it looks great.

@springdo does this address your exporter questions?


Add tests for the isSet() and getFieldsNotSet() methods

Catching up with all the changes to enforce required fields.

Looks good. In the future, consider using the Truth library for assertions - rather than junit's. Also, I still think it's preferable to make isSet and fieldsNotSet properties.

As I mentioned in the other PR, the entity classes can have any arbitrary field name defined as properties, so we don't want to clash with them. Not sure how that works if you have a property and a method with the same name.


Allow to customize shell level setting

I'm a tmux user. So my terminal session normally looks like tmux and then everything else.
I would like to have the ability to customise (set via env or so) the minimal value of shell level which will be shown in the prompt. Because tmux is the second level already, I see this annoying (2) in my shell prompt all the time.  So it would be great to have an option to adjust the minimal shell level somehow like ZSH_ASCIISHIP_MIN_SHELL_LEVEL=3.  Or even better, because I'm using ranger where I can also open shells,  to just provide the ability to set some adjustment like  ZSH_ASCIISHIP_SHELL_ADJUSTMENT=-1. That will hide tmux and will provide info about further sessions.
Alternatively, if it's possible to detect that tmux is running right now, it would be great to increase this minimal shell layer to 3 to allow tmux to run without affecting the prompt. env var like ZSH_ASCIISHIP_TMUX_ADJUSTMENT=true

I'll just fork the repo an customize it for myself. I make no sense to complicate the theme

Cool, that's one of the ideas with our themes: to serve as a starting point for you to customize your own.


Exponentiation should be right-associative

Via @cab404:

Squiggle has left-associative exponentiation. e.g 2^3^2=64 instead of 512

Yeah. sorry for not filing it myself :sweat_smile:


salt: Prefer to load Nix libcrypto

Prefer to load the static Nix version,
but still fallback to the normal loading pathway if needed.
Being more aggressive about using the Nix dependency
improves stability and means Salt works more often,
namely in cases where find_library/LoadLibrary don't work
even though we have the Nix libcrypto available.
We still need to keep the fallback for usage with salt-ssh.
Motivation for this change
Better fix than what was in #29020.
See also #29723 cc @danbst.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

What is the status of this pull request?

Closing due to lack of activity, feel free to re-open this if needed.


⚠ Secret Website 3 has degraded performance

In 0c5a23a, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 5259 ms

Resolved: Secret Website 3 performance has improved in 7162fdd.


bump govuk-components to 0.5.0, and fix govuk_link_to calls with blocks

..to allow the upgrade to work
Context
There's been a dependabot PR that upgrades govuk-components from 0.4.0 to 0.5.0 for a while now, but it has a few specs that are failing.
Changes proposed in this pull request

fix the govuk_link_to ... do calls that are failing, by changing them to non-block syntax
bump the gem version

Guidance to review

This feels like a regression – I've been meaning to provide feedback into the govuk-components gem, the block syntax should work really...

This feels like a regression – I've been meaning to provide feedback into the govuk-components gem, the block syntax should work really...

Agreed, but we can do that separately. In this case there's no particular need for those calls to be using the block syntax and it was a straightforward fix. I'm keen to not have broken PRs hanging around any longer than necessary

This feels like a regression – I've been meaning to provide feedback into the govuk-components gem, the block syntax should work really...

@benilovj I did some experimentation on this last night, and I got to the bottom of the problem. There's a full description on Trello , but the TL;DR version is:

it's not broken, the (correct) block syntax works fine
it's our calling code that was broken (incorrect arguments)
we didn't notice it was broken until 0.5 because the syntax we called was accidentally correct for a non-block call, and in 0.4 all calls are non-block calls


Suggestion: a modest helper to reduce boilerplate

I've been following the View Components journey and I was inevitably curious about the Primer components repo.  The instantiation boilerplate immediately struck me as verbose, certainly for own my personal taste, and my instinct was to immediately tuck that into a helper to improve legibility.
So I'm just sending this PR by way of suggestion, you may of course have other ideas or style preferences!

@inopinatus thanks for taking the time to make this suggestion via a PR! It's super helpful to have proposed code when discussing ideas likes this. I too share a distaste for how verbose render calls can look with ViewComponents.
However, we've generally avoided introducing a shorthand for rendering components, as we have several static analysis tools internally that rely on component class names being referenced directly. I'm hesitant to make this change now given that dependency.

@joelhawksley @manuelpuyol thanks for taking a look! I'll close this PR for now.
I am making a ViewComponent-based library for my own app's UI, so I fully intend to shamelessly borrow from whatever structures you land on.


Does it make sense to include sparkinabox

@eliasah What do you think? It is not particularly mature and I am cautious when it comes to self-promotion...

I think that it a legitimate tool. Maybe some more documentation and we can add it.

I think that at one point, we should add sparkinabox, but maybe setting a milestone to it first so it can get included here.

OK, I'll think about it. I consider rewriting it using https://github.com/ansible/ansible-container but I am not sure.


put_file: support concurrent multipart uploads with max_concurrency

Adds max_concurrency parameter which can be used to increase the concurrency for multipart uploads during S3FileSystem._put_file() (behaves the same as max_concurrency for uploads in adlfs)

max_concurrency can be set at the fs instance level or at as a parameter passed to _put_file()
When set, this will stack multiplicatively with fs.put(batch_size=...), so you will end up with a maximum of max_concurrency * batch_size parts being transferred at once

This does not affect downloads/_get_file().

For reference, I live in Seoul and am physically close to the ap-northeast-2 datacenter. When testing against a bucket located in ap-northeast-2, a single put_file() maxes out my 1Gbps connection regardless of concurrency (i.e. both s3fs main and this PR with any concurrency value hit something like 900+ Mbps upload).
However, for any other region, increasing the concurrency makes a noticeable difference for me. Using us-west-2 as an example, I get a maximum of ~160Mbps per connection, but increasing the concurrency will allow me to max out the full 1Gbps bandwidth.
Given this script and a bucket in us-west-2:
s3 = s3fs.S3FileSystem(cache_regions=True)
for i in (None, 32):
    s3.put_file(
        "ubuntu-22.04.2-live-server-arm64.iso",
        f"s3://{BUCKET}/s3fs-test/ubuntu-22.04.2-live-server-arm64.iso",
        callback=TqdmCallback(tqdm_kwargs={"desc": f"put file max_concurrency={i}", "unit": "B", "unit_scale": True}),
        max_concurrency=i,
    )

$ python test.py
put file max_concurrency=None: 100%|███████████████████████████| 1.94G/1.94G [01:53<00:00, 17.1MB/s]
put file max_concurrency=32: 100%|█████████████████████████████| 1.94G/1.94G [00:31<00:00, 62.1MB/s]

For reference, aws s3 cp takes  ~40s to transfer the same file to the same bucket:
$ time aws s3 cp ubuntu-22.04.2-live-server-arm64.iso s3://peter-test-us-west/s3fs-test/ubuntu-22.04.2-live-server-arm64.iso
upload: ./ubuntu-22.04.2-live-server-arm64.iso to s3://peter-test-us-west/s3fs-test/ubuntu-22.04.2-live-server-arm64.iso
aws s3 cp ubuntu-22.04.2-live-server-arm64.iso   7.53s user 4.03s system 26% cpu 43.334 total

However, for any other region, increasing the concurrency makes a noticeable difference for me. Using us-west-2 as an example, I get a maximum of ~160Mbps per connection, but increasing the concurrency will allow me to max out the full 1Gbps bandwidth.

Any idea why this happens? The upload should in theory saturate the bandwidth whether on a single call for the whole massive file (after one count of latency) or on many concurrent calls (that all wait ~1 count of latency at the same time).

Any idea why this happens? The upload should in theory saturate the bandwidth whether on a single call for the whole massive file (after one count of latency) or on many concurrent calls (that all wait ~1 count of latency at the same time).

I'm not sure, and as I mentioned I do get the max theoretical bandwidth whether or not it's concurrent when I'm guaranteed to have good routing to the datacenter.
But we have seen users with the same issues with other storage providers as well, so this isn't limited to AWS, see adlfs/azure issue:
https://github.com/fsspec/adlfs/pull/420
https://github.com/iterative/dvc-azure/issues/54#issuecomment-1663636862
It's probably worth noting that boto3/s3transfer also do multipart uploads in concurrent threads rather than sequentially

I do get the max theoretical bandwidth when I'm guaranteed to have good routing to the datacenter,

OK, let's assume there is some component of per-packet latency too, then. Perhaps it's an SSL thing. Thanks for digging.


SFT Visions support

Codecov Report
Attention: Patch coverage is 0% with 45 lines in your changes are missing coverage. Please review.

Project coverage is 84.42%.  Consider uploading reports for the commit ffde07e to get more accurate results

Files
Patch %
Lines

contracts/Visions.sol
0.00%
45 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #126      +/-   ##
==========================================
- Coverage   91.91%   84.42%   -7.50%
==========================================
  Files          13       14       +1
  Lines         507      552      +45
  Branches      144      158      +14
==========================================
  Hits          466      466
- Misses         41       86      +45

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


Import Instruction

As a program user
I want to be able to use multi-file programs, importing code from other files
So that my code can be split into multiple files.
Request Description
Implement an "import" instruction that can import code from other files on the system.

I might take this issue from you -- have you already started work on it? @michaelni678

I might take this issue from you -- have you already started work on it? @michaelni678

https://github.com/ezasm-org/rezasm/compare/import_instr?expand=1
progress so far


Update Kobweb to Kotlin 1.6.10

1.6.10 came out today (but we need to wait for Compose artifacts to catch up before we can upgrade)

https://github.com/JetBrains/compose-jb/releases/tag/v1.0.1 should be compatible with Kotlin 1.6.x

Thanks! I'll give that a shot today if I have time. :crossed_fingers:

Hmmm. With compose 1.0.1 and Kotlin 1.6.10, I'm getting:
e: This version (1.1.0-alpha06) of the Compose Compiler requires Kotlin version 1.5.31 but you appear to be using Kotlin version 1.6.10 which is not known to be compatible.  Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).

I always hate this particular warning because I'm never quite sure where the coompose compiler version is coming from. I'm guessing it's coming from the kotlin multiplatform plugin, but that's being set to 1.6.10, which is the latest at the time.

If you're curious to try this yourself, maybe double check I'm not missing a version upgrade, you can...

clone kobweb
edit gradle/libs.versions.toml, updating any relevant versions
Go into kobweb/examples/helloworld and run /.gradlew compileKotlinJs

The error I was getting with my earlier comment was user error - I had a nested subproject which had its own dependency versions, so I had Kotlin 1.6.10 as the version of my multiplatform plugin in one place and 1.5.31 elsewhere.
With latest, everything looks like it's compiling smoothly!


ARROW-16769: [C++] Add Warn() function to Status

This defines 2 new functions: Status::Warn() and Status::Warn(const string&).
For non-successful statuses, these functions log:

a simple header -- -- Arrow Warning --
a detail message (optional)
the string representation of the status itself

Here is example output:
/.../arrow/status.cc:137: -- Arrow Warning --
/.../arrow/status.cc:139: Test warning message
/.../arrow/status.cc:142: Invalid: warn_summary

For the following example code:
Status warn_status { Status::Invalid("warn_summary") };
warn_status.Warn("Test warning message");

cc @lidavidm need some help to activate the CIs.

You're gonna want to lint the code

haha yeah, I just realized after some of the CI failed.

@drin There are more places that could be migrated. For example FileDescriptor::CloseFromDestructor and internal::CloseFromDestructor. Perhaps you can grep the codebase for warnings?

link to error (for convenience): https://app.travis-ci.com/github/apache/arrow/jobs/573832051#L9619

Hmm, possibly a flaky test.

Looks like everything's passing. Is this ready @drin?

yep, I think so!

Thanks for doing this @drin !

thanks for all the help!


Middleware Datasource Summary page doesn't show Tags(Smart Management)

When viewing Middleware Deployments summary page, Tags(Smart Management) table is missing. Able to assign Tags via Policy button.

Go to Middleware Datasources
Click on a Datasource

@miq-bot add_label providers/hawkular, bug

Fixed by #9322


add pretty-print option

I typically have used this with jq when I wanted pretty printing and querying.  But it would be nice for users without jq to be able to run with some sort of --pretty option that would at least add spacing and newlines for easier human readability.

fixed in ff4b6f84ce6fa49705ce6ffdae42f1fd5053e858


(HTTP code 404) no such image - no such image: apache/zeppelin:latest: No such image: apache/zeppelin:latest

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

Looks like that repository does not have a :latest tag (https://hub.docker.com/r/apache/zeppelin/tags), so you will have to specify a specific tag to use; here's the steps to do so (steps below are for the elasticsearch image, but the steps are similar for the image you're using):

Click on the ... button to view the image's details

Click on the Selected tag: latest to open the "tag selection" window

Click the tag / version of the image you want to run

Click the (X) to close the tag selector window

Click on the Create button to pull the image and start the container


Replace macros with include files for better debugging

The new macros make debugging really hard, at least on VS, because I can't get line #'s for compile errors. This fixes stage 1 with a technique that includes the same .h file multiple times, with different #defines, rather than using a macro.
I haven't had time to fix stage 2 as well, but wanted to get some testing on other platforms / thoughts.

@jkeiser That's an interesting approach.
@ioioioio : I think we should consider this alternate design.

Note: we are planning a 0.2 release soon. We'll need to decide whether we do away with our macros.
We discussed long and hard the macro route and we are quite aware of the downsides. If this approach helps maintainability and debuggability, without affecting performance, I think we need go for it.

I wouldn't block a 0.2 release on it, personally--it makes debugging easier for people working on the library, but it's not going to be a factor in the library interface.
Ultimately I think none of us want either multiple includes or macros; alas, the compiler!
This patch should be mergeable separately of stage 2 if it is the direction we want to go. I can't see how it could affect performance, as both are effectively preprocessor search and replace ... but "I can't see how it could affect performance" is usually famous last words.

Ok. Let us not block release 0.2 on this.
@jkeiser : have you given some thought on how it interacts with the single-header version?
Note: I am not concerned by performance in this instance. Regressions are always possible, but the design by itself does not carry any performance penalty.

Regarding single-header, I would guess what we do is change stripinc to insert the relevant include instead when the include is on a list of particular headers (or perhaps anytime a header ends with _impl.h).

Is this a regression in Visual Studio itself? Admittedly haven't used it in awhile, but the symbol files it generates (.pdb) have always had correct source line numbers even with wildly esoteric macros.

@jkeiser That's a good idea. Yes...

@TkTech
My expectation is that macros are always more brittle than actual code... I take this issue as not being specific to visual studio...
But your question is interesting in its own right... How clever can compilers get with macros?

@jkeiser Note that you have super unlucky with your PRs regarding conflicts. We do not enjoy messing with the code so widely. It just happened that you started working on simdjson just when several major changes were hitting the code base. Sorry.

I have removed this PR from the features needed for release 0.2.

@TkTech I don't know if it's a regression, but maybe it only applies to compile-time errors? There were compile errors in the multiline macro on VS, and VS 2017's "errors" window only showed me the line # for the caller. I spent a while binary-searching to find where the errors occurred :)
It's also kind of a pain to put backslashes on the end of each line ... but I wouldn't be nearly so worried about it if that were the only problem.

Just letting you know that I am working of this right now. I have successfully removed the macros from stage1_find_marks_macros.h.
https://github.com/lemire/simdjson/tree/suppress_macros
Now I just struggle a bit with the amalgation, but I am very confident it will work.

Version 0.2.0 of simdjson was just released.

Thanks @ioioioio

Thanks tons @ioioio for the other patch; I'll close this in favor of #248


Error when precise without -p flag

What does this PR try to resolve?
close https://github.com/rust-lang/cargo/issues/10919
Follow up https://github.com/rust-lang/cargo/pull/10988, see https://github.com/rust-lang/cargo/issues/10919#issuecomment-1214464756
How should we test and review this PR?
You can manually build and test it. You can try cargo update --precise xxx without -p flag.
Additional information
It has already been released on stable. rustc 1.65.0 (897e37553 2022-11-02)

Hello. Cargo team talked about this today. We think it's fine to make it a hard error for --precise without -p, as --precise takes a value that is only meaningful with -p.
For --aggressive, we tend not to turn it an error. --aggressive is more like the default behaviour of cargo update without any options. We had a debate on whether to keep the warning. We may want to emit a warning like "redundant option --aggressive. cargo update without specifying a package implies --aggressive by default". However, it is a bit lengthy and not really useful. I think it's fine to remove the entire warning and relevant tests as well.

Make sense. Thanks for bringing this to the meeting!
Thanks for your review!  💚 💙 💜 💛 ❤

@bors r+

:pushpin: Commit c51f8ad083b5ed524dbc17a159aab35f8e2f8292 has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit c51f8ad083b5ed524dbc17a159aab35f8e2f8292 with merge 7b9069e8f928290cc54a2d8f27fc41095a68f67e...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 7b9069e8f928290cc54a2d8f27fc41095a68f67e to master...

In addition, if you have the access of new GitHub code search, here is the search result showing a non-neglectable amount of usage of cargo update --aggressive without a -p flag.


Unable to do type assert on generated structs for event filtering

Type of question
Are you asking about community best practices, how to implement a specific feature, or about general context and help around the operator-sdk?
how to implement a specific feature
Question
What did you do?
I'm trying to implement event filtering to control what kind of event can trigger a reconcile call. More specifically, I want the reconcile to trigger on an update event where only the spec is changed in the CR.
So I created a predicate that has UpdateFunc. I tried to convert the e.ObjectOld and e.ObjectNew to the struct that matches the CRD (ie generated by the sdk)
What did you expect to see?
When building, the compiler throws an error as:
 impossible type assertion: <MyType> does not implement "k8s.io/apimachinery/pkg/runtime".Object (DeepCopyObject method has pointer receiver)
What I did to convert the types
old:=e.ObjectOld.(v1alpha1.MyType)
new:=e.ObjectNew.(v1alpha1.MyType)

What did you see instead? Under which circumstances?
The build works and throws no error
Environment

operator-sdk version: 0.10
insert release or Git SHA here

Kubernetes version information:
insert output of kubectl version here

Kubernetes cluster kind:

Additional context
Add any other context about the question here.

@hehesky you need to assert it to a pointer type. I.e.:
old:=e.ObjectOld.(*v1alpha1.MyType)
new:=e.ObjectNew.(*v1alpha1.MyType)

If that doesn't work, we can re-open and debug more.

I've changed as suggested and the issue is still there @joelanford
does not implement "k8s.io/apimachinery/pkg/runtime".Object (DeepCopyObject method has pointer receiver)


[OSPO Book] Question about Chapters

Hi @anajsana
Today in the CHAOSS Metrics WG meeting, we were talking about a book chapter that we could possibly work on. While we have a few ideas, we were wondering if there is an overarching framework for the book -- a set of chapters that you are hoping to have. The reason that this was asked is because as we were framing a chapter, we were wondering "is this being covered in another chapter?" and "are there frameworks from other chapters that we could leverage?"
The chapter possibility that we were discussion was around Demonstrating OSPO Value and how metrics can play a part in that process. As part of this discussion, we were thinking that the chapter might start with a discussion of how it is important to address the following questions:
What is the overall strategy of your organization?
How is your OSPO aligned with this strategy?
However, if these questions are addressed in other chapters, we don't want to repeat or create confusion. From these questions, we can discuss metrics that can demonstrate this alignment and subsequently how to talk about that alignment throughout an organization.

hey @germonprez! we've improved some of the documentation in the OSPO Book Project, to help people start contributing on the different chapters, including the one on Metrics Strategy and CHAOSS Project. This article summarizes what has been added.

GOVERNANCE.md outlines the different contributor roles within the project and the responsibilities that come with them.
CONTRIBUTING.md now includes a newcomer section to facilitate new contributions.
Table Of Contents (TOC.md) now provides more information on the different topics expected to be covered in each chapter.

Re: Strategy Chapter
This PR covers the topic of setting up an open source strategy within an OSPO for the organization, the contributors will have a contributor's call by the end of this month to review the comments and make the final merge.
People behind the OSPO metrics WG is more than welcome to attend the call next week. Invite was sent via the mailing list ( Please check past messages)


Update develop-tables-external-tables.md

Document update is required since its not mentioned about "GRANT Database Scoped Credential Permissions" in Synapse Serverless SQL Pool.

@charithcaldera : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jovanpop-msft,
Can you review the proposed changes? Note that if you approve, the "en-us" needs to be removed from the new URL.
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge. Thanks.

#sign-off

@charithcaldera : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hello Stefan, Jovan,
Changed applied.

Thanks. Due to the upcoming Build conference, all merging and publishing is on hold until the morning of May 24.
This PR is ready for merge on 5/24.


Reported Issues from VS Code

Does this occur consistently?
Repro steps:

Action: postDeploy
Error type: ENOTFOUND
Error Message: getaddrinfo ENOTFOUND management.azure.com
Version: 0.22.0
OS: win32
OS Release: 10.0.17763
Product: Visual Studio Code
Product Version: 1.44.2
Language: en

Call Stack
GetAddrInfoReqWrap.onlookup [as oncomplete] dns.js:60:26

@vermavarun please add repro steps


libsForQt5.qtbase: fix Darwin build by removing obsolete patches

Another existing bug exposed by 514b00cf08702b31cdf873a798f1ff100d4f2cf7: the build system was interpolating an empty SDK directory and passing -isysroot  -g0, eating a compiler flag and breaking the build now that we don’t pass a redundant -isysroot of our own.
Thankfully, with the new SDK pattern, we don’t need to do any of this elaborate patching; just pointing it at the right tools from xcbuild lets it figure everything out itself.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin (on a branch with some other changes, though)
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[x] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This builds successfully on my staging branch and the otool -l output looks right; only difference vs. staging-next is that libQt5Core.dylib links against /usr/lib/libobjc.A.dylib for some reason, but that should be harmless and might even be more correct. This should be ready to go.

ack

Built libsForQt5.{qtbase,qttools,qttranslations,qtimageformats,qtdeclarative,qtmultimedia} and the otool -l output all looks good.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/title-the-darwin-sdks-have-been-updated/55295/1


copy the binary of the current OS and architecture to bin

Right now, only linux amd64 binary is copied to the bin folder. But if for some reason that binary cannot be built (because you're building from another operating system, for example, and it can't be cross-compiled), make packages will fail.
This makes sure the binary that's copied is the one corresponding to the current operating system and architecture.

related: #97

How does this interact with Docker image build? If I recall correctly, the Docker build will use the one in bin and it needs to be Linux amd64.

🤔 most probably it clashes with docker build, yes.


dynamicaly reconfigure endpoints

What is the best way to reconfigure endpoint when Aurelia app was already configured ?

@k2s That's a very good question.
Simply require the config from aurelia-api and call .registerEndpoint().
If you really want to reconfigure an endpoint for some reason (I'm curious when you'd want to do this) you'll have to work with .getEndpoint() and manual actions. If this really is a feature people need often, we can create a convenience method for it.

what worked for me:
import { Container } from 'aurelia-framework'
import { Config as AureliaApi } from 'aurelia-api'
...
let configApi = Container.instance.get(AureliaApi)
configApi.getEndpoint('apiU').defaults.headers.myheader = 'ok'


As a developer, I want to set up the architecture for the front end

Not quite sure what architecture to use, but I have some ideas. Will do more research.

Related PR: fe-3


Commenting requires a captcha

Expected: Publish comments.
What it does: Does not publish comments.
Explaination:
"The comment feature doesnt work because in the site itself needs a captcha before you comment. Please fix this"
Client version: 2.6.2 (prerelease)

I think it depends on the account, I just tried and the comment has been published.


Handle listeners and certmapping

Add LWRP to setup winrm listener
Add listeners recipe to configure them by attributes
Add LWRP to setup winrm service certmapping

You have no tests.

+1 we can deal with chefspec tests later it's a bit hard to do for now and we aren't even using the cookbook properly yet

+1


Amigo Search behaviour upon

If search on SPCC4B3.10c
and I see
ipk1 (PomBase:SPCC4B3.10c ) in the dropdown
But If I hit return
I get
Nothing found for SPCC4B3.10c. Please try again.
I'm not sure if this was causing us not to find the genes missing from AmiGO here or not

Dupe on #120 (and #269 previously).


Update options at runtime

Right now options will not get updated.
Example Code:
// - Everything works as espected
$('#myBar')
  .attr('data-transitiongoal', 10)
  .progress({
    done: function foo() {
      console.log('foo');
    }
  });

// - Later in time
$('#myBar')
  .attr('data-transitiongoal', 10)
  .progress({
    done: function bar() {
      // This function will never get called
      // Instead foo is used
      console.log('bar');
    }
  });

This pull-request will solve this issue.

@HaNdTriX nice! looks good to me. have to finish some work. will check this out tomorrow. note sure if this should be 0.8.6 or better 0.9.0 cause it might break some behavior on some peoples implementations.

0.9.0 might be the right way to go. :+1:

thx!


Update SHSTOCKICONID enumeration icon images

These images was generated on Windows 11.

SIID_MOBILEPC.png and SIID_SETTINGS.png appear to be blank images. Is that correct? Would it be better to leave the old images for those?

@jwmsft just checked these two.
icon: SIID_SETTINGS
source location: C:\WINDOWS\system32\imageres.dll, resourceId: 121
resource frames: 844 (296 bytes): 16x16x4

icon: SIID_MOBILEPC
source location: C:\WINDOWS\system32\imageres.dll, resourceId: 119
resource frames: 879 (296 bytes): 16x16x4

Resources from C:\WINDOWS\system32\imageres.dll are lying in C:\Windows\SystemResources\imageres.dll.mun:

They are actually fully-transparent icons on Windows 10 and 11.

Interesting. Thanks for checking, and for all these updates!


Meetbot: make link re-posting optional

I've encountered the following situation a couple times in the past week or so during online matrix only meetings in the fedora community:

someone posts a link in the meeting as part of the conversation
the meeting organizer/point person issuing the bot commands issues !link to add the link to the notes
the bot replies with the link (presumably as confirmation that it worked)

example from todays community ops meeting:

This seems like it may be a lot of over-duplication of links in meeting rooms. is this likely something that could be easily scoped for a good first issue?

Those responses are relatively new addtions to the meetbot bot, and were added as part of the much requested multiple commands in a single multiple line message support.
Previously, meetbot just put an emoji response on a message, but didnt respond -- now becuase we are in interpreting multiple commands out of a single message, we cannot do that anymore (only a single emoji per tag).
I feel we need some sort of response from meetbot that they have logged the tag properly.
Also, it might be worth posting this in the upstream for the meetbot plugin itself. (i cant transfer it becuase its not in the fedora-infra org) https://github.com/GregSutcliffe/maubot-meetings

I feel we need some sort of response from meetbot that they have logged the tag properly.

Yeah I agree - would it be possible for the bot to switch between an emoji react and a new message depending on if theres one or more than one link detected in a post? Seems like one link is still by far the dominant usecase

Also, it might be worth posting this in the upstream for the meetbot plugin itself. (i cant transfer it becuase its not in the fedora-infra org) https://github.com/GregSutcliffe/maubot-meetings

Would it be helpful if it was transferred? or has that been tried before?


Fix Issue 21103 - isDynamicArray instantiates unecessary templates

Inspired by the discussion in dlang/dmd#9014

How about getting this merged?


The Paul tts voice doesn't work

Describe the bug
When I use the Paul voice it refuses to let me use it as it loads forever
Update:
Somehow by deactivating discord rich presents it worked but i didn't have to do that before
To Reproduce
Steps to reproduce the behavior:

Add in Paul voice to a business friendly character
loads forever

Expected behavior
I expected the voice the work you now!
Desktop (please complete the following information):

OS: Windows 10
Browser: ungoogled chrome
Version beta, stable

Paul is a Vocalware voice, I think at the time Vocalware was under maintenance along with the text-to-speech API.


⚠ Bofrost.fr has degraded performance

In 6109dc3, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 883 ms

Resolved: Bofrost.fr performance has improved in a829e3b.


don't use startup file

fix error in case user have using Revise, Debugger inside startup.jl

Thanks


bgpv1: BGP Control Plane metrics

Implement following initial metrics for BGP Control Plane.

cilium_bgp_control_plane_session_state

Gauge that shows session state per vrouter/neighbor. Established (1) or Not Established (0).

cilium_bgp_control_plane_advertised_routes

Gauge that shows the number of advertised routes per vrouter/neighbor/afi/safi.

cilium_bgp_control_plane_received_routes

Gauge that shows the number of received routes per vrouter/neighbor/afi/safi.
Example:
ks exec -it cilium-whfmh -- cilium-dbg metrics list --match-pattern cilium_bgp
Metric                                       Labels                                                                      Value
cilium_bgp_control_plane_advertised_routes   afi="ipv4" neighbor="[fd00:10:0:1::1]:179" safi="unicast" vrouter="65001"   1.000000
cilium_bgp_control_plane_advertised_routes   afi="ipv6" neighbor="[fd00:10:0:1::1]:179" safi="unicast" vrouter="65001"   1.000000
cilium_bgp_control_plane_received_routes     afi="ipv4" neighbor="[fd00:10:0:1::1]:179" safi="unicast" vrouter="65001"   2.000000
cilium_bgp_control_plane_received_routes     afi="ipv6" neighbor="[fd00:10:0:1::1]:179" safi="unicast" vrouter="65001"   2.000000
cilium_bgp_control_plane_session_state       neighbor="[fd00:10:0:1::1]:179" vrouter="65001"                             1.000000

Fixes: https://github.com/cilium/cilium/issues/22010
bgpv1: BGP Control Plane metrics

/test

/test

/test

Cilium Cluster Mesh upgrade: https://github.com/cilium/cilium/issues/30964
Conformance AWS-CNI: Hit the NAT Gateway quota
Conformance Ingress: https://github.com/cilium/cilium/issues/30281


Villager GUI not updating until reopen

Experience bar and trade limit icon don't update normally until I close and reopen a villager trade screen.

Hello @VindSole , could you please provide a log when running the game for me to reference?

Fixed as of V:0.0.5


Fix incorrect tooltip border

Before

After

border shows even at 75% scale
updated : border scale theme settings will affect this border also

Thanks!


Receiving Credential Process is slow

There is a delay (about minute or so) between issuer sending a credential and that credential been received by the holder

duplicates #1512


chore(main): release 0.3.7

:robot: I have created a release beep boop
0.3.7 (2024-01-25)
Bug Fixes

release workflow (#47) (2a184e2)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/bestow-code/core_analysis/releases/tag/v0.3.7 :sunflower: