After installing and uninstalling windows cant run taskscheduler powershell.exe

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Hi
after installing and uninstalling version 7.2.7 then creating a scheduled task in windows 11 the task dont run. It works on my stationary PC where this powershell app was never installed, but not on my laptop after uninstalling. Any solution ?
i assume its some leftover or registry taht was not properly reset
thanks
Nolan
Expected behavior
expected that an uninstall would revert windows setting back to standard powershell.exe

Actual behavior
cant run scheduled task anymore with action powershell.exe

Error details
No response
Environment data
??

Visuals
No response

PowerShell 7 should have no bearing in Windows PowerShell (powershell.exe). They are separate installs and don’t really touch any others settings. If you are having troubles starting powershell.exe from a scheduled task just try running the same action through cmd and see what problems may appear for debugging. Unfortunately without more information there’s not much we can do to help.

Hi
ok thanks, thats weird though there is this differene between 2 PCs
best Nolan


Azure release gives test run results as No test is available in D:\a\r1\a

Under my project solution i have multiple web tests in Visual Studio 2017. While checking in git repo now i am trying to add this solution which has all web test scripts in azure pipeline release. Once release is created everything runs well including project solution but end of the release it says "No test is available in D:\a\r1\a_Performance\drop\packages". So it never runs those web tests in the assigned vsts2017 VMserver.
[command]D:_work_tool\VsTest\16.0.0\x64\tools\net451\Common7\IDE\Extensions\TestPlatform\vstest.console.exe @D:_work_temp\5c6a81b1-3ba4-11e9-9f62-33b695c91a61.txt
2019-02-28T22:01:12.8971948Z Microsoft (R) Test Execution Command Line Tool Version 16.0.0
2019-02-28T22:01:12.8974196Z Copyright (c) Microsoft Corporation.  All rights reserved.
2019-02-28T22:01:12.8974262Z
2019-02-28T22:01:13.6547537Z vstest.console.exe
2019-02-28T22:01:13.6548147Z "D:_work\r1\a_Performance\drop\WebAndLoadTestProject1\bin\Release\Microsoft.VisualStudio.QualityTools.WebTestFramework.dll"
2019-02-28T22:01:13.6548405Z "D:_work\r1\a_Performance\drop\WebAndLoadTestProject1\bin\Release\WebAndLoadTestProject1.dll"
2019-02-28T22:01:13.6549990Z /Settings:"D:_work_temp\5c7b2380-3ba4-11e9-9f62-33b695c91a61.testsettings"
2019-02-28T22:01:13.6550436Z /logger:"trx"
2019-02-28T22:01:20.2083460Z Starting test execution, please wait...
2019-02-28T22:01:21.4449882Z The following DLL(s) do not match the specified framework .NETFramework,Version=v4.5 and platform X86 settings.
2019-02-28T22:01:21.4450541Z Microsoft.VisualStudio.QualityTools.WebTestFramework.dll is built for Framework 4.0 and Platform AnyCPU.
2019-02-28T22:01:21.4451521Z Ensure that the test assemblies target the specified framework/platform settings. Go to http://go.microsoft.com/fwlink/?LinkID=236877&clcid=0x409 for more details on managing these settings.
2019-02-28T22:01:31.8712695Z TestSettings will soon be deprecated for automated unit and functional testing scenarios. It is recommended that you use RunSettings. To learn more, see http://aka.ms/runsettings
2019-02-28T22:01:35.3315409Z TestSettings will soon be deprecated for automated unit and functional testing scenarios. It is recommended that you use RunSettings. To learn more, see http://aka.ms/runsettings
2019-02-28T22:01:36.6120443Z No test is available in D:_work\r1\a_Performance\drop\WebAndLoadTestProject1\bin\Release\Microsoft.VisualStudio.QualityTools.WebTestFramework.dll D:_work\r1\a_Performance\drop\WebAndLoadTestProject1\bin\Release\WebAndLoadTestProject1.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
2019-02-28T22:01:37.1681780Z Results File: D:_work\r1\a\TestResults\VssAdministrator_fv-az550_2019-02-28_22_01_36_943.trx

Is this related to SimplyVBUnit?

Thanks for reply. No, this is related to Microsoft Visual Studio 2017 Project Solution created under Git repository. I have a development Git repository ABC under which i created a project as xyz. In that project i added web test scripts which runs against my hosted application to test its functionality. Now when i run it locally using Microsoft Visual Studio 2017 Project Solution ABC > xyz it runs very well and pass all tests.
But when i try to use these test scripts in Azure DevOps by creating a Build > Release. I am getting an error as "No test is available in D:\a\r1\a_Performance\drop\packages". So it never runs those web tests in the assigned vsts2017 VMserver.
So i need to understand if it is Git problem in picking files or Azure DevOps problem in running scripts in their virtual servers.

OK, I don't know why you're posting all of this in the SimplyVBUnit repository though.

my mistake. i am kind of blank.


Revert reminder change and az

Description
Revert reminder change and az
Issue reference

Please reference the issue this PR will close: n/a
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

/ok-to-perf

/ok-to-perf

/ok-to-perf

/ok-to-perf

/ok-to-perf

Change not needed since we found out that multiple AZs is affecting perf slightly.


Remove subpath imports from external packages

Since perspective.parallel.js is the entrypoint for @jpmorganchase/perspective this import is a no-op but means that all the files are processed again.

Thanks for the PR!
I think this PR needs some clarification over the intended fix.  I am specifically not clear exactly that "all the files are processed again" - if this is in reference to a sub-import causing the entire @jpmorganchase/perspective module to be compiled twice (?), the docs on Webpack Module Path imports suggest that this is not the case, rather that just the one file defaults.js is re-processed.
Regardless, the symbols from defaults.js are clearly intentionally public - seems a much better solution to this is to make them explicit exports of @jpmorganchase/perspective, as some of them already are


Unable to log in

Unable to log in, the login window cannot be opened, what is the problem?

+1

Can you provide more details? I recently pushed a commit to fix issues with login. You'll have to build from source though


Storage unit tests are failing

See https://ci.appveyor.com/project/GoogleCloudPlatform/google-cloud-python/build/1.0.3262.release-pubsub-0.33.0/job/tdl50k699sixt1f2

on it.

how come this never triggered?
https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/5953?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link


AMD video card for inference

Hi. I know that you cannot train a model with an amd card at the moment (I have an rx 6600) but can I use it for inference? Thanks.

currently we don't have a focus on amd compatibility, it will use your cpu


Remove fqdn_mac

Closes #1.
@bobtfish I agree, I don't think we really need this.

I think you mixed up some things in PR #9  and Issue #1
you remove here the useful fqdn_mac which generates a random mac address.
but the request was to remove the obsolete macaddress_rand which generates a random number based on the mac instead vo the fqdn.


get-resource api fails due to authz filter middleware and code logic.

Encountered working on https://github.com/casbin/casibase/pull/594
Currently /api/get-resource is totally unavailable.
Preuploaded resource with key test, default application & organization
Test Results:
Latest commit, try:

/api/get-resource?id=/resource/built-in/app-built-in/test
/api/get-resource?id=/built-in/app-built-in/test
/api/get-resource?id=built-in/app-built-in/test

All fail with error: GetOwnerAndNameFromId() error . Stack trace to casdoor/routers/authz_filter.go:72.
This fails due to authz_filter.go middleware calls string.go#GetOwnerAndNameFromId() ahead to check the id query param regardless of the api definition and GetOwnerAndNameFromId() do fail when the id does not match the format of {owner}/{name} (containing one /). And this should be unsuitable for resource related id/name format. (Moreover if trim the id param to shorter like app-built-in/test it's even less likely to get the correct response)
My workaround: replace id query param to key in controllers/resource.go
Luckily without id param I passed through the authz middleware and unluckily the code logic blocks this api now.
Generally said /api/get-resource now pass the key param (formerlyid) to GetOwnerAndNameFromIdNoCheck() function to split it to a owner and a name field. Then use the owner and name to query in the db. Doing this on a single key (or id) param causes I had to call /api/get-resource?key=built-in//resource/built-in/app-built-in/test to get the right resouce and other key formats still fail. Passing key built-in//resource/built-in/app-built-in/test does not seem to be any valid or Intuitive key format.
Generally said. /api/get-reource currently fails due to auth filter middleware force-checking id query param. Altering id query param to key (or any other than id) does not fix because there are some code logic issues handling this param.

same issue also on /api/update-resource

@WinterOfBit can you disable authz filter first and see which id will work?

@WinterOfBit can you disable authz filter first and see which id will work?

@hsluoyz same result as altering id query param with key. only built-in//resource/built-in/app-built-in/test would work. Otherwise return "null"

@WinterOfBit fixed by: https://github.com/casdoor/casdoor/commit/09f40bb5ce0c89f79a0cdd648a8ee94edd94ee59
You can now use http://localhost:8000/api/get-resource?id=built-in/casdoor/avatar/built-in/admin.png


[Bug]: Avatar not shown when applying a filter on explore page

Contact Details
No response
What happened?
A bug happened!
What browsers are you seeing the problem on?
No response
Relevant log output
No response

fixed with #220


Fix: Use clientHeight as default height parameter in SetSize()

This is a PR for #142
Viewer ignored specified height and became as big as possible, since the <canvas> height was set to window.innerHeight at some events.
By this PR, the <canvas> height will be set to clientHeight of
parent <div#brax-viewer>.

LGTM, thank you!


