Card does not clip Container with Clip.antiAlias

I want to build a card with two Containers in it, which have different colors. When doing so, the Card does not clip the corners anymore. I found out, that doing so even with one Container as a direct child will lead to this problem. Here is the code:
import 'package:flutter/material.dart';

class CardPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Card(
          elevation: 4,
          clipBehavior: Clip.antiAlias,
          child: Container(
            width: 300,
            height: 150,
            color: Colors.green,
            child: Text("TEST"),
          ),
        ),
      ),
    );
  }
}

As suggested in other issues, I've tried to use

clipBehavior: Clip.antiAlias

which does not help. Here is the result of the code:

And this is the result, when you remove the color from the Container:

Flutter doctor -v
 flutter.bat doctor -v
[√] Flutter (Channel stable, v1.0.0, on Microsoft Windows [Version 10.0.16299.904], locale de-DE)
    • Flutter version 1.0.0 at C:\Tools\flutter
    • Framework revision 5391447fae (6 weeks ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at C:\Users\616007\AppData\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = C:\Users\616007\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[√] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[!] VS Code (version 1.30.2)
    • VS Code at C:\Users\616007\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (1 available)
    • Moto G 4 • ZY223VLVFW • android-arm • Android 8.1.0 (API 27)

! Doctor found issues in 2 categories.

For people who has this issue, my issue was that I had to Hot Restart, not just Hot Reload.

Hot Restart solved this for me as well, @zoechi do you think we can reopen this since I guess it's a bug that it doesn't show up until after a hot restart? 🤔


Can't see an effect from L2 regularisation

After seeding the random number generator, I see exactly the same result in my neural networks regardless of L2 regularisation being on or off. Here is a test script, either value of alpha gives precisely the same output:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import numpy as np
from sknn.mlp import Classifier, Layer

##############
#  Settings  #
##############

n_features = 5
n_outcomes = 2
n_samples = 5000
fraction_train = 0.7

hidden_layer_size = 8
hidden_activation = 'Rectifier'

alpha = 0.0
# alpha = 1.0

#########################
#  Make synthetic data  #
#########################

# Always make the same data
np.random.seed(1)

X = np.random.normal(size=[n_samples,n_features])
Y = np.random.randint(2, size=[n_samples,n_outcomes])

X_train = X[n_samples*fraction_train:]
X_test = X[:n_samples*fraction_train]

Y_train = Y[n_samples*fraction_train:]
Y_test = Y[:n_samples*fraction_train]

###############
#  Create NN  #
###############

sknn_nn = Classifier(

    # sknn_nn architecture
    layers=[Layer(hidden_activation, units=hidden_layer_size,),
            Layer("Softmax", units=2*n_outcomes)],

    # Learning settings
    loss_type='mcc',
    n_iter=1,

    # Regularisation
    weight_decay=alpha,

    random_state=1,

)

print sknn_nn # Check that L2 is activated

##############
#  Train NN  #
##############

sknn_nn.fit(X_train, Y_train)

print sknn_nn.get_parameters()

I expect this is a mistake on my part, but shouldn't different regularisations cause the outcomes to diverge?
I have fresh copies of theano, pylearn2 and sknn all installed today from their Github repos.

It sounds like a bug, going to install the same versions as you and see.

Ha, thanks for saying so. Glad to see it's an easy fix. :-)

You'll need to run from master until the next release, or re-apply the fix yourself!
Thanks for the report ;-)


Enhancements to the directory tree

[x] By default, strip file extension from node name. That is, a.tif becomes a. Rationale: the file extension is not part of the "name". (Windows hides it by default.) Including it makes it confusing to do things like http://.../thing.xlsx?format=csv. This does create the possibility of name collisions, but if you have example.tiff and example.json next to each other, they are likely related --- part of the same "data" --- and need a special Adapter to deal with. #49
[ ] Add a configurable function that, given a full path to a directory, returns a metadata dict. (The default will always return an empty dict.)
[x] Add a configurable function that, given a full path to a directory, returns a mimetype or None. If it returns None, that means, "Crawl into this subdirectory." If it returns a mimetype, that means, "I recognize this as a {TIFF sequence, Zarr directory, TileDB directory} with internal structure than an Adapter shoudl manage. Do not crawl any further. We might want to make this a list of functions to make it easy to extend default behavior. https://github.com/bluesky/tiled/pull/62

Developed in a phone conversation with @tacaswell

Add a configurable function that, given a full path to a directory, returns a metadata dict.

Currently is there no way to add metadata for a node without re-writing the adapter to add this in?

Correct. I think what you want here is similar to what we added in #259 — a way to extend the existing behavior without having to rewrite a bunch of stuff.

I think the feature you need is subdirectory_handler. Does each directory map to a single (3-dimensional) array, comprised off all the TIFFs stacked up, with a dictionary of metadata attached? If so, it should be fit your use case as is. See
https://github.com/bluesky/tiled/blob/34ede8a48bf3c9c901acc6ae7db3f12fbe2d0f2b/tiled/adapters/tiff.py#L178
and the (rough) documentation
https://blueskyproject.io/tiled/explanations/scaling-down.html
If the structure you need is more complex than that, we should talk about how to extend subdirectory_handler to enable it.

@J-avery32 Does subdirectory_handler address your use case?

I'm not sure. How am I supposed to hook this up to read the json file in that directory? Or are you suggesting that I rewrite the Tiff adapter? Even if I re wrote the tiff adapter I don't see any way to give my new subdirectory_handler to tiled to use. Also I will be offline until Friday.

Ah! Never mind I think it does fit my use case. I will try it out and let you know.

How am I supposed to pass subdirectory_handler to tiled? Is there a hook in the yml for that or am I supposed to create a new DirectoryAdapter: https://blueskyproject.io/tiled/reference/generated/tiled.adapters.files.DirectoryAdapter.html?highlight=subdirectory_handler

You can create a config file that call a method which will load the right adapter.
trees:
  - tree: files
    path: /
    args:
      directory: files/
      subdirectory_handler: module:_subdirectory_handler_method

