rqt_dep: 0.4.11-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository rqt_dep to 0.4.11-1:

upstream repository: https://github.com/ros-visualization/rqt_dep.git
release repository: https://github.com/ros-gbp/rqt_dep-release.git
distro file: noetic/distribution.yaml
bloom version: 0.10.6
previous version for package: 0.4.10-1

rqt_dep
* Update maintainers (#13 <https://github.com/ros-visualization/rqt_dep/issues/13>)
* Fix shebang line for python3 (#12 <https://github.com/ros-visualization/rqt_dep/issues/12>)
* Bump CMake minimum version to avoid CMP0048 warning
* Contributors: Dirk Thomas, Ivan Santiago Paunovic, Mikael Arguedas

@ivanpauno mind updating the description to provide the same information bloom does? At least bloom version, previous package version and current package version.

Done, copy-pasted the "pull request body" from bloom-release --rosdistro noetic --track noetic rqt_dep --pull-request-only.
I don't get why it's failing with Failed to open pull request: GithubException - HTTP Error 404: Not Found (https://api.github.com/repos/ros/rosdistro/pulls): None, but it's still happening.

Done, copy-pasted the "pull request body" from bloom-release --rosdistro noetic --track noetic rqt_dep --pull-request-only.

Much appreciated.


Add UI for creating test dialogs

Description
Based on https://rjsf-team.github.io/react-jsonschema-form/, it should be possible to create a CRUD interface for dialogs, which will be a useful tool for testing (rather than using Postman). Using tools/extract_schema.sh, lets one get a valid JSON Schema for a particular DTO, eg. CreateDialogCommand that can be used with react-jsonschema-form (an example is attached).
The tools should

Have basic authentication (username/password)
Make it easy to create a test dialog, using endpoints already provided by dialogporten-service-provider
Let one select a resource for the resource registry as service resource
List already created dialogs
Lets one update existing dialogs (using PATCH)
Lets one delete existing dialogs

Additional Information
No response
Tasks
No response
Acceptance Criterias
No response

Click here to download the output of ./extract_schema.sh https://altinn-dev-api.azure-api.net/dialogporten/swagger/v1/swagger.json. This can be used in https://rjsf-team.github.io/react-jsonschema-form/


pull request for e2e test at 11/24/2016 20:56:08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

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.


Refactor for readability and to use Ruby idioms

These changes are mostly superficial, in that they don't change the core behavior of the library.  This is hopefully easier to read for a newcomer and uses Ruby's idioms (and higher levels of abstraction) where appropriate.
The one exception to the "superficial" thing is that I removed the begin/rescue/yield exception pattern as it is likely to swallow errors and doesn't work the way Ruby developers would expect. Instead, the exceptions are just raised as usual and a developer should rescue them where it makes sense.

@keithwhor 🕺

Hey @chad, will review this within the next 24h :+1: - just handling some other backlog right now. :)

Cool.  I will send you more emojis.
On Mon, Mar 6, 2017 at 7:08 PM, Keith Horwood<EMAIL_ADDRESS>wrote:

Hey @chad https://github.com/chad, will review this within the next 24h
👍 - just handling some other backlog right now. :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stdlib/lib-ruby/pull/1#issuecomment-284577008, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAA7cGDV0qNP-V1ZhtKQTW0a-PfBxb1ks5rjKAKgaJpZM4MTebO
.

--

OK. Took longer than a couple of minutes. This is the high-level feedback I have;

While removing the cfg hash is more idiomatic re: Ruby, it makes the library divergent in functionality to our Node / Python bindings, which I'm not the biggest fan of. Is there a compromise here?
make_http_call I see you moved this to a private block, I want to make sure there are no potential name collisions with services
I appreciate the notion of always raising errors if passing a block --- but are you OK, conceptually, with reverting to a "callback-esque" feature if a block is provided? Sometimes we want to gobble errors. I'm thinking of how we may opt to provide lambdas in the future with Python as well, and it would be good to have matching design patterns between languages as best we can. Node.js async support will eventually mimic inline calling, but we'll keep support for callback style in the future

I have a feeling your gut reaction is going to be "get your JavaScript out of my Ruby" but wondering if these are fair compromises that won't be detrimental to the end-user Ruby development experience

@keithwhor
make_http_call I see you moved this to a private block, I want to make sure there are no potential name collisions with services

While removing the cfg hash is more idiomatic re: Ruby, it makes the library divergent in functionality to our Node / Python bindings, which I'm not the biggest fan of. Is there a compromise here?

Sure.  Though I'd argue for changing them all to be like this one :)

ya, this shouldn't be a problem.
I appreciate the notion of always raising errors if passing a block --- but are you OK, conceptually, with reverting to a "callback-esque" feature if a block is provided? Sometimes we want to gobble errors. I'm thinking of how we may opt to provide lambdas in the future with Python as well, and it would be good to have matching design patterns between languages as best we can. Node.js async support will eventually mimic inline calling, but we'll keep support for callback style in the future

I can change that, ya.  That said, I would not be too married to the idea of all of the APIs having to be exactly the same.  Most users of the APIs won't be trying to use multiple in different languages, so the consistency really only helps the developers of these libraries.  The users will benefit more from clean, idiomatic libraries.
One thing I think you should look at doing is creating a unified test suite for all of the libraries (maybe just a drive that pulls them all down and runs the same code + assertions across them all?).
I'll make these changes in a couple of days.  I am traveling and don't have a good setup for Ruby development handy.

We definitely need a test suite. Just hasn't been on the agenda recently. :)


[Bug]: The pipeline list page shows no pipeline

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The more pipelines page linked in https://docs.towhee.io/solutions/music-recognition-system displays no pipeline

Expected Behavior
A page displays all pipelines
Steps To Reproduce
1. go to https://docs.towhee.io/solutions/music-recognition-system/
2. scroll down to bottom
3. click link mentioned by "In the music recognition system, audio fingerprints can be extracted through a Towhee pipeline. We provide a list of different music embedding pipelines here."
4. A new page opened https://hub.towhee.io/pipelines

Environment
- Towhee version(e.g. v0.1.3 or 8b23a93):
- OS(Ubuntu or CentOS):
- CPU/Memory:
- GPU:
- Others:

Anything else?
No response

Thanks @timshen, and updated it with #103.


FluxCD fails to deploy multiple Kustomizations following PR #794

this needs to be reviewed tested and approved by zjaco13 to check compatibility with his original use case and avoid further conflicts between the 2 PRs
see related bug report for details

@zjaco13 Can you check on this PR. Looks like your flux PR change broke some logic for @freschri to test his flux multi path implementation. Please review and run this from your end.

@shapirov103 This has Zach's and Riccard's changes.


Total reset of openCR board

ISSUE TEMPLATE ver. 0.2.0

Which TurtleBot3 you have?

[ ] Burger
[ ] Waffle
[o] Waffle Pi

Which SBC(Single Board Computer) is working on TurtleBot3?

[o] Raspberry Pi 3
[ ] Intel Joule 570x
[ ] etc (PLEASE, WRITE DOWN YOUR SBC HERE)

Which OS you installed in SBC?

[ ] Ubuntu MATE 16.04 or later
[o] Raspbian
[ ] etc (PLEASE, WRITE DOWN YOUR OS)

Which OS you installed in Remote PC?

[o] Ubuntu 16.04 LTS (Xenial Xerus)
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[ ] Linux Mint 18.x
[ ] etc (PLEASE, WRITE DOWN YOUR OS)

Write down software version and firmware version

Software version: [x.x.x]
Firmware version: [x.x.x]

Write down the commands you used in order

roslaunch turtlebot3_bringup turtlebot3.robot_roslaunch

Copy and Paste your error message on terminal

could not open port /dev/ttyACM0

Please, describe detailedly what difficulty you are in

Is it any way to totally reset the openCR board?

There is an issue that can't find ACM0 port, and we think that it happen if we use power supply from openCR. So we are try to find why, and one possibility is about board problem and it head us to find way of initialize openCR board.

@Bwlee605
Check out the following link to reset your openCR board.
(http://emanual.robotis.com/docs/en/platform/turtlebot3/opencr_setup/#opencr-setup)
As to the second question, it has nothing to do with where you get power from. Please explain in more detail (e.g., photos showing how you connected the robot to pc, error message, etc.) to help us understand what mistakes you made.
Regards,
Ryan


Incorrect handling of binary input

Investigative information

Timestamp: 18.07.2019 08:40:28
Function App name: not deployed yet
Core Tools version: 2.7.1373 Commit hash: cd9bfca26f9c7fe06ce245f5bf69bc6486a685dd
Function Runtime Version: 2.0.12507.0

Repro steps
I'm creating a simple function that reads a blob containing an image and processes it with OpenCV. Initially I used a HttpTrigger receiving a multipart/form-data POST request containing an image but struggled with the problem described here. Then I moved to a simple GET request which contains a reference to a blob in Azure Storage, just to discover the very same problem.
Expected behavior
When reading the stream, I should get the exact binary content of the blob.
Actual behavior
When reading the stream, I get a buffer containing an utf-8 string full of � (0xEF 0xBF 0xBD) replacement chars.
Related information
When investigating why OpenCV fails to load the image I first figured out the size of the input is wrong (it's larger than it should be), then noticed the content somehow resembles the blob but is also full of Unicode replacement characters.
When i debugged into the worker internals I figured out that from_proto() method in BlobConverter always receives data with data_type of string which leads later to unnecessarily applying data.string.encode('utf-8'). Similar thing happens in case of binary files sent within HTTP POST requests.
So it seems that internal ProtoBuf representation of function requests incorreclty represents binary data as string leading to unnecessary utf-8 conversions in Python code.

Source
# __init__.py
import logging
import azure.functions as func

def main(req: func.HttpRequest, image: func.InputStream) -> func.HttpResponse:
    try:
        data = image.read()
        return func.HttpResponse(do_stuff(data))
    except Exception as ex:
        return func.HttpResponse("Bad Request", status_code=400)

{
  "scriptFile": "__init__.py",
  "bindings": [
    {
      "authLevel": "anonymous",
      "type": "httpTrigger",
      "direction": "in",
      "name": "req",
      "methods": [
        "get"
      ]
    },
    {
      "type": "blob",
      "name": "image",
      "connection": "******************",
      "direction": "in",
      "path": "inspections/{Query.name}"
    },
    {
      "type": "http",
      "direction": "out",
      "name": "$return"
    }
  ]
}

Dup of #437, you need to install azure-functions-core-tools 2.7.1471

I upgraded to 2.7.1480. The problem remains.

@osoftware

I upgraded to 2.7.1480. The problem remains.

See : https://github.com/Azure/azure-functions-python-worker/issues/437#issuecomment-515148998 the runtime is not yet deployed on azure

Runtime deployment is complete. Issue should be resolved.


Revert "add draft maintainer guide"

Reverts jack-desarmia/oss-enterprise#3 Just simply add README

CODE_OF_CONDUCT.md.

Possible Drawbacks
What are the possible side-effects or negative impacts of the code change?
Verification Process
What process did you follow to verify that the change has not introduced any regressions?


Cdaweb direct file access

Big PR, mostly adding direct archive support plus some refactoring around http module.
Direct Archive support means, Speasy can access servers with no webservices or any local folder as long as:

remote server enables mod_dir or generates some html files for each folder where Speasy can extract the file list
files are split regularly or at least start date can be parsed from file names
file are ISTP compliant CDFs

Most interesting parts for review are:

archive module itself  here and here for downloaders strategies
former HTTP module has been split into:

New AnyFiles module, it abstracts access to a file either locally or remotely for speasy with opt-in caching for remote files.
Reworked HTTP module that focuses on http transactions with retry and timeouts.
New URL utils module that focuses on URL manipulation and parsing

AMDA and CDAWeb have been refactored to use new HTTP AnyFiles an URL modules
Test are here:

direct archive
AnyFiles
url utils

The module is documented here and human readable here.
This PR also adds PyYAML as new dependency.

@brenard-irap can we merge this now?


Use bit.ly API for short permalinks

Use the bit.ly API with CORS in advanced browsers to generate a short URL for bookmarked permalinks.

Used the bit.ly API with CORS

Elle, for the past few years most development work on exhibit has been taking place on http://github.org/simile-widgets/exhibit .  You might want to look/post there.


Added colormap functionality

Completed the basic functionality for applying the color map.

Great work @vasu26! Thanks for the PR. I'm closing because this functionality was added as a companion widget outside of the image canvas.


Unsloth QLora merging into base-model: what is the best practice if you want to run trained model with vLLM or NVIDIA TensorRT-LLM ?

Just a quick (and important) question about LoRA vs QLoRA with Unsloth.
I have read through a series of articles about DO NOT MERGED naievely QLoRA back to base model, it will give worse performance . You can read here:
https://newsletter.kaitchup.com/p/lora-adapters-when-a-naive-merge?utm_source=publication-search
My question is that would finetuning QLoRA with Unsloth and the do a Unsloth merge 16 bits to run vLLM cause the same isssue ? If yes it does than what should we do ? vLLM and NVIDIA does NOT support QLoRA adapter but LoRA only and merged model.
Thanks,
Steve

@thusinh1969 Oh literally take the QLoRA adapters, and use the original 16bit version

@thusinh1969 Oh literally take the QLoRA adapters, and use the original 16bit version

Really ? Your codes below. I finetune done. Now I reload the trained model/adapter:
load_in_4bit = True
max_seq_length = 81920
dtype = torch.bfloat16

if True:
    from unsloth import FastLanguageModel
    model, tokenizer = FastLanguageModel.from_pretrained(
        model_name = "lora_model_checkpoint",
        max_seq_length = max_seq_length,
        dtype = dtype,
        load_in_4bit = load_in_4bit,
    )

# Saving & Pushing
model.save_pretrained_merged("model", tokenizer, save_method = "merged_16bit",)
model.push_to_hub_merged("hf/model", tokenizer, save_method = "merged_16bit", token = "")

Is this correct, and are you behind the scence dequantize the 4-bits model --> 16-bits ?
Just need to clarify, thanks much.
Steve

Saving & Pushing
model.save_pretrained_merged("model", tokenizer, save_method = "merged_16bit",)
Is this correct, and are you behind the scence dequantize the 4-bits model --> 16-bits ?

Yes. The code states the following.

    Same as .save_pretrained(...) except 4bit weights are auto
    converted to float16 with as few overhead as possible.

Feel free to close the issue if it has been resolved.


Prop state on first instance of a custom element are lost when using HMR

Describe the bug
When using HMR (i.e. vite in development mode), the first instance of any particular svelte-retag loaded component loses state after the first save. This is likely due to an issue with the props proxy which was setup for lit style lowercase props here: https://github.com/patricknelson/svelte-retag/blob/1.3.1/index.js#L430
Likely a regression from #18.
Reproduction

Setup a component that takes a prop (such as link="https://example.com") called ExampleComponent.svelte and ensure link prop is used somehow in the component
Define a custom element for it in svelte retag (e.g. example-element)
Setup page with <example-element link="https://example.com">
Start up yarn vite to start up dev mode and load page setup in step above
Edit ExampleComponent.svelte

Bug appears when link is now empty.
Logs
No response
System Info
System:
    OS: Linux 5.15 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
    CPU: (16) x64 Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz
    Memory: 3.19 GB / 5.79 GB
    Container: Yes
    Shell: 5.1.4 - /bin/bash
  Binaries:
    Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.14.2/bin/yarn
    npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm
  Browsers:
    Chrome: 119.0.6045.105
  npmPackages:
    svelte: ^4.2.2 => 4.2.2
    svelte-retag: 1.3.0 => 1.3.0

Severity
annoyance

Root cause analysis
Background
I wanna get a few concepts and definitions out of the way:

Initial state: The state both your Svelte & web components start out with
Evolved state: The state your svelte component has developed over time (this is primarily with regard to the state of prop values, like the Counter.svelte in this example). The count prop has an initial value, but can also be modified over time (e.g. incrementing)
"Attribute" definition: Always in reference to the attribute on the custom element itself (not on the Svelte component)
"Prop" definition: Always in reference to the props on the Svelte component itself (not on the custom element)

When using Vite HMR + Svelte on its own: Editing a Svelte component results in the component being reloaded via HMR, however there are differences when it comes to maintaining state. For example, using Counter.svelte here as an example:

Prop count is unset: If you invoke <Counter /> inside another component without any props, the props will reset to their default state after an HMR update (e.g. count always resets to 0 in the case of Counter.svelte after every single HMR update)
Prop count is set: If you invoke <Counter count="1" /> inside another component where count is set to 1, HMR updates don't necessarily affect count. In fact, even if you click the counter and count increments to 99 within the scope of that component instance, but you add a console.log() statement somewhere in the file, that value is retained (not reset to 0 and not reset to 1).

The Bug 🐞
Before fixing in #22, the bug in svelte-retag was that even if you did have the attribute set in the HTML like <counter-tag count="1">, the value of count inside of the Svelte component would still reset to the default prop state of 0.  Due to how Svelte normally works (with props instead of attributes, in this case) this is unexpected. However, this only affected the first <counter-tag> and not subsequent ones in the HTML.
Cause: This occurred because the Proxy (setup here out of necessity to support context in #18) wasn't also updating the target props object with the newly discovered props (which it automatically infers on get). That's an issue because svelte-hmr's createProxiedComponent() needs to enumerate the full set of props (via the Object.assign()):
https://github.com/sveltejs/svelte-hmr/blob/02fa71cdaf35b03c18d81c4a20ac07447f148fd1/packages/svelte-hmr/runtime/svelte-hooks.js#L139-L154
The subsequent instance of <counter-tag> (for example) worked fine because those props were already cached and primed into the props array, so later HMR updates were handled and reconstituted back into the swapped/replaced component.
The Fix 🔧
The fix was simply to add each prop to the target props object on access in the Proxy so that createProxiedComponent()  (snippet above) sees it when it gets enumerated like so:
https://github.com/patricknelson/svelte-retag/blob/c7770461ccec083ba976bb8a262c55ad014b07c7/index.js#L447


Slowness parsing Outlook .msg files

Hi,
Tikaondotnet seems to have an issue parsing .msg files.  At first it seemed like it was stuck in an infinite loop somewhere, but it does usually return after a while.  I downloaded the code and stepped into the TextExtractor class in an attempt to figure it out -- the parse method does return; the issue appears to be with closing the inputStream:
using (var inputStream = streamFactory(metadata))
{
    try
    {
    parser.parse(inputStream, getTransformerHandler(outputWriter), metadata, parseContext);
    }
    finally
    {
    inputStream.close();
    }
}

I've tried several different .msg files, with the same result.  Those same files do work via the Tika GUI, which is using the same tika-app-1.13.jar under the hood.
Any idea if there is a way around this?  Tikaondotnet is awesome and I'd love to make use of it if there's a way to get the .msg files working.  I've attached a (zipped) .msg sample to help reproduce the issue.
Many thanks,
Andrew
emailTest.zip

Sorry you are having problems. Do you think you could start a PR with a
broken test with that .msg file behaving poorly?
On Fri, Sep 9, 2016 at 1:55 PM mullala1<EMAIL_ADDRESS>wrote:

Hi,
Tikaondotnet seems to have an issue parsing .msg files. At first it seemed
like it was stuck in an infinite loop somewhere, but it does usually return
after a while. I downloaded the code and stepped into the TextExtractor
class in an attempt to figure it out -- the parse method does return; the
issue appears to be with closing the inputStream:
using (var inputStream = streamFactory(metadata))
{
try
{
parser.parse(inputStream, getTransformerHandler(outputWriter), metadata, parseContext);
}
finally
{
inputStream.close();
}
}
I've tried several different .msg files, with the same result. Those same
files do work via the Tika GUI, which is using the same tika-app-1.13.jar
under the hood.
Any idea if there is a way around this? Tikaondotnet is awesome and I'd
love to make use of it if there's a way to get the .msg files working. I've
attached a (zipped) .msg sample to help reproduce the issue.
Many thanks,
Andrew
emailTest.zip
https://github.com/KevM/tikaondotnet/files/464616/emailTest.zip
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KevM/tikaondotnet/issues/63, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAGHcXzloCT43p7-3a9RAjrSs3Tagk4ks5qoauRgaJpZM4J5Wee
.

I'll have to go figure out how to do that -- I'm fairly new to git/github.  In my cloned copy, I added the test below -- strangely enough, it seems to work ok if you actually run the test, but if you step into it using the debugger, it hangs for up to a minute or so.  There must be some underlying issue though, as that was the same behavior I initially experienced when trying it out via the nuget package.
    [Test]
    public void should_extract_from_msg()
    {
        var textExtractionResult = _cut.Extract("files/emailTest.msg");

        // Deliberately fail test for now, since it does eventually return with data
        textExtractionResult.Text.Should().Contain("DELIBERATELY FAILED");
    }

Think I've figured out how to do it...I'll give it a shot.

If you want to speed up reading MSG's ... I have made and MSG reader some while back... you can fin it over here --> https://github.com/Sicos1977/MSGReader

I thought we should edit this test so that it uses a stop watch to fail it properly. Maybe I could throw a profiler on this to see what is taking so long?

I finally tried out this test and while it is not super fast it takes about 2 seconds on my laptop:
Test 'TikaOnDotNet.Tests.sad_text_extraction.issue_63' failed: Expected a value less than 2s, but found 2.224s.
I'll try to take a look at this in a profiler. But my expectation is that I won't be able to make it any faster.

Thanks for looking at it.  That's probably as good as we're going to get.  I haven't looked at this in a while, but I think the extreme slowness (i.e. 30-60 seconds or more) was caused by some interaction between Tika when run via IKVM and the Visual Studio debugger process.  When running without the debugger, it seems to perform normally (as in your test above).  We could probably close this issue since at runtime it seems to work ok.


How to control raw_fd before send?

Can you explain more what you are trying to do?

Sometimes,we want to add mark to a connection.
mark = 100; setsockopt(client_socket, SOL_SOCKET, SO_MARK, &mark, sizeof(mark));

There's nothing in hyper to do that on a per-request basis. If you only need it once per connection, you can make a custom connector that does that upon connect, and use that with the hyper Client.


[BUG] Bad Auth when trying to run a Chatflow

So i recently spin up a docker container in the cloud running Flowise
I built my first flow and and trying to access it via API and am getting this error:
"statusCode": 500, "success": false, "message": "Error: predictionsServices.buildChatflow - bad auth : authentication failed",
All things ive done
Made sure ports 443 and 80 are open on the ubuntu server running docker
Allowed the IP I'm trying to access the API on through the firewall to the server
Tried creating an API key and adding that to the header for authorization
Removed App level login
Does anyone know what might be causing this??

I dont recall us having this specific error message: bad auth : authentication failed, I'd suspect it might be the underlying model or component that you were using is having the wrong credential

I dont recall us having this specific error message: bad auth : authentication failed, I'd suspect it might be the underlying model or component that you were using is having the wrong credential

Yeah so it was actually a MongoDB Error.


State in the table for running kernels does not get updated

The second table in the dialog does not get updated when the kernel state changes
https://github.com/nebari-dev/jupyterlab-launchpad/blob/5ba3fee41f7cf757d565d5b1266c546087abf0aa/src/dialogs.tsx#L292-L313
Because it includes things like "state: starting" it needs to be dynamically updated. We need to trigger forceUpdate when item metadata changes, and for that we need to pass through another signal, like with lastUsedChanged:
https://github.com/nebari-dev/jupyterlab-launchpad/blob/5ba3fee41f7cf757d565d5b1266c546087abf0aa/src/components/table.tsx#L103-L117
We derive the items from the sessions object passed in options:
https://github.com/nebari-dev/jupyterlab-launchpad/blob/5ba3fee41f7cf757d565d5b1266c546087abf0aa/src/dialogs.tsx#L239
and we fetch the sessions when creating the dialog:
https://github.com/nebari-dev/jupyterlab-launchpad/blob/5ba3fee41f7cf757d565d5b1266c546087abf0aa/src/dialogs.tsx#L75-L80
The SessionManager emits runningChanged signal which we could use.

SessionManager.runningChanged does not emit when minor details of the session (like kernel state) changed. We need KernelManager.runningChanged.


Support store block meta to RocksBlockStore, store location to heap

What changes are proposed in this pull request?
The PR #14565 is the dependency PR of this.

From this figure, we can see one of the bottleneck of getFileInfo performance is getLocation, so I propose to use HEAP to store the location of blocks, but store the block meta into rocks store.
Why are the changes needed?
With this PR, we can get a tradeoff between performance and scalability.
Does this PR introduce any user facing changes?
Add a configure key alluxio.master.block.metastore to ROCKS_BLOCK_META_ONLY

very interested in performance comparison before and after this change. Also, is there any HEAP memory estimation about the location info?

@kevincai We had a test through stressmasterbench these days, it shows that this PR can improve the performance obviously.

For zero byte file getBlockLocation, metaonly vs rocks , the master rpc throughput are 26w cps vs 22w cps.
For 1kb file getBlockLocation, metaonly vs rocks, the master rpc throughput are 16w vs 7w.

@kevincai We had a test through stressmasterbench these days, it shows that this PR can improve the performance obviously.

For zero byte file getBlockLocation, metaonly vs rocks , the master rpc throughput are 26w cps vs 22w cps.
For 1kb file getBlockLocation, metaonly vs rocks, the master rpc throughput are 16w vs 7w.

Of course using heap will be faster than rocks. I'd be more interested to see the performance difference compared to the memory usage. After all we are comparing the pros and cons and we need to see the cons.

@kevincai We had a test through stressmasterbench these days, it shows that this PR can improve the performance obviously.

For zero byte file getBlockLocation, metaonly vs rocks , the master rpc throughput are 26w cps vs 22w cps.
For 1kb file getBlockLocation, metaonly vs rocks, the master rpc throughput are 16w vs 7w.

Of course using heap will be faster than rocks. I'd be more interested to see the performance difference compared to the memory usage. After all we are comparing the pros and cons and we need to see the cons.

@maobaolong Pls see comments above and let's discuss on this PR in the next community meeting. Thx :)

@jiacheliu3 Is there any further suggestion about this PR?

I get the BlockLocation jmap as following
1543:             2             96  alluxio.proto.meta.Block$BlockLocation


Enable to toggle whether Gem Pooling is trainable or not.

Motivation
Enable to toggle whether Gem Pooling is trainable or not.
reference
Modification
class GeneralizedMeanPooling(nn.Module):
    ...
    def __init__(self, p=3., eps=1e-6, clamp=True, p_trainable=True):
        ...
        if p_trainable:
            self.p = Parameter(torch.ones(1) * p)
        else:
            self.p = p
        ...

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Please sign the CLA, so that I can review and merge this PR.

I signed in from the link above and got to the image below.
Please let me know if there is any other work that needs to be done.

It is the commitor who has not signed the CLA.
.
I'm not sure if this account is still in use. There are two solutions：

Let this account link an email and then sign the CLA,

rebase to modify the commit message including the commitor and email into your accout.


Don't normalize score with length of choice

The purpose of this PR is to lay the foundation for a discussion. I
believe a discussion always should start with a patch.
Why is the score normalized with the length of the choice? This
implies that shorter choices should be favored.
In the following scenario, I would assume abc, a would be the order
of the choices with the query a:
printf 'abc\na\n' | pick -q a

Thanks for thinking about this, @mptre. I'm sorry for not getting back to you earlier. I agree that a patch is a great start for a discussion.
The score is currently normalized by the choice length in order to favor more complete matches. This is how I comprehend the code:
The length of the query is divided by the length of the shortest match. This produces a number between 0 and 1 which represents how exact the match is. This is further divided by the total length of the choice, weighing in how similar the query to the choice.
A practical example of this is favoring app/models/user.rb over test/models/user_test.rb when searching for user.
In your example I would assume the opposite order since the query a and the choice a is a 100% match.
Does that make sense?

Thanks for the explanation, makes sense. I guess it's a matter of
preference then. I often want to find a shorter substring in something
potentially longer. The length of the match compared to the query is
then a better relevance indicator because the suffix and prefix is not
relevant IMHO. But I like the fact that the current implementation has
reasoning behind its behavior. Let's keep it that way.


Push notifications won't work with Sample "CloudMessagingSample" in iOS 14.4

Was facing an issue with iOS 14.4 on my app, where push notifications won't work on app startup. Killing the app and relaunching makes the push notification work again. App works perfectly till iOS 14.3.
Tried the same with CloudMessagingSample provided in this repo and notice the same behaviour. Is anyone else facing similar issue or its just me?
My code is exactly same as in file https://github.com/xamarin/GoogleApisForiOSComponents/blob/master/samples/Firebase/CloudMessaging/CloudMessagingSample/AppDelegate.cs.

Was facing an issue with iOS 14.4 on my app, where push notifications won't work on app startup. Killing the app and relaunching makes the push notification work again. App works perfectly till iOS 14.3.
Tried the same with CloudMessagingSample provided in this repo and notice the same behaviour. Is anyone else facing similar issue or its just me?
My code is exactly same as in file https://github.com/xamarin/GoogleApisForiOSComponents/blob/master/samples/Firebase/CloudMessaging/CloudMessagingSample/AppDelegate.cs.

Update:
Downgraded the packages to 1 version earlier for below 3 packages, and the push notifications started working again.

        6.6.6

        4.3.3

        4.3.0

Use this:
if anyone facing the issue with OS Bigsur
Xamarin.Firebase.iOS.Analytics (<IP_ADDRESS>)
Xamarin.Firebase.iOS.Core (<IP_ADDRESS>)
Xamarin.Firebase.iOS.Crashlytics (<IP_ADDRESS>)
Xamarin.Firebase.iOS.InstanceID (<IP_ADDRESS>)


Stream Closes on error

I have a networkstream that sends Json Object after Json object. I use "SupportMultipleContent" which basically reads Json object after Json object; without this option I would have invalid
JSon context.
Now sometimes what happens is I get from the network card a partial json objet, and this
triggers Exceptions  in "Deserialize" the data.
So far so good.
I also have specified "CloseInput = false".  And on this exceptions it is closing the stream. So
I have no way of rolling back to the last position that was read after the network stream has
received addtional data. I believe this is incorrect behavior.
This is the Code:
public static void ProcessStreamNewtonSoft (MLogger logger, Stream readStream, Data dataCallback)
	{
		using(var sr = new StreamReader(readStream))
		{
			try
			{
				using(var reader = new Newtonsoft.Json.JsonTextReader(sr))
				{
					reader.SupportMultipleContent = true;
					reader.CloseInput = false;

					var ser = new Newtonsoft.Json.JsonSerializer();
					ser.CheckAdditionalContent= false;
					while(reader.Read())
					{
						try{
							var data = ser.Deserialize<TcpFeedData>(reader);
							dataCallback (data);
						}
						catch (Exception ex)
						{
							logger.Info ("err..");
						}
					}
				}
			}
			catch (Exception ex)
			{
				logger.Info ("err..");
			}
		}
	}

Regards
Andreas

I tested and it doesn't - https://github.com/JamesNK/Newtonsoft.Json/commit/04f7bb5d659404498972d5f2761b49b7f55f3924


Add more Gauge API endpoints

The following should be possible via Gauge daemon (API).

I should be able to generate a step implementation.
I should be able to fetch steps based on partial step text
I should be able to find usages of a step/concept from the command line.
I should be able to find out where to find the implementation for a given step/concept.

Use LSP for these


Lacking default timezone for PHP5.5

Running this skeleton on a PHP5.5 install, user will see an error related to the lack of default timezone (used by the log).
Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in my-app/vendor/monolog/monolog/src/Monolog/Logger.php on line 272

This can be easily fixed by adding a date_default_timezone_set('Etc/UTC'); to index.php.

As per the error message you have quoted, you should  set the date.timezone setting in your php.in file.


'Find-NetIPsecRule' is not recognized as the name of a cmdlet on Nanoserver container

Description
Test-NetConnection cmdlet fails with following error on a plain microsoft/nanoserver container.
Find-NetIPsecRule : The term 'Find-NetIPsecRule' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\windows\system32\windowspowershell\v1.0\Modules\NetTCPIP\Test-NetConnection.psm1:343 char:63
+ ... estNetConnectionResult.MatchingIPsecRules = Find-NetIPsecRule -Remote ...
+                                                 ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Find-NetIPsecRule:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

ComputerName     : google.com
RemoteAddress    : <IP_ADDRESS>
RemotePort       : 80
InterfaceAlias   : vEthernet (Container NIC 7cc1dd98)
SourceAddress    : <IP_ADDRESS>
TcpTestSucceeded : True

Following this error message, expected output still comes out.  Seems to be a false positive.
Steps to reproduce the issue:

Run container like this
docker run -it microsft/nanoserver powershell
Run this command
Test-NetConnection google.com -port 80

Describe the results you received:
Error message above.
Describe the results you expected:
Only connection output should show up.
  I get no such issue when using the microsoft/windowsservercore image to run this, so something's missing!

Bit odd this one isn't it... I ran into it as well, ended up working around with something like below -
$r = 0
$t = New-Object Net.Sockets.TcpClient
$t.NoDelay = $true
do {
try {$t.ConnectASync("<IP_ADDRESS>", 80)} catch {}
$r++
Start-Sleep -Seconds 1
}
while (!($t.Connected) -and $r -lt 10)
$t.Dispose()

you need to import the module netsecurity!
run this at the beginning of your code
Import-Module netsecurity

if you liked my solution please support our app: procabby.com

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Add a future/stream model

While implementing things like consensus algorithms, using futures for the actors is not the way to go. First, actors should be long lived, where futures explicitly are transient: when the future resolves it goes away. Secondly, because the protocols are expressed in terms of messages, using futures may make them both harder to implement and obstruct the protocol itself.
However, futures can provide for much cleaner code and less bookkeeping when waiting for multiple responses. This is most useful in rabble when implementing services. For instance, an admin server accepts a request to get metrics from several pids on several different nodes and returns the metrics or some computation on them to the client. Waiting without using futures results in a lot of manual bookkeeping, such as storing the currently received responses in a Vec or HashMap until all of them arrive. Futures would provide a nice abstraction here.
I'm hesitant to push futures deeper into the code base, as I like the introspection and metric gathering ability of the explicit code as it exists. However, using futures at the edges should make writing servers simpler.
Ideally, rabble would use https://github.com/alexcrichton/futures-rs, since it appears to be the canonical futures library and is maintained by core rust committers. Using futures-rs would also allow integrating rabble into the larger futures ecosystem that will undoubtedly pop up. However, it appears that rabble should not use https://tokio.rs/ at this point, and maybe not ever. The rationale for this is two-fold.
1). Rabble already relies on https://github.com/andrewjstone/amy, while tokio relies on mio. The reason for this is mostly historical, as mio was undergoing significant change when amy was written, and the complexity of those changes pushed me to write a smaller, simpler library. If mio looked then, what it looks like now, Amy likely would not have been written. Amy, additionally, makes some different design choices with regards to to threading. It allows registrations of events directly from other threads without requiring waking up the poller. This alone makes it unlikely for me to swap amy for mio. Hence bringing in mio as a dependency would result in 2 different async event loops for little gain.
2). All of the tokio protocol framing and serialization is very similar to what exists already in rabble and would just be further duplication. Once again, if tokio had existed before rabble, I probably would have just used its serialization and framing instead of writing my own. (Timing: it's a thing) The only thing really needed for rabble that exists in tokio is an event loop to run the futures on. Since amy already exists, and is in use in rabble, rabble should simply provide the code to make futures-rs work.

@evanmcc suggested an alternative:
"You could also split the difference there: move to their framing, PR tokio pluggable pollers."
This is a good idea and would allow people to re-use their tokio codecs with rabble, and also allow tokio to use amy. The big downside is that it is a much larger change to rabble. There may also be some impedance mismatch, such as the fact that tokio uses a Handle heavily for single threaded use and requires using Remote for for any cross-thread interaction with the event loop.

After further thought and digging through the code, I don't think that the futures crate is the right model for rabble. There should be helper modules or functions that can wait for multiple messages, but that can be done in a more straightforward manner than requiring all of futures.rs
Leaving this open for future debate.

All services have been removed in the 0.5-dev branch. All req/response interactions in rabble are now handled via registering a Sender with a pid for replies. See https://github.com/andrewjstone/rabble/commit/8ccbf7f266e0d14889383e808c72b355e80cade7 for details.


req missing (_list function)

Req is missing inside a _list function
Expected Behavior
I'm using "req" inside a function stored in _list.
It worked perfectly until recently (and I cannot reproduce locally with an older version of CouchDB).
Current Behavior
error: "render_error"
reason:"function raised error: (new TypeError("req.query is undefined", "lists.schools", 5))
Here is school.js inside _list:
function(head, req) {

    req = req || {};   // odd bug
    req.query = req.query || {};   // odd bug
    var callback = req.query.callback || null;

I've added the two first lines hoping it will fix the bug, but it has not.  :(
req.query comes from a rewrite.
    { "from": "portal/api/guest/schools/:schoolid", "to": "_list/schools/allschools",
                "query": { "callback": "os_guest_domaintest", "access": "all" } },

Possible Solution
No idea.
Steps to Reproduce (for bugs)
Go to www.omniscol.com
Enter a school name, go to the next field: It triggers a verification (that the requested domain is not already taken). Sometimes it works. Sometimes it fails (500 answer. With all my backend code in the error field...).
Your Environment

Version used: 2.1.2 and 2.2 (but not 2.1.1)
Browser Name and version: Chrome
Operating System and version (desktop or mobile): MacOS X

Please see #1544 for solution.

Duplicate of #1544


Memory issue with MASS3

MASS version: 3
Name: mass-ts
Version: 0.1.3
Summary: MASS (Mueen's Algorithm for Similarity Search)
Home-page: https://github.com/tylerwmarrs/mass_ts
Author: Tyler Marrs
Author-email<EMAIL_ADDRESS>License: Apache Software License 2.0
Location: /home/rsa-key-20180725/.local/lib/python3.6/site-packages
Requires: numpy

Python version: 3.6
Python 3.6.8

Operating System: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic

Time series data length is 460,001
Motif length is 250
Works fine with following call:
distances = mts.mass3(Hsrs, Nsrs, 1024)
Time series data length is 460,001
Motif length is 2,750
distances = mts.mass3(Hsrs, Nsrs, 4096)
Throws exception

MemoryError                               Traceback (most recent call last)
 in
63 print('Motif length is {:,}'.format(len(Nsrs)))
64 #distances = mts.mass3(Hsrs, Nsrs, 8192)
---> 65 distances = mts.mass3(Hsrs, Nsrs, 4096)
66 plt.title('PLBB Distances')
67 plt.plot(distances)
~/.local/lib/python3.6/site-packages/mass_ts/_mass_ts.py in mass3(ts, query, pieces)
178     meanx = mtscore.moving_average(x, m)
179     meanx = np.append(np.ones([1, len(x) - len(meanx)]), meanx)
--> 180     sigmax = mtscore.moving_std(x, m)
181     sigmax = np.append(np.zeros([1, len(x) - len(sigmax)]), sigmax)
182
~/.local/lib/python3.6/site-packages/mass_ts/core.py in moving_std(a, window)
140     The moving std. over the array.
141     """
--> 142     return np.std(rolling_window(a, window), -1)
143
144
<array_function internals> in std(*args, **kwargs)
~/.local/lib/python3.6/site-packages/numpy/core/fromnumeric.py in std(a, axis, dtype, out, ddof, keepdims)
3379
3380     return _methods._std(a, axis=axis, dtype=dtype, out=out, ddof=ddof,
-> 3381                          **kwargs)
3382
3383
~/.local/lib/python3.6/site-packages/numpy/core/_methods.py in _std(a, axis, dtype, out, ddof, keepdims)
215 def _std(a, axis=None, dtype=None, out=None, ddof=0, keepdims=False):
216     ret = _var(a, axis=axis, dtype=dtype, out=out, ddof=ddof,
--> 217                keepdims=keepdims)
218
219     if isinstance(ret, mu.ndarray):
~/.local/lib/python3.6/site-packages/numpy/core/_methods.py in _var(a, axis, dtype, out, ddof, keepdims)
191     # Note that x may not be inexact and that we need it to be an array,
192     # not a scalar.
--> 193     x = asanyarray(arr - arrmean)
194     if issubclass(arr.dtype.type, (nt.floating, nt.integer)):
195         x = um.multiply(x, x, out=x)
MemoryError: Unable to allocate array with shape (457252, 2750) and data type float64

Same data on MASS2 has no memory issues

What implementation of MASS2 are you using? More specifically, your code reflects a parallel version of it. Is this MASS2_batch?

MASS2 Batch
top_matches = 10
batch_size = 10000
n_jobs = 8
best_indices, best_dists = mts.mass2_batch(Hsrs, Nsrs, batch_size=batch_size, top_matches=top_matches, n_jobs=n_jobs)

MASS3 is not optimized for memory usage. MASS2_batch only finds similar sub sequences while MASS3 stores the entire distance profile in memory and returns that. That is why you are seeing the error that you do.


[Bug] Link in documentation of Invoke-DbaQuery not valid

This link is dead: http://powershell.org/wp/forums/topic/dealing-with-dbnull/
It's part of the parameter documentation for -As in Invoke-DbaQuery.

I wonder if this is the intended content at a new location? https://forums.powershell.org/t/dealing-with-dbnull/2328/2

Yes, could be. If you plan to update more of the documentation then change this link as well.


expand central configuration

I would like to suggest to move a few configuration aspects to the central configuration:

cycle duration
self-regulation dropdown
regulation threshold
regulation minimal period
auto fan mode

And by the way, I'm really happy how the central configuration turned out, I think it's a big advantage. Thanks for developing it!

Hello @maia ,
After considering this proposition it seems that:

cycle can be possible because it is in all vtherm type configuration. In my configuration, I use different cycle to "randomly" dispatch heating and avoid havind allover_switch heater starting at the same time. So that is why cycle is a "personal" VTherm configuration and not a central one. If you do not have aby over_switch VTherm i understand your need,
regulation parameter are not common to all VTherm type: once again, over_switch doesn't have this so It make no sens to put it in common. People that don't have any over_climate will not understand those parameters and think they have an influence on regulation.

So, I will reject this proposal for now but keep on suggesting enhancement please, you have done a great job for VTherm enhancement in the past.

I understand your point but most of feature are multi-vtherm. And most of the work is now done. I just have to maintain, fix the bugs (threre is still !) and add some small missing features.
Having 3 integrations is more hardwork I think. I currenlty have 2 integration to maintains and it is very time consuming (and I have a "real" work in //).


Swift 3.1 branch data fixes

this cherry picks the Data fixes for indexing and slicing:
Address slice regions that incorrectly fetched from the wrong offset of the backing buffers (#929)

Update Data to be in sync with Foundation overlay

Account for slice starts in appending, replacing subranges and fetching unsafe byte pointers

Correct Data slice iteration to be indexed by the startIndex to the endIndex

@swift-ci test


#115

I agree that this is a needed fix. Hyphens are a valid character to include per https://www.w3.org/TR/html4/types.html#h-6.2
Can this please be merged in?

This isn't a "fix". The regexps were consciously made configurable via the example provided in the readme. Configure FormSerializer.patterns to your heart's content.
$.extend(FormSerializer.patterns, {
  validate: /^[a-z][a-z0-9_-]*(?:\[(?:\d*|[a-z0-9_-]+)\])*$/i,
  key:      /[a-z0-9_-]+|(?=\[\])/gi,
  named:    /^[a-z0-9_-]+$/i
});


Razor: standalone usage without the whole ASP.NET Core MVC

Hi, Is there a chance Razor could be used as a template engine without the MVC itself?
If yes - then how?
If no - then are there any plans for that?
Thanks

@winseros yes you can absolutely use Razor without MVC. Here's an example of a command line application that does not depend on MVC that takes in a Razor view and spits out a C# file: https://github.com/aspnet/Razor/tree/dev/src/RazorPageGenerator

Tried creating a copy of this console program and added the nuget Microsoft.AspNetCore.Razor.Language 2.1.0-preview1-final (also tried the latest stable 2.0.2), but some types seems to be missing:
RazorProjectEngine
RazorProjectEngineBuilder
RazorProjectFileSystem
RazorConfiguration
Please advice how to build a standalone .net core console app to process razor templates.

@snielsson if you checkout the 2.1.0-preview1-final tag you'll have a better idea of what the 2.1.0-preview1-final version of the console app looks like.

Still no clue on how to use these new classes. No sample code found for .NET Core 2.1

@genifycom the latest RazorPageGenerator is 2.1.

https://stackoverflow.com/a/48770461/1475331

I have provided some sample code here: https://stackoverflow.com/a/47756437/403671


Regarding Pinata/NFT.Storage/Arweave Pinning 10000 NFT images and Metadata Json files

So I have 10000 NFT images and metadata json files now yay! Thanks to help of many in this awesome community started by Daniel's videos : ）
I‘m now exploring using either NFT.storage or Pinata to host these images and metadata for the NFT minting, but getting stuck reading text APIs and would love to see someone help with some guide in terms of articles or a youtube video series.

To begin, I need to upload 10000 NFT images in one folder and 10000 metadata json files in another on Pinata right?
And then 10000 NFT images will each have a new CID and then I need to update that CID to each of the 10000 metadata json files if I'm not mistaken or if there's a faster way...
Thanks a lot in advance guys.
Truly not that much information out there for the final stretch of Pinata/NFT.Storage/Arweave hosting.
Also Daniel worth take a look at NFT.storage, it's started by Protocol Labs the same company that built IPFS and apparently it's free no matter the file size (Pinata free limit is 1 GB).
https://nft.storage/

You are almost there. Just take Directories CID and use it.
Like, QmXYch1padCzum63cBX1ZpjDXnKS8SQmKu3a********** is my Folder's CID.
Usage:
https://gateway.pinata.cloud/ipfs/QmXYch1padCzum63cBX1ZpjDXnKS8SQmKu3a**********/1.json
https://gateway.pinata.cloud/ipfs/QmXYch1padCzum63cBX1ZpjDXnKS8SQmKu3a**********/2.json so on
I hope this helps.
Thanks


Introduce JwtEncoder

Issue gh-81
Implementation Requirements

[x] define interface JwtEncoder
[x] provide an implementation of JwtEncoder - NimbusJwtEncoder NOTE: The implementation should use the Nimbus JOSE + JWT library
[x] the NimbusJwtEncoder should have a Builder
[x] the NimbusJwtEncoder should support HS256 (HMAC using SHA-256)
[x] the NimbusJwtEncoder should support RS256 (RSASSA-PKCS1-v1_5 using SHA-256)
[x] the NimbusJwtEncoder should have a "KeyManager" that provides the public/private/symmetric keys (also required by #82)
[ ] the NimbusJwtEncoder should be used by OAuth2AuthorizationCodeAuthenticationProvider #68 to produce a JWS
[ ] javadoc class and public methods
[ ] Unit tests

Given that the client needs this functionality as well, should this go into spring-security-oauth2-jose? Or are the two codebases going to be separate?

@krajcsovszkig-ms Thanks for the review comments. I am close to revising my draft. This is something brought to my attention by @jgrandja as well. I am refactoring the relevant classes into the spring-security-oauth-jose package in my next draft so that they can be extracted and merged into spring-security seamlessly.

@anoopgarlapati great, thanks for your work on this!

Hi @anoopgarlapati , are there any updates on this PR? Do you have an approximate ETA for when it will be ready?
Thanks!

@krajcsovszkig-ms Unfortunately due to my work related project I will not be able to meet the timeline for this task. I have discussed this with @jgrandja and he will be taking this task forward.

Thanks for getting back!
@jgrandja do you have an approximate timeline for this task? Let me know if I can help to move it forward.

@krajcsovszkig-ms I'll be working on it this week and next week. My goal is to have this merged later next week.

That's great, thanks!

Closing in favour of #96


⚖ Register Validator: talhab62

Network Choice
nemeton-1
Who are you?
Moniker: talhab62
Telegram: https://t.me/taLhab62
Twitter: https://twitter.com/taLhab62
Website: https://b62.io
gentx
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"talhab62","identity":"755CB13FAAFDBD29--commission-rate=0.05","website":"https://b62.io","security_contact":"b62iofficial@gmail.com","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.100000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"okp41t6t5dntvxk0xkf8t0h9vwsdj9u70xr8ahy8pls","validator_address":"okp4valoper1t6t5dntvxk0xkf8t0h9vwsdj9u70xr8azrhgp3","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"O4PDbLSzKk7NRUxFhEAVnG3l+4KCMtSkcrBHAAtKaFg="},"value":{"denom":"uknow","amount":"10000000000"}}],"memo":"339460a562c9a52b6be22da3211f19edb11faa2b@<IP_ADDRESS>:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A2XKpoCORmQjz5DvtO8E9EC1nRj2hoCooIUKMUj3bTK/"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["4//dkiuRCoN3KzalebOfGTqWBZyGBVOq0l3konJL/sstT0mZEWb9/SNf8UQczEpYcEgwlPGyYEhTNE4mhTLUmA=="]}

😉 Here is the corresponding PR: https://github.com/okp4/networks/pull/341


fix(ios): Fix refreshVisibleItems not recalculating heights

Fixes Issue described in #59 Where cells were not resizing when refreshVisibleItems was called

@jcassidyav awesome ! Could you just remove the console.log?

@farfromrefug whoops, I've removed it :-)

@jcassidyav it has been released

@jcassidyav it has been released

@farfromrefug that's great thank, looks good.


docs: add mongodb docker example

mongodb docker compose example.
app-1    | Connected to the database.
app-1    |
app-1    | Inserting some data into the users collections ...
app-1    | USERS: [
app-1    |   {
app-1    |     _id: new ObjectId('660c4c413eaf8a88fd077e4b'),
app-1    |     name: 'Alice',
app-1    |     score: 92
app-1    |   },
app-1    |   {
app-1    |     _id: new ObjectId('660c4c413eaf8a88fd077e4c'),
app-1    |     name: 'Bob',
app-1    |     score: 99
app-1    |   },
app-1    |   {
app-1    |     _id: new ObjectId('660c4c413eaf8a88fd077e4d'),
app-1    |     name: 'Charlie',
app-1    |     score: 97
app-1    |   }
app-1    | ]
app-1    |
app-1    | The example run was successful 🥳.
app-1    |
app-1    | The app connected with the database through an encrypted portal.
app-1    | Inserted some data, and querried it back.
app-1    |
app-1    | Disconnected from the database.

@polvorin this worked great. One suggestion - let's change all ports to be 27017 (bank corp) and 17017 (analysis corp), just to keep the number close to the default mongo port number.


Support Nokogiri 1.6.x

Simple Gemfile update for Nokogiri gem. All tests pass.

+1 Would like to see this as well.

bump. It appears to have failed CI, but the error doesn't seem indicative of this:
Don't know how to build task 'default'

Update on this? Nokogiri 1.6 would be awesome so we don't have to handle as many system dependencies (1.6 adds external library vendoring).


i3 scroll on Status-Bar workspaces

Is it possible to make it so that when you scroll along the workspaces, it stops at the first and last and does not cycle around?  Can we add this as an option?

Are you using the i3 or xworkspaces module?

i3

This has been added, closing.


Filesystem is not fully up and running when spawn_mount returns

Consider this snippet from #8:
	let _session = fuse::spawn_mount(HelloFS, &mountpoint, []);

	// TODO: Without this, the test fails--the filesystem is not fully set up by the time the next
	// line tries to use it.  What guarantee should we make (if any) about this?  Should it be fully
	// ready before spawn_mount returns?
	std::io::timer::sleep(100);

	let hello_contents = File::open(&mountpoint.join("hello.txt")).read_to_end();
	assert_eq!(hello_contents, hello_world.as_bytes().into_owned());

without the sleep call, the test fails.
Even waiting for init to be called on the filesystem does not suffice.  I tried using that to sync (the init call would send on a channel, with the test code receiving on the corresponding port in place of the sleep) and it still did not work without the additional sleep call.
I'm not even sure what guarantee should be in place--my instinct is to say that the FS should be usable when spawn_mount returns though.

I've hit this too, and have worked around it in my code in github.com/terminalcloud/tfs using a 1-second sleep after starting the fs, but this is unreliable (every once in a while it takes >1s). Seems like @MicahChalmer correctly recorded our options moving forward if we want to close this issue.


Deployment to Red Hat OpenShift fails due to permission error

Traceback (most recent call last):
--
  | File "app.py", line 18, in <module>
  | from api import ModelMetadataAPI, ModelPredictAPI
  | File "/workspace/api/__init__.py", line 18, in <module>
  | from .predict import ModelPredictAPI  # noqa
  | File "/workspace/api/predict.py", line 23, in <module>
  | model_wrapper = ModelWrapper()
  | File "/workspace/core/model.py", line 55, in __init__
  | model = torch.load(model_path, map_location=lambda storage, loc: storage)  # cpu only for now ...
  | File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 265, in load
  | f = open(f, 'rb')
  | PermissionError: [Errno 13] Permission denied: 'assets/mosaic.pth'

Closed by #37


Feature/12 rename methods

Description

Methods renamed:
new AEMHeadless(config)
.runQuery(query, [options]) ⇒ Promise.
.persistQuery(query, path, [options]) ⇒ Promise.
.listPersistedQueries([options]) ⇒ Promise.
.runPersistedQuery(path, [options]) ⇒ Promise.
Constructor updated:
new AEMHeadless(config)Constructor. If param is a string, it's treated as AEM server URL, default GraphQL endpoint is used. For granular params, use config object

Param
Type
Description

config
object | string
Configuration object, or AEM server URL string

[config.serviceURL]
string
AEM server URL

[config.endpoint]
string
GraphQL endpoint

[config.auth]
string | Array
Bearer token string or [user,pass] pair array

Related Issue

https://github.com/adobe/aem-headless-client-js/issues/12
Types of changes

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

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Looks good to me as well


Create finder.py

This PR splits the path resolution logic and import_module_from_source into  a seperate file.

This is awesome!  The code seems way more organized this way.

@timabbott zulip_botserver is being distributed as a seperate pip package . I think it would be better if it didn't have to depend on the code from zulip_bots, no ?

@SivagiriVisakan no, it's a server for running things inside zulip_bots, so that doesn't make any sense.

@novokrest @roberthoenig Do either of you have time to take this to the finish line?  I think if one of you can give the final LGTM, we'll merge it, otherwise it might make sense for one of you to just fix any remaining nits.

@showell this is ready to merge from my side.

merged, thanks @SivagiriVisakan!  thanks @roberthoenig @novokrest for help here too


feat: implement naive fuzz test for region migration

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?

Adapt create table generator for new partition rules
Implement naive fuzz test for region migration

Checklist

[ ] I have written the necessary rustdoc comments.
[ ] I have added the necessary unit tests and integration tests.
[ ] This PR requires documentation updates.

Summary by CodeRabbit

New Features

Added new fuzz testing targets fuzz_migrate_mito_regions and fuzz_failover_mito_regions to improve test coverage for database region migration and failover.

Refactor

Enhanced partition generation logic and updated timestamp handling for more accurate simulation.

Tests

Introduced additional methods to support detailed column and partition information retrieval during tests.

Chores

Updated workflow configuration to include new fuzz testing targets.

@coderabbitai resolve


how to aligenmet the wav?are you train a own chinese asr kaldi model?

@wweihang
From readme.md

You should know basic knowledge of Kaldi before looking at the run script. I use Kaldi to extract Fbank features and do a global CMVN using the statictics from all training set. You should add cmd.sh, path.sh, steps and utils to your working dir before you run the script.

https://github.com/jingyonghou/RPN_KWS/blob/baaa648e0a6fe9d8dc7901eb2545074b9d246be9/run_rpn_kws.sh#L10
https://github.com/jingyonghou/RPN_KWS/blob/baaa648e0a6fe9d8dc7901eb2545074b9d246be9/run_rpn_kws.sh#L22-L23
You have to generate ali.*.gz and related files such as final.mdl  with kaldi before using this repository.


tree-select: 在节点前添加图标

What problem does this feature solve?
tree-select中使用的是tree tree组件支持'nzTreeTemplate'的ContentChild一个自定义模板或者nzShowIcon的api  但tree支持的这两个api都没有暴露给tree-select
What does the proposed API look like?
将tree的可以在节点前添加图标的api暴露给tree-select

I want to be sure I understand this issue, since the translation isn't very clear:
The goal here is not just to add icons, but to be able to customize the nodes of the tree-select in the same way you can with a tree. You would do this using the #nzTreeTemplate reference, and just pass the template to the underlying tree component. The syntax would be similar to the example here, just with a tree-select instead of a tree.


Support Enable/Disable feature for the Node

Support Enable/Disable node with callback _on_enable && _on_disable (inside Editor too).
I think it's too complex feature, but it's open a lot of space and improve workflow for designers.
As example some of object enable only on high spec and a lot of other trick.
For programmers it's improve performance spike by easy implement Object Pool only with GDScript.

What you are asking for is quite unclear. Please be a more specific.
What is the precise use case ?
It's already really easy to enable or disable rendering features right now, to disable physics for nodes or pause them. I see no point in adding another layer of "feature management".

I mean a complex node can have a lot of types such a mesh render, audio, physics, script and can have complex hierarchy. How i can easy to disable it all without delete? How about case for level design (prototyping) where you want do some test and disable some part of level which have a complex structure ? And open question about pool object, without enable/disable node i can't it do easy and natural.
I want to discuss it for understand why it's was not implemented.
For now i think it was a huge mistake to skip this functionality and maybe it's not so easy at all for now to do that.
Thanks.

You have groups in Godot. You can easily remove a whole group from the tree depending on what you need. But in any case we probably wont ship such a system, it depends too much on the game you are making.

Yeah. I am understand you. Thanks for suggest to use group.


M_PI removed, swift 3.0 error fixed

M_PI remove to make repo compatible with swift 3.0. An error fixed

bug fixed.


infeasible models -- suggested substitution finnicky

There appears to be some sort of path-dependent state that causes the suggested substitution associated with an infeasible model to change depending on previous solves.
To see an example,

check out the BreguetRange branch on gpkit.models
git gpkit/models/aircraft an __init__.py if it doesn't have one (waiting on PR)
run the following in ipython notebook

from gpkit.models.aircraft.breguet_range import BreguetRange
m = BreguetRange()
m.interact()

Slide the W_oew slider to the right, above 10,000, and watch the behavior. It's possible eventually to get
THE PROBLEM IS INFEASIBLE
    but would become with this substitution:
{}

When W_oew = 10062.5.

Yeah, and the numbers are sometimes wrong. There's some bug in constants
feasibility, I think.

Obsolete.

yep, the behavior noted above appears to be gone.


Outro ui actually

Ref #3363
#3560 - I somehow lost the code that was in that PR, so I just committed an empty component.
This is the actual interface:

@jamesgorrie Would you add the section heading 'Try these next' as listed in #3363 ?


Crash on pasting of image wrapped into an anchor

Hi!
It can be reproduced via demo page:

Get rendered minimal content example

Paste it to the demo page
Check console output

Got exception:
Uncaught DOMException: Node.removeChild: The node to be removed is not a child of this node suneditor.min.js:1
    update_image image.js:744
    t image.js:615
    <anonymous> self-hosted:1177
    checkInfo fileManager.js:143
    checkFileInfo image.js:618
    checkFileInfo self-hosted:1177
    _checkComponents core.js:4966
    h history.js:50
    r history.js:117
    (Async: setTimeout handler)
    push history.js:114
    onKeyUp_wysiwyg core.js:6614

which refers to update_image, link processing procedure. It tries to remove contextImage._linkElement from cover. In that case cover is newly created container and doesn't contain contextImage._linkElement, so it causes the exception.

The 2.37.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

@JiHong88 , awesome! Thank you so much!


Correct for 'DHM' entities.

Added functionality to classifier post-processing to correct for improper entities using a mapping function.

Withdrawing PR for new because this work is being wrapping into ticket UOT-100021.


Update pkgconfig flags of hyprbars to include irregular locations of headers on distros like openSUSE

Fixes issue #63
Both hyprland and wlroots is listed under the flags because there is a possibility of both a bundled wlroots and a wlroots package as a dependency. Worst case scenario I guess is that there might sometimes be an extra unneeded dependency.
Based on my observations, it seems the bundled wlroots is more common in distro packages but some people might still use the wlroots package of their distro and use that if they compile from source. This could possibly break some existing plugin packages like the hyprland plugins package that is currently in the aur due to the dependency of wlroots. Feel free to remove hyprland or wlroots from the flags if you feel it is necessary.

a wlroots package as a dependency.

not allowed. We always bundle wlroots. If a distro decides to make it a dependency, that's their problem to deal with. the hyprland pkg-config will also provide paths for wlroots headers.
Also, would be nice to do this for all the plugins while you're at it.

sure, we can merge just this one for now. I'll tag @fufexan for meson. If meson good feel free to merge

I should really add CI to this repo. This does not build. The meson file has wrong syntax. Missing wlroots -> unknown type errors.


shapely & geopandas version bump

This PR:

resolves #375
resolves #376
resolves #373

Looks like even python==3.8 is causing problems. Perhaps time to dump that and support only python>=3.9.
Thoughts?
cc @sjsrey @martinfleis @gegen07 @knaaptime @ljwolf

In this specific case that makes sense. More broadly we might think of adopting a policy of supporting say the last three stable versions of Python?
If we did that, we'd have a decision rule as to when to drop previous versions on a case by case basis.

No idea why I am not able to get this 3.9 minimum CI environment to solve...

We should follow https://scientific-python.org/specs/spec-0000/ in regards to versions. Including Python. We can deviate when it makes sense (shapely 2).

I finally realized the problem was specifically with the geopandas==0.12 pin, which was not necessary. Keeping the pin at geopandas==0.10 allows for Python 3.8 environment resolution.


Why?

Pardon my ignorance here... I recognize that is a really neat bit of functionality, but I'm struggling to see a use case.
As I'm always looking for neat utilities to make life easier, can you help me see how this could be used day-to-day? The only thing I can come up with is controlling a remote box -- an Arduino, maybe...

Hi, there has already been a similar question here, feel free to take a look :smile:


Smangrul/fix tracking

What does this PR do?

When dictionary of metrics is provided to the accelerate tracker, tensorboard wasn't able to log it. Example with dict of metrics is in this transformers script run_glue_no_trainer.py. Fixed support for dictionary of int/float metrics
Fixing examples so that run is created only for the main process else wandb will create num_processes runs with no data.
comet-ml logging wasn't helpful as everything was being logged in others log_others. No plots were being created. Fixing it to be able to get plots for metrics using log_metric and log_metrics.

Post these changes, below are the plots for the run_glue_no_trainer.py script on MRPC task using all trackers.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Oh, also make sure to edit the title of the PR ;-)


Komodo bleeding build failing

slack thread

Think #22 should fix

And for sim2sumo as well: https://github.com/equinor/fmu-sumo-sim2sumo

No longer due to sumo packages when building bleeding after the above PRs were merged. Closing.


Kernel config read failed, error:Config not found

Describe the bug
the most recent ecapture build from master branch breaks with error
# ./bin/ecapture
2022/07/02 12:37:53 Kernel config read failed, error:Config not found,  item:CONFIG_BPF.

To Reproduce
Steps to reproduce the behavior:

git clone the ecapture master branch
make
./bin/ecapture

Expected behavior
should work
Screenshots
Linux Server/Android (please complete the following information):

OS: centos 8 with custom kernel build
Arch: x86
Kernel Version: 5.18.0-rc3+

Additional context
ecapture works before on this same machine with same kernel build

Can old version works?
I think that  CONFIG_BPF config was disabled.   you can check it with cat /boot/config
cfc4n@vm-server:~$ cat /boot/config-`uname -r`|grep CONFIG_BPF
CONFIG_BPF=y
CONFIG_BPF_LSM=y
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT_ALWAYS_ON=y
CONFIG_BPF_JIT_DEFAULT_ON=y
# CONFIG_BPF_PRELOAD is not set
CONFIG_BPFILTER=y
CONFIG_BPFILTER_UMH=m
CONFIG_BPF_JIT=y
CONFIG_BPF_STREAM_PARSER=y
CONFIG_BPF_EVENTS=y
CONFIG_BPF_KPROBE_OVERRIDE=

0.1.10 works, here is my kernel config, I suspect commit c425dea41a0d introduced a bug
egrep 'BPF|BTF' /usr/src/bpf-next/.config
CONFIG_BPF=y
CONFIG_HAVE_EBPF_JIT=y
CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y
# BPF subsystem
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT=y
CONFIG_BPF_JIT_ALWAYS_ON=y
CONFIG_BPF_JIT_DEFAULT_ON=y
# CONFIG_BPF_UNPRIV_DEFAULT_OFF is not set
# CONFIG_BPF_PRELOAD is not set
# CONFIG_BPF_LSM is not set
# end of BPF subsystem
CONFIG_CGROUP_BPF=y
CONFIG_NETFILTER_XT_MATCH_BPF=m
# CONFIG_BPFILTER is not set
CONFIG_NET_CLS_BPF=m
CONFIG_NET_ACT_BPF=m
# CONFIG_BPF_STREAM_PARSER is not set
# CONFIG_LWTUNNEL_BPF is not set
CONFIG_DEBUG_INFO_BTF=y
CONFIG_PAHOLE_HAS_SPLIT_BTF=y
CONFIG_DEBUG_INFO_BTF_MODULES=y
# CONFIG_MODULE_ALLOW_BTF_MISMATCH is not set
CONFIG_BPF_EVENTS=y
# CONFIG_BPF_KPROBE_OVERRIDE is not set
# CONFIG_TEST_BPF is not set

maybe.
kernel config filepath is one of https://github.com/ehids/ecapture/blob/e083d55e2ef52b1232ad92e4684907118fa1da9e/pkg/util/ebpf/bpf_linux.go#L31-L35
but , why is this  ?

my kernel is custom build, I don't have path below
 configPaths = []string{
 	"/proc/config.gz",
 	"/boot/config",
 	"/boot/config-%s",
 }

ls -l /boot/conf*
-rw-r--r--. 1 root root 187648 May  8  2020 /boot/config-4.18.0-193.el8.x86_64
-rw-r--r--. 1 root root 192095 Jun  1  2021 /boot/config-4.18.0-305.3.1.el8.x86_64

[root@centos-dev ecapture]# uname -a
Linux centos-dev.localdomain 5.18.0-rc3+ #90 SMP PREEMPT_DYNAMIC Mon May 23 12:55:31 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux

@cfc4n to resolve my problem, I found the fix with diff below, it seems regardless of any Linux distribution, the running kernel config should always exist in /lib/modules/$(uname -r)/build/.config
diff --git a/pkg/util/ebpf/bpf_linux.go b/pkg/util/ebpf/bpf_linux.go
index a8dad21..396cb9b 100644
--- a/pkg/util/ebpf/bpf_linux.go
+++ b/pkg/util/ebpf/bpf_linux.go
@@ -32,6 +32,8 @@ var (
                "/proc/config.gz",
                "/boot/config",
                "/boot/config-%s",
+               "/boot/config-%s",
+               "/lib/modules/%s/build/.config",
        }
 )

wait...
/lib/modules/%s/build/.config is a standard path?   do you have official documentation in linux handle? or a link?

"/lib/modules/%s/build/.config",

I could not find official documentation yet, according to my understanding, when I build  custom kernel from kernel source, the /lib/modules/%s/build is a symbolic link to the kernel source tree build directory, for example, I always run most recent bpf-next kernel tree and cloned to /usr/src/bpf-next directory, after I make modues_install and reboot into my custom kernel build, I can see the symbolic link:
ls -l /lib/modules/uname -r/build
lrwxrwxrwx 1 root root 17 May  6 00:49 /lib/modules/5.18.0-rc3+/build -> /usr/src/bpf-next

this is for my centos 8 with custom kernel build
I also checked ubuntu 22.04 machine that is upgraded from ubuntu 20.04,  so the kernel is upgraded from the distro, I don't have custom kernel build on this machine, but it has the same symbolic link
ls -l /lib/modules/uname -r/build
lrwxrwxrwx 1 root root 40 Jun  9 14:36 /lib/modules/5.15.0-39-generic/build -> /usr/src/linux-headers-5.15.0-39-generic

it seems to be safe to assume /lib/modules/`uname -r`/build/.config  could exist for running kernel

I think I speak too early, the fix i mentioned only fix ecapture running in the host VM machine, if I put the ecapture in container like netshoot pod, it failed to run with same error. so the fix is not good, ecapture 0.1.10 works in container fine.  maybe we need to think about  if the configPaths is needed? does andriod require configPaths?

please wait, I'm release new version. something need to debug..

fyi, i recompiled the kernel with /proc/config.gz support, ecapture still failed with same error, both failed in host and in container
[root@cilium-dev var]# uname -a
Linux cilium-dev 5.18.0+ #3 SMP PREEMPT_DYNAMIC Sun Jul 3 20:57:54 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux

[root@cilium-dev var]# ls -l /proc/config.gz
-r--r--r-- 1 root root 34436 Jul  3 21:09 /proc/config.gz

fyi, i recompiled the kernel with /proc/config.gz support, ecapture still failed with same error, both failed in host and in container
[root@cilium-dev var]# uname -a
Linux cilium-dev 5.18.0+ #3 SMP PREEMPT_DYNAMIC Sun Jul 3 20:57:54 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux

[root@cilium-dev var]# ls -l /proc/config.gz
-r--r--r-- 1 root root 34436 Jul  3 21:09 /proc/config.gz

there is problem with the code, line 47 append kernel version number to /proc/config.gz or /boot/config-%s, but /proc/config.gz does not have kernel version number, so even if user has /proc/config.gz supported in kernel config, /proc/config.gz will not be found, this is the first problem I found
 31         configPaths = []string{
 32                 "/proc/config.gz",
 33                 "/boot/config",
 34                 "/boot/config-%s",
 35         }
 36 )
 37
 38 func GetSystemConfig() (map[string]string, error) {
 39         var KernelConfig = make(map[string]string)
 40
 41         i, e := getOSUnamer()
 42         if e != nil {
 43                 return KernelConfig, e
 44         }
 45
 46         for _, system_config_path := range configPaths {
 47                 bootConf := fmt.Sprintf(system_config_path, i.Release)
 48                 KernelConfig, e = getLinuxConfig(bootConf)
 49                 if e != nil {
 50                         continue
 51                 }
 52
 53                 if len(KernelConfig) > 0 {
 54                         break
 55                 }
 56         }

the second problem i found when I hacked the code to bypass  line 47 bootConf := fmt.Sprintf(system_config_path, i.Release) for /proc/config.gz, the line 48 getLinuxConfig(bootConf) still failed to parse /proc/config.gz for some reason and KernelConfig is empty

yes ,the code here is flawed. I'll send a PR later.   That is my fault, thannnnkkkksssss.

@cfc4n I am sorry to tell you that I tested again with your fix https://github.com/ehids/ecapture/pull/123, it did not fix the problem on my VM with custom kernel build with /proc/config.gz support :(.
[root@centos-dev ecapture]# ls -l /proc/config.gz
-r--r--r-- 1 root root 34270 Jul  4 02:21 /proc/config.gz

./bin/ecapture
2022/07/05 10:07:11 Kernel config read failed, error:KernelConfig not found.

also I am concerned even if we fixed /proc/config.gz for ecapture running in host, it may not work for ecapture in k8s container environment, /proc/config.gz is not supported in Ubuntu or Centos distribution, and in container environment, the container may has no access to /boot/config* neither, just a head up

maybe add a new flag switch or something like that for andriod environment,  restore the previous behavior that worked in container environment?


Add GPU acceleration for the inversion

For small glaciers, if the GPU has enough RAM, GPU can be used to reduce computation time by up to 40% (approximate benchmark on 3 glaciers).

Has been implemented, choice left to user to decide if run on CPU or GPU

code for this is added in invert.ipynb/invert.py in https://github.com/vdevauxchupin/ITS_LIVE_TOOL/pull/11


[Storage] Small improvements to code and tests

Motivation
Preparing for more changes regarding implementation and testing of get_epoch_change_ledger_infos.
Have you read the Contributing Guidelines on pull requests?
@zamsden read it.
Test Plan
CI.
Related PRs
None.

@bors-libra r=zekun000

:pushpin: Commit 1f4c24d has been approved by zekun000

:hourglass: Testing commit 1f4c24d2dbd712ba2a50d9b3ff385c0019568e36 with merge c192c6648a2d388cbd76d25ba51b2fc24a0c5975...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: zekun000
Pushing c192c6648a2d388cbd76d25ba51b2fc24a0c5975 to master...


Mattermost opens both on fullscreen and on a smaller window when closing in fullscreen

I confirm (by marking "x" in the [ ] below: [x]):

[x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[x] I have read contributing guidelines.

Summary
When app is closed in fullscreen, opening it again leads to a fullscreen version and a smaller window version. You cannot access the fullscreen version as it throws you again to the smaller window.
Environment

Operating System: macOS High Sierra Version 10.13.6
Mattermost Desktop App version: 4.1.2 (<IP_ADDRESS>)
Mattermost Server version: 5.2.1

Steps to reproduce

Open Mattermost and make it fullscreen (green button on top left of window)
Press COMMAND + Q to quit Mattermost
Open Mattermost

Expected behavior
Mattermost opens either on fullscreen or as a smaller window in a desktop.
Observed behavior
Mattermost opens both on fullscreen and as a smaller window in a desktop, with the fullscreen being inaccessible.

Possible fixes

Sadly it does not reproduce for me (macOS 10.13.6, desktop app v4.1.2).

Does it always happen by following the steps to reproduce?
Would you try removing ~/Library/Application Support/Mattermost/bounds-info.json?

It always happens by following the steps to reproduce.
I tried removing ~/Library/Application Support/Mattermost/bounds-info.json and that forces Mattermost to open in windowed mode. However, the error persists when I attempt to recreate it.

For reference, this is what I see in bounds-info.json:
{"x":0,"y":0,"width":1440,"height":900,"maximized":false,"fullscreen":true}

Sorry~! Forgot to add one (apparently) crucial detail. This only happens when I am working with multiple screens and it happens on the main MacBook screen. I have tried to reproduce this error with other software, but I am hard pressed to find an app that will start fullscreen after being shutdown in fullscreen mode.
Not sure if this classifies as a Mattermost Client bug or a macOS bug. Please feel free to close this issue if you believe it is the latter.

Ticket for tracking: https://mattermost.atlassian.net/browse/MM-14176.


Problem with Custom Authorizers

I'm trying to implement a custom authorizer and so far, it has gone very well and it's all working perfectly fine.
However, the one major issue I am having is that I cannot return a custom error message if the authenticator fails. I am having the return the following for every error at the moment:
return &events.APIGatewayCustomAuthorizerResponse{}, errors.New("Unauthorized").
If I try any other error message, I get {"message": null} as the response on my client. Is there any way to customize this error message (preferably without using the AWS console as I'd like it to be automated)?

You can the response using Gateway Response which you can in the AWS Web Console or CloudFormation as a AWS::ApiGateway::GatewayResponse (1) type of the resource. It is worth noting, that after any changes you made to definition of the API you need to create a Deployment (Resources > Actions > Deploy API in Web Console UI) to apply them.

I find that even when doing this:
return &events.APIGatewayCustomAuthorizerResponse{}, errors.New("Unauthorized")

I still get an HTTP 500 returned with a body of {"message": null}
Even if I copy and paste the example from README_ApiGatewayCustomAuthorizer.md into an authorizer, and send the "Authorization: unauthorized" header that causes it to return the "Unauthorized" error above, it doesn't work.
Right now I'm stuck with any authorization problem through the custom authorizer returning a 500, which isn't exactly ideal.

Just if anyone is facing this same issue:
The way I handled it at the end was creating a AWS::ApiGateway::GatewayResponse with ACCESS_DENIED response type. In there I used {"message": $context.authorized.someProperty} which is read from your policy object:
authResponse := events.APIGatewayCustomAuthorizerResponse{PrincipalID: principalID}
// ...
authResponse.Context = make(map[string]interface{})
authResponse.Context["someProperty"] = "Your custom message"


Example: bidirectional scroll list

This is early experiment, to check how maintainVisibleContentPosition works

@jmeistrich It looks like when maintainVisibleContentPosition is enabled, adding elements to the list trigger weird behaviour.
https://github.com/user-attachments/assets/84f83906-da96-4dbb-a5d8-4cbe46c1d1aa
when maintainVisibleContentPosition is disabled, additional items are added normally.
https://github.com/user-attachments/assets/25d82142-9a5d-4251-b501-edf241f639c2

Can you share the repro for that? I'll take a look at fixing it.

@jmeistrich This draft PR is a repro at this point. https://github.com/mbilenko-florio/legend-list/tree/example/bidirectional-scroll-list

@mbilenko-florio Fixed in 0.5.4

@jmeistrich Couple of additional issues I've found when maintainVisibleContentPosition is enabled

RefreshControl is not working
refreshControl={<RefreshControl refreshing={refreshing} onRefresh={onRefresh} />}
when initialScrollIndex i'm not able to scroll back to top.

https://github.com/user-attachments/assets/a9731d40-b67d-4797-b704-f547b686ebcb

@jmeistrich Some updates: Issue where i'm not able to scroll to top happens only when I deleted ListHeaderComponent, it looks like when there is no header, scrollAdjust is never applied.
 {ListHeaderComponent && (
                <$View
                    $key="scrollAdjust"
                    $style={() =>
                        StyleSheet.compose(ListHeaderComponentStyle, { top: peek$<number>(ctx, "scrollAdjust") })
                    }
                    onLayout={(event) => {
                        const size = event.nativeEvent.layout[horizontal ? "width" : "height"];
                        const prevSize = peek$<number>(ctx, "headerSize") || 0;
                        if (size !== prevSize) {
                            set$(ctx, "headerSize", size);
                        }
                    }}
                >
                    {getComponent(ListHeaderComponent)}
                </$View>
            )}

Issue i'm facing now, is that when new items are added to the top, i'm forced to the top of the data instead of maintaining scroll position where it was.
https://github.com/user-attachments/assets/9bddb7f4-e694-472d-9f36-cab20914e59f

Apparently I was wrong, adding ListHeaderComponent just mitigates issue by providing additional padding at top, but issue is still present if I will comment onStartReached handler in this branch.

One more interesting finding, when working on the numColumns, fixed item width was removed.

That created interesting artefact when rendering list with initialIndex and maintainVisibleContentPosition

Apparently, when items have fixed width, there are less onLayouts happening:
onLayouts for fixed item width:
 LOG layout id9<PHONE_NUMBER>875
 LOG  layout id10<PHONE_NUMBER>875
 LOG  layout id11<PHONE_NUMBER>875
 LOG  layout id12<PHONE_NUMBER>875
 LOG  layout id9<PHONE_NUMBER>875
 LOG  layout id10<PHONE_NUMBER>875
 LOG  layout id11<PHONE_NUMBER>25
 LOG  layout id12<PHONE_NUMBER>875

onLayouts for non fixed item width
layout id9<PHONE_NUMBER>875
 LOG  layout id10<PHONE_NUMBER>875
 LOG  layout id11<PHONE_NUMBER>875
 LOG  layout id12<PHONE_NUMBER>875
 LOG  layout id9<PHONE_NUMBER>875
 LOG  layout id10<PHONE_NUMBER>875
 LOG  layout id11<PHONE_NUMBER>25
 LOG  layout id12<PHONE_NUMBER>875
 LOG  layout id8<PHONE_NUMBER>875
 LOG  layout id13<PHONE_NUMBER>875
 LOG  layout id10<PHONE_NUMBER>875
 LOG  layout id11<PHONE_NUMBER>25
 LOG  layout id8<PHONE_NUMBER>25
 LOG  layout id13<PHONE_NUMBER>875
 LOG  layout id8<PHONE_NUMBER>25

End values are pretty much the same, it takes more remeasures to get there.

@jmeistrich I'm moving this PR into review now. Work on maintainVisibleContentPosition feature is far from over, but at least is something we can merge. Bidirectional Infinite List example is working with acceptable degree of bugginess.
I would appreciate some testing of this feature, also checking for potential regressions in the work of the list, if some one can check it with new and old architectures, that would be quite good.
Things expected to be broken:

Infinite chat not working
when scrolling back some artifacts are visible, it has to do with a way how we measure elements, need to analyze it more
algorithms of backwards search can be optimized.
algorithm to select new anchor element when scrolling up

This looks great! Playing with it in the iOS simulator it looks much smoother than before :). I have a few questions about the implementation:

It looks like the calculation of scrollAdjust is now done in calculateItemsInView, and it needs to compute all the way to the first item to compute the amount that the top has changed. Was calculating that in addTotalSize not working well? I had thought that would be the best place because at that point it knows which element has resized and by how much, but when doing it within calculateItemsInView it needs to scan in reverse across all items to calculate it?
For performance reasons it's ideal if calculateItemsInView loops over the minimal number of items since it can be called many times per second. So it would be great if it didn't need to do that reverse pass.

Can you explain what problem the ScrollFilter is solving? I see it activating when I pull from the top in the bidirectional example, but I don't see very different behavior if I remove it, so I can't tell what it's fixing. I haven't tested on Android yet - maybe it's something Android specific?


Mixpanel 5.6.0

Is there any chance we could update to the latest Mixpanel Android (5.6.0) - so that we can get FCM support?

Will this be as simple as updating the library in the build.gradle file or will there be more to it?

They moved to FCM.

I have followed the guide here:
https://help.mixpanel.com/hc/en-us/articles/115004706906-Google-Cloud-Messaging-GCM-Or-Firebase-Cloud-Messaging-FCM
They mention to  'update your Mixpanel library to v5.5 and above'.
I have updated the node_modules/react-native-mixpanel/android/build.gradle file to the below:
dependencies {
    compile 'com.facebook.react:react-native:+'
    compile "com.mixpanel.android:mixpanel-android:5.6.0"
}

Does anyone know if this will be sufficient or if further chages will be needed?

It will be. I have done it by my self. Maybe I will create PR but don't know if it has any sense as this repo is probably abandon by author.

@lorenc-tomasz I was thinking the exact same thing. If there is enough demand for this plugin it might be worth seeing if anyone is interested in taking it over.

Agree. I was thinking about it, but sadly if I get more projects I will not have time to support the module. My suggestion was to move the repo to react community but without response.

Have added support for 5.6.0 with link how to migrate to FCM: https://github.com/lorenc-tomasz/react-native-mixpanel/tree/fcm

I have created the PR here but I don't believe that somone will merge it.

The upgrade to Mixpanel Android 5.6 has been merged.


FTP Sync Adapter

@flavour Please review

I fundamentally disagree with "S3ResourceLink" - the name was chosen to clearly document the purpose of this class, and I don't want to hide it for the sake of a single edge-case. You can still add a comment to document the deviation, or assign an alternative class in-place, if you think it would otherwise be confusing, but not rename everywhere else where "S3AddResourceLink" gives clarity and makes the code more understandable.

I can review the FTP Sync Adapter once you've got that out of the way.

@nursix Thank you so much for the review
I would need ftp object in the push once I move the ftp login to login method...How do I retrieve the ftp object on the push?

You can just put it into self no? S3Sync will always use the same adapter instance it has logged in with.
So, during login - set self.ftp_connection

I fundamentally disagree with "S3ResourceLink" - the name was chosen to clearly document the          > purpose of this class, and I don't want to hide it for the sake of a single edge-case. You can still add a   > comment to document the deviation, or assign an alternative class in-place, if you think it would            > otherwise be confusing, but not rename everywhere else where "S3AddResourceLink" gives clarity and > makes the code more understandable.

hmm...we started with a subclass - but it didn't make sense to me since it was so similar.
We /could/ have an S3ResourceLink base class & then have Add & Update as subclasses, but it really seems overkill to me.
We can have S3AddResourceLink as an alias to S3ResourceLink since that defaults to m="create" & I suggested that to avoid breaking non-trunk templates/modules.

söndagen den 27 september 2015 12.17.57 skrev  Fran Boon:

hmm...we started with a subclass - but it didn't make sense to me since it
was so similar. We /could/ have an S3ResourceLink base class & then have
Add & Update as subclasses, but it really seems overkill to me. We can have
S3AddResourceLink as an alias to S3ResourceLink since that defaults to
m="create" & I suggested that to avoid breaking non-trunk
templates/modules.
What for?

You can well use the S3AddResourceLink class, and override the method.
My point is about the name of the class, not about the overriding of the
method - that part is alright.
But using it for an "update" link is an edge case - the normal standard use-
case is to use it for adding a new record, and that is what the class name
should say.
If in one case it is used for update, then that one case can either use
S3AddResourceLink(method="update") and explain that in a comment, or, if by
all means it has to be another class name, then import it under an alias.
The "Add" in the class name is what I am after - I want this to be left in
place in order to make clear what it does.

The "Add" in the class name is what I am after - I want this to be left in
place in order to make clear what it does.

For the myriad cases which use this, I'm happy for them to use this alias...but I think the core class should be renamed to allow the use for both create & update.
Update is indeed an edge case right now, but I can see it being reused & I see it as very confusing if it's called Add there...

Right - it is the "Add" in the places where it is used, not in the class definition. But there it is important to really express what the code does especially if it can do multiple things.
S3ResourceLink is generic, and for people not so familiar with the code, it is not obvious what it would do (again, in the places where it is /used/ - not where the class is defined).

Btw, in my opinion "S3ResourceLink" is a totally misleading name for this class.
You could name it S3PopupLink, which makes it a whole world clearer - and then maybe have S3CreatePopupLink and S3UpdatePopupLink as aliases.
But S3ResourceLink is nonsense, really.

S3AddResourceLink wasn't really my favorite name either - but at least the "Add" made clear the purpose, somehow.
S3PopupLink would make it a lot better, especially because it makes the connection to s3.popup.js.

And with S3PopupLink, maybe we don't need the "Add" alias, if that is the default behavior.

I'm fine with PopupLink...but feel we should keep the S3AddResourceink alias to avoid breaking non-trunk Templates/Modules

Backwards-compatibility is important too, yes.
I'm using S3AddResourceLink in non-trunk code too - and in a feature branch for a new module I'm currently working on. Though I can deal with that - but maybe others can't as easily.
However, my main concern is that the new name should not be misleading, or become too generic so that you can no longer understand the purpose. People who try to learn from existing models need to be able to make the connection, and "S3AddResourceLink" was already weak - but "S3ResourceLink" is even weaker. "S3PopupLink" is a lot stronger, especially because the corresponding JS script also uses "popup" in the name.


Solid Editors’ Technical Report Development Process

The Solid Editors Group has prepared a process designed to focus the specification development process. In this process, the Solid Editors will convene weekly and maintain a monthly cycle to triage, prioritize and select issues for work in the following time period. We hope that this will help the community converge on consensus faster and thus speed up the development of the Solid specifications.

Thanks a lot @TallTed , great to have your feedback to improve my language!


feat: unit test, fix bug, use gas alias

Switches gas value to the alias (more future-proofed)
Fix divide by zero case by having a minimum of 1 for the block calculation
Add basic unit test of creating a task and checking state that the task was created correctly

Looks great! Thank you @austinabell