[resolves #1284] Add support for camel-bean-validator

retest this please

retest this please

retest this please


Consider using an RcVec type that collocates reference count with vector elements

As of #335, TokenStream is Rc<Vec<TokenTree>>. This makes twice as many allocations as it should, because there's one that holds {strong count, weak count, data ptr, length, capacity} and a different one that holds the vector elements.
Let's look into putting these all into one allocation (except omit weak count, which we do not use) and see how it affects cargo bench --bench file --features full,parsing,test in syn.

I believe such an RcVec would be roughly Rc<Thin<(len: usize, [MaybeUninit<T>])>> (or Rc<Thin<UnsizedVec<T>>> where UnsizedVec has both len and capacity as metadata).
A bit sad that we don't have the language tools to build something like that directly, but nonetheless, the functionality would be useful.
Also, I'm not 100% sure it's exactly the same, but I've been describing Lean4's Array T as being halfway between Rc<[T]> and Rc<Vec<T>>, with the intuition that it's RcVec<T>.
(For some context, Lean4 replaced GC with RC + auto-injecting Rc::make_mut, and not only does that make it faster than existing FP GC runtimes for functional data structures, it can ditch lists for flat arrays, as e.g. repeated RcVec::make_mut(xs).push(x) will only copy at most once).


Add erb lint

⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

@sivsubra-tw is there still work to do on this? Or could we merge it in?

@FelixMarcusMillne - It is not done because the last commit is huge and was all the changes that erblint autofixed. I need to sift through this to remove unnecessary changes (which I know there are at least some). That is why the PR is in draft and the ticket is not in doing.


ROI seems to have no effect on exposure digital-gain and analog-gain settings

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description
For our application we want to set the sl.VIDEO_SETTINGS.AEC_AGC_ROI to only the bottom half of the image. While experimenting with setting the ROI I found that when setting it to a corner of the image, the exposure and gain still change a lot when darkening non ROI parts of the image. Only the digital gain seems to start changing when the box is covered but that's just because the image becomes so dark. Either I'm doing something wrong, or the ROI seems to have no effect.
Image without dark object (exp32999, analog gain: 1085, digital gain: 1:

Image with dark object not in ROI (exp32999, analog gain: 10516, digital gain: 1)

Image with dark object in entire image (exp32999, analog gain: 16000, digital gain: 111)

My code:
take_images.txt
Steps to Reproduce
Take my code and run it.
Expected Result
I would expect the exposure gain only to change when a significant lighting effect takes place inside the ROI.
Actual Result
The exposure and gain still change based on the entire image as roi.
ZED Camera model
ZED
Environment
OS: Ubuntu Jetson Orin AGX
CPU: arm64
GPU: Ampere GPU and a 6-core ARM CPU
ZED SDK version: 4.0.6
Other: It's not the ZED camera, it's the ZED X MINI (not in the list)

Anything else?
It's not the ZED camera, it's the ZED X MINI (not in the list)

I suspect it may have to do with our rotating the camera, am looking into this.

I did make a mistake with the camera, but when setting the ROI correctly, the results still look a bit strange. It still responds more to bright parts outside the ROI than pixel values inside it.

Hi,
I will have a look at this but it may be due to the fact that the ROI is too small.

Hi,
Thanks for taking a look.
The code I sent you at first has a mistake in it, but after fixing we still face the situation same situation.
We set the ROI to the bottom half of the image. Then, when we cover the top half with a black screen, we still see significant lighting changes in the bottom. Maybe this is expected because less light is entering the bottom half? But I would expect that the pixel values in the lower half don't really change and we would not get such a significant increase in lighting.


Bug: In Microsoft Edge, copy-paste queries is loosing its coloring

monaco-editor version: 0.9.0 and the latest version
Browser: Microsoft edge
Steps reproducing the issue:

Write a query in Microsoft Edge
Copy the query text (using Ctrl-C)
Paste this text in e-mail.

The style and the colors of the query don't saved.

We didn't turn this feature on for Edge as it's either impossible (stable) or buggy (Edge insider) at this moment, per https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11780845/

Fixed via https://github.com/Microsoft/vscode/commit/563c459e7b296c4961fac399c511ff1b37381117 (typo...)


MolFromSmiles() does not work as expected

Configuration:

RDKit Version: 201909.3
Operating system: Ubuntu 18.04.4 LTS
Python version (if relevant):3.7.4
Are you using conda? Yes
If you are using conda, which channel did you install the rdkit from?
conda install -y -c rdkit rdkit

Description:

tmp_smi = Chem.MolToSmiles(tmp_mol)
mol = Chem.MolFromSmiles(tmp_smi)

The tmp_mol and tmp_smi are not None,  but the mol is None. I am  confusing why ?

You probably have modified a molecule so that it is no longer sanitizable. Can you try calling Chem.SanitizeMol(tmp_mol) to check if it sanitizes correctly before writing to smiles?

As you said, I modified the molecule as below:
tmp_mol = Modify_func(mol)
tmp_smi = Chem.MolToSmiles(tmp_mol)
mol = Chem.MolFromSmiles(tmp_smi)
print(tmp_mol)                                                       # not None
print(len(tmp_mol.Get_Atoms()))                           # for example, 28
print(mol)                                                              # None

Chem.SanitizeMol(tmp_mol)  returns Error
tmp_smi = Chem.MolToSmiles(tmp_mol)
Chem.SanitizeMol(tmp_mol)              #  Can't kekulize mol.  Unkekulized atoms: 7 8 9 10 11
mol = Chem.MolFromSmiles(tmp_smi)

This means your Modify_func() function left the structure in a state where it is no longer sanitizable. In this case it looks like atoms 7 to 11 are marked as aromatic, but RDKit could not find a valid Kekule assignment for it.

Thanks for help.

你好，你的邮件已收到。谢谢！


Change in behavior of defaultLanguages starting in Studio 3.57.4

Describe the bug
Starting with Sanity Studio 3.57.4, there was a change in behavior to how defaultLanguages is handled within the editor.

3.57.3 and below: whatever language(s) is set as the defaultLanguage in the plugin configuration, could be removed when editing a document in the Studio
3.57.4 and above: the default language could not be removed, even if it was empty

This caused issues with our configuration, as we had a custom object that was configured as an internationalized object, which had a required field. Since we could no longer remove the object, we were unable to publish the document since the required sub-field had to be filled out.
This behavior can be reverted by removing the defaultLanguages key from the plugin configuration.
To Reproduce
Using the following plugin configuration:
internationalizedArray({
  languages: [
    { id: "en-us", title: "English (United States)" },
    { id: "es-us", title: "Spanish (United States)" },
  ],
  defaultLanguages: ["en-us"],
  fieldTypes: [
    "string",
    },
  ],
}),

with a document that has a reference to internationalizedArrayString like so:
{
  title: "Test Text",
  name: "testText",
  type: "internationalizedString",
}

Steps to reproduce the behavior:

Go to edit the document
Click on the "remove" button next to the en-us text
See the text is unable to be removed

Expected behavior
I should be able to remove any/all properties of the internationalizedArray
Screenshots
3.57.3 - notice there is no object defined

3.57.4 - notice there is an object defined for en-us, however clicking the remove button next to the asset does nothing

Which versions of Sanity are you using?
This is done when updating to 3.57.4 or higher
What operating system are you using?
MacOS 15.1
Which versions of Node.js / npm are you running?
21.5.0

We're actually encountering the exact same issue!!

+1


drivers: lis2dh: Add names to choices in Kconfig

Unless a choice is named, its default value
cannot be changed in another Kconfig file.
Signed-off-by: Pavel Hübner<EMAIL_ADDRESS>

Also, this PR is analogous to: https://github.com/zephyrproject-rtos/zephyr/pull/39305


Implemented/integrated a basic state class

A class which manages the state file.  Intended to be used as a singleton
throughout molecule.  The classes' initial state is serialized to disk if the
file does not exist, otherwise is deserialized from the existing state file.
Changes made to the object are immediately serialized.
Fixes: #238

I believe the point of these was to maintain state after creating a machine. So that if you do molecule converge --platform ubuntu and then later do molecule converge, it will continue to use the platform that's currently running. Without it, the second molecule converge would stand up new instances with whatever the default platform is.  Trying to remember to add --platform to every converge call when you're developing a role is impossible.

I believe the point of these was to maintain state after creating an instance, and to persist it while the instances are running.

Ahhh, makes sense now.

Definitely a much cleaner way of maintaining state. 👍

One small typo, otherwise this is marvelous! 👍


Code about Generating Point Cloud from Mesh for ShapeNet dataset

Hi @AnTao97,
Thanks for your amazing work. The point cloud data are very useful. I am wondering can you also share the code to generate a point cloud from mesh data for ShapeNet dataset? Thanks!

Thanks for your appreciation!
You can send me an email to<EMAIL_ADDRESS>I will reply to you with my code.

Thanks for your appreciation!
In fact, I use the generated ShapeNet point clouds (10k points per shape) from https://drive.google.com/drive/folders/1G0rf-6HSHoTll6aH7voh-dXj6hCRhSAQ?usp=sharing in https://github.com/stevenygd/PointFlow. I then use FPS to sample 2048 points from 10k.

Hi @AnTao97,
Thanks for your quick response.


Eventbus: Remove sticky event after consuming

I use firebase to send notification. When the app is in foreground, the notification is received by the class that extends FirebaseMessagingService. So in onMessageReceived, I do this:
EventBus.getDefault().postSticky(new NotificationEvent(body, title, url));
I have two activities that listeners for this event. Activity A and Activity B.
In both activities, I do this:
@Subscribe(sticky = true, threadMode = ThreadMode.MAIN)
    public void consumeNotification(NotificationEvent event) {
        //Consume event
    }

    @Override
    public void onStart() {
        super.onStart();
        EventBus.getDefault().register(this);
        Log.d(TAG, "onStart called");
    }

    @Override
    public void onStop() {
        NotificationEvent event = EventBus.getDefault().getStickyEvent(NotificationEvent.class);
        if (event != null) {
            EventBus.getDefault().removeStickyEvent(event);
        }
        EventBus.getDefault().unregister(this);
        super.onStop();
        Log.d(TAG, "onStop called");
    }

Now, there is a button in Activity A that launches Activity B.
If activity A  is visible on the screen, and I receive the notification (which triggers the event), the event is consumed that first time.
So when I click the button to launch Activity B (onStop is called on Activity A), but surprisingly the event is received again in Activity B when it was supposed to have removed when onStop was called in Activity A.
Also, if Activity B is visible on the screen and I receive the notification (which triggers the event), the event is also consumed that first time.
But when I clicked the physical back button to go back to Activity A, the event is received again in Activity A when it's supposed to have been removed.
Please, what's supposed to be the cause of this and how can it be fixed?
NOTE: I chose to use stick event because If I use non-sticky event, the event is not delivered when the screen has deemed off on either of the activities.

The order of onStart and onStop you assume is not guaranteed. Read the Android docs about Coordinating activities. -ut

Thanks for the reply, I have seen where the problem is coming from. Is there any way I can check if the event has been consumed? If I know, I could remove the event any other place than onStop. Thanks.

@ozuf Why don't you remove the sticky event when you handle it in your consumeNotification() method? -ut

@greenrobot-team Thanks. That fixed it.


Update README to take account of the eBible.org repo

This is way out of date now! "200 texts available in over 50 languages."
Check out the Bible modules repository for eBible.org

"200 texts available in over 50 languages."
This is indeed more than 10 years old, taken from the old MacSword program.
I'd be happy to update this all, add a proper Wiki page here with screenshots, etc.
I will try to find the time to make this 2.6 release soon.

David, please update the readme if you wish.
The procedure for this is that you create a fork, make your changes and create a pull-request against my repository.

Forking the repo would give the misleading indication that I were an app developer and a Mac user.
I'm neither.
This was merely a friendly observation by a fellow-volunteer for CrossWire.
It's not urgent.

No worries.
Do you have a readme text that is better suited? Than I can put it in.

Check this page in the SWORD developers' wiki.
https://crosswire.org/wiki/Module_Repositories
I do a lot of maintenance on our wiki.

eBible.org is now in module manager when synced with the main repo.


Hello, can I get some help?

First of all, thank you for creating the yolo-nas openvino code.
I'm testing your code.
I have two questions.

A memory leak occurs. I can't find a way.
If you use ptq using NNCF, detection does not work.
Even if you use yolo-nas ptq qat, detection does not occur.
NNCF compress_weight works well.

Is there a solution?
Thank you. Have a good day

Is it a big leak? It could he due to OpenCV.
I think that needs some modifications for it to work. I didn't try it.

First of all, thank you so much for the answer.

It seems that memory leaks do not occur continuously. There is no problem with testing.

Due to my limited knowledge, I cannot find what needs to be modified to apply the NNCF PTQ. If you have time, I would appreciate it if you could check it out later.

Thank you again for your reply.

It could be OpenCV related: https://github.com/opencv/opencv/issues/5715?notification_referrer_id=MDE4Ok5vdGlmaWNhdGlvblRocmVhZDExMTYwNzQzOTozMjIwNjUxMQ%3D%3D#issuecomment-2067695016

Can you try adding these after the line
https://github.com/Y-T-G/YOLO-NAS-OpenVino-cpp/blob/2856838d9004b0c097d3577f904db5197944325b/src/yolo_nas.cpp#L51

ppp.output(0).tensor().set_element_type(ov::element::f32);
ppp.output(1).tensor().set_element_type(ov::element::f32);

Thank you for your answer.

I don't use VideoCapture, I use images.
Even if you enter the code you mentioned, detection does not occur.

If xxx.bin xxx.xml is created with f32, it works well.
If xxx.bin xxx.xml is created with f16, it works well.
Make xxx.bin xxx.xml as f32,
Following https://github.com/openvinotoolkit/nncf/tree/develop?tab=readme-ov-file, we conducted PTQ with the code below. However, detection does not occur.

import nncf
import openvino.runtime as ov
import torch
from torchvision import datasets, transforms
Instantiate your uncompressed model
model = ov.Core().read_model("/model_path")
Provide validation part of the dataset to collect statistics needed for the compression algorithm
val_dataset = datasets.ImageFolder("/path", transform=transforms.Compose([transforms.ToTensor()]))
dataset_loader = torch.utils.data.DataLoader(val_dataset, batch_size=1)
Step 1: Initialize transformation function
def transform_fn(data_item):
images, _ = data_item
return images
Step 2: Initialize NNCF Dataset
calibration_dataset = nncf.Dataset(dataset_loader, transform_fn)
Step 3: Run the quantization pipeline
quantized_model = nncf.quantize(model, calibration_dataset)

PTQ and QAT were conducted following https://github.com/naseemap47/YOLO-NAS. But it doesn't work.

Could I possibly get some help?
Thank you so much.

How does it leak for images? Doesn't it stop after each image?
You can try checking the output casting. I think it has something to do with going from int to float.

It seems to occur only once when creating an object of the YoloNAS class. I will check this part a little more.
I am thinking similarly, but I still can't find a way.

Thank you so much for your reply.


Bug in Sentence Offset

Hello, I want to report a bug. I have a Sentence like this:
As a administrator, I want to refund sponsorship money that was processed via stripe, so that people get their monies back.
When I try to convert it to CoNLL the span is not converted well. I then debug the library and found that the offset is wrong. Here is the output of the offset:
As 0
a 3
administrator, 3
I 20
want 22
to 25
refund 30
sponsorship 37
money 49
that 55
was 60
processed 64
via 74
stripe, 78
so 86
that 89
people 94
get 101
their 103
monies 111
back. 118

As you can see, in the second and third lines, the offset is the same (3 and 3, while It should be 3 and 5). This behavior makes the span undetected in the conversion process.
It seems that the get_offsets function in utils.py checks the equality in the sequence of characters to decide about the offsets.
def get_offsets(
        text: str,
        tokens: List[str],
        start: Optional[int] = 0) -> List[int]:
    """Calculate char offsets of each tokens.

    Args:
        text (str): The string before tokenized.
        tokens (List[str]): The list of the string. Each string corresponds
            token.
        start (Optional[int]): The start position.
    Returns:
        (List[str]): The list of the offset.
    """
    offsets = []
    i = 0
    for token in tokens:
        for j, char in enumerate(token):
            while char != text[i]:
                i += 1

            if j == 0:
                offsets.append(i + start)
    return offsets

It will be a problem if the last character of the previous word is the same as the first character of the next word. I'm still looking for a fix to this problem.
Cheers

I manage to solve the problems with this modification in utils.py. It basically check what I mentioned in the above issues, if the last character of the previous word is the same as the first character of the next word.
def get_offsets(
        text: str,
        tokens: List[str],
        start: Optional[int] = 0) -> List[int]:

    """Calculate char offsets of each tokens.

    Args:
        text (str): The string before tokenized.
        tokens (List[str]): The list of the string. Each string corresponds
            token.
        start (Optional[int]): The start position.
    Returns:
        (List[str]): The list of the offset.
    """

    offsets = []
    i = 0

    same_char = False

    for k, token in enumerate(tokens):
        if token[0] == tokens[k-1][-1]:
            same_char = True
        else:
            same_char = False

        for j, char in enumerate(token):
            while char != text[i] or same_char:
                i += 1
                same_char = False

            if j == 0:
                offsets.append(i + start)

    return offsets

I don't know if it's the best solution. But it works for me, and luckily my NER model improves :)
Regards