To run the config file with tiled you can use (https://blueskyproject.io/tiled/how-to/configuration.html):
tiled serve config my_config_file.yml

I need a little more time to think over this. I think it might be what I want. Originally I had each tiff file be its own separate node but hadn't considered joining it into a single 3 dimensional array. However, there are some csv files in these directories as well which are important. If I were to turn each directory into a 3 dimensional array then it seems that these csv files would disappear.

@J-avery32 In #511 there are some changes that may be of interest:

The feature whereby Tiled automatically updates when the file system changes is now opt in. You need to add --watch to tiled serve directory ... to engage it.
The aforementioned subdirectory_handler is gone, in favor of an approach that is both easier to explain and more powerful. I think this is the way to handle "TIFF with associated JSON". Your use case may be a good way to test that and motivate a new documentation page to illustrate it. Can you expand a little on what your directories of files look like?

I'll get back to you on this, but it will take me a bit to go back through my old stuff and remember what I was trying to do.

I'm going to close this now, as I think the use case of "node backed by heterogeneous files" is now addressed nicely.
Docs on how this works at a low level (in the database) are here: https://blueskyproject.io/tiled/explanations/catalog.html#data-source-asset-relation


Route traffic in egress VPCs through inline firewalls

This PR is the final piece of the puzzle for #3547 .
It introduces the following changes:

aws_route_table.public in the vpc-hub module becomes conditional

when inline_inspection = true, public route tables are created per-availability-zone so that traffic can be routed via firewall endpoints

new outputs are created to map route tables IDs to availability zones

some existing outputs are expanded to account for the possibility of one or more route tables

An output in core-network-services is temporarily commented out and will be revisited in a fix branch as its current output can't be computed (terraform console shows known after apply for module.vpc_hub[key].public_igw_route)

Because of the inherent dependency of the inspection firewalls on resources created in the vpc-hub module, routes that then make reference to the aws_networkfirewall_firewall resources are created in core-network-services, although this could be discussed further.

In brief, these routes cover transit_gateway > inspection_endpoint, inspection_endpoint > nat_gateway, nat_gateway > inspection_endpoint, and inspection_endpoint > nat_gateway allowing traffic to flow through the egress VPC via the firewall endpoints to the internet, and back from the internet via the firewall endpoints to the transit gateway.

Superseded by https://github.com/ministryofjustice/modernisation-platform/pull/3834


Add grammar validation for PPL

Description

Add grammar validation for PPL
Renamed the original class to differentiate SQL and PPL version

Related Issues
n/a
Check List

[x] New functionality includes testing.
[ ] New functionality has been documented.
[ ] New functionality has javadoc added.
[ ] New functionality has a user manual doc added.
[ ] API changes companion pull request created.
[x] Commits are signed per the DCO using --signoff.
[ ] Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Are we merging these changes from other branch? I recall we've added PPL validator previously or I missed some context?

We added validator only for SQL, not PPL yet.

Triggering CI again. Not sure if the CI failure is transient.


Montecarlo test controls

Add a random test

Looks like a version of this has already been merged in, and issue #2967 will make this redundant. So closing.


[BUG]: Token access to workspaces and user in workspace chat logs

How are you running AnythingLLM?
K8s deployment (on premise)
What happened?
Not sure if it is bug or if it's a design choice and additionally not sure if it's on the AnythingLLM side or on the Continue side.
My Observation:
We currently use the Continue IDE Plugin to talk to AnythingLLM via API. AnythingLLM runs as K8s Deployment in the latest Version.
The overall connection works fine, I can chat with my chosen workspace and profit from the vector embeddings in the workspace.
I encountered two strange behaviours though.

First: I can chat with any workspace, regardless of being a member or not. Maybe this is caused by using an admin token and will change when the RBAC feature is fully implemented? I would love to be able restrict the token access to workspaces you are not a member of. Ideally the token is automatically restricted according to the user's rights and memberships.
Second: The appearing user in the "Workspace Chat" log is always "unknown user" desipte using a personalized API token.

Is there any chance this will be changed in the future? It's not a major deal breaker but an inconvenience to some extend.
Are there known steps to reproduce?

setup anythingllm in docker or k8s
create an api token
fire up VS Code with installed Continue plugin
add a config to tell Continue to use your anythingLLM installation via API token

example Continue config:
{
    "title": "Test - AnythingLLM Workspace",
    "provider": "openai",
    "model": "<yourWorkspaceNameHere>",
    "apiBase": "<your-anythingllm-base-url>/api/v1/openai",
    "apiKey": "<your API token>"
}

This is expected, the API user is not a "user" in the sense that they can use the UI, but they can chat with workspaces as if they were since some people use the API as a proxy interface for using AnyhtingLLM in a custom UI implementation.
Then they simulate threads by using the partition key in the workspace/chat endpoint to simulate sessions and such. In fact, in a recent update (https://github.com/Mintplex-Labs/anything-llm/commit/fdc3add53cf12f4a4215b3c251e811d24de2196e#diff-62a2befed6ea340d3946b411495068f1fbfd7a658ecf17ad1935d5d9f231a5fdL199) we added the UI to show this was the "API" invoking this endpoint now


Error in utils

Hi,
when I want to install from github R gives me this error message
devtools::install_github("EXASOL/r-exasol") Downloading GitHub repo EXASOL/r-exasol@HEAD Error in utils::download.file(url, path, method = method, quiet = quiet,  :    cannot open URL 'https://api.github.com/repos/EXASOL/r-exasol/tarball/HEAD'
Session Info:
R version 3.5.1 (--)  Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 16.04.6 LTS Matrix products: default BLAS/LAPACK: /usr/lib/libopenblasp-r0.2.18.so
locale:  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C                [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8      [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8     [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                   [9] LC_ADDRESS=C               LC_TELEPHONE=C             [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages: [1] stats     graphics  grDevices utils     datasets  methods   base
other attached packages: [1] Rook_1.1-1      RJSONIO_1.3-1.2 Cairo_1.5-6
loaded via a namespace (and not attached):  [1] Rcpp_1.0.1        magrittr_1.5      usethis_1.6.1     devtools_2.3.1     [5] pkgload_1.0.2     R6_2.4.0          brew_1.0-6        rlang_0.4.7        [9] fansi_0.4.0       tools_3.5.1       pkgbuild_1.1.0    sessioninfo_1.1.1 [13] cli_2.0.2         withr_2.1.2       ellipsis_0.3.1    remotes_2.2.0     [17] assertthat_0.2.1  digest_0.6.19     rprojroot_1.3-2   crayon_1.3.4      [21] processx_3.4.3    callr_3.4.3       fs_1.3.1          ps_1.3.0          [25] codetools_0.2-16  curl_3.3          testthat_2.3.2    memoise_1.1.0     [29] glue_1.4.1        compiler_3.5.1    desc_1.2.0        backports_1.1.4   [33] prettyunits_1.0.2
Any idea?
Best,
David

Hi @KleinhansDa,
This looks like it was a temporary issue. I tried to access the link the installation could not access in your error message. I was able access it, because of that, I think it was a network issue or a Github API issue. Please try the installation again. If it still doesn't work we need to see, if I can reproduce it.
Best,
tkilias

Hi @KleinhansDa,
any news on this issue? Or, can I close it?
Best,
tkilias

Hi @tkilias. Sorry for the delay.
I solved the issue by copying the libraries from another project. Unfortunately I can not confirm your suggestion. I will try next time!
You may close the issue.
Thanks!

Hi @KleinhansDa,
Thanks, for the response. I am closing the ticket now.
Best,
tkilias


Commits signed by gpg key

It would be great if there were an option to make commits signed by a GPG key, so they would appear verified.

That's a good idea, definitely. Will take a look and maybe implement it!
Thanks


性能优化LIST

性能上存在以下问题，我们将持续优化：

当前 Adam 优化器的 step 性能不佳
模型参数随机初始化性能不佳

TESTIMONY ON HOW I BECAME INSTANT MILLIONAIRE WITH THE HELP OF THE ILLUMINATI. MAIL THE COUNCIL AT<EMAIL_ADDRESS>)
Hello everyone, i have to write this testimony because of people out there who also will like to join the Illuminati, because i am really happy to be member of Illuminati cult society today, i have been searching for the right hand to join this organization of Illuminati i finally got this nice Prof.Monday and Barr. Mikhail ,who help me in joining even when i was asked to buy all the items my self which i did for the initiation. though it cost me some money, but every thing went out successfully, and an instant sum of 1,000,000,000.00 US dollars was given to me with a free home of my choice in CALIFORNIA USA. And also, power, influence, good position fame including $300,000,000.00 dollars monthly as a salary for me. If you are interested contact the Illuminati full membership council through this email address above . Today my family and i are  happy for following the Light. See you there. You may WHATSAPP CHAT HELPING MEMBERS  at +13252429274 for special information on how to be a full member


fix: wrong column names in PrismaAdapter

Fixes: #1372

See https://github.com/lucia-auth/lucia/issues/1372#issuecomment-1913559072


feat: add support for kubescape json as input

Added support to copa to accept Kubescape JSON as input.
Now, if we provide to copa as input, the image vulnerability report generated by Kubescape in JSON format, copa is able to patch the images by reading that report.
Closes #208
cc: @craigbox

Hello maintainers --
I just wanted to check the status of this PR. Is there any feedback or additional information needed for its consideration?

Hey @anubhav06 - sorry about the delay on this! We're currently discussing a design for Copa on modular plugins, and we think Kubescape would probably be a good fit for this. Give us a little more time to figure out the design, and we'll let you know what's next.
Thank you for working on this!!

Great, no problem! Thanks for letting me know :)

Hey there @anubhav06! Mind if we close this PR in favor of a plugin?

yes! sorry I forgot about closing this


Remove for..of iterators

@chadhietala why did you remove for-of?

@Turbo87 performance concerns, and the fact that it falls back to iterables


Neetbox daemon not working on windows

I was trying to use NEETBOX daemon on windows, but it says
[OK]2023-04-14-12:00:25 > NEETBOX/init > Loaded workspace config from D:\GaGs\ntb-test1\neetbox.toml.
2023-04-14-12:00:25 > neetbox.daemon._daemon_client/connect_daemon > Connecting daemon at localhost:20202 ...
2023-04-14-12:00:29 > neetbox.daemon/__attach_daemon > No daemon running at localhost:20202, trying to create daemon...
[ERROR]2023-04-14-12:00:29 > neetbox.daemon/__attach_daemon > Could not fork subprocess because module 'os' has no attribute 'fork'. NEETBOX daemon won't work on Windows.

Would NEETBOX daemon support windows in the future?
This is my configuration file:
name = "vivy"

[logging]

[pipeline]

[integrations]
datasets = []

[daemon]
enable = true
server = "localhost"
port = 20202
updateInterval = 10
uploadInterval = 10
info = [ "log", "status",]

[integrations.environment]
gpus = "auto"

NEETBOX will finally support daemon on windows. However, there is a long term struggle before it comes true. NEETBOX temporarily not supporting daemon features on Windows, reasons are listed in how daemon is created.
When a project with neetbox launches, neetbox will check if there is any daemon running on localhost: 20202 as your configuration said. If not, it forks a subprocess using os.fork()(see the code here) for daemon and then uses package python-daemon to create the daemon process(see the code here).
The bad news is, os.fork() and python-daemon only work on *nix OS. We need to rewrite the code in neetbox/daemon/init.py with multiprocessing before it supports Windows.
The good news is, the code is clear and it won't affect other codes and it seems easy to modify.
Another bad news is, I've been working with archlinux recently and I do not have any Windows PC. It's a little bit hard for me to debug the code on windows. Hopefully someone else would help.

Another problem is, if we rewrite the code with multiprocessing, the daemon dies when the main process dies. So the daemon connector (see the code here) must have the ability to identify the death of the daemon process, and launch another one.

A preview has been published here. Notice that when you first do neet init and run your project on Windows, please make sure you're running in a terminal with administrator privileges. NEETBOX daemon now works as a service on windows.
This feature was introduced by @AndPuQing . Further discussions are welcomed.

PaperCube is amazing.

#44


Fix an unused_mut warning

@bors-servo r+

:pushpin: Commit a1e2029 has been approved by emilio

:hourglass: Testing commit a1e2029 with merge 5976766...

:sunny: Test successful - status-travis


Join promises

What's wrong with:
var fetch = function(service) {
  return request({
    method: 'GET',
    uri: 'https://' + host + '/' + service
  }).then(function(res) {
    return res;
  });
};
return Promise.props({
  data1: fetch('datacenter'),
  data2: fetch('api')
});

I'm getting the error:

a promise was created in a handler but was not returned from it

What am I doing wrong?!

I guess your error lies outside of the code snippet you pasted. I executed the following code without an error:
var request = require('request-promise');
var Promise = require('bluebird');

(function test() {
    var fetch = function (service) {
        return request({
            method: 'GET',
            uri: 'http://localhost:3000/' + service
        }).then(function (res) {
            return res;
        });
    };
    return Promise.props({
        data1: fetch('datacenter'),
        data2: fetch('api2')
    });
})();

Hi @dnascimento do you still need help with this or can I close this issue?


modprobe target_core_user overlay in service config

What this PR does / why we need it:
modprobe target_core_user overlay in service config
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Please check the following list:

[ ]  Does the affected code have corresponding tests, e.g. unit test, E2E test?
[ ]  Does this change require a documentation update?
[ ]  Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ]  Do all new files have an appropriate license header?

thanks


(R) What is the equivalent for

concat = mx.symbol.Concat(*[c1x1, c3x3, cd3x3, cproj], name='some name')
in R?
Thanks!

Please take a look at https://github.com/dmlc/mxnet/blob/master/example/kaggle-ndsb2/Train.R#L14-L19
This should be changed and exported.
Sorry for this.

Thanks!

@thirdwing
Sorry to reopen again.
But I tried
con=list()     con=c(con,c1x1,c3x3, cd3x3, cproj)     con$num.args=4     concat = mx.symbol.Concat(con)
In place of
 concat = mx.symbol.Concat(*[c1x1, c3x3, cd3x3, cproj])
With no success

Got it. The right call is
concat = mxnet:::mx.varg.symbol.Concat(con)

Let's keep this open since I think it is misleading and I need to change it.


Add vim-illuminate integration

Please add illuminate highlight groups to the catppuccin integration. Preferably without underline like in default.
Thank you.

Hi @latipun7. I use vim-illuminate myself. I think since the default vim-illuminate highlight groups don't specify any color changes, I not sure that there's something for catppuccin to do here.
What would you prefer to see?

Hi @gotgenes , thanks for your response.
I'm on NVIM v0.8.0-dev-1134-g71e70d0c99, when I use vim-illuminate, I didn't see background color highlight or something, only the underline. Is that true? While when I see the README of that plugin, it has a nice screenshot which don't have underline and has background highlight.

just add in catppuccin config
integrations = {
                illuminate = true,
                },


added docker container setup link

https://github.com/gilbitron/Raneto/issues/125

Move to end of list please

@ryanlelek Updated the document.
Thanks


经过测试，还是重复

var blockingCollection = new BlockingCollection();
List tasks = new List();
for (int i = 0; i < 100; i++)
{
var task = Task.Run(() =>
{
                for (int j = 0; j < 10000; j++)
                {

                    blockingCollection.Add(new Generator(1, DateTime.MinValue).Next());
                }
            });

            tasks.Add(task);
        }

        Task.WaitAll(tasks.ToArray());

        Console.WriteLine(blockingCollection.Distinct().Count());

        Console.ReadKey();

I guess, I will translate the issue title.  What @yuxueliang  said was: “After some test, it will still generated duplicated Ids.”

There is nothing wrong with this library and it works as expected without creating duplicates. Issue here is your poor implementation. Why would you create new instance of Generator for every iteration? With example you provided result is as expected.

As @jhabjan said, you must not create new instances of Generator with the same Instance ID (in your case 1). If you create multiple generators, use unique instance id's.


Add alternative Mac installation instructions fixes #405

Coverage remained the same at 100.0% when pulling 736f03e21b7cd1f474ae89b12f1b580d5b14cd16 on gtseres:fix/add-mac-installation-info into c1d467becef5645e14ff822860f3fc2a9868c066 on dtan4:master.

FYI this works on Linux as well with Linuxbrew.
Can you please mention it as well?

Thanks.


Improve processing of the powershell built-in type data from 'types.ps1xml', 'typesV3.ps1xml' and 'GetEvent.types.ps1xml'

PR Summary
Improve processing of the powershell built-in type data from types.ps1xml, typesV3.ps1xml and GetEvent.types.ps1xml.
A few changes to speed up the processing of the built-in PowerShell type data.

Refactor TypeTable.cs a little to make it more efficiently at collection allocations.

Remove a few internal methods that are not used anywhere.
Update some code that does collection allocations to use a specific capacity, so as to avoid resizing or wasted allocations.
Add an new overload to ProcessStandardMembers, which takes an instance of PSMemberInfoInternalCollection<PSMemberInfo> directly that contains the standard members.
Separate out ProcessTypeConverter and ProcessTypeAdapter from ProcessTypeDataToAdd.

Add two overloads constructors to PSMemberSet and PSPropertySet that are used from TypeTable, which skip argument checks and reuse the passed in collection argument.
Generate code to register the built-in type information directly to the TypeTable without going through the TypeData representation as the intermediate step.

Currently the type information is represented by TypeData objects constructed in Types_Ps1Xml, TypesV3_Ps1Xml and GetEvent_Types_Ps1Xml. Then the TypeData objects are processed by TypeTable.ProcessTypeDataToAdd one by one.
I wrote a tool to go through the TypeData objects from Types_Ps1Xml.Get(), TypesV3_Ps1Xml.Get() and GetEvent_Types_Ps1Xml.Get() and generate the code that directly register the type information into TypeTable, so we can get rid of the intermediate step.
The tool can be found here. It's in one of the commits here, but was removed in a later commit as part of the cleanup work.
The new code are in TypeTable_Types_Ps1Xml.cs, TypeTable_Types_TypesV3_Ps1Xml.cs and TypeTable_GetEvent_Types_Ps1Xml. TypeTable is now declared as partial class, and spread in TypeTable.cs and the aforementioned 3 files.

Some more minor optimizations to the generated code, for example, use the cached ValueFactory delegate instance instead of create a new one for every duplicate one.

After this change, creating a default TypeTable instance those 3 built-in PowerShell type files takes about 47% less time at a stable phase.
### 7.0.0-preview.5
PS> [string[]] $file = @("$PSHOME\types.ps1xml", "$PSHOME\typesv3.ps1xml", "$PSHOME\GetEvent.types.ps1xml")
>> Measure-Command { foreach($i in 1..100) { [System.Management.Automation.Runspaces.TypeTable]::new($file) } }

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 150
Ticks             : 1501009
TotalDays         : 1.73727893518519E-06
TotalHours        : 4.16946944444444E-05
TotalMinutes      : 0.00250168166666667
TotalSeconds      : 0.1501009
TotalMilliseconds : 150.1009

### After Change
PS> [string[]] $file = @("$PSHOME\types.ps1xml", "$PSHOME\typesv3.ps1xml", "$PSHOME\GetEvent.types.ps1xml")
>> Measure-Command { foreach($i in 1..100) { [System.Management.Automation.Runspaces.TypeTable]::new($file) } }

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 82
Ticks             : 827806
TotalDays         : 9.58108796296296E-07
TotalHours        : 2.29946111111111E-05
TotalMinutes      : 0.00137967666666667
TotalSeconds      : 0.0827806
TotalMilliseconds : 82.7806

Runspace.Open() is about 10% faster with the change at a stable phase:
### 7.0.0-preview.5
PS> $iss = [initialsessionstate]::CreateDefault()
>> Measure-Command { foreach($i in 1..100) { $rs = [runspacefactory]::CreateRunspace($iss); $rs.Open(); $rs.Dispose() } }

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 495
Ticks             : 4954424
TotalDays         : 5.73428703703704E-06
TotalHours        : 0.000137622888888889
TotalMinutes      : 0.00825737333333333
TotalSeconds      : 0.4954424
TotalMilliseconds : 495.4424

### After Change
PS> $iss = [initialsessionstate]::CreateDefault()
>> Measure-Command { foreach($i in 1..100) { $rs = [runspacefactory]::CreateRunspace($iss); $rs.Open(); $rs.Dispose() } }

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 442
Ticks             : 4428146
TotalDays         : 5.12516898148148E-06
TotalHours        : 0.000123004055555556
TotalMinutes      : 0.00738024333333333
TotalSeconds      : 0.4428146
TotalMilliseconds : 442.8146

Memory allocation comparison
The profiling was taken using pwsh.exe -noprofile -c exit. The left side was built from master branch before this PR. The right side was built with the changes in this PR.
As the image below shows, the right side has less memory allocations in general.

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

@PoshChan Please retry windows.

@daxian-dbw, I do not understand the build target(s) windows.; I only allow static, windows, macos, linux, all

@PoshChan Please retry windows

@daxian-dbw, successfully started retry of PowerShell-CI-Windows

@PoshChan Please retry Linux

@PoshChan Please retry macOS

@daxian-dbw, successfully started retry of PowerShell-CI-Linux

@daxian-dbw, successfully started retry of PowerShell-CI-macOS

@PoshChan Please retry Linux and macOS

@daxian-dbw, I do not understand the build target(s) Linux and macOS; I only allow static, windows, macos, linux, all

@PoshChan Please retry Linux

@PoshChan Please retry macos

@daxian-dbw, successfully started retry of PowerShell-CI-Linux

@daxian-dbw, successfully started retry of PowerShell-CI-macOS

Almost 90% of the CodeFactor issues are existing ones in TypeTable.cs. The rest are complaining using #region/#endregion in the generated code, which can be ignored (maybe disable that rule?).

@PoshChan Please retry macOS

@daxian-dbw, successfully started retry of PowerShell-CI-macOS

@daxian-dbw I expect that the PR reduce significantly allocations. Can you share PerfView info in the PR description if you have?

@iSazonov I added the PrefView screenshot. With the changes in this PR, the memory allocation is less in general.

Is it not possible to speed up the public api?
One of the motivations for using the public api was to enable external modules to load their types in a similar manner.
Another motivation was to avoid adding features that can't be expressed via the public api. This was a big problem with remoting.
We could share the source to the tool I wrote to convert a ps1xml file to the public C# api.

Is it not possible to speed up the public api?

@lzybkr Are you referring to the TypeData and the related types?
We possibly can improve the code that processing TypeData, but TypeData and its family types themselves are essentially just property bags that don't have much room for improvement.
The current way of handling built-in type information uses the TypeData representation as an intermediate layer, which can be removed to get improved processing of the built-in type info.
I strongly agree it's important that the TypeData should always be updated when new type table members are introduced in future, and I think that can be enforced by the Get-TypeData command, because any new type members should be reflected by the TypeData objects returned from Get-TypeData.

@daxian-dbw Have you reviewed CodeFactor issues? All of them in old code?

@adityapatwardhan I have reviewed all CodeFactory issues. 90% of them are about the existing code in TypeTable.cs, and the rest are complaining about having #region/#endregion in the methods, which can be ignored.


Can your work be seen as a type of transfer learning?

Hi,thank you very much for your great work，Can your work be seen as a type of transfer learning?
The prior knowledge is that you think the StereoMatching(Pixelwise task) has the same low-level features as Classification,So Can it be regarded as transfer learning?

Hi,
Yes, please refer to "Learning Across Tasks and Domains", ICCV 2019. But in my opinion, I think most of the vision tasks share some same low-level features.


[SPARK-17494] [SQL] changePrecision() on compact decimal should respect rounding mode

What changes were proposed in this pull request?
Floor()/Ceil() of decimal is implemented using changePrecision() by passing a rounding mode, but the rounding mode is not respected when the decimal is in compact mode (could fit within a Long).
This Update the changePrecision() to respect rounding mode, which could be ROUND_FLOOR, ROUND_CEIL, ROUND_HALF_UP, ROUND_HALF_EVEN.
How was this patch tested?
Added regression tests.

cc @JoshRosen @chenghao-intel

Test build #65617 has started for PR 15154 at commit cf0e445.

Test build #65617 has finished for PR 15154 at commit cf0e445.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65617/
Test PASSed.

Merged build finished. Test PASSed.

Test build #65732 has started for PR 15154 at commit bb15eef.

Test build #65732 has finished for PR 15154 at commit bb15eef.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65732/
Test PASSed.

Merged build finished. Test PASSed.

Test build #65739 has started for PR 15154 at commit 7008cd3.

Test build #65739 has finished for PR 15154 at commit 7008cd3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65739/
Test PASSed.

Merging in master/2.0.


Address entropy source of crypto libraries

We need to address the source of entropy that openpgp.js and jwcrypto use.  Since openpgp.js uses the jsbn library, I assume it uses the rng contained in the jsbn library.
After further research into how openpgp.js sources entropy I think it would be wise to send an email to the openpgp.js mailing list to see how other projects that use it handle entropy.
Since jwcrypto is primarily a server side library, I doubt there is a lot of info on seeding it from the browser environment, but it might be worth looking in to.

Since Persona isn't actively being developed by Mozilla and the current PGP app is tightly coupled to Persona, I am closing this issue.  When/If the PGP app is resurrected this issue should be reopened.


Finding MNISTSuperpixel's superpixel mask.

❓ Questions & Help
Is there any way to get the mask mapping each pixel in MNIST to its superpixel in MNISTSuperpixel?
Unfortunately, I can't just create my own superpixels in my use case. If I can't locate the original, an approximation would also work. I figure I can try and approximately undo a center of mass like a sort of 3D Voronoi diagram including pixel intensity as part of the distance?
I'm sort of stumbling around in the dark, if there's an easier way to find the masks, please do share!

The MNISTSuperpixel dataset is borrowed from the MoNet paper, so I do not have access to any additional information. I am sorry! You can contact its authors to provide additional data, or modify the ToSLIC transform to your own needs.


[flakes | print-dev-env] enable flakes to work with print-dev-env

Summary
This PR enables starting a devbox shell with both Flakes and NixlessShell featureflags enabled.
Future PR TODOs: refer to notion doc on Post Devbox Cloud Clean up Tasks.
How was it tested?
in examples/testdata/go/go-1.19:
> DEVBOX_FEATURE_FLAKES=1 DEVBOX_FEATURE_NIXLESS_SHELL=1 DEVBOX_DEBUG=1 devbox shell
(devbox) > go run main.go
Go version: go1.19.3

Current dependencies on/for this PR:

main

PR #584   👈

This comment was auto-generated by Graphite.


Help file

We could generate a nice HTML documentation, and link it from Contents..., the F1 key, and the [presently missing] Help button in the script editor.  We're going to (ideally) have a lot of new features to document.
I would suggest doing an actual styled CSS/HTML5 layout for this, rather than an antique Compiled-HTML (chm) file as vanilla uses.

Reference 37aab0ad77db39fe3c8e6551c09adec42ffeb112

Probably going to use javascript to load innerhtml for the relevant switchy bits, rather than duplicating all the header/footer code (can't exactly require php for docs)


payload value is not taken into account when calling send_device_command

Hello,
I try to call the send_device_command method with a payload value, but I noticed that is it not taken into account.
{
  "message_id": "example",
  "command": "device_command",
  "args": {
    "endpoint_id": 0,
    "node_id": 10,
    "payload": {
        "EnableKey": "hex:000102030405060708090a0b0c0d0e0f",
        "EventTrigger": "0x0094000000000003"
    },
    "cluster_id": 51,
    "command_name": "TestEventTrigger"
  }
}

On the server side, paylad is empty:
[1733591352.564467][2872:2872] CHIP:EM: Handling via exchange: 52300r, Delegate: 0x57877909b688
[1733591352.566028][2872:2872] CHIP:DMG: InvokeRequestMessage =
[1733591352.566537][2872:2872] CHIP:DMG: {
[1733591352.566602][2872:2872] CHIP:DMG:        suppressResponse = false,
[1733591352.566648][2872:2872] CHIP:DMG:        timedRequest = false,
[1733591352.566691][2872:2872] CHIP:DMG:        InvokeRequests =
[1733591352.566738][2872:2872] CHIP:DMG:        [
[1733591352.566781][2872:2872] CHIP:DMG:                CommandDataIB =
[1733591352.567480][2872:2872] CHIP:DMG:                {
[1733591352.567650][2872:2872] CHIP:DMG:                        CommandPathIB =
[1733591352.567696][2872:2872] CHIP:DMG:                        {
[1733591352.567743][2872:2872] CHIP:DMG:                                EndpointId = 0x0,
[1733591352.567787][2872:2872] CHIP:DMG:                                ClusterId = 0x33,
[1733591352.567832][2872:2872] CHIP:DMG:                                CommandId = 0x0,
[1733591352.567876][2872:2872] CHIP:DMG:                        },
[1733591352.567922][2872:2872] CHIP:DMG:
[1733591352.568621][2872:2872] CHIP:DMG:                        CommandFields =
[1733591352.568720][2872:2872] CHIP:DMG:                        {
[1733591352.568805][2872:2872] CHIP:DMG:                                0x0 = [
[1733591352.569038][2872:2872] CHIP:DMG:
[1733591352.569087][2872:2872] CHIP:DMG:                                ] (0 bytes)
[1733591352.569167][2872:2872] CHIP:DMG:                                0x1 = 0 (unsigned),
[1733591352.569215][2872:2872] CHIP:DMG:                        },
[1733591352.569268][2872:2872] CHIP:DMG:                },
[1733591352.569349][2872:2872] CHIP:DMG:
[1733591352.569400][2872:2872] CHIP:DMG:        ],
[1733591352.569454][2872:2872] CHIP:DMG:
[1733591352.569505][2872:2872] CHIP:DMG:        InteractionModelRevision = 11
[1733591352.569548][2872:2872] CHIP:DMG: },

Doc
https://github.com/home-assistant-libs/python-matter-server/blob/6c5b87eb0ec96b1f7b701919eaabd1a944123874/docs/websockets_api.md?plain=1#L148-L163
Source code
I didn't find payload in the send_device_command method parameters:
https://github.com/home-assistant-libs/python-matter-server/blob/6c5b87eb0ec96b1f7b701919eaabd1a944123874/matter_server/client/client.py#L445-L470
Do you know how to correct this?
Regards

I didn't find payload in the send_device_command method parameters:

Payload is a dictionary with the arguments

All right. I found an example of use here:
https://github.com/home-assistant/core/blob/dev/homeassistant/components/matter/button.py#L67
command arguments are converted to payload dictionary.


HBASE-27437 TestHeapSize is flaky

@saintstack PTAL.
I changed to count the total time of calculating all the overhead of classes 100 times, I think this could smooth the rare spikes when executing the UT.
Thanks.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 46s
Docker mode activated.


Error about no available topolog found on openshift.

What steps did you take and what happened:
installed the latest helm chart, manually created the VG.
failed to provision volume with StorageClass "openebs-lvmpv": error generating accessibility requirements: no available topology found
What did you expect to happen:
provision succeeds
The output of the following commands will help us better understand what's going on:
(Pasting long output into a GitHub gist or other Pastebin is fine.)

kubectl logs -f openebs-lvm-localpv-controller-7b6d6b4665-fk78q -n openebs -c openebs-lvm-plugin

kubectl logs -f openebs-lvm-localpv-node-[xxxx] -n openebs -c openebs-lvm-plugin

I1031 21:39:28.254386       1 main.go:149] LVM Driver Version :- 1.6.1 - commit :- a3c08bad6ad3ae64581f135e076d20b2ca26636c
I1031 21:39:28.254699       1 main.go:150] DriverName: local.csi.openebs.io Plugin: controller EndPoint: unix:///var/lib/csi/sockets/pluginproxy/csi.sock NodeID:  SetIOLimits: false ContainerRuntime: containerd RIopsPerGB: [] WIopsPerGB: [] RBpsPerGB: [] WBpsPerGB: []
I1031 21:39:28.255033       1 driver.go:49] enabling volume access mode: SINGLE_NODE_WRITER
I1031 21:39:28.268530       1 controller.go:213] waiting for k8s & lvm node informer caches to be synced
I1031 21:39:28.369081       1 controller.go:217] synced k8s & lvm node informer caches
I1031 21:39:28.369115       1 controller.go:219] initializing csi provisioning leak protection controller
I1031 21:39:28.393450       1 leak_protection.go:134] "starting up csi pvc controller"
I1031 21:39:28.394025       1 shared_informer.go:311] Waiting for caches to sync for CSI Provisioner
I1031 21:39:28.395310       1 shared_informer.go:318] Caches are synced for CSI Provisioner
I1031 21:39:28.396617       1 grpc.go:190] Listening for connections on address: &net.UnixAddr{Name:"//var/lib/csi/sockets/pluginproxy/csi.sock", Net:"unix"}
I1031 21:39:28.620969       1 grpc.go:72] GRPC call: /csi.v1.Identity/Probe requests {}
I1031 21:39:28.623770       1 grpc.go:81] GRPC response: {}
I1031 21:39:28.626482       1 grpc.go:72] GRPC call: /csi.v1.Identity/GetPluginInfo requests {}
I1031 21:39:28.626583       1 grpc.go:81] GRPC response: {"name":"local.csi.openebs.io","vendor_version":"1.6.1"}
I1031 21:39:28.660649       1 grpc.go:72] GRPC call: /csi.v1.Identity/GetPluginCapabilities requests {}
I1031 21:39:28.660760       1 grpc.go:81] GRPC response: {"capabilities":[{"Type":{"Service":{"type":1}}},{"Type":{"Service":{"type":2}}}]}
I1031 21:39:28.662986       1 grpc.go:72] GRPC call: /csi.v1.Controller/ControllerGetCapabilities requests {}
I1031 21:39:28.663220       1 grpc.go:81] GRPC response: {"capabilities":[{"Type":{"Rpc":{"type":1}}},{"Type":{"Rpc":{"type":9}}},{"Type":{"Rpc":{"type":5}}},{"Type":{"Rpc":{"type":4}}}]}
I1031 21:39:28.663795       1 grpc.go:72] GRPC call: /csi.v1.Controller/ControllerGetCapabilities requests {}
I1031 21:39:28.663838       1 grpc.go:81] GRPC response: {"capabilities":[{"Type":{"Rpc":{"type":1}}},{"Type":{"Rpc":{"type":9}}},{"Type":{"Rpc":{"type":5}}},{"Type":{"Rpc":{"type":4}}}]}
I1031 21:39:28.795749       1 grpc.go:72] GRPC call: /csi.v1.Identity/GetPluginInfo requests {}
I1031 21:39:28.795806       1 grpc.go:81] GRPC response: {"name":"local.csi.openebs.io","vendor_version":"1.6.1"}
I1031 21:39:28.802674       1 grpc.go:72] GRPC call: /csi.v1.Identity/Probe requests {}
I1031 21:39:28.802711       1 grpc.go:81] GRPC response: {}
I1031 21:39:28.804416       1 grpc.go:72] GRPC call: /csi.v1.Controller/ControllerGetCapabilities requests {}
I1031 21:39:28.804454       1 grpc.go:81] GRPC response: {"capabilities":[{"Type":{"Rpc":{"type":1}}},{"Type":{"Rpc":{"type":9}}},{"Type":{"Rpc":{"type":5}}},{"Type":{"Rpc":{"type":4}}}]}
I1031 21:39:29.259262       1 grpc.go:72] GRPC call: /csi.v1.Identity/Probe requests {}
I1031 21:39:29.259426       1 grpc.go:81] GRPC response: {}
I1031 21:39:29.267784       1 grpc.go:72] GRPC call: /csi.v1.Identity/GetPluginInfo requests {}
I1031 21:39:29.267846       1 grpc.go:81] GRPC response: {"name":"local.csi.openebs.io","vendor_version":"1.6.1"}
I1031 21:39:29.271501       1 grpc.go:72] GRPC call: /csi.v1.Identity/GetPluginCapabilities requests {}
I1031 21:39:29.271552       1 grpc.go:81] GRPC response: {"capabilities":[{"Type":{"Service":{"type":1}}},{"Type":{"Service":{"type":2}}}]}
I1031 21:39:29.273316       1 grpc.go:72] GRPC call: /csi.v1.Controller/ControllerGetCapabilities requests {}
I1031 21:39:29.273355       1 grpc.go:81] GRPC response: {"capabilities":[{"Type":{"Rpc":{"type":1}}},{"Type":{"Rpc":{"type":9}}},{"Type":{"Rpc":{"type":5}}},{"Type":{"Rpc":{"type":4}}}]}