BrainVision reader treatment of info['lowpass']

Currently the BV reader sets info['lowpass'] to the lowest filter that was applied to any channel. I think this should be changed due to:

Inconsistent with how we treat this field in raw.filter(..., picks=picks), which only sets it if all data channels are filtered.

Dangers during decimation. Users can easily assume data are sufficiently low-passed when they are not, and get aliasing during epoching.

Dangers during processing. Users can have artifacts they think they have suppressed (e.g., line noise) when they have not.

Advantages of the existing approach (supported by @jona-sassenhagen and @palday):

It is potentially more conservative from a filtering-induced artifact approach, at least for info['highpass'].

It is dangerous to say e.g. info['lowpass'] = sfreq/2. when some of the channels have actually been filtered, as users may think they can analyze data in regions that have been suppressed.

@agramfort @dengemann thoughts on this one?

+1

I can implement this (it is a trivial change from a code standpoint), but a few questions for further thought:

Should we implement some method / have an optional return value from the BV reader with a list of channels and filter settings so that the user can see what the original values were?

Does it make sense to have an API change to support the old behavior? Something like  heterogeneous_filter='strongest'|'weakest' with the default in 0.13 being strongest and changing to weakest in 0.14 (much like the recent changes to the FIR filter settings)?

to me it's a bug and I would not change API for this.
it's a bug fix.

can this be closed?

Close it, we can finish off any remaining bits in the PR (#3593).


Add to Gateways Section

Problem Description
Purpose
Describe what need this projectr is filling, or what problem is sovling, and who the intended audience or end user is
Proposed Solution
Daneil's Blog: https://blog.ipfs.io/2022-06-30-practical-explainer-ipfs-gateways-2/
Where Can we find out more about this topic?
Additional context
Add any other context or screenshots about the feature request here.
Milestones
1) Milstone Name Text
2) Milstone Name Text
Acceptance Criteria
Describe the out put and criteria for this output for considering this task completed

Duplicate of IPFS update ticket


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Regex changed so it matches only user names starting with letters


Prefixing version number in release titles?

Hello! I'd like to ad ALO to https://libreav.org/updates but it's not possible to parse the version from the feed because the version number isn't in the title.
Could it be possible to edit the existing release titles so they have the version number at the start or end? Then I can regex the rest of the title text away.

I've updated the titles - is that what you need?

I've updated the titles - is that what you need?

Yes, thanks, that's great!

Yes, thanks, that's great!


AudioStream, from Turboloader