kubectl get pods -n openebs

NAME                                              READY   STATUS    RESTARTS      AGE
openebs-localpv-provisioner-6bd66f8598-6d2fb      1/1     Running   3 (51m ago)   63m
openebs-lvm-localpv-controller-776996844c-p6hkj   5/5     Running   0             38m
openebs-zfs-localpv-controller-b8bc9ff46-9dd6g    5/5     Running   0             63m

kubectl get lvmvol -A -o yaml
kubectl get lvmvol -A -o yaml
apiVersion: v1
items: []
kind: List
metadata:
resourceVersion: ""

Environment:

LVM Driver version
Kubernetes version (use kubectl version):
Client Version: v1.30.4
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.4
Kubernetes installer & version: openshift 4.17
Cloud provider or hardware configuration:  vsphere VM
OS (e.g. from /etc/os-release): redhat core-os

sh-5.1# pvdisplay
--- Physical volume ---
PV Name               /dev/sdb
VG Name               lvmvg
PV Size               200.00 GiB / not usable 4.00 MiB
Allocatable           yes
PE Size               4.00 MiB
Total PE              51199
Free PE               51199
Allocated PE          0
PV UUID               LIZivF-rcQz-3dPl-heDh-HvMQ-l43O-EgAnNx

The issue is we need:
oc adm policy add-scc-to-user hostmount-anyuid -z openebs-lvm-node-sa -n openebs
or
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: openebs-lvm-node-sa-binding
subjects:

kind: ServiceAccount
name: openebs-lvm-node-sa
namespace: openebs
roleRef:
kind: ClusterRole
name: hostmount-anyuid
apiGroup: rbac.authorization.k8s.io

From the log snippet it appears provision request hasn't even come to lvm provisioner. Could you share the storage class definition please?

From the log snippet it appears provision request hasn't even come to lvm provisioner. Could you share the storage class definition please?

See the solution I provided.  helm chart need to incorporate that.

@kundeng , Please also share csi-provisioner and csi-controller container log along with sc output.
If you could collect logs while you reproduce that would be Good.


Added possible responses for uname on Windows, fixes #6871

According to https://en.wikipedia.org/wiki/Uname#Examples, other responses
are possible on Windows, added mingw, cygwin, and uwin

Can one of the admins verify this patch?

Jenkins, test this please.

If you put "Fixes #6871" in the commit description, the it'll auto-close the issue.

Oh, got it -- I thought it was sufficient to put it in the merge description -- will keep in mind next time, thanks!

Oh, I don't think I modified those files:
62 - C:/tf_jenkins/home/workspace/tensorflow-pr-win-cmake-py/tensorflow/python/kernel_tests/inplace_ops_test.py (Failed)
106 - C:/tf_jenkins/home/workspace/tensorflow-pr-win-cmake-py/tensorflow/python/kernel_tests/scatter_nd_ops_test.py (Failed)`

Yeah, it's an unrelated failure.

I wonder if it's transient.
Jenkins, test this please.

OK, I looked into the code, and I think there is a potential bug (I didn't introduce it though).
In line inplace_ops_test.py#L102, there is a d0 / 10, which potentially might return a float, while numpy.random.choice expects an integer. This is supposed to be d0 // 10, given that there is a from __future__ import division. The same story is on line inplace_ops_test.py#L122. I am not really sure about the other error -- need to read the code more 😄

Yeah, we're removing that test. Thanks for looking into it. Don't worry
about that.
On Mon, Jan 16, 2017 at 5:45 PM, Zafar Takhirov<EMAIL_ADDRESS>wrote:

OK, I looked into the code, and I think there is a potential bug (I didn't
introduce it though).
In line inplace_ops_test.py#L102
https://github.com/tensorflow/tensorflow/blob/76d596002/tensorflow/python/kernel_tests/inplace_ops_test.py#L102,
there is a d0 / 10, which potentially might return a float, while
numpy.random.choice expects an integer. This is supposed to be d0 // 10,
given that there is a from future import division. The same story is
on line inplace_ops_test.py#L122
https://github.com/tensorflow/tensorflow/blob/76d596002/tensorflow/python/kernel_tests/inplace_ops_test.py#L122.
I am not really sure about the other error -- need to read the code more
😄
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/6872#issuecomment-273000664,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT_SbYt5OK7vJvOlOvd-fOS8Ep9zJ2Pdks5rTB1JgaJpZM4LkNWR
.

Oh OK...
Well, anyway, for future reference --  I think I found what causes the second error. In line scatter_nd_ops_test.py#L55](https://github.com/tensorflow/tensorflow/blob/76d596002/tensorflow/python/kernel_tests/scatter_nd_ops_test.py#L55), there is a num_updates = indices.size / ixdim. The problem is that, because the header of the file has from future import division, this line will return a float. This in return will cause [scatter_nd_ops_test.py#L61 to fail, because numpy.reshape expects an integer or tuple of ints.
Just thought it might be useful, because this bug will eventually resurface in other builds as well

Jenkins, test this please.

@tensorflow-jenkins test this please


" ... "mix compile" failed" in coc workspace output

I installed both coc.nvim and coc-elixir via vim-plug.
Go-to-definition only works for functions in the same module/file. For 'remote' functions, I see [coc.nvim] definition not found in the message bar.
When I run :CocCommand workspace.showOutput elixir I see the compilation errors.
Now here's the tricky part – the compilation error is a known issue (for my project)! One of my project's Mix dependencies has to be compiled first (when performing a full/clean mix compile). Is there some way to configure coc-elixir to do that?
In a shell in my project's root directory, I was able to run MIX_ENV=text mix compile and it was successful (because the relevant dependency was already compiled) so I'm guessing coc-elixir is not running mix compile exactly the same way as I am from my shell.

I'm guessing this might be a 'problem' (for me at least) with elixir-ls itself. I'm going to look into that now.

I wasn't able to reproduce this with another Elixir project. I'm going to create an issue in the elixir-ls project for this.


How to send badge count for each individual client ?

When notification arrives for an app in background, the badge is displayed and the count is what is sent from server.
Push.send({
badge: 5,  //This puts badge count 5 for all users.
query: { // this will send to all users },
});
How do you set badge count for all individual clients ?
How about if
Push.setBadge(9);
from client api should set the badge count for that client  in the raix:push database and when Push.Configure({ badge:true}) then
Push.send({
badge: 1,  //This should increment by 1 the badge count of the receiver as stored in the database.
query: { // this will send to all users },
});
Any idea how to set badge count individually for each client?
As such Push.setBadge(9); does nothing when app is in background.

Are you able to get badge for android? Care to share solution? Thanks in advance.

Are you able to get badge for android? Care to share solution? Thanks in advance.

No solution so far. Could not set badge count for each individual client.


Recursive

This is a rebase of https://github.com/logstash-plugins/logstash-filter-de_dot/pull/19

hi @c10l the CLA checker is failing as the PR has a commit from Michael Lorant (email can be found in the patch), who we can't find a signature for

Thanks @jsvd, I'm a colleague of @c10l and we are really interested in this functionality as we have loads of k8s labels with dots in them which cause issues on a daily basis. I have sent an email to Michael Lorant requesting his help to see if we can get this across the line.

Happy to help out and have received your email. Let me take a look at this tomorrow and help get this merged.

Hi @mikelorant , I was wondering if you had managed to complete the Contributor Agreement form yet ?

Hey @mikelorant :
Was about to build my own one of these but saw you had semi-recent commits on this. Any chance of completing the above to get this code merged in?

I've signed the agreement, not sure how to force a recheck of this PR.

@jsvd any thoughts on moving this forward?

@elasticcla ?

or @untergeek ? Any chance of an assist here?

I'm not on the Logstash team any more, but perhaps @jsvd can respond.

It seems like the original author/s of the commits don't have the cla signed. I will take this on once it's signed, sorry for the delay here folks..

@jvsd he mentioned in thread above he has done this but can't kick off another re-check of the PR.

he mentioned in thread above he has done this but can't kick off another re-check of the PR.

I have launched the recheck, that still shows as failed. The PR has two commits from two different authors.
@mikelorant the email from your commit is not associated with your github profile, which is failing the check. Hopefuly you're still interested in helping carrying forward here :)

Will do what I can to sort this out.

I've opened pull request #23 with the exact same changes however it is from fork which allows me to force a recheck easily. That check now passes CLA, so this means if you recheck this one, it should pass. If not, consider using the new pull request.

solved by #24 (with retained authorship) and published as https://rubygems.org/gems/logstash-filter-de_dot/versions/1.1.0


Add Dark and Light Mode Toggle

Currently, the application does not have a toggle for Dark and Light mode. Adding this feature will enhance the user experience by allowing users to choose their preferred theme, especially for accessibility and ease of use during different times of the day.
Proposed Solution

Implement a toggle switch in the header section to switch between Dark and Light modes.
Save the selected theme in local storage so it persists across sessions.
Ensure all UI components adapt seamlessly to both themes with clear visibility and contrast.

I would like to work on this task as part of the SWOC initiative. Kindly assign this issue to me under SWOC and enhancement label so I can contribute.

Hi team,
I have made a huge contribution by implementing the Dark and Light Mode Toggle for our blog website. This feature allows users to toggle between dark and light themes seamlessly, enhancing the overall user experience. Besides the front-end design, I also worked on the back-end to ensure smooth functionality and user preference persistence. Could you please give me permission to push my changes? Looking forward to your feedback and any suggestions for improvement.
Thanks!
Best, Yogyashri patil

Hi @OkenHaha.
I noticed that the issue I’m working on has already been resolved in the current project, as there’s already a dark and light mode functionality in place.
Could you please let me know how you’d like to proceed? Should I work on upgrading the functionality and improving the layout for the dark and light mode, or would you prefer to close this issue?
Looking forward to your guidance!
Best regards,
Yash Pandav

@yashpandav We can close this issue, I will be issuing new issues for contribution to be made. In the mean time, you can wait for an issue, find existing one you'd like to work on or find news ideas in ways you can contribute!  I will be giving out new and exciting issues to work on.

I completely understand, and I’ll keep an eye out for any new issues that come up. In the meantime, I’ll explore other existing issues or think of new ideas for contributions to the project.


build-s3-dist.sh needs update

Issue #, if available:
Description of changes:

Argument count is now 4, added some checks and description around it
cw-metric-poller folder was referenced as cw-metric

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for contributing to the solution and helping fix the issue. We will review the PR and plan to fix it in an upcoming release.

Hi @mfortin we released a new version couple of days back and the above items have been incorporated. Please review and let us know, if you think this is resolved, can we please close the issue.

Confirmed issue resolved. Thanks!