For compatibility with Turboloader projects (we'll add a default extension URL again). Won't be listed on homepage (another extension should fill that roll) Submitted with permission from original author.

a toast, to turboloader project support.

 a toast, to turboloader project support.

agreed, it's real!!

 a toast, to turboloader project support.

agreed, it's real!!
cheers!!!

Who knows what's next!


Requirements are uncompatible

Similar issue : #375
I am trying to run the semantic_segmentation.ipynb notebook which requires the MMCV library.
I tried installing MMCV and mmsegmentation as specified by the requirements-extra.txt, which specifies the mmcv-full==1.5.0, but I think this requirement is incompatible with torch==2.0.0 from requirements.txt.
This results in a build error :
      ...

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-b3rmsfn9/mmcv-full_c769ad7fee444417994e0233614b59ac/setup.py", line 393, in <module>
          setup(
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/__init__.py", line 155, in setup
          return distutils.core.setup(**attrs)
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 148, in setup
          return run_commands(dist)
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
          dist.run_commands()
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
          self.run_command(cmd)
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
          cmd_obj.run()
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 368, in run
          self.run_command("build")
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
          cmd_obj.run()
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
          cmd_obj.run()
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 79, in run
          _build_ext.run(self)
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
          self.build_extensions()
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 843, in build_extensions
          build_ext.build_extensions(self)
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 448, in build_extensions
          self._build_extensions_serial()
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 473, in _build_extensions_serial
          self.build_extension(ext)
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
          _build_ext.build_extension(self, ext)
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 528, in build_extension
          objects = self.compiler.compile(sources,
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 658, in unix_wrap_ninja_compile
          _write_ninja_file_and_compile_objects(
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1574, in _write_ninja_file_and_compile_objects
          _run_ninja_build(
        File "/home/antoineaudras/.pyenv/versions/3.10.14/envs/dinov2/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1909, in _run_ninja_build
          raise RuntimeError(message) from e
      RuntimeError: Error compiling objects for extension
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for mmcv-full
  Running setup.py clean for mmcv-full
Failed to build mmcv-full
ERROR: Could not build wheels for mmcv-full, which is required to install pyproject.toml-based projects

If you inspect the link mim or pip try to get the precompiled mmcv from : https://download.openmmlab.com/mmcv/dist/cu117/torch2.0.0/index.html
You can see that there is no binary pre-built for these specific requirements.
Moreover, by looking at the release page for MMCV, we can see that pre-built binaries compatible with Torch v2.0.0 start with MMCV v1.7.2

I would have liked to run the experiment with the latest MMCV version, but unfortunately the 2.0.0 release introduced breaking changes making it incompatible with the code from the notebook.

yep i am unable to even build the env

I have managed to get a frankensteinish setup going, I installed dinov2 requirements without xformers and torch==1.11 (to satisfy the requirements-extras.txt because Torch v11.1 is the last version compatible with MMCV v1.5.0) compiled with CUDA 11.5. Then I installed mmcv-full v1.5.0 and mmsegmentation==0.27.0.
This can run the code but I get CUDA out of memory errors. My best guess is that xformers is required to reduce the model's size and without that dependency the models just don't fit into my VRAM. Or this could be a completly unrelated error, who knows
¯ \ _ (ツ) _ / ¯ .
Anyway the choice of using MMCV is more than questionable, this library is a complete dumpster fire.

can you share a docker file for this ?

@Antoine-Audras  https://github.com/facebookresearch/dinov2/pull/370
try this out

Hey @Antoine-Audras and @ayushnangia , I am having issues setting up a virtual environment to run the segmentation.
Why are you using CUDA 11.6? It looks like CUDA 11.7 it's the suggest one according to the requirements.txt

Why are you using CUDA 11.6? It looks like CUDA 11.7

It was the latest version that was compatible with the version of MMCV and Torch I was trying to run (I tried to deduce that from the compatibility matrix, but turns out the info is only partially right).
But now I have managed to set up an environment with the required specs. All you have to do is : install requirements.txt, install openmim and with that install the required version of MMCV and mmsegmentation. If you try to run the experiment at this point you will have a message about a missing _ext file. In order to fix that, you have to build MMCV from source with the right version of Torch and CUDA (I used 2.0.0 and 11.7 respectively, as specified by the requirements) and then you should find the _ext file in the build artefacts (something like mmcv/build/lib.linux-x86_64-3.10/mmcv/_ext.cpython-310-x86_64-linux-gnu.so) and copy it in your mmcv folder in your python site-package (where your packages are installed).
Anyway, as I have stated before, MMCV is a garbage library that should never be used, all it does is obfuscate code and make it harder to reproduce the results from the paper.
Hopefully that will help.

I wasn't able to use openmim due to firewall restrictions, but I was able to get the segmentation notebook running with only pip install, using CUDA 11.7, torch==2.0.0, torchvision==0.15.1, mmcv-full==1.7.1, and mmsegmentation==0.30.0.


Use Build Farm Packages for mrt_cmake_modules and lanelet2

The packages mrt_cmake_modules and lanelet2 have been released to the ROS build farm so there is no need to build them from source.

Closed by #5.


[Event Hubs] Processor Test Scenario

Summary
The focus of these changes is to add a scenario to the event processor tests to validate that a checkpoint can be created from cached ProcessEventArgs after the processor has stopped.

API change check
API changes are not detected in this pull request.


How to build rewrite branch?

Hello,
While trying to build the rewrite branch, I came across this error:
make: *** No rule to make target `$(ISO)'.   Stop.

What should I do? Is there a build script that I should run?
I already have cross-compiling utilities, as listed in the Makefile.

well that's odd, how did you clone?

I used Git to clone it. I made sure to use --recursive.

that's weird
Did you only run make?

Yeah. Should I have built Limine or echfs?

try doing this: git clone https://github.com/Abb1x/emerald -b rewrite --recursive && make

It still gives me the same problem. I even tried building Limine.

that is very weird TBH, I don't know what could cause this. Works fine for me

Oh well. Thanks for trying. I'll update this when I figured it out.

I finally got it to compile, but I think I may have found more problems.
GCC gave me an error, saying that stdio.h was not found in log.h.
I think it's trying to include it because the macro HOST is defined.
Do you know why it's checking for HOST?
Full error message:
-e CC [%] src/lib/emerald/log.c
In file included from src/lib/emerald/log.c:7:
src/lib/emerald/log.h:17:14: fatal error: stdio.h: No such file or directory
   17 | #    include <stdio.h>
      |              ^~~~~~~~~
compilation terminated.
make: *** [build/host/src/lib/emerald/log.c.o] Error 1

That's for linux compilation, the option shouldn't be enabled unless you're running tests or building the library

What is the library, and should I try building it first?

The kernel's library, just running make after cloning should work fine. I don't know what's wrong.

Okay, I've got it compiled. It runs in the emulator, but with a minor issue. I'll open a PR for a build.md file with instructions to build.


When SSL feature warnings, aggressively direct people to upgrade

test failures look unrelated

:custard:!

If you are interested in the science that prompted that, over the past 3 days:

requests downloads are 19.1% python 2.6
urllib3 downloads are 12.5% python 2.6

Looking to drive those numbers down by getting people to ugprade

Great stuff, love wording improvements like this. Happy to try out other stuff too if you have ideas.


low cpu&gpu load also long epoch times

My configuration:

Intel i9 12900
NVIDIA GeForce GTX 2080 super 8GB
128.0 GB RAM
Windows 10 Pro 22H2
Python 3.8.18

When I start training, each epoch takes about 750~800secs, and also the CPU and CPU loading is just really low.., but the GPU memory is almost used.
Did anyone have some idea, how to fix this problem?
![image](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/assets/94160194/46a06d0b-3773-4f2a-9003-98bb05affb0e

Same here. During processing and other tasks the hardware was going full tilt, however training seems to be behaving in an odd way. Ryzen 5 7600X, RTX 2080, 24G RAM.


UPSTREAM: : Update dockerfile to go 1.17

Update the Dockerfile used to build the CCM, and vpc-controller,
to Golang 1.17, to match the opensource requirements.

Test failure is the same one we have been seeing, requiring an update from the IBM-Cloud repo
 === RUN   TestNewCloud
W1116 15:11:12.925307   15248 client_config.go:615] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
    ibm_test.go:77: Unexpected cloud created: &{ibm 0xc000348000 0xc000344780 0xc0003ac5c0 map[] 0xc0010dc700}, <nil>
--- FAIL: TestNewCloud (0.01s)

Requires this commit in order to work
https://github.com/openshift/cloud-provider-ibm/pull/17/commits/ae5aedaee2fc4c128dc48b7a52f30ba75db5a9d9

/override ci/prow/test


Update README.md

In the acknowledgements, I just corrected my last name. It is Sajedi. Thank you.

Sorry for the miss.


data download stops abruptly with an error message

Following is the error message, please advice.

downloading https://www.kaggle.com/c/carvana-image-masking-challenge/download/metadata.csv.zip
Something wrong here, Incorrect file !
downloading https://www.kaggle.com/c/carvana-image-masking-challenge/download/train_masks.zip
train_masks.zip N/A% |                                                                                | ETA:  --:--:--   0.0s
Warning:download url for file train_masks.zip resolves to an html documentrather than a downloadable
file.
See the downloaded file for details.Is it possible you have notaccepted the competition's rules on the kaggle website?
train_masks.zip   4% |####                                                                                | ETA:  0:00:54 408.8 B/sValue 23552 is out of range, should be between 0 and 23337

Do you accept the competition rules on Kaggle's competition page before issuing the command?

Yes, i had done that already.
On Mon, 31 Jul 2017 at 5:51 AM, floydwch<EMAIL_ADDRESS>wrote:

Do you accept the competition rules on Kaggle's competition page before
issuing the command?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/floydwch/kaggle-cli/issues/41#issuecomment-318940626,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPLM4bkmlrPgLaEJ3COj6laIp6gU58tks5sTR4QgaJpZM4OnqWN
.

--
(Handheld)

It's weird, can you paste the content you downloaded?

I'm going to close the issue, if you still have problem, feel free to open issue.

@floydwch Not able to reproduce it now. Will re-open if I'm able to, thanks!


Add callback getting CC of RO & TAR (fixes #463)

Hi Prathiba,
if correctly solved, please not just comment, but also merge feature branch (openBackhaul/issue463) into release branch (alt-v2.0.2_spec). Many thanks.
Best regards, Thorsten


Extract a generic type for all POST and PATCH requests

AS a developer
I WANT useful abstractions
SO THAT we encapsulate similarities and avoid duplication.
Description:
It looks like all POST and PUT requests in the Bank API have the same root-level structure:
{
  "message": { <different structure depending on request> },
  "node_identifier": ...,
  "signature": ...
}

Thus, we should extract a generic type that represents this structure, and allows inserting different types of messages. Also, we should adjust or remove any redundant DTOs.
The only exception I can see is /blocks, which has an account_number instead of node_identifier.

@IanArb: Please check if the description, labels etc are okay.

Hey @petersommerhoff looks good as it is appearing on the website. https://thenewboston.com/tasks/Kotlin-SDK

Cool, didn't even realize they are automatically shown on the website :) Is it based on the labels?

Yep once you add the coins label it will appear on the website.

Can I Be assigned this?
Do you think an abstract class or interface would be better for this?

Can I be assigned to this

@tomijaga Sure! done.

@IanArb   Because message has different structures depending on the request I made it of type Any.
But I am having trouble serializing it because the Any type is not supported.
I used @Contextual to pass this but the Post request test did not return a response.
Do you have any ideas on how I can solve this problem?

Hey @tomijaga can you give me a code snippet sample?

It runs when i do this:

But fails when I switch it to Any

Also, @IanArb
https://github.com/thenewboston-developers/Kotlin-SDK/pull/89#issuecomment-749752740
Thanks!

Any is a Kotlin type and you did not annotate it with @SerialName to serialise it. However I don't think this is a good solution. Since we telling the compiler to cast an object at runtime which isn't ideal.
I think it'd be best if we just created an abstract class or an interface to expose common properties like nodeIdentifier and signature which a data class can override. Then you create whatever message data class for the type of request.
An example
abstract class PatchRequest {
    abstract val nodeIdentifier: String
    abstract val signature: String
}

Implementation
@Serializable
data class UpdateTrustRequest(

    @SerialName("message")
    val message: TrustMessage,

    @SerialName("node_identifier")
    override val nodeIdentifier: String,

    @SerialName("signature")
    override val signature: String
) : PatchRequest()

Not sure if this is what @petersommerhoff recommended approach is but would like to hear his thoughts too.

I don't have a complete solution in mind, but I was thinking more in the direction of a generic type.
Something along the lines of:
data class PostRequest<T : Message> (
    val message: T,
    val signature: String,
    val nodeIdentifier: String
)

where Message would be just a marker interface.
And then you could do
typealias UpdateTrustRequest = PostRequest<TrustMessage>
@IanArb @tomijaga I'm happy if you have any feedback. I think it's a bit cleaner than inheritance but maybe I'm missing some drawbacks.

Also, Merry Christmas! 🎄😄

I see where you are coming from now @petersommerhoff I implemented the solution for the PostRequest and we had to add a deserialiser for generic types. This was an issue spotted in https://github.com/ktorio/ktor/issues/1783
@tomijaga I will push a branch pushed to remote with this implementation above for the PostRequest.

@tomijaga
Checkout branch improvement/generic-post-data-class
Look for PostRequest.kt where you will see an example for TrustMessage.

@petersommerhoff @IanArb
Merry Christmas 🎄
@IanArb I'll check it out

Post Request

This runs

But this returns an error

Hmm.. sounds like we can't register multiple serialisers of the same type. Would need to investigate this more on how Ktor supports serialisation with generics.

Hmm.. sounds like we can't register multiple serialisers of the same type. Would need to investigate this more on how Ktor supports serialisation with generics.

Has anyone looked into this?


Send logs to my remote grafana server?

I have a remote grafana server that i want to use .
From your guide, I can not find any where to config remote grafana server.
please help~

Hey @brianjojoray, you need a Prometheus server to collect the metrics and a Grafana server to visualize them. They can be anywhere in your network, as long as they can reach your farmer. Then you need to configure Prometheus as described in the README and add it as data source to Grafana. After that, you can import the dashboard and should see your farming metrics.


lodash.js made webpack compatible

Avoiding the warning:
WARNING in ./~/graphlib/lib/lodash.js
Critical dependencies:
5:3-10 require function is used in a way, in which dependencies cannot be statically extracted

thrown by webpack.

Thanks!


missing script: build-local

When typing the command "npm run build-local" the error "missing script: build-local" appears. How can you fix this? Thank you

Hi thanks for the report,
npm install
ng serve

Should launch the front-end in local at http://localhost:4200
Don't forget to launch the backend too.

thanks it worked


Tack instance of DTConfig onto pytest config object

can we tack a DTConfig instance to pytest's own config object? The latter is being passed around by pytest anyway, so would be nice to use it.
https://github.com/ev-br/scpdt/issues/81#issuecomment-1719567478

made DTConfig instance an attribute of pytest's config object`
passed instance of DTChecker directly to the runner's checker parameter.
The DTChecker does the vanilla doctest check which seems to use its own _get_checker function that does not take a config argument.

Closes #81

LGTM, thanks Sheila!


Fix and improve some locales #7

Add i18n in some strings that are missing translations.
Improve and translate PT_BR locales.
It closes #7

sorry for delay
thanks!


Support reconnection between sidecar and broker for RabbitMQ bindings

Description
Support reconnect to RabbitMQ when RabbitMQ restarts or closes the channel with daprd.
Also, continue consuming messages after reconnected.
New metadata property:

reconnectWaitInSeconds  delay before reconnecting, in seconds

Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will fix: #2509
Also fix: dapr/dapr#5103
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@berndverst good to merge?

@Taction can you please open a PR in dapr/docs to document the new metadata?
@berndverst is this good to merge? Would appreciate your review too

Docs issue and pr created.


Add elastic search logs to We Vote splunk

Hi Joe, it would be awesome if we could get Splunk searching the elastic search server's logs as well.

Now indexing ES logs to splunk. NOTE: they are very very boring, nothing has been written since 2016, around when the server was launched.

Thank you Joe. May they remain boring. :)  I just want to be able to find errors if search ever runs into any.


Manifest - Offline Enabled

https://developer.chrome.com/apps/manifest/offline_enabled

Fixed in 76fe4cbc3629d842498acea1b24f24bda38c3c7d


Minor fixes and updates to the names (pt-BR)

Hello!
Well... While playing we see a lot of strange things, so this update was needed...
xD
See ya!

What the Heavens?! Aparently, Github was identifying the lang file as if it was duplicated... Finally I've maneged to fix it... Now it is able to merge automaticly...

Thanks a bunch!


Automatic unfocus when focusing the Text field

I am having a problem when trying to focus on the auto_complete textfield. when I tap the field the keyboard shows up but gets dismissed very quickly. the itemSubmittedFunction si not called here.
I do use this textfield with native flutter textFields and that sometimes causes some focus jump, where the focus starts on this field when tapped and then jumps automatically to the next field.
here is my code :
AutoCompleteTextField<Album>(
      /*textChanged: (string){
                                this.album=string;
                              },*/
      suggestions: this.albums,
      itemBuilder: (context, currentAlbum) => new Padding(
          child: new SelectableTile.mediumWithSubtitle(
            subtitle: currentAlbum.artist,
            imageUri: currentAlbum.albumArt,
            title: currentAlbum.title,
            isSelected: currentAlbum.title == this.album,
            selectedBackgroundColor: MyTheme.darkRed,
            placeHolderAssetUri: "images/cover.png",
            onTap: (value){
              albumTextField.triggerSubmitted();
            },
          ),
          padding: EdgeInsets.all(8.0)),
      itemSorter: (a, b) => a?.title?.compareTo(b.title)??1>0 ? 1 : 0,
      itemFilter: (suggestion, input) =>
          suggestion.title.toLowerCase().startsWith(input.toLowerCase()),
      style: TextStyle(
        color: Colors.white,
      ),
      decoration: InputDecoration(
        hintText: this.album!=null && this.album!=""?this.album:"Add an Album title to this song",
        hintStyle: TextStyle(
            color: MyTheme.grey500.withOpacity(0.6)
        ),
        enabledBorder: OutlineInputBorder(
            borderSide: BorderSide(
                color: MyTheme.grey300.withOpacity(.7),
                style: BorderStyle.solid,
                width: 1
            )
        ),
        focusedBorder: OutlineInputBorder(
            borderSide: BorderSide(
                color: MyTheme.grey300.withOpacity(.9),
                style: BorderStyle.solid,
                width: 2
            )
        ),
        floatingLabelBehavior: FloatingLabelBehavior.always,
        labelText: "Song Album",
        labelStyle: TextStyle(
          fontSize: 17,
          color: MyTheme.darkRed.withOpacity(.8),
          fontWeight: FontWeight.w500,
          letterSpacing: 1.4,
        ),
      ),
      itemSubmitted: (data) {print("submitted"); setNewAlbum(data); },
      key: albumSuggestionKey,
    );

Album and SelectableTile are my own classes.

Hi, I'm facing the same issue, did you found any solution?

Hi, I'm facing the same issue, did you found any solution?

For anyone in the future, in my case I had key: new GlobalKey(), I replaced it with a key in the global scope GlobalKey<AutoCompleteTextFieldState<...>> key = new GlobalKey();


Reduce $color-amber lightness to make white on amber colour combination accessible

Reduce $color-amber lightness to make white on amber colour combination accessible. New HEX colour to change to #FF600A
Originally posted by @JNATION85 in https://github.com/ONSdigital/design-system/issues/232#issuecomment-650080998

This deviates from the agreed ONS colour palette orange.

This has already been implemented in this PR

Because this has already been implemented, i'll close this. If it is an issue though, raise another issue and we will prioritise it and add it to our backlog.


[ign-tools1] Workflow updates

Add labeler workflow
Add triage workflow
Add Ubuntu CI workflow with Codecov upload
Add CODEOWNERS

This branch has no tests or coverage reports. So good to go!


Added Quadratic Root Calculator

Pull Request
Description (required)
Added a quadratic root calculator that can calculate root of the quadratic equation. Also resolve the conflict
Checklist (required)

[x] I have read and understand the contribution guidelines.
[x] I have tested this code.
[x] I have updated the documentation.
[x] I followed the standards described in the README.
[x] I have reviewed and addressed any comments and feedback.

Screenshots (optional)
If applicable, add screenshots that help visualize the changes you made.

Related Issues (required)
Issue: #41  [Link to any related issues or tasks.]

@RuanAragao Please merge it i have resolve the grammatical error. If you don't merge it first it will become an infinit loop of the conflict.


Core tokens removed from station

Dinheiros, reis, escudos and alem have been removed from terra station.
This is a project I have been dedicating full time of my attention socially technically and personally.
I have been treating the markets with respect always selling and buying my own currency when in need of exchange, never withdrawing or playing with pool sizes since release.
I was immensely excited with the new release on station and the fact I was listed.
After noticing a bug happening in only one of the tokens, dinheiros, not being able to be bought even if it had more liquidity than the other 3 tokens(also not the first bug I report, and is validated from my side(I also identified a UI bug for the terraswap team that was fixed straight away), I like to be an engaged and respectful community member)
And as a reward of noticing a bug all my tokens were removed from the list!!!
This makes me and my investors very sad.
Will you please restore the tokens back on terra station? Or at least tell me how much liquidity I need to have to be relisted. (And it would be sad if you would have a liquidity minimum, specially in such a beginning stage where there are so little tokens this is an amazing opportunity from small devs that believed in the project from the begining and are dedicated to create great things, like my self)
Keep up the good work(other than this small bump)
Thank you,
Diogo

Only pairs with $50k+ of liquidity are listed to the Station. The reason is to protect the users as you might expect. Of course you can also trade less liquid pairs by accessing tfm.com directly.

Good luck with that.  I thought you guys were cool. I
was wrong. Migrating to classic. Bye bye
On Fri, Sep 16, 2022, 07:12 심철환 @.***> wrote:

Only pairs with $50k+ of liquidity are listed to the Station. The reason
is to protect the users as you might expect. Of course you can also trade
less liquid pairs by accessing tfm.com directly.
—
Reply to this email directly, view it on GitHub
https://github.com/terra-money/station/issues/105#issuecomment-1248957255,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHXPSW6UY4WQSAMP63YUYNDV6QFTFANCNFSM6AAAAAAQNS7QRI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Export to Excel omits values for numeric columns

I'm submitting a ...  (check one with "x")
[X ] bug report => search github for a similar issue or PR before submitting

Current behavior
The demo in https://www.ag-grid.com/javascript-grid-excel/exampleExcel.html omits the values for numeric columns, including age, year, gold, silver, bronze, and total.
See attached file.
ag-grid-export-demo.zip
Expected behavior
All column values should be exported.
Minimal reproduction of the problem with instructions
Visit this link and click the Export to Excel button.  Examine the resulting file.
Please tell us about your environment:
Windows 10, Chrome & Microsoft Edge

ag-Grid version: [ag-grid doc demo link]

Browser:

mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393

Language: [ag-grid doc demo link]

Thanks for reporting this - we've raised an issue our side for this: AG-269
You can track its progress here: https://www.ag-grid.com/ag-grid-pipeline/ but we will update this thread too once resolved

The fix is available in 8.1.1


Adding bundle version 4.0.2 to v4 images

Releasing new Host versions.
V3 Release
V2 Release

PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] If applicable, the PR references the bug/issue that it fixes in the description.
[ ] New Unit tests were added for the changes made and CI is passing.

@soninaren - please update PR description with changes in the Image size after including bundles V4

Adding notes from @mattchenderson from offline conversation:
But just as a curiosity, I decided to do a quick analysis from within a container:
du --summarize azure-functions-host FuncExtensionBundles -h
260M    azure-functions-host
401M    FuncExtensionBundles

So I think the host has some opportunity, but also the Bundles, which include all the runtime targets. I assume this is because we’re not doing split manifests by platform, and maybe we should.
86M     FuncExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/3.15.0/bin/runtimes
86M     FuncExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/2.17.0/bin/runtimes

ls FuncExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/3.15.0/bin/runtimes
linux-arm64  linux-x64  osx-x64  unix  win  win-arm  win-arm64  win-x64  win-x86  win7-x64

And within those, it looks like there’s a lot of chunky native dependencies (namely SQL clients) brought in…

But there’s also… what looks to be V3 stuff baked in as well?
83M     FuncExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/2.17.0/bin_v3
91M     FuncExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/3.15.0/bin_v3

If I rip out V3 and everything that isn’t, let’s say… linux-x64, then we’re talking about a savings of ~301MB. That’s a start, maybe.

@pragnagopa, have made the following changes, and captured the information as requested

Delete other runtimes from V2 and V3 bundles

Only add AMD64 binaries
-> Removed bin directory as it was not needed for v3 and v4 images.

Capture Image size changes
-> v3 image without bundle v4 ()
v3 image with bundle v4 ()
v4 image with bundle v4 ()
v4 image with bundle v4 ()

Images
Description
Size

3.0\buster\amd64\dotnet\dotnet-inproc\dotnet.Dockerfile
Includes bundle v4 (with bin directory deleted)
928 MB

3.0\buster\amd64\dotnet\dotnet-inproc\dotnet.Dockerfile
Does not include bundle v4
1.15 GB

4\bullseye\amd64\dotnet\dotnet-inproc\dotnet.Dockerfile
Includes bundle v4 (with bin directory deleted)
735 MB

4\bullseye\amd64\dotnet\dotnet-inproc\dotnet.Dockerfile
Does not include bundle v4
860 MB

@soninaren - thanks for the updates!
Please update the PR description to include sizes for all the images as this PR is about including new version across all of them.

@CooperLink - please review!

@pragnagopa can you approve?

Please capture size for each image and also screen shot of the directories in extension bundles

Thanks @pragnagopa
I have information from 27 out of 51 images.


Cache last,error,resulting events in Redis

Backrground
For better transparency and diagnostics EventNative should be able to "answer" the following questions

What are the last N events which has been injected
How each of those events is transformed to DB record
What are the last N events that are didn't went to DB due to error and what is this error?

Implementation
Now, we have an API call  for question #1 ("What are the last N events which has been injected"). However, the events are being kept in memory. It means a) no persistence across restarts b) to get the full picture a client should query the data of each node.
We're going to switch from memory to Redis (which still should remain optional: no Redis no diagnostics, but system is still functional).
Here are the "table"

Name: last_events /Key: timestamp/event_id /Value: event_json, db_record, error

{
  "destination_id": "<id>",
  "table": "<id>",
  "record": [
    {
      "field": "<name>",
      "type": "sql_type",
      "value": "value"
    },
    ...
  ]
}

API Endpoint is described in documentation


some tickers are not working in version 1.47

Ran,
Some tickers are not working in version 1.47
Examples:
yf.Ticker("BRLEUR=X")
yf.Ticker("BTC-USD")
version 1.45 working perfectly !
version 1.47:
Traceback (most recent call last):
  File "cotacoes.py", line 6, in <module>
    print(bitcoin.info)
  File "/Users/rmerces/LABS/alexa-skills/.venv/lib/python3.7/site-packages/yfinance/ticker.py", line 122, in info
    return self.get_info()
  File "/Users/rmerces/LABS/alexa-skills/.venv/lib/python3.7/site-packages/yfinance/base.py", line 360, in get_info
    self._get_fundamentals(proxy)
  File "/Users/rmerces/LABS/alexa-skills/.venv/lib/python3.7/site-packages/yfinance/base.py", line 263, in _get_fundamentals
    for item in data['esgScores']:
KeyError: 'esgScores'

Running in Python 3.7

Thanks for the heads up! I've fixed that in 0.1.48

Thanks!


Improve current operation display format

Hello, I implemented a fix for issue: #12
Updated string_of_operation function in interactive_viewer.ml to provide a clearer and more explicit representation of the current operation. This change will enhance readability and simplify the display format.
Please review!

@Julow I have implemented suggested changes

Thanks @panglesd, Changes implemented

I have implemented the changes

Thanks @Dezzy12 for your nice contribution!

@Dezzy12 Congrat for the fantastic work! We need a diff file that contains all the operations to properly test this feature. What do you think of solving this issue ? https://github.com/panglesd/diffcessible/issues/28

Thank you @Julow
And yes please assign the issue: #28


ci: do not push after release

Ok so we did a first successful release 🎉
However some thing were not set up correctly to work with Hyperledger permissions and branch protection. Basically it comes down to that we cannot create a commit, so we can't update the version in package.json
To get around this I made the following changes:

Do not push new commits to github (only releases, this is not protected)
Do not create a commit
Make the tag on the current commit instead of the version bump commit
Take the current version from the latest tag that belongs to this branch instead of package.json (i.e. the tag must be on a commit that is in the history of this branch)
Keep the version in package.json to 0.0.0

I know this is 100% ideal, but without being able to push to the main branch it's quite complex to create a version commit. So I'm quite happy with this approach.

Codecov Report

Merging #244 (2c648cb) into main (c43fecf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #244   +/-   ##
=======================================
  Coverage   88.99%   88.99%
=======================================
  Files         177      177
  Lines        3362     3362
  Branches      386      386
=======================================
  Hits         2992     2992
  Misses        367      367
  Partials        3        3

Continue to review full report at Codecov.

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


[FEATURE] v4/broker/rabbitmq: Support for setting the type and name of exchange

In our usage, We only use the default exchange or the fanout exchange, but now the rabbitmq plugin only use the topic exchange. So, I hope this plugin could set the type and name of exchange by myself.

feat(broker/rabbitmq): support for setting the type and name of exchange

Close this issue cause the pr(https://github.com/go-micro/plugins/pull/88) has been merged.


Use of scaler for continuous variables

I am learning how to use LIME to explain my data/model. When I was using "lime/doc/notebooks/Using lime for regression.ipynb", I found that when running "explainer.scaler.scale_[12]" the result is 1 rather than stddev it should be (and mean_[12] is 0). I read the source code and it turned out in the parameter, if set "discretize_continuous = True", which is the default, it's gonna discretize all the continuous variables and treat them as categorical features.
So I guess it means all the variables are transformed to binary categorical variables (e.g., continuous variable A became four variables [ 'A < -1', '-1 <= A < 100', '100 <= A < 1000', 'A >= 1000']), and the weight is the linear regression coefficient of all the binary variables? Also I guess at the point that ipynb was written, you may not have the discretize implemented so the continuous variables still got scaled?
Since all variables are converted to categorical if use default setting (discretize_continuous = True), the scaler is actually not used (all mean = 0 and scale = 1), and the distance is not used for weighting. Also since if use the default setting (discretizer='quartile'), the continuous variables transformed into 4 binary variables, so when I change the value of the variables, the prediction should only change when they fall into another quartile bin.
Anyway, I am just trying to figure out what is best for my data, as I feel 'quartile' may not be enough for my data, so I may try set discretize_continuous = None or use 'decile' instead of 'quartile'. Thanks for developing this package! : )

Please ignore that notebook : ). There is a pr that should make regression easier.
Anyway, to your question:
The reason why the default behavior for tabular data is discretization is that it is hard to reason about weights with non-discretized data, since you end up having to multiply the weight with the feature value to get the 'contribution'. Then you get 'double negatives' (positive contribution), and the like.
You are right that the distance is not used for weighting when discretization is on. That is a bug.
You are also right in noting that if the discretization is too broad, the explanations may not be appropriate. I would recommend trying deciles, or even trying discretize_continuous=False, but with the caveat that explanations require a little more thought for interpreting in that case.

Thanks! That's very helpful.
I was trying to get the top 3 explanations/features for about 300K records for a model with 150 variables, and it took really long (a few days). I am wondering if it should take this long or it's because the way I am using it. I have an xgboost model and I cannot use xgboost classifier in sklearn because I have to use monotonic constraints of xgboost, so I wrote this predict_fn to make the prediction of xgboost work with LIME (I have binary tag):
sample_size=5000
n_features=150
def predict_fn(x):
df = pd.DataFrame(x.reshape((sample_size,n_features)), columns=features)
dtest = xgboost.DMatrix(df)
preds = model.predict(dtest).reshape(-1,1)
p0 = 1 - preds
return np.hstack((p0, preds))
Here is how I print the reasons:
for i in range(len(X_test)):
exp = explainer.explain_instance(X_test.iloc[i].as_matrix(), predict_fn, num_features=3,   num_samples=sample_size)
print exp.as_list()
Should it take this long? or it's the workaround I am using? or as_list()?

It sounds about right.
You are having the model predict 5K * 300K times, which totals 1.5 billion predictions. If it's taking you ~3.5 days, your model is making around 5000 predictions per second, which is about what I would expect depending on your machine.
If you want to make it faster, make the sample_size smaller.


Config commands crashing when writing to flash

Currently the config is giving me massive headaches.  I'm halfway through a complete rewrite of both the firmware and utility sides but still running into issues that I'll have to setup SWD to debug if it's running out of RAM or if there is something (IRQ or DMA?) running from ROM when littlefs is trying to write to flash.
I'm very much looking at splitting the VGA mode out from the rest of the functions and having multiple firmware images available.
The VGA firmware image will end up simpler since it won't have the redirection needed for multi-function, and the multi-function firmware will drop the need for mirroring the entire 128K of Apple address space.

Fixed in 20230417 Release Build


Change in Endpoint for TestSuite droppopup

Description: The current api endpoint for TestSuite does not return the data in tree structure required for the MultiSelectTree Control
Solution: Changing the endpoint
Testing: Manual

Approved.


Save some bandwidth and allow Zxcvbn to be loaded asynchronously

By popular demand from #68 adds passwordStrength service and deprecates the shim.
The password strength service gives us the ability to use Zxcvbn
asynchronously and load it only when needed saving significant and often
unnecessary space in our vendor.js file.
Adds a build option bundleZxcvbn which defaults to true to maintain the
current behavior. When this option is set to false zxcvbn will not be
bundled into the apps vendor.js file.
There is one bit of strangeness to this. Despite hard coding the path to zxcvbn.js in my tests with a production build zxcvbn.js was fingerprinted and the path was updated automatically. I hope this is just ember being awesome, but since I don't understand exactly why it worked it would be nice to test this in other production like builds. cc/ @JoshSmith @st-h
Fixes #1

I like it!

Great. This is quite nice, but I had something a little different in mind. I changed the strength method to return an object which is able to deal with the promise and can be resolved within a template. This allows you to do something like that within a controller
strength: function() {
  return this.get('passwordStrength').strength(this.get('password'));
}.property('password'),

and in your template
<div>{{strength.crack_times_display.online_no_throttling_10_per_second}}</div>

This should be quite usefull if you only need to get simple things like the score. I like that quite more than having to deal with POJOs and handle the promise yourself.
Have a look here: https://github.com/st-h/ember-cli-password-strength/blob/6982006d5d3c8c4b1e8095f9efcf9c27fdfe689d/addon/services/password-strength.js#L39-L48

@st-h thanks for the input.  In our app we prefer to deal with an unproxied promises since we use async/await syntax in our JS files and ember-promise-helpers in our templates. This allows for something like:
passwordStrengthScore: computed('password', async function () {
    const passwordStrength = this.get('passwordStrength');
    const obj = await passwordStrength.strength(this.get('password'));
    return obj.score;
  }),

and in the template
<meter max="4" value={{await passwordStrengthScore}}></meter>

I would prefer to leave wrapping the POJO response of zxcvbn into a PromiseProxy to individual application authors and not make it the response of this library so that we support both cases.

Ah, I see. Just out of curiousity.. What do you gain by doing so? And wouldn't you still be able to use async/await syntax when a proxied promise is returned?

@jrjohnson could the password-strength service somehow expose both options to consumers?

Yes. Ok. I have added a third method to the service strengthProxy returns a promise wrapped in a proxy object. I also added some docs to the service. I'm not sure IDEs can read these, but it does make the code a bit easier to grok.

@st-h does the strengthProxy method meet you needs? If so I think this is ready to merge.

@jrjohnson lgtm 👍  Did a few quick tests as well and everything seems to work as it should. Nice idea adding both.
On another note: How do you guys feel about adding a template helper {{password-score password=...}} which already offers a fully styled indicator to add to your app? However, this could easily be a dedicated addon which makes use of this addon if you prefer to keep everything as light as possible.

I'd be in support of keeping this lightweight, as every app will have its own needs for the score and may not want to inherit any styles. Making a separate addon on top of this sounds great, though!

@elwayman02 never mind. looks like somebody already took care of that https://www.npmjs.com/package/ember-paper-password

That's awesome, @st-h! Though they will probably need a PR to handle the breaking changes in this PR once it's released.


ZO dist

ZO distribution.
with rho probability that coefficient is set as 0
with rho*0.5 probability that coefficients are set as -1, and 1 respectively.

@carlosaguilarmelchor Actually I am not 100% sure how to sample in the RNS format.
That is, we want a distribution over Z_Q but Q is decomposed as multiple smaller primes Q = q_1 * q_2 ...
In this RNS format, can we just sample separately over Z_{q_1}, Z_{q_2}, ... ?

@carlosaguilarmelchor I have applied the difference: re-define the ZO distribution, and fix the description.

Hi @fionser, thx for the changes, only an issue remains on the uniformity of the index in the reservoir sampling !

Hi @fionser, thx for the changes, only an issue remains on the uniformity of the index in the reservoir sampling !

Thanks for the "reject sampling" suggestion. I pushed a new commit for that.

Great thanks !


chore: diff stats reporter

Summary

Test Plan

Require Documentation?

[ ] No
[ ] Yes, the corresponding rspack-website PR is __

Current dependencies on/for this PR:

main

PR #4802   👈

This stack of pull requests is managed by Graphite.

!diff

!diff


KAFKA-3857 Additional log cleaner metrics

Fixes KAFKA-3857
Changes proposed in this pull request:
An additional log cleaner metric has been added:
time-since-last-run-ms: Time since the last log cleaner run, in milliseconds.  This metric would be reset to 0 every time log cleaner thread runs. If this metric keeps constantly increasing, it indicates that the log cleaner thread is not alive.
If you are creating alerts around log cleaner, you could monitor this metric. A high "time-since-last-run-ms" value (eg: 600000) indicates that the log cleaner hasn't been running since the last 10 minutes.
The code has been tested. JMX metric has been verified.
Note: This pull request is a continuation of the following pull request.  PR#1593 was quite old and I had some trouble rebasing it. Decided to start a fresh PR.
https://github.com/apache/kafka/pull/1593/files/927b28cf41275874945beb7377f7f36c462f27c8#diff-ca1c127eee4b3c748ae73028f6abeab8

This is a continuation of an old PR https://github.com/apache/kafka/pull/1593
@junrao  Would it be possible to include this in <IP_ADDRESS>? (I believe Feature Freeze date is today)

Thanks for the patch. LGTM

Thanks @junrao


fix(node:vm): use relative import to _internal/utils

This issue is breaking the polyfill at runtime.

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Thanks for PR. I noticed this issue in https://github.com/unjs/unenv/pull/242 (sorry on phone can you please confirm if fixes?)

@pi0 checking

@pi0 yes, #242 fixed it. thanks!


Forward timeout setting to jasmine

Setting timeout is currently not possible due to jasmine2-pit not forwarding the timeout.

Thanks! I was unaware this was a public API. cc @dmitriiabramov

@facebook-github-bot shipit

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


Grafana Enhancement

Setup two Grafana dashboards
The dashboards are fully functional and show lots of useful info about the k8s cluster.
The dashboard IDs are 3119 and 6417, see screenshots below.
Use Helm to install prometheus-operator
helm install --name prometheus --namespace monitoring stable/prometheus-operator
Proxy into Grafana dashboard:
kubectl --namespace monitoring port-forward $(kubectl get pods -n monitoring|grep grafana|awk '{print $1}') 3000 &
http://localhost:3000
u: admin
p: prom-operator
Then add the two dashboards to Grafana.

Hi @AAber, these are really cool dashboards. Will you be able to send us a PR with these screenshots and some verbiage around it?


Lovely documentation - where's the download links!?

All the documentation you could wish for, but absolutely no links to *msi files for those who are not GitHub officianados!
I just want to download the Azure Virtual Desktop Agent Version 1.0.7539.5800 installer, can I find ANY link to an *msi file??? NO!!
Utter waste of time for non-dev admins!
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 3cb10266-d3ca-31b1-31a0-bd4952e6736b
Version Independent ID: 9adcd5ff-db9f-44f9-27f6-7c689839267b
Content: What's new in the Azure Virtual Desktop Agent? - Azure
Content Source: articles/virtual-desktop/whats-new-agent.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@Amey-Pieman
Thanks for your feedback! We will investigate and update as appropriate.

Hi @Amey-Pieman - just under the table with the latest agent versions, there is a link to go and download the agent:

We purposefully link to a section of another article that has a link to download the agent + the bootloader, together with the steps to install it as there are some other points to be aware of when installing it.  The what's new article is for the release notes and it's not appropriate to have the install steps here.
#please-close


fix: Remove CONNECTION_REUSE env variable, it doesn't do anything in V3 sdk.

I was doing some research and found that when you set environment variables with Lambda, it adds ~20ms in your E2E coldstart time.  This is due to Lambda making an additional call to sts:AssumeRole and kms:Decrypt to access the environment variables. I also discovered that the CDK always sets the environment variable AWS_NODEJS_CONNECTION_REUSE_ENABLED, but it has been deprecated in the AWS JavaScript V3 SDK. In V3 connection reuse is turned on by default and the variable doesn't actually do anything.  This change makes it so the AWS_NODEJS_CONNECTION_REUSE_ENABLED variable isn't set. If you aren't using environment variables you get faster coldstarts.
Note the 20ms latency doesn't appear in your Init Duration, it shows up in the E2E of a request when you call InvokeFunction and it is a coldstart.

If you aren't using environment variables you get faster coldstarts.

TIL about that. Thanks!


link to agreement should also be a modal

This just meant that the resulting link at the end is currently linked with the button directly, and then has to be copied via right-clicking or from the address bar. As most likely the link is to be copied to be used elsewhere, it would make for better UX to also display it in a modal instead of just offering as a link.


[interop][SwiftToCxx] Ignore delayedMembers in C++

This fixes a bug where an ObjC @interface declaration is emitted for a class that has a member that isn't emitted.
Resolves rdar://119835836

@swift-ci please smoke test

As commented in DeclAndTypePrinter::Implementation::printMembers, a better fix would be to mark the getters and setters of the properties as unavailable. That would require emitting unavailable types (e.g., Struct1 in the test case) earlier instead of at the end.

I think this should work!

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


[Patch 15] Add the correct link for "skip downloading"

Updated all the "skip downloading" link to the correct page. Added "Artifact download" section link.

@silviuandrica
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@arkoppan Thank you!
#sign-off

@arkoppan - we can't verify the links in the public repo. can you check that they work as intended after this goes live? thanks!


RNS SDK for Subdomains

This PR allows the RNS React manager to use the RNS SDK for registering subdomains.

We should be running the linter before pushing please

We should be running the linter before pushing, please

I will open a PR to do this automatically after committing or pushing.
This was in place before but maybe was removed due to some regression.


Provide the outsidetextfont for treemap charts

Fixes #708
Tested following the steps in the description.

We should allow specifying the name and color of the root in the API in a separate ticket. It's allowed in Plotly. Seems it's just the first item or the first item without a parent defined.

The name is specified in the data


Investigate relevance of "interested in other jobs" and "reserved or not flagged" in admissions

With the new admission overview page, these pages are probably not used a lot.
Should they be removed/changed in any way?

As this only affects us and mg-nestleder i see no reason to change it, i asked current mg-nestleder if she found it confusing or problematic in any way, but she answered that she mainly ignored the buttons. If in the future there are complaints we can look into it again, but before that we leave it as is.


go http concurrency and Goroutines do not release memory!!!

What version of Go are you using (go version)?
go version go1.6.2 linux/amd64

What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/xxxxxx/Desktop/maas"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"

Linux Development 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

What did you do?
Do many http.request to website in order to keep monitoring http or some services.

What did you expect to see?

What did you see instead?
i use command to filer: ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep test
20310 test            /tmp/go-build396582964/comm 12.0 17604 196984 17:52 root         0
20648 grep            grep --color=auto test       0.0   964 112644 17:52 john   1000
[johnkou@Development Desktop]$ ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep test
20310 test            /tmp/go-build396582964/comm 12.6 16972 196984 17:52 root         0
20673 grep            grep --color=auto test       0.0   960 112644 17:52 john   1000
[johnkou@Development Desktop]$ ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep test
20310 test            /tmp/go-build396582964/comm 11.0 24036 203036 17:52 root         0
21681 grep            grep --color=auto test       0.0   964 112644 17:53 john   1000
[johnkou@Development Desktop]$ ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep test
20310 test            /tmp/go-build396582964/comm 11.0 24284 203036 17:52 root         0
21727 grep            grep --color=auto test       0.0   964 112644 17:53 john   1000
[johnkou@Development Desktop]$ ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep test
20310 test            /tmp/go-build396582964/comm 11.0 24540 204092 17:52 root         0
21792 grep            grep --color=auto test       0.0   964 112644 17:53 john   1000
[johnkou@Development Desktop]$ ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep test
20310 test            /tmp/go-build396582964/comm 11.1 31056 210436 17:52 root         0
22886 grep            grep --color=auto test       0.0   964 112644 17:54 john   1000
[johnkou@Development Desktop]$ ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep test
20310 test            /tmp/go-build396582964/comm 11.1 30824 210436 17:52 root         0
22899 grep            grep --color=auto test       0.0   964 112644 17:54 john   1000
[johnkou@Development Desktop]$ ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep test
20310 test            /tmp/go-build396582964/comm 11.6 42492 222576 17:52 root         0
25171 grep            grep --color=auto test       0.0   964 112644 17:56 john   1000

I have already used debug.FreeOSMemory() or runtime.GC() again, but .... wow memory usage is very high and more and more!!!!   It means that if many go routine (go func()), it will not release memory!!!????
Could you see my code: https://play.golang.org/p/GxeL81eeJ2
If you want to test, please add more website url in order to expect the result.
Thanks and have a nice day.

The problem is that you are running an unbounded number of concurrent requests, each with it's own client, all competeting for bounded resources, causing them to pile up, taking more and more memory and slowing down the requests even more.
(I used the "net/http/pprof" package, explained here, to look at the goroutine blocking profile)
You should use a bounded number of goroutines for requests. The easiest way is to spawn some worker goroutines and send the URLs via a channel.
Also you shouldn't create a new http.Client for each request. Instead use a single http.Client for all requests. The http.Client is designed to be used by many Goroutines simultaneously and keeps it's own pool of connections which then can be reused for new connections (as long as you use the same http.Client).
Here is a adjusted version of your code that bounds the number of concurrent requests, keeping the memory usage to ~ 3MB (in my case). I also added some comments and change a bit of the logic to be more idiomatic.
Also note that tools like top and ps can report much higher memory usage then what is actually used. If you want more accurate values you can use runtime.MemStats as done in the code I linked.
The next time please use the golang-nuts mailing list or stack overflow before creating a new issue.

Ok, i will try your suggest and understand it, thx for your support!

I have tried your code, but the memory always more and more by RSZ and VSZ, i think go 1.6 still need to optimize GC???

Please move this discussion to https://golang.org/wiki/Questions


Facebook / Messenger / Telegram support

•	Support Facebook Messenger (messenger.com)
•	Hide Notification Count on Facebook
•	Facebook.com should always behave as if you have no new notifications. Don't display the red balloon with the number.
•	If you click on the Notifications icon, you should see all your notifications as usual. This feature only affects the Count.

duplicated to #52


Using my username and password but login with another account

I'm beginner in using yii2 framework. I have an strange problem.
Sometimes after login with my username and password in my website, it shows me another account and profile, like I use another username for login.
As I said this occurrence happening sometimes not always.
What could be related this problem? (controller, session, cookie or ....)
I think this happens when the enableAutoLogin is true
This is frontend/config/main.php:
return [
    'id' => 'app-frontend',
    'basePath' => dirname(__DIR__),
    'bootstrap' => ['log'],
    'controllerNamespace' => 'frontend\controllers',
.
.
.
    'components' => [
        'user' => [
            'identityClass' => 'common\models\User',
            'enableAutoLogin' => true,
            'enableSession' => true,
            'identityCookie' => [
               'name' => 'frontEndIdentityUser',
               'path' => '/'
            ]
        ],
        'session' => [
            'name' => 'frontEndIdentity',
            'savePath' => __DIR__ . '/../runtime/sessions',
        ],
    ],
    'params' => $params,
];

| Yii version      | 2.0.?

Is it possible that other programs can change the files under session's savePath?


Log task_pkg in _background_collect_pip

closes #767

I can reproduce the CI failure of tests/test_backend_slurm.py::test_slurm_executor_submit_separate_folders locally, and I confirm that it does work in main. I will debug further.

I can reproduce the CI failure of tests/test_backend_slurm.py::test_slurm_executor_submit_separate_folders locally, and I confirm that it does work in main. I will debug further.

Locally, a merge from main makes this test pass. I'm now re-running the whole CI.

Most likely reason: the pip install within docker was installing Pydantic v2, and then failing with a JobExecutionError at the first import pydantic. The current main already has Pydantic pinned to v1 (ref e4d4a15b7055cbbaeb3df5841bc9d75d5e7e4bf4), and then CI goes through.


[ml-service] Add staging header to prevent build error

Staging header will be added to Tizen 7.0.
Add empty staging header file to prevent build errors for users using the header file.

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #569. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


Duplicate building blocks

First, thanks for a super useful library!
Is it possible that some building blocks in the library are duplicates of each other?
I'm pretty sure that E23 and E24 are duplicates (they are just a permutation of each other?)
The same may be true for E12 and E36, but I haven't checked carefully.

Thank you for your valuable feedback. In the case of E23 and E24, the order of the connection points is different, which may result in a different shape for the generated MOF. Structurally, however, they are the same.
As for the other node pairs you mentioned, the bonding between atoms differs. Even if the molecular structures are similar, differences in atomic connectivity can lead to optimization into distinct MOF structures. Therefore, I assigned them as different building blocks.
Thank you!

Thanks for the fast reply! That makes sense.