Software is active, data is passive

This may just be another way of saying "Data provides evidence, software provides a tool", but I think a functional way of distinguishing between software and data is to say that software is active, while data is passive.
By this I mean that software generally performs a function upon something (e.g. software processes data), while data generally has a function performed upon it (e.g. data is processed by software).

Feel free to add this as a pull request.

The difference is not about activity. It is, as @tompollard notes, that "data is processed by software". This is a key property and is separate from the others. I suggest changing "Software is active, data is passive." to either "Data is processed by software." or maybe "Software is run on hardware, data is processed by software."

By active and passive, I'm just trying to draw the distinction between "acting upon something" (active, software) and "being acted upon" (passive, data)".
There may be a clearer way of phrasing this, but I think that "data is processed by software" isn't quite right because it misses cases like "Data is generated by software".

we already have "software is executable, unlike papers or data" as the first difference.  Maybe we can change that to "software is executable, data is not" and drop this one?

resolved by https://github.com/danielskatz/software-vs-data/commit/3589769f115f7d16d4dc57230a5bc7bfaf22d1a8


py312 for pynng 0.7.1

This PR is to build py312 for pynng 0.7.1

@conda-forge-admin, please rerender

@jan-janssen do you know how I can  add the migration for Python 3.12? Do i need to manually copy here the file in the .ci_support/migrations folder?

We already did this in https://github.com/conda-forge/pynng-feedstock/pull/16

Oh, I see you want to do it for 0.7.1 - yes, you can just copy the migration file from the main branch.

Oh, I see you want to do it for 0.7.1 - yes, you can just copy the migration file from the main branch.

thank you!

FYI @jan-janssen I have opened this issue on the upstream repo. I would be interested in having updated versions of pynng, but I'm not sure if the code owner is interested. In case, would you be interested in helping me with a new python package (not a feedstock, I mean a new Python package) that brings updated support for NNG on Python? But let's see also what the code owner has to say.


Spatial Control

Did you implement the Spatial Control?

It's included in this project. If you don't do the second propagation process, then it's just a style transfer with spatial control.

I just want to implement a background that only replaces the content image, not replacing the other

What do you mean by only replaces the content image?

I think @InstantWindy meant masking.


CI backend build continues after pre-push hook fails

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
9.2.1
What operating system are you using?
CI Build
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Amplify Categories
hosting
Amplify Commands
push
Describe the bug
I have a pre-push hook setup to do some pre-building for the lambda functions.
In the CLI, if the pre-push hook fails then the push aborts. In the CI build, it continues and then falls over later because the pre-building failed.
Expected behavior
The CI build should abort if the pre-push hook exits with a non-zero error code.
Reproduction steps
Add a pre-push.sh file to amplify/hooks/ with the code
#!/bin/bash

# **** SETUP ****
# exit when any command fails
set -e
# keep track of the last executed command
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
# echo an error message before exiting
trap 'echo "\"${last_command}\" command filed with exit code $?."' EXIT

ls random

GraphQL schema(s)
No response
Project Identifier
No response
Log output

2022-08-18T15:08:01.009Z [WARNING]: ✔ Successfully pulled backend environment dev from the cloud.
2022-08-18T15:08:01.120Z [INFO]: ✅
2022-08-18T15:08:02.420Z [INFO]:
2022-08-18T15:08:02.420Z [INFO]: ----- 🪝 pre-push execution start -----
2022-08-18T15:08:02.596Z [INFO]: ><EMAIL_ADDRESS>build function
                                 > ./build.sh
2022-08-18T15:08:02.602Z [INFO]: "ls random" command filed with exit code 2.
2022-08-18T15:08:02.617Z [INFO]: ----- 🪝 pre-push execution end -----

...

2022-08-18T15:08:10.227Z [WARNING]: ✖ An error occurred when pushing the resources to the cloud
2022-08-18T15:08:10.229Z [WARNING]: ✖ There was an error initializing your environment.
2022-08-18T15:08:10.232Z [INFO]: [0m[Error: ENOENT: no such file or directory, lstat '...'] {
                                 errno: -2,
                                 code: 'ENOENT',
                                 syscall: 'lstat',
                                 path: '...'
2022-08-18T15:08:10.250Z [ERROR]: !!! Build failed

Additional information
Sorry in advance if there is a specific repo for CI build issues.

Hey @Adude11, Thank you for reaching out. I was able to replicate the issue in my application by creating a hook with a explicit exit. On performing a push with amplify CLI the push exits as expected, when performing a CICD build on Amplify console the backend build does not execute the pre-push hook.
The issue appears to be similar to https://github.com/aws-amplify/amplify-hosting/issues/2624, https://github.com/aws-amplify/amplify-cli/issues/10253.
Could you please check the comment on https://github.com/aws-amplify/amplify-hosting/issues/2624#issuecomment-1213609784 whcih provides a mitigation step.


environmentConfig is not Available in Client Layout

In my Layout which extends Brisket.Layout, the variable layout.environmentConfig is not available with value undefined on client. I checked that it has the correct value on server.

fixed by #99. closing


chore(master): release wallet-pay 1.1.3

:robot: I have created a release beep boop
1.1.3 (2023-09-18)
Bug Fixes

not correct license (b94f266)
wallet-pay.ts: change API endpoint path from /order to /order/preview (0be1363)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mdwitr0/telegram-wallet-pay/releases/tag/wallet-pay-v1.1.3 :sunflower:


Envoy Dockerimage is show dev build for 1.20.2 image.

If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via emailing
<EMAIL_ADDRESS>where the issue will be triaged appropriately.
Title: *using docker image 1.20.2 it is showing envoy version with -dev. *
Description:
docker run -it envoyproxy/envoy:v1.20.2 sh
$ envoy --version
envoy  version: 4aaf9593152c6996b9da384c8918e9ad4f0abd4d/1.20.2-dev/Clean/RELEASE/BoringSSL
Is it ok or I am missing something ?
[optional Relevant Links:]

Any extra documentation required to understand the issue.

hi @pavansh this is a known issue and should be resolved by #20824

fixed by https://hub.docker.com/layers/envoy/envoyproxy/envoy/v1.20.3/images/sha256-9bcf8720bf8c13effccc30bdfba71b404ffeb599cbf1f26e6a2418694d39091e?context=explore


react-native dev-dependencies

Hey guys,
I put react-native into dev-dependencies to be able to use your package in my own project without the hassle of resolve duplicate paths. E.g. react-native is once in my own node_modules directory and in the sub-node_modules directory of react-native-location.
This may not be an issue in node >= 4, but iojs does not resolve packages in a flat directory structure.
Cheers

Great idea - thanks for the PR.


Improvements

added showtitle, showBody bool
disable option url launcher when press the widget
adjust the box fit of graphics.

Thanks for the suggestions! I'll definitely be working on adding these features as soon as possible for the upcoming release.

All the requested features have been completely implemented & will be included in the next release version 1.1.0. Thank you for waiting. I'm closing this issue, feel free to open a new one if you need any more features.


[theming] Use different colors for rendering warning and info markers

Both the lsp and vscode api support different severity levels for linter style markers:

error
warning
info

However it seems that the editor theming doesn't actually make a distinction between warning and info (both of them look identical and render as a green squigly underline).

A more traditional way of rendering is to use Red for errors, Yellow for warnings and either Green or Blue for info.
I looked at trying to change these looks via the theming support, but as far as I could figure out, the 'equal treatment' of warnings and infos goes down to the theming engine as well. Looking here:
https://code.visualstudio.com/docs/getstarted/theme-color-reference
I find that there are properties like editorError.foreground and editorWarning.foreground, but there is no edtitorInfo.foreground and the info squiglies simply follow the warning color if it is changed.

See also https://github.com/Microsoft/vscode/issues/9209 which contains discussion to use yellow for warnings out of the box.

I separated the warning and info colors and added new color ids

editorInfo.foreground
editorInfo.border
editorMarkerNavigationInfo.background

I haven't changed the color yet (warning and info are still green). I'll wait for color recommendations from the UX team, see #9209.

Wow! Fixed so fast! Will this fix show up in the 'vscode insiders' soon? I'd like to give it a try if I can.


Is Graph_runner mode suitable for running models with both DPU and CPU operations?

Hi!
I have a xmodel with DPU operations followed by some transpose and fix2floats, you can see a part of the scheme bellow:

I used "graph_runner" mode to execute all the operations compiled in the .xmodel including both DPU and CPU operations on the ZCU102. I expected to see an increase in the frames per second ratio compared to what was obtained with the "runner" mode, which only runs DPU operations so the CPU ones needed to be implemented in the app.
Following are the performance results in each case:
Graph_runner mode: (FPS=0.61, total frames = 100.00 , time=164.941214 seconds)
Runner mode: (FPS=5.32, total frames = 100.00 , time=18.801671 seconds)
@Shreyas-NR i don't know if you tried with both modes?
Can anyone help me understand how graph_runner works and why it takes so long to inference my model?
Thanks!

That's correct running result.
It's because   there are so many cpu op in the graph.
You can see if using graph-runner mode, all the cpu-op should be executed, and some of those can be optimized if you write your own implementation.

That's correct running result.
It's because   there are so many cpu op in the graph.
You can see if using graph-runner mode, all the cpu-op should be executed, and some of those can be optimized if you write your own implementation.

Closing since no activity for more than 2 months, please reopen if you still have any questions, thanks


Polygon in iso

Hello!!
I would like to store polygons at each point. I tried changing the .bin to store polygons instead of points, but I believe it's not right.

@Samuel-ZDM if you want to create fields you have to create Partfields (PFD) based on the points in the geo JSON.

Also this library is not a conversion library so there is no direct function to create an isoxml file from a geo JSON. This library is mainly used in geoserver to visualize isoxml data.


Quickbooks Desktop API Support?

Does python-quickbooks work with Quickbooks Desktop, or only Quickbooks Online?

It only works with Quickbooks Online.

Thanks.

Do you happen to know of any libraries that do interface with QB Desktop?  I might not have looked well enough, but I was having trouble finding one.

The official Intuit SDK is the only thing I know of.

OK, just wanted to check.  Thanks for your time.


Downloading ubuntu repository index fails

This isn't a vscode issue per se, but an MS server issue with getting the package.  When trying to download the following file needed for the package manager (http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2) it freezes at a partial download and doesn't complete.  I've tried downloading manually as well as through the package manager, with no luck.

Are you still having this issue? There haven't been any other reports so it could have been a temporal issue.

Unfortunately, I am.  It makes no sense to me as to why it's happening.  It's only this repository.  It's as if there's a cache somewhere between my machine and the server that only has 99% of the file.  This is from a windows PC:
$ curl http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2 -o Packages.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 98 72672   98 71397    0     0    630      0  0:01:55  0:01:53  0:00:02     0

And this is from the linux PC:
$ wget http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2
--2018-10-23 07:29:13--  http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2
Resolving packages.microsoft.com (packages.microsoft.com)... <IP_ADDRESS>
Connecting to packages.microsoft.com (packages.microsoft.com)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 72672 (71K) [application/octet-stream]
Saving to: ‘Packages.bz2’

Packages.bz2         99%[==================> ]  70.45K  --.-KB/s    eta 2s

On a whim, I just changed it to HTTPS rather than HTTP.  That appears to be working.

Thanks, I let the repo admins know about this. Glad it's working for you!


Print diagnostic output to cerr

Diagnostic messages on cout makes it difficult to parse formatted output.
The help instructions indicate that stderr is for diagnostic output.
Signed-off-by: Connor Imes<EMAIL_ADDRESS>

There may be other places that these changes are needed, e.g., in Windows-only code which I cannot test.


Errors appear even when files are closed

Hi vscode-htmlhint team,
I have correctly set up your extension and configuration file and everything works fine. The only problem that occurs is the following: warnings and errors are shown in the appropriate section even when the file is closed. Is there a way to show them only when the file is actually open?

Can anyone help me?

I can reproduce the issue, but I don't know of a way to fix it at the moment so leaving this issue open if anyone would like to make a PR to address it.

Many months have now passed since my request. Is there hope that a solution will be found?

I don't know of a way to fix it at the moment so I'm leaving this issue open if anyone would like to make a PR to address it. This issue has the 'Help wanted' badge.


Access original instance from within overriding statement

In tests I want to wrap real object with some test logic and pass wrapped instance to application.
Now for this case, I also provide implementation of object and use it only in override-provider, so it looks like this:
// Module in real Application
...
bind<AvsDoActionExecutor>() with singleton {
    instance<AvsDoActionExecutorImpl>()
}

bind<AvsDoActionExecutorImpl>() with singleton {
    AvsDoActionExecutorImpl(
        // something
    )
}

// Module with override flag in test Application
...
bind<AvsDoActionExecutor>() with singleton {
    TestLogicWrapper(instance<AvsDoActionExecutorImpl>())
}

Are there ways to do it natively in Kodein 2.8.0? Is there any way to access original instance from within overriding statement?

No, there's no better way, sorry.
Though, for this use case, I wouldn't bind directly AvsDoActionExecutorImpl but create a second bind of AvsDoActionExecutor with a tag.
// Module in real Application
...
bind<AvsDoActionExecutor>() with singleton {
    instance<AvsDoActionExecutor>("actual")
}

bind<AvsDoActionExecutor>("actual") with singleton {
    AvsDoActionExecutorImpl(
        // something
    )
}

// Module with override flag in test Application
...
bind<AvsDoActionExecutor>() with singleton {
    TestLogicWrapper(instance<AvsDoActionExecutor>("actual"))
}

I realize this is not ideal. However, the branch 2.x is not developped anymore (unless for bug fixes).
In branch 3.x, allowing overrides to access the overriden binding is an interesting idea. I'm not sure how much it would complicate the code. I'll think on it ;)

I'm happy to report that access to overrides will be part of Kodein 3.2.0.
Your use case will be as simple as:
// Module in real Application
...
bind<AvsDoActionExecutor>() with singleton {
    AvsDoActionExecutorImpl(
        // something
    )
}

// Module with override flag in test Application
...
bind<AvsDoActionExecutor>() with singleton {
    TestLogicWrapper(overriddenInstance<AvsDoActionExecutor>())
}

Thanks for the great feature idea ;)
Salomon.

It's great. Thanks 👍


sh script/test_vcoco.sh，assert ret == 0, 'Range subprocess failed (exit code: {})'.format(ret) AssertionError: Range subprocess failed (exit code: 1)

yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/object/apply:numpy.core.multiarray.scalar'
in "./test/detection_range_config.yaml", line 3, column 20
Traceback (most recent call last):
File "tools/test_net.py", line 208, in
check_expected_results=True)
File "/home/ps/NewDisk1/HIT_workspace/lxc/humanObjectInteraction/PMFNet-master/lib/core/test_engine.py", line 152, in run_inference
all_results = result_getter()
File "/home/ps/NewDisk1/HIT_workspace/lxc/humanObjectInteraction/PMFNet-master/lib/core/test_engine.py", line 125, in result_getter
multi_gpu=multi_gpu_testing
File "/home/ps/NewDisk1/HIT_workspace/lxc/humanObjectInteraction/PMFNet-master/lib/core/test_engine.py", line 173, in test_net_on_dataset
args, dataset_name, proposal_file, num_images, output_dir
File "/home/ps/NewDisk1/HIT_workspace/lxc/humanObjectInteraction/PMFNet-master/lib/core/test_engine.py", line 243, in multi_gpu_test_net_on_dataset
opts)
File "/home/ps/NewDisk1/HIT_workspace/lxc/humanObjectInteraction/PMFNet-master/lib/utils/subprocess.py", line 118, in process_in_parallel
log_subprocess_output(i, p, output_dir, tag, start, end)
File "/home/ps/NewDisk1/HIT_workspace/lxc/humanObjectInteraction/PMFNet-master/lib/utils/subprocess.py", line 156, in log_subprocess_output
assert ret == 0, 'Range subprocess failed (exit code: {})'.format(ret)
AssertionError: Range subprocess failed (exit code: 1)
If you suspect this is an IPython 7.11.1 bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True

yaml version problem, use the specific version pls.


Is there any restriction on all images file sizes in custom data set should be same.

@endernewton
Is there any restriction on all images file sizes in custom data set should be same.
If yes, what all changes we need to make in config.py

I don't think there is restriction on the image file sizes or image sizes, if I understand what you mean.


Page links broken in Bootstrap from 3.9 onwards

I think this is related to changes @FayCross made in september to fix links. I'm about to commit a change that 'i think' fixes it but since @ronm123 is away it will probably need @FayCross  and/or @torinfo  to double check before being pushed as a fix  since i'm not sure if it would break something else...

Not sure what happened with whitespace on that commit sinc eI never chose to commit those changes?!? but anyway the important changes are at lines 1311 -14

I’ll try this in a bit. I‘m not sure I can recreate the problem though - I tried yesterday (develop not 3.9) & links worked fine without Page ID set.

Hi @FayCross it was the manual links that you insert in the text that I found to be the problem, the page menu links work fine

Ah, I realised it was those links but the links I tested with were pointing to 1st page & going to 1st page was what happened when link failed (so it wasn't apparent to me that it wasn't working). Could you test this is still ok for you @JohnSmith-LT please? This should allow links with & without custom IDs to work, as well as sub-section links & links to stand alone pages (no matter where they are in project). Thanks

Hi @FayCross this all looks good to me now...

@JohnSmith-LT @FayCross Should I cherry-pick both those commits to 3.9?

Yeah I think @FayCross reversed mine anyway but I tested all above and they worked for me...

Yes please @torinfo
@JohnSmith-LT your fix worked but caused a problem if there was a stand-alone page before the page being linked to (wouldn’t be apparent in vast majority of projects!) I tested pretty extensively last night & think this is ok now. Thanks


NavItem with Scrollchor error -  cannot appear as a descendant of

From the following setup
import React from 'react';
import { Nav, NavItem } from 'react-bootstrap';
import Scrollchor from 'react-scrollchor';

const HomeNavigation = () => (

    <NavItem><Scrollchor to="#how" className="nav-link">How?</Scrollchor></NavItem>

);

export default HomeNavigation;

I get: Warning: validateDOMNesting(...):  cannot appear as a descendant of . See HomeNavigation > NavItem > SafeAnchor > a > ... > Scrollchor > a

@416serg thanks for report this.
This is a common problem with NavItem.
Right now can be solve using a childrenless Scrollchor and simulateClick()
Example:
Create this a file in: ./src/scrollchor-item.jsx
import React, { Component } from "react";
import Scrollchor from "react-scrollchor";

export default class ScrollchorItem extends Component {
  constructor(props) {
    super(props);
  }

  _handleClick = event => {
    this._back.simulateClick(event)
  };

  render() {
    const { to, children, className } = this.props;
    return
      <Scrollchor to={to} ref={ref => (this._back = ref)}/>
      {children}

  }
}

and use it in your code:
import React from 'react';
import { Nav, NavItem } from 'react-bootstrap';
import ScrollchorItem from './src/scrollchor-item';

const HomeNavigation = () => (

    <NavItem><ScrollchorItem to="#how" className="nav-link">How?</ScrollchorItem></NavItem>

);

export default HomeNavigation;

Tell me how it was.

@bySabi 👍  🙏  thanks so much!


Plugin doesn't work with test or library modules.

I am attempting to build a test module using the com.android.test gradle plugin but this doesn't seem to be compatible with 4.1.1. Using versions 3.1.0 allows me to sync successfully. This is also the same case with com.android.library.
Expected behaviour
Gradle syncs successfully.
Actual behaviour
> Extension of type 'AppExtension' does not exist. Currently registered extension types: [ExtraPropertiesExtension, DefaultArtifactPublicationSet, ReportingExtension, SourceSetContainer, JavaPluginExtension, JavaInstallationRegistry, NamedDomainObjectContainer<BaseVariantOutput>, TestExtension, KotlinAndroidProjectExtension, KotlinTestsRegistry, AndroidExtensionsExtension, ShotExtension]

Steps to reproduce

I added the following to the test module's build.gradle from the instructions.

buildscript {
    // ...
    dependencies {
      // ...
      classpath 'com.karumi:shot:4.1.1'
    }
}
apply plugin: 'shot'

Run gradle sync

Version of the library
4.1.1

I solved this by installing shot as usual, then in my library module:
dependencies {
   // ...
    api 'com.karumi:shot-android:4.1.1'
}

I hope it helps!

Hi @jchudev you are absolutely right. Version 4.X improved flavors support, however by mistake we broke libraries support :( This is going to be my next fix. Could you please confirm if @fmontesino 's workaround works?

Hi @fmontesino I've just merged a PR fixing the support for android libs. This was supported in previous versions just for free because we were not using the official gradle plugin in order to link Shot's tasks with android testing tasks. I'm releasing a new version with the fix right now. Please, check if it's working for you and feel free to reopen this issue if it doesn't work.

@fmontesino Thanks for the suggestion. That didn't seem to work due to it failing on trying to find AppExtension when running a gradle sync.
@pedrovgs I tried 4.2.0 and it syncs successfully on both test and library modules! I ran a test on the library module and it worked just fine. Thanks for all the help everybody!


Environment - Sky simulation

Put a sphere or another big way to lose perspective and put a sky texture.
In this way it can create the day / night cycle

I've used a skybox to put the sky textures. The textures are from Roel Reijerse.
The day / night cycle feature will be implemented in a more advanced step of the project.


order_by / sort in listview

I believe this is going to be a feature request. I think we should have sorting/order_by for columns. This will be helpful for a lot of people I'm sure.

Hi, you can explain better this feature?  What are you thinking about, how be show.
Thanks, maybe I can help to insert this feature.

Hi
Well I was thinking something like:
https://datatables.net/examples/styling/bootstrap.html
Just like how we have list_fields, list_filter=, we can include list_sorting= and enable sorting on those.
Currently, we can also override get_ordering, and allow fields ordering there, but then we need to make sure while paginating the request maintains the current ordering, which it doesn't at the moment either.
Basically once the ordering is enabled, we should show the "asc"/"desc" buttons on the columns and make it work somehow.
OR
We do something drastic, and really cool - DataTables with ajax  :) That will super nice, and we can get rid of all the pagination / search code that we have now and use that instead. The challenge there will be with crud columns and perhaps a lot of other things.
Best of luck

Hi @luisza .. checking if you got working on this by any chance? I really feel if we can get rid of tables completely and just use divs, that will be really nice. Anyways, awaiting your response. If not, maybe for my next project with django-cruds-adminlte, I can do some modifications too.

Hi @luisza - just checking back on this .. any work done so far? I was looking at django_tables2 and it seems to have a good potential for this project. What do you reckon?

Hi, well sound like a good idea, I was working with admin2 and they use datatables2,  I don't know if django_tables2 will be the option but maybe datatables2 plain and a rest API could help.
If I can do that, maybe we can remove some html code that are not responsive.
What do you think?  @alegambo, @luisfelipe7, @GuillermoECS could you work on this in a week ?


Question: Which metric can be used to track the hit rate

What is the recomended way to track the hit rate using AppMetrics? Correct me if I'm wrong, but it seems like Meter doesn't provide what I need: to measure the (e.g. cache) hit rate, that can be calculated as keyspace_hits / (keyspace_hits + keyspace_misses).

What are you referring to re "hit rate", meters are used to measure the rate of things, counters can be used to count things

What I wanted to measure was percentage of hits in the result set cache, compared to the total requests. At the end I managed to find HitRatioGauge https://www.app-metrics.io/getting-started/metric-types/gauges/, that I can use to create what I need. That is great, but not ideal - I have to use 2 separate meters to track the hit ratio of the one value, and then, in order to report it's value I have to create an instance of the HitRatioGauge class. And if I report on the hot path it's not that good for overall performance of my app. Is there better way to do that?


Delete workload cluster

Issue #, if available:
Description of changes:
Allow users to delete workload clusters
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mdsgabriel
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [mdsgabriel]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: g-gaston, mdsgabriel
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [g-gaston,mdsgabriel]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: g-gaston, jiayiwang7, mdsgabriel
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [g-gaston,jiayiwang7,mdsgabriel]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Make SERVICE_FAILURE_ACTIONS blittable

Fixes #425

@icnocop would you care to review as well?

This looks good to me. Thank you for the super quick response and code example! :)


Database attributes not working in globus_auth branch

For testing I did:

installed webauthn/globus_auth
dropped webauthn schema in ermrest DB
ermrest-webauthn2-deploy to redeploy using a webauthn_config that has database providers for clients and attributes
ermrest-webauthn2-manage to setup test user, test attribute, and assign test attribute to test user

At this point, I can view the database itself and see that the user-attribute pair is in the webauthn.userattribute table.  But, logging in by POST to /ermrest/authn/session produces a session which only lists the username and not the attribute in the webauthn.context.attributes array.  The ermrest service also behaves as if the attribute is missing so it is the actual context that is wrong and not just the restful web presentation of it.

This was fixed in a patch that @ljpearlman pushed today.


Incorrect chunk size calculation in da.tensordot

Our original test case that showed that something is going wrong with da.tensordot in comparison to np.tensordot.
import numpy as np
import dask.array as da
from dask.array.utils import assert_eq

a = np.ones(20).reshape(4, 5)
b = da.from_array(a, chunks=(4, 5))

np_res = np.tensordot(a, a, axes=2)
da_res = da.tensordot(b, b, axes=2)

assert_eq(np_res, da_res)

Error message is:
Traceback (most recent call last):
  File "test2.py", line 10, in <module>
    da_res = da.tensordot(b, b, axes=2)
  File "/node/bud205/envs/dugwave_master2/lib/python3.6/site-packages/dask/array/routines.py", line 272, in tensordot
    axes=(left_axes, right_axes),
  File "/node/bud205/envs/dugwave_master2/lib/python3.6/site-packages/dask/array/blockwise.py", line 145, in blockwise
    chunkss, arrays = unify_chunks(*args)
  File "/node/bud205/envs/dugwave_master2/lib/python3.6/site-packages/dask/array/core.py", line 3061, in unify_chunks
    arrays.append(a.rechunk(chunks))
  File "/node/bud205/envs/dugwave_master2/lib/python3.6/site-packages/dask/array/core.py", line 2098, in rechunk
    return rechunk(self, chunks, threshold, block_size_limit)
  File "/node/bud205/envs/dugwave_master2/lib/python3.6/site-packages/dask/array/rechunk.py", line 226, in rechunk
    chunks, x.shape, limit=block_size_limit, dtype=x.dtype, previous_chunks=x.chunks
  File "/node/bud205/envs/dugwave_master2/lib/python3.6/site-packages/dask/array/core.py", line 2404, in normalize_chunks
    "Got chunks=%s, shape=%s" % (chunks, shape)
ValueError: Chunks do not add up to shape. Got chunks=((5,), (5,)), shape=(4, 5)

@mmohrhard this looks like an issue -- thank you for reporting.  I'm not sure what's going on at the moment.  I was expecting chunks to be: (4,5) and instead we have ((5,), (5,))
For example, if we create a dask array with two equally sized chunks things look ok:
In [127]: np_data = np.random.normal(10, 0.1, size=(20, 20))

In [128]: y = da.from_array(np_data, chunks=(10, 10))

In [129]: y.chunks
Out[129]: ((10, 10), (10, 10))

Right, two chunks of size (10,10).  If instead we created one big chunk:
In [130]: y = da.from_array(np_data, chunks=(20, 20))

In [131]: y.chunks
Out[131]: ((20,), (20,))

It looks like there is either a bug or dask internals is doing something I don't understand.  The latter is not surprising given that I am not very familiar with dask array internals.  @jrbourbeau  if you have some time would you care to comment ?

I've been digging in to this and I think there are a few issues here (although
possibly just manifestations of the same issue)
Following @mmohrhard's example
In [1]: import numpy as np

In [2]: import dask.array as da

In [3]: a = np.ones(20).reshape(4, 5)

In [4]: b = da.from_array(a, chunks=(4, 5))

In [5]: np.tensordot(a, a, axes=2)
Out[5]: array(20.)

In [6]: da.tensordot(b, b, axes=2).compute()
<snip> #elided because same as original traceback
ValueError: Chunks do not add up to shape. Got chunks=((5,), (5,)), shape=(4, 5)

For a tensor double contraction we want the axes we're reducing over in sequence
to be the same size, which works if we specify that:
In [7]: da.tensordot(b, b, axes=([0, 1], [0, 1])).compute()
Out[7]: 20.0

If axes=2 and the chunk sizes aren't the same (e.g. (5,5)), then
dask.array.core.unify_chunks is called but the inferred axes are ij, ji
instead of ij, ij
From the debugger at this point:
[(dask.array<array, shape=(4, 5), dtype=float64, chunksize=(4, 5), chunktype=numpy.ndarray>, [0, 1]), (dask.array<array, shape=(4, 5), dtype=float64, chunksize=(4, 5), chunktype=numpy.ndarray>, [1, 0])]

Note the [0, 1] and [1, 0] axes generated by da.tensordot.
There are a few other different failure modes:
When chunks are symmetric but one axis is only one chunk wide:
In [10]: a = np.ones(50).reshape(10, 5)

In [11]: b = da.from_array(a, chunks=(5, 5))

In [12]: b.chunks
Out[12]: ((5, 5), (5,))

In [13]: da.tensordot(b, b, axes=2).compute()
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-13-c60ee22c64a9> in <module>
----> 1 da.tensordot(b, b, axes=2).compute()

~/github.com/dask/dask/dask/array/routines.py in tensordot(lhs, rhs, axes)
    262         right_index[r] = left_index[l]
    263
--> 264     intermediate = blockwise(
    265         _tensordot,
    266         out_index,

~/github.com/dask/dask/dask/array/blockwise.py in blockwise(func, out_ind, name, token, dtype, adjust_chunks, new_axes, align_arrays, concatenate, meta, *args, **kwargs)
    144
    145     if align_arrays:
--> 146         chunkss, arrays = unify_chunks(*args)
    147     else:
    148         arginds = [(a, i) for (a, i) in toolz.partition(2, args) if i is not None]

~/github.com/dask/dask/dask/array/core.py in unify_chunks(*args, **kwargs)
  3173             )
  3174             if chunks != a.chunks and all(a.chunks):
-> 3175                 arrays.append(a.rechunk(chunks))
  3176             else:
  3177                 arrays.append(a)

~/github.com/dask/dask/dask/array/core.py in rechunk(self, chunks, threshold, block_size_limit)
  2158         from . import rechunk  # avoid circular import
  2159
-> 2160         return rechunk(self, chunks, threshold, block_size_limit)
  2161
  2162     @property

~/github.com/dask/dask/dask/array/rechunk.py in rechunk(x, chunks, threshold, block_size_limit)
    227     if isinstance(chunks, (tuple, list)):
    228         chunks = tuple(lc if lc is not None else rc for lc, rc in zip(chunks, x.chunks))
--> 229     chunks = normalize_chunks(
    230         chunks, x.shape, limit=block_size_limit, dtype=x.dtype, previous_chunks=x.chunks
    231     )

~/github.com/dask/dask/dask/array/core.py in normalize_chunks(chunks, shape, limit, dtype, previous_chunks)
  2467             for c, s in zip(map(sum, chunks), shape)
  2468         ):
-> 2469             raise ValueError(
  2470                 "Chunks do not add up to shape. "
  2471                 "Got chunks=%s, shape=%s" % (chunks, shape)

ValueError: Chunks do not add up to shape. Got chunks=((5, 5), (5, 5)), shape=(10, 5)

When chunks are symmetric but different numbers of chunks along an axis:
In [14]: a = np.ones(200).reshape(20, 10)

In [15]: b = da.from_array(a, chunks=(5, 5))

In [16]: b.chunks
Out[16]: ((5, 5, 5, 5), (5, 5))

In [17]: da.tensordot(b, b, axes=2).compute()
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-17-c60ee22c64a9> in <module>
----> 1 da.tensordot(b, b, axes=2).compute()

~/github.com/dask/dask/dask/array/routines.py in tensordot(lhs, rhs, axes)
    262         right_index[r] = left_index[l]
    263
--> 264     intermediate = blockwise(
    265         _tensordot,
    266         out_index,

~/github.com/dask/dask/dask/array/blockwise.py in blockwise(func, out_ind, name, token, dtype, adjust_chunks, new_axes, align_arrays, concatenate, meta, *args, **kwargs)
    144
    145     if align_arrays:
--> 146         chunkss, arrays = unify_chunks(*args)
    147     else:
    148         arginds = [(a, i) for (a, i) in toolz.partition(2, args) if i is not None]

~/github.com/dask/dask/dask/array/core.py in unify_chunks(*args, **kwargs)
  3147     blockdim_dict = {a.name: a.chunks for a, ind in arginds if ind is not None}
  3148
-> 3149     chunkss = broadcast_dimensions(nameinds, blockdim_dict, consolidate=common_blockdim)
  3150     breakpoint()
  3151     max_parts = max(arg.npartitions for arg, ind in arginds if ind is not None)

~/github.com/dask/dask/dask/blockwise.py in broadcast_dimensions(argpairs, numblocks, sentinels, consolidate)
    777
    778     if consolidate:
--> 779         return toolz.valmap(consolidate, g2)
    780
    781     if g2 and not set(map(len, g2.values())) == set([1]):

~/miniconda3/envs/daskdev/lib/python3.8/site-packages/toolz/dicttoolz.py in valmap(func, d, factory)
    81     """
    82     rv = factory()
---> 83     rv.update(zip(iterkeys(d), map(func, itervalues(d))))
    84     return rv
    85

~/github.com/dask/dask/dask/array/core.py in common_blockdim(blockdims)
  3054
  3055     if len(set(map(sum, non_trivial_dims))) > 1:
-> 3056         raise ValueError("Chunks do not add up to same value", blockdims)
  3057
  3058     # We have multiple non-trivial chunks on this axis

ValueError: ('Chunks do not add up to same value', {(5, 5), (5, 5, 5, 5)})

In both cases, setting the axes=([0, 1], [0, 1]) returns the correct result:
In [19]: a = np.ones(50).reshape(10, 5)

In [20]: b = da.from_array(a, chunks=(5, 5))

In [21]: da.tensordot(b, b, axes=([0, 1], [0, 1])).compute()
Out[21]: 50.0

In [22]: a = np.ones(200).reshape(20, 10)

In [23]: b = da.from_array(a, chunks=(5, 5))

In [24]: da.tensordot(b, b, axes=([0, 1], [0, 1])).compute()
Out[24]: 200.0

I think this can be fixed if we change how the arginds are calculated, because
this also fails for the case when axes=2 and ndim>2, in which case the -2
and -1 axis from a should be reduced against the 0 and 1 axis of b,
respectively. This fails in da.tensordot if axes=2 but not if those axes
are specified:
In [39]: a = np.arange(60.).reshape(3,4,5)
    ...: b = np.arange(60.).reshape(4,5,3)

In [40]: np.tensordot(a, b, axes=2)
Out[40]:
array([[ 7410.,  7600.,  7790.],
      [18810., 19400., 19990.],
      [30210., 31200., 32190.]])

In [41]: c = da.from_array(a)

In [42]: d = da.from_array(b)

In [43]: da.tensordot(c, d, axes=2).compute()
<snip>
ValueError: Chunks do not add up to shape. Got chunks=((3,), (5,), (5,)), shape=(3, 4, 5)

In [44]: da.tensordot(c, d, axes=([1, 2], [0, 1])).compute()
Out[44]:
array([[ 7410.,  7600.,  7790.],
      [18810., 19400., 19990.],
      [30210., 31200., 32190.]])

yep, got it, fix incoming


ignore-path description is confusing

I've tried to follow directions in here:
http://eslint.org/docs/user-guide/command-line-interface#options
and by reading the description of the ignore-path option I thought it allowed an actual file path for a file to ignore. After testing it, it is actually the path of the .eslintignore file.
Can we update the description of this option in the site?

Hi @alansouzati, thanks for the issue.
Taking a look at the --ignore-path section, it seems pretty clear to me what the option is for. What particular change would you recommend?

How about?

Path of the .eslintignore file (defaults to './eslintignore')

Right, path to the .eslintignore file, not path to a file that should be
ignored.
Sorry, I'm still not understanding what needs to change.
On Dec 20, 2016 4:49 PM, "Alan Souza"<EMAIL_ADDRESS>wrote:

How about?
Path of the .eslintignore file (defaults to './eslintignore')
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/eslint/eslint.github.io/issues/320#issuecomment-268381977,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARWejwaqTd953_oEfBNrxooOFWUEfPvks5rKFt6gaJpZM4LSXaL
.

Sorry, if I'm not making myself clear.
Now that I'm comparing these two pages:
http://eslint.org/docs/1.0.0/developer-guide/nodejs-api
http://eslint.org/docs/user-guide/command-line-interface#options
I understand what you mean about ignore file. This could be my own english limitation, but sorry, the first time I read that I got it as "path to a file to ignore".
Anyways, I still believe the first description is way more clear in the second one.

The ignore file to use instead of .eslintignore (default: null). Corresponds to --ignore-path.

Thanks for your help and sorry for my confusion.


interactionEndFrictionCoefficient param added

Hi,
we added the param interactionEndFrictionCoefficient to viewer_params, so it can be set if wanted. Because the default value is not always the best.

Your PR is anyway imcomplete and not compiable.
Anyway, I understood your intention. I'm now working on it.


Made Producer & Consumer types as EventEmitter

This will allow using consumer.once, that will simplify testing.

Thanks for your contribution.


Chosen and screen readers

Has someone managed to get the Chosen selects working with JAWS and/or NVDA?
The screen readers tell about a blank read-only field.
NVDA at least allows to control the input with the keyboard (if you see what you're doing) while JAWS seems to change mode and the down-arrow moves the reader-cursor to the next element.
The worst part is that I cannot just decide to not use Chosen as the widget is automatically initialized...

Further investigation:
The Swiss Style Guide automatically applies the Chosen library to all <select> elements due to the code in file
https://github.com/swiss/styleguide/blob/master/src/assets/js/select.js
Chosen isn't accessible, rendering any page using a <select> element automatically inaccessible when using the shipped main.js.
(Found out the hard way by working on Priminfo.ch for the BAG, trying to get it certificed by Access-4-All.)

Will be solved with the Material Design migration
Issue will be closed

I just hope you'll do a better job with the Material Design implementation than you did with Bootstrap.


Error during build

Incredibly useful Python package by the way. Solved my exact problem.
Getting this error when running the example in the readme.md:
[I 210302 14:09:09 watcher:104] Running task: builder (delay: None)
INFO    -  Running task: builder (delay: None)
INFO    -  Building documentation...
ERROR   -  Config value: 'plugins'. Error: Invalid Plugins configuration
[E 210302 14:09:09 ioloop:909] Exception in callback <bound method LiveReloadHandler.poll_tasks of <class 'livereload.handlers.LiveReloadHandler'>>
    Traceback (most recent call last):
      File "/usr/local/lib/python3.7/site-packages/tornado/ioloop.py", line 907, in _run
        return self.callback()
      File "/usr/local/lib/python3.7/site-packages/livereload/handlers.py", line 69, in poll_tasks
        filepath, delay = cls.watcher.examine()
      File "/usr/local/lib/python3.7/site-packages/livereload/watcher.py", line 105, in examine
        func()
      File "/usr/local/lib/python3.7/site-packages/mkdocs/commands/serve.py", line 129, in builder
        **kwargs
      File "/usr/local/lib/python3.7/site-packages/mkdocs/config/base.py", line 210, in load_config
        "Aborted with {} Configuration Errors!".format(len(errors))
    mkdocs.exceptions.ConfigurationError: Aborted with 1 Configuration Errors!
ERROR   -  Exception in callback <bound method LiveReloadHandler.poll_tasks of <class 'livereload.handlers.LiveReloadHandler'>>
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/tornado/ioloop.py", line 907, in _run
    return self.callback()
  File "/usr/local/lib/python3.7/site-packages/livereload/handlers.py", line 69, in poll_tasks
    filepath, delay = cls.watcher.examine()
  File "/usr/local/lib/python3.7/site-packages/livereload/watcher.py", line 105, in examine
    func()
  File "/usr/local/lib/python3.7/site-packages/mkdocs/commands/serve.py", line 129, in builder
    **kwargs
  File "/usr/local/lib/python3.7/site-packages/mkdocs/config/base.py", line 210, in load_config
    "Aborted with {} Configuration Errors!".format(len(errors))
mkdocs.exceptions.ConfigurationError: Aborted with 1 Configuration Errors!

I'll try using a previous version. This is version 4.0.0.

Thanks @jparthasarthy for the kind word and report. Could you post your full mkdocs plugin configuration here? From the error message I'm not able to see what might be wrong. Using the example configuration from the readme works for me, obviously the files don't exist.

Sure. Here's my fill config:
site_name: <>
docs_dir: "docs"
site_dir: "site"
theme:
  name: "material"
  favicon: "assets/favicon.png"
  language: "en"
  palette:
  font:
    text: "Roboto"
    code: "Roboto Mono"
  logo: assets/logo.png
  features:
    - navigation.tabs
markdown_extensions:
  - admonition
  - codehilite
  - attr_list
  - pymdownx.arithmatex
  - pymdownx.betterem:
      smart_enable: all
  - pymdownx.caret
  - pymdownx.critic
  - pymdownx.details
  - pymdownx.emoji:
      emoji_generator: !!python/name:pymdownx.emoji.to_svg
  - pymdownx.inlinehilite
  - pymdownx.magiclink
  - pymdownx.mark
  - pymdownx.smartsymbols
  - pymdownx.superfences
  - pymdownx.tasklist:
      custom_checkbox: true
  - pymdownx.tilde
plugins:
  - search
  - exclude-search:
    - exclude:
      - <>filepath/*.md
use_directory_urls: false
strict: true
extra_css:
  - stylesheets/extra.css
  -<EMAIL_ADDRESS>extra_javascript:
  -<EMAIL_ADDRESS>

Thanks! Are you trying to exclude one specific .md file or all .md files in a directory? Should either be:
For a file:
- exclude:
   - filepath.md

Or for a directory:
- exclude:
   - dirpath/*.md

I'm assuming <> is a placeholder etc?

Closing, hope the above solved your problem. Please feel free to reopen and let me know if you still encounter any issues!


"Unexpected false" - cannot debug VF# tools

Using latest master, f5 into a debug hive, create a new F# .NET Standard library, and then hit enter in the editor.  The Roslyn FatalError.cs file is brought into the editor and looks like this:

Exception details:
System.ExecutionEngineException
  HResult=0x80131506
  Message=Exception of type 'System.ExecutionEngineException' was thrown.

Inner Exception 1:
InvalidOperationException: Unexpected false

I can no longer reproduce this on latest master installed into VS 15.6 Preview 5.


[UI] Duplicate snackbar in Meshery UI

See mesheryctl Command Tracker for current status of commands.
Duplicate snackbars when there are no k8s config present
Adding prevent duplicate property to it will resolve this:
like this:

const message = 'You only see me once.';
props.enqueueSnackbar(message, {
    preventDuplicate: true,
});

Current Behavior

Desired Behavior

No duplicate snackbar is desired, only one.
Screenshots/Logs

Environment

Host OS: Mac Linux Windows
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Platform: Docker Kubernetes

Contributor Resources

mesheryctl Contributing Guide
Beginner's guide to contributing to Meshery and mesheryctl
mesheryctl Command Tracker
Meshery CLI Commands and Documentation
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

Pushing fix for this 🐛


Uncaught errors when trying to access WakeLock without permission

When running my nosleep enabled site within in a cross-domain , received the following errors (which always occur together):
NotAllowedError, Failed to execute 'request' on 'WakeLock': Access to Screen Wake Lock features is disallowed by permissions policy
Uncaught (in promise) DOMException: Failed to execute 'request' on 'WakeLock': Access to Screen Wake Lock features is disallowed by permissions policy

Browser Name: Chrome
Browser Version: 89.0.4389.90 (Official Build) (64-bit)
NoSleep.js Version: v0.12.0

Expected Behavior
Silently fail, while falling back to other methods.
Actual Behavior
I assume this occurred because the browser is set to block 3rd party cookies (or possibly because I have CSP misconfigured) - I haven't bottomed this out yet.  However, the concern is more that the error should be caught and nosleep fallback to another method.
How Do We Reproduce?
Run noseleep within an iframe and/or without WakeLock permission.

Same problem here with NotAllowedError: Wake Lock permission request denied

same problem for me, Error: NotAllowedError: Wake Lock permission request denied

Same issue here, getting NotAllowedError: Wake Lock permission request denied


Update memoization

Description:
Memoization is replaced with the lodash's implementation.
Related issue:
No issue
Check list:

[ ] Mark if documentation changes are required.
[ ] Mark if tests were added or updated to cover the changes.

name: proxy
on:
pull_request:
paths-ignore:
- '.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '.md'
jobs:
test-proxy:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
options: --dns <IP_ADDRESS>
services:
squid-proxy:
image: ubuntu/squid:latest
ports:
- 3128:3128
env:
https_proxy: http://squid-proxy:3128
steps:
- uses: actions/checkout@v3
- name: Clear tool cache
run: rm -rf $RUNNER_TOOL_CACHE/*
- name: Setup node 14
uses: ./
with:
node-version: 14.x
- name: Verify node and npm
run: tests/verify-node.sh 14
test-bypass-proxy:
runs-on: ubuntu-latest
env:
https_proxy: http://no-such-proxy:3128
no_proxy: api.github.com,github.com,nodejs.org,registry.npmjs.org,.s3.amazonaws.com,s3.amazonaws.com
steps:
- uses: actions/checkout@v3
- name: Clear tool cache
run: rm -rf $RUNNER_TOOL_CACHE/
- name: Setup node 11
uses: ./
with:
node-version: 11
- name: Verify node and npm
run: tests/verify-node.sh 11


[sublime keymap] Fix scrollLine[Up/Down] bindings

In current CodeMirror on OSX, hitting cmd + up or down only scrolls the viewport (using scrollLineUp or Down) instead of jumping to the start or end of the entire buffer.
In Sublime OSX, the default key for scrolling one line up or down is Ctrl-Alt-Up/Down. In Windows/Linux, it is just Ctrl-Up/Down.

Thank you. Merged as baad003


Making toml an optional dependency

First: is this a bug report? A suggestion? Or asking for help?

Suggestion.
Problem description
With just a few cfg(feature = ...) I managed to make toml an optional feature. With that, the release binary size got reduced from 5.14MB to 4.73MB without that feature enabled. Do you think it is of benefit to make loading theme files an optional feature? If yes then I can create a pull request for it.

Good idea! I was thinking of pushing both toml and serde to a serialize feature (or even a separate crate), since it's only used to parse themes, which is far from the common use-case.

On latest master it's now behind a toml feature.


container exited with code 1

I'm unable to get my container working.. I created a new image, delete the old one, delete containers, everything and still not working
redmine_1     | Configuring redmine::unicorn...
redmine_1     | cp: '/home/redmine/redmine/config/unicorn.rb': Input/output error
redmine_1     | cp: failed to close '/home/redmine/redmine/config/unicorn.rb': Input/output error
redmine_redmine_1 exited with code 1

Fixed problem.. It was a volumes issue. If anyone is using docker in OS X always check the volumes cause may create some problems.


about waifu model

Description of the bug
Hi, @JayantGoel001
How are you?
I have some question
Can you help me?
Steps To Reproduce
about waifu models
Additional Information
No response

Hi @Asura0209,
I am Great
How about you?
Yes, how can I help?

yes,
Thanks for your reply

Is it possible to implement your waifu model(in your portfolio) in react app?

Is it possible to implement your waifu model(in your portfolio) in react app?

Yes, you can implement the waifu model anywhere using the waifu.min.js file.

thanks everything. @JayantGoel001
you are awesome.


Collect pod logs

What type of PR is this?
Backend Feature
UI Feature
What this PR does / why we need it:
Collect pod container logs
Which issue(s) this PR fixes (if exists):
Fixes #195

Hey @ortz,
@liorbd and I added the option to collect and see pods/containers in the UI.
Once you will approved it I'll to the changed in the helm chart repo.
See the results

@liorbd can you please resolve the ui/client/src/components/EventsView/EventViewSelector.js  conflicts?

@kaplanelad done


Contiguous feature detection in nd4j

It would be nice to have the following feature from scipy ndimage.
Based on a 3x3 structure - we do a scan of the matrix and label all contiguous occurrences of that structure.
Here's the feature documentation in scipy
http://docs.scipy.org/doc/scipy-0.15.1/reference/generated/scipy.ndimage.measurements.label.html

We're going to use opencv for this. Closing this.


Menu for Suites in Test Report

It would be very nice to have a menu for the report which shows the hirarchy of the test suites and test cases allways at the side. It could be something like it is for the libdoc created html sites.
This would really help for reading longer reports. The idea is to have in the menu all the suites and test cases and it is simple to jump from one test to another without scrolling through the whole test when results are analyzed and compared.

Do you have a more concrete proposal, preferably with an example?

Yes I will try.
Let us consider we have a test structure like the one showing within the test_cases.zip
This is an actual use case. There are several device types with then different devices of this type.
Now if some test is failing for one device of a certain device type but not for another there must be an investigation. There we saw that it becomes very annoying in the log file to go from one test of one device to the other if you do not open them in seperate windows. Therefor I thought about having some kind of a menu at the side of the Log to have the option to jump in a fast way from one point to another point as i tried to show in this image:

The side menu for sure needs then some kind expand-collapse function and maybe on the default it is hidden at the side and can be opened when needed. Evan any other possiblity to jump to another test suite/test case would help.
In my opinion the level of this side menu should go to test cases and not further. So there are not the keywords included.
I hope I was able to explain myself better.

The title and the description talked about "report" but this enhancement is in the log file. I can see it could be useful, but the actual report file already to some extend already has this functionality. There you can open all tests or a subset of tests (based on suites or tags), sort them based on different criteria (status being most important), etc.
I'm not against enhancing the log file, but I'm not sure would just having a tree of tests visible bring too much benefits compared to what report/log combination already has. Possibly the tree could get some other functionality (e.g. filtering and/or search) to make it more useful. It might also be worth thinking could report and log be somehow merged so that a single file would have all information that could then be visualized differently.
Personally I'm fine with the current log and report, and consider there to be other issues that have higher priority. If you @KoppDaniel, or someone else, is interested to work with this I'd be happy to participate on design and to help with development.

@KoppDaniel Here you can select any suite, and the table will show the test cases of that suite. As it has been said above there are many more filtering options in addition to this.

@Ethernet-Packet the problem is not the sorting at the beginning. The issue is that if I am inside a test and compare it to another that depending on the deepness I am in I have to do a lot of scrolling to jump for example to another point in the script. I thought it would be nice to have a easy way to do this jump to test case or test suite without closing all the keywords and so on


Large spacing in horizontal toolboxes

changes in horizontal spacing, old (top), new (bottom)
Two commits have changed the horizontal spacing in the toolbox, 991dba0 and 6539a63. Were these changes intentional?
If so, is it possible to adjust this? Changing Flyout.prototype.MARGIN affects the spacing from the top/side as well.

Yes, it's possible to add a new variable (Flyout.prototype.BLOCK_SPACING_X/Y?) to separate the margin and the inter-block spacing.  It looks like 6539a63 changed the margin from 8 to 12, leading to the noticeable change in size.
To make this change you would modify the isNan case on this line: https://github.com/LLK/scratch-blocks/blob/develop/core/flyout.js#L658
No, I don't recall any intent to move the blocks that far apart.

@drigz looks to me like this is fixed?

It's now customizable by applications, so as long as you're happy with the default spacing being larger than before, this is fixed.


[SPARK-44577][SQL] Fix INSERT BY NAME returns nonsensical error message

What changes were proposed in this pull request?
Fix INSERT BY NAME returns nonsensical error message on v1 datasource.
eg:
CREATE TABLE bug(c1 INT);

INSERT INTO bug BY NAME SELECT 1 AS c2;

==> Multi-part identifier cannot be empty.

After PR:
[INSERT_COLUMN_ARITY_MISMATCH.NOT_ENOUGH_DATA_COLUMNS] Cannot write to `spark_catalog`.`default`.`bug`, the reason is not enough data columns:
Table columns: `c1`.
Data columns: `c2`.

Also fixed the same issue when throwing other INCOMPATIBLE_DATA_FOR_TABLE type errors

Why are the changes needed?
Fix the error msg nonsensical.

Does this PR introduce any user-facing change?
Yes, the error msg in v1 insert by name will be changed.

How was this patch tested?
add new test.

can we update the PR description for the new changes?

[INSERT_COLUMN_ARITY_MISMATCH.NOT_ENOUGH_DATA_COLUMNS] Cannot write to `spark_catalog`.`default`.`bug`, the reason is not enough data columns:
Table columns: `c1`.
Data columns: `c2`.

For by-name insert, shall we just say "incompatible data columns"? The number of columns does match here.

@MaxGekk does this PR align with your plan of unifying the assignment errors?

@cloud-fan In my PR https://github.com/apache/spark/pull/42393, I am going to touch non-BY NAME functionality so far.

thanks, merging to master/3.5!


fix: make Factor.friendlyName nullable

close https://github.com/supabase/supabase-flutter/issues/387
Should I increase the version as well?

I think a patch version is okay. This isn't breaking any changes, it's just making it more lenient.


Hope to restore support for RG351M(P)

Nope.  See here for a fork that updates that device..< https://github.com/wummle/arkos/wiki >


ABI-checker: add an option to dump generated baselines into a directory. NFC

Using a directory instead of an exact file name for the generated
baseline allows the tool to use target triple as file name, which is
expected by the diagnostic phase.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci Please smoke test OS X platform

@swift-ci please smoke test


Update this with the new Power Automate licensing model please

[Enter feedback here]
Dear Mr./Mrs.,
Could you please update this with the new power automate licensing?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: a8271e81-5041-5791-4cf8-e2cfbe55656d
Version Independent ID: a8271e81-5041-5791-4cf8-e2cfbe55656d
Content: Pay-as-you-go meters - Power Platform
Content Source: power-platform/admin/pay-as-you-go-meters.md
Service: power-platform
Sub-service: admin
GitHub Login: @Kavishi
Microsoft Alias: kaagar

Thanks for your comment, @aagirre92. This issue has been assigned to the doc author for review.


XML to ReqIF?

Hi I am quite new to XML and ReqIF. I know that ReqIF is a type of XML file but from what I understand, it is formatted differently. Can XML be converted to this format using the unparser?

Hi!

Can XML be converted to this format using the unparser?

No, the function of the unparser is to parse the ReqIF in-memory representation (Python objects) to a .reqif file on a file system.
Could you share which problem are you trying to solve?


Profile Picture

hello Devs,
i am little dissapointed when using vs code when  i am logning using my github account but doesnot show my github profile picture please help me,
best regards

/duplicate of #136889

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!

Please consider it


ng serve does not terminate when VS debugging is stopped

VS: 15.5.7
Node: 6.9.1
Browser: Vivaldi (Chrome)
dotnet new --install Microsoft.DotNet.Web.Spa.ProjectTemplates::2.0.0
dotnet new angular
npm restore -f

Switch to project launch in debug configuration
Start debugging with VS
Wait for everything to boot up
Load the website
Stop debugging in VS

=> Console window with ng serve doesn't go away
These processes stay open and don't terminate unless manually killed:

Am I missing something?

I think this is just how VS debugging works. AFAIK it's the same for all ASP.NET Core projects, but please let me know if you have a situation where that's not the case!


Sub-resources Total

It is fantastic that we can filter on the sub-resources, e.g:
GET http://<IP_ADDRESS>:3001/api/clients/59a1a17aeaba9ebd0180abb0?fields=id,name,services(page:1,limit:10)

However we don't receive the total count for this services sub-resouce. Trying:
GET http://<IP_ADDRESS>:3001/api/clients/59a1a17aeaba9ebd0180abb0?fields=id,name,services(page:1,limit:10,total:1)

Gives Invalid "fields" parameter: services: unsupported param name: total
This feature has good use-case. Where you populate initial view with several sub-resources, show their pagination options, then allow further paginate them individually, through index bound resource, and not sub-resource.
More-over having X-Total,X-Count HTTP response headers is a bit unconventional.
My proposal is to wrap our responses in a holder object, something like that:
{
    total: X,
    data: {...}
}

The other way is I guess, to have dedicated count REST method, and obtain Total in subsequent REST requests.
GET http://<IP_ADDRESS>:3001/api/clients/count?filter={}

Just some generic feedback first
I don't think neither me nor @rs is a huge fan of wrapping the data response in a sub-structure (by default). There is an option to create your own response formatter if you would want that kind of response.

More-over having X-Total,X-Count HTTP response headers is a bit unconventional.

Not really, although there are certainly other approaches. Using Header s is a nice way of not forcing the consumer of API to deal with extra values, such as the X-Total header, which you would do by wrapping the response.
This does not bring us closer to solve your pagination problem, but quite frankly, if you want to paginate a resource, would you not want to list that resource directly via a separate response rather than embed it?

I totally agree that wrapping it is ugly. The reason is the same, as sub-resources are advertised: "To lower REST requests count".
How about count method on a resource, I don't think rest-layer has it now. Seems like a good feature.

I am not sure I understand exactly what would the count method do?
If we have a parent-resource and sub-resource, could you give some exmples of how you think it should work, and what it should return?

The idea is count to return how many items match a criteria, without actually returning the items. The result of Counter interface actually. However I found a way to emulate this, but it will return at least one item.
GET http://<IP_ADDRESS>:3001/api/clients?limit=1&total=1&filter={"name":{"$regex":"^A"}}

Interestingly enough, using limit=0 returns all items. Bug maybe?

Okay, yes, Issue in MongoDB or rest-layer-mongo, will investigate.

Okay, yes, Issue in MongoDB. If you are willing to support limit=0

I'm not against it if you can find a way to implement it. I am also not against there being some way of retrieving the total count of a sub-resource, if it does not involve wrapping the data response by default.
@rs, what do you think about limit=0?

Why don’t you use HEAD instead?

Good point

@rs @smyrman Thanks, totally forgot about HEAD. It works as expected, however it is little ineffective for resource.ItemList right now, i.e. actually retrieving the data from the DB, just not sending it back. I guess we can use Counter interface if total=1 is used, and not retrieve all data.
HEAD for resource.Item will stay as it is in order to obtain the ETag.

@Dragomir-Ivanov, looks like the code is at least trying to set the limit to 0 on HEAD requests:
https://github.com/rs/rest-layer/blob/b96a9fac46d267ad2894ec98b0bf242a703a45a9/rest/routing.go#L198
And in rest-layer-mongo:
https://github.com/rs/rest-layer-mongo/blob/4b10584d0513745d36ba07e93d3acc8f92323231/mongo.go#L213
Did you find that this was not the case?

Other than that, I would assume it still makes sense to prefer the Counter interface, if implemented, for the HEAD request.

@smyrman Yes, this is a MongoDB issue.
https://docs.mongodb.com/manual/reference/method/cursor.limit/#zero-value
There are 2 ways of approaching this.

Fix this in rest-layer and use Counter interface. We can revert back to Find with stripped body if Counter is not available.
Fix this in rest-layer-mongos Find and add a specialization like this:

// Find items from the mongo collection matching the provided query
func (m Handler) Find(ctx context.Context, q *query.Query) (*resource.ItemList, error) {
	if q.Window.Limit == 0 {
		n, err := m.Count(ctx, q)
		if err != nil {
			return nil, err
		}
		list := &resource.ItemList{
			Total: n,
			Limit: q.Window.Limit,
			Items: []*resource.Item{},
		}
		return list, err
	}
....

I can send PR, for whatever way you choose.

I would actually prefer both, if you have time @Dragomir-Ivanov, but maybe prioritize 2.
I see 2 as a bug that should be fixed so that at least the rest-layer-mongo acts as expected when the limit is set to 0 (for any reason).
I see 1 as a generic optimization that may help certain storage backends to perform the count operation for HEAD requests more efficiently.
@rs, I hope this is fine with you.

PS! For 2, please add a comment with a link to the bug so that it's clear why this work-around is there, and so that it may be eventually removed if the issue is fixed.

Okay, lets wait for @rs comment.

agreed

Should use HEAD request for resource total.
Mongo issue fixed in https://github.com/rs/rest-layer-mongo/commit/e32a6d3bbf5704ba53a9319054cd7092aa1ab871


update Vagrantfile to ubuntu 20.04 and support python 3.6-3.9 and PostgreSQL 9.6-12

supports python 3.6-3.9 and PostgreSQL 9.6-12

Since I only changed the Vagrantfile its unclear to me how any tests could fail.    Potentially a flaky test?

2021-08-10 03:28:38,680	BasebackupFetcher	Thread-488	ERROR	Got error from chunk download: tar exited with code 2 for file '00000004.pghoard', output: b'tar: base/1/2996: Cannot open: No such file or directory\ntar: Exiting with failure status due to previous errors\n'

This should be fixed in https://github.com/aiven/pghoard/pull/448

Im hopeful this can be merged too, as I myself rely on this vagrant file for testing my PRs :-)


Add support for GH CI.

This CI is build to make automated TestFlight builds in the neat future.

This will become more useful when we have tests to gate our merge and when we have a beta which we could push new builds to TestFlight with.
ALSO - This process may be slightly different for React Native... @BastianInuk can you see if this process would still fly with React Native?

This one is made for React Native iOS, and can be modified for an Android version with relatice ease

@BastianInuk okay sweet! So it seems like the main steps needed for this thing are:

Get tests setup for this
Get an Android build process setup as well
Get TestFlight handled

Thoughts?

I really like this as long as we can agree to:
1: tests are on you (and other people)
2: I'm beginning the Android process after
3: the tf process won't be done before at least before the weekend begind.

On 20 Feb 2020, at 05.08, Alec Dilanchian<EMAIL_ADDRESS>wrote:

@BastianInuk okay sweet! So it seems like the main steps needed for this thing are:
Get tests setup for this
Get an Android build process setup as well
Get TestFlight handled
Thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yes I do not expect you to write any tests for this PR. Cool with the other two points as well. This is still a tad far off. Once we get closer we can actually get this implemented.

What schemes are there?
https://github.com/BastianInuk/Gruvee/runs/458631923?check_suite_focus=true#step:5:4

Maybe this one?
https://github.com/BastianInuk/Gruvee/blob/master/ios/Gruvee.xcodeproj/xcshareddata/xcschemes/Gruvee.xcscheme

Thus far, thus good, now I just need a development profile:
https://github.com/BastianInuk/Gruvee/runs/459671339?check_suite_focus=true#step:5:8

Hey I have not yet - but will follow up on this at some point this weekend. Thanks!

Going to keep this on hold until we can utilize this is a proper way:
ie: when we have betas ready to go

@adilanchian I think you should set up the fastlane on your personal desktop, and hide away your creds in the GitHub secrets


TOC isn't expanded for the topic: A Tour of the C# Language

Table of contents is not expanded for the topic: A Tour of the C# Language in the left sidebar.

It is, if you use the URL https://docs.microsoft.com/en-us/dotnet/articles/csharp/tour-of-csharp/, instead of https://docs.microsoft.com/en-us/dotnet/articles/csharp/tour-of-csharp/index.
In the long term, I think both URLs should either behave the same or one of them should be a redirect.
In the short term, how did you get to the /index URL? Is there a link to it somewhere?

It seems like all URLs that have /index don't show the TOC!
I got to it from the links in C# Guide. Most of them have /index.

Yeah, a recent change to the site caused this issue. We'll have a fix for this but I don't know when. I'll try to find where we have links with / index on them. We fixed the one we had one the homepage that I've noticed before.

Actually, it doesn't make much sense to change the links. But I'll make sure I call out this scenario in the tracking bug we have for this.

This is now fixed!

Thanks for the fix and the new blue marker :)

Thank @DuncanmaMSFT's team 😄

Thanks to you Mr. @DuncanmaMSFT and your team :)
There is an issue with the SDK page; it doesn't show the marker! Maybe because it is not in the toc.md?!

Yes, it's not there. I have an issue tracking this topic: #781


Relax possibility for named template to return an empty sequence

I have quite a large project containing a large chunk of topicrefs.
At some point during processing the large chunked topic in the "html5.topics.common.inner" stage I get in the console the error:
 [xslt] An empty sequence is not allowed as the result of template related-links:result.reference
 [xslt] Failed to transform document: Failed to transform document: An empty sequence is not allowed as the result of template related-links:result.reference
 [xslt] Processing

and afterwards the HTML topic corresponding to the chunked file is incomplete, it's not even valid, it's missing most of its contents.
In this file DITA-OT/plugins/org.dita.html5/xsl/reference.xsl there is a template:
<xsl:template match="*[contains(@class, ' topic/link ')][@type='reference']" mode="related-links:result-group"
              name="related-links:result.reference" as="element()">

If I relax the as="element()?" to specify an optional element, the processing works and produces a large HTML document from the chunked topic, as it should.
Looking in all other XSLTs, all other templates named related-links:result.reference have as="element()?"
I might not be able to provide a sample project for this one.

Looks like a good backwards compatible fix for 3.7.3. @raducoravu Could you open a PR?


Interesting application relationship detection issue

Hi, first off I love BC Uninstaller, I seriously think it's my favorite application for Windows. Great stuff here and thank you for all the work that goes into it :)
I have had this happen with a few random applications before in the past with no real pattern in their category. When chosen to uninstall it will proceed to the step where you can kill potential blocker apps, and the list will be pretty much everything running at the moment in Windows. Continuing past that with no killing everything proceeds smoothly  and app is uninstalled.
When searching for leftover crap I am presented with a list of the regular items BC-U finds like Start Menu lnks, prefetch data, and what appears to be a nice sized chunk of my Windows Registry; all check marked for removal with a confidence rating of: Good.
This very well could be completely a problem with the application(s) themselves and how they react with BC-U, etc. etc. But I thought I'd bring this to attention in case it hasn't been observed before and since it is potentially a loaded gun for a unsuspecting user.
I exported the list here for you and if there is anything else I could give you logs related I'd be happy to do so. I failed to screen grab but might be able to replicate this once more.
My system:
Razer Blade Stealth 13" 2020 model
i7-1065G7 4C-8T CPU
16GBDDR4
WIN 11 Pro x64
New BCUninstaller Junk Export.txt
Cheeers!

Hello! Can you select one of these offending applications on the uninstaller list and send an export of it from the File menu?

Hello I'm so sorry I am responding so late to this. I just reinstalled Windows onto a new drive as my old SSD took a dump on me. I will try and replicate the issue once again and gather more info from one of the offending applications for you.


[BUG] (Light theme) Hidden bullet on unordered list in preview

Thanks for address the external links in #9.
After loading that update, I see another issue: the unordered list "bullet" is not visible in preview mode.
Let me know if you're still working on the theme and don't need issues created.
Screenshots

Desktop (please complete the following information):

OS: MacOS 11.2
Obsidian Version: 0.11.5

---
aliases: [Testing lite theme]
created: "2021-03-08"
source:
cssclass: [matrix]
tags: [ actions/-📥Inbox ]
---

# Testing spectrum light theme

## Lists

### Unordered list
- [ ] Checkbox
- List item

### Ordered list
1.  Item 1
2.  Item 2

## Links

[[2021-03-08|Gratitude journal 2021-03-08]]

[Spectrum Obsidian Theme](https://github.com/Braweria/Spectrum)

## Task review (Eisenhower matrix)

### Tasks

| Urgent | Not Urgent |
| --- | --- |
| ![[template-eisenhower#Urgent Important]] | ![[template-eisenhower#Not Urgent Important]] |
| ![[template-eisenhower#Urgent Not Important]] | ![[template-eisenhower#Not Urgent Not Important]] |

### Urgent/Important
Do it immediately

- [ ]

### Not Urgent/Important
Decide when you'll do it

- [ ]

### Urgent/Not Important
Delegate to someone

- [ ]

### Not Urgent/Not Important
Do it later

- [ ]

3 days later than promised, but here it is. :)


Input methods get interrupted when TextField constraints change

This was originally reported in #120557 but I was told to file this as a separate issue.
Steps to Reproduce

Execute flutter run on the code sample. Choose Web as the platform.
Switch to Chinese input method. Other input methods may also have this issue but I haven't tested them.
Try to compose Chinese characters. You'll see that it is impossible to compose any Chinese character in this TextField.

This issue also depends on the input method and the platform. It can be reproduced with the default Chinese Pinyin IME on both Chrome and Safari on macOS (user reports Windows is affected too), but not on iOS.
Expected results:  Expected to be able to compose Chinese characters normally, as in a native text field.
Actual results:
Input method keeps getting interrupted, making it impossible to compose any Chinese character.

Code sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatefulWidget {
  const MainApp({super.key});

  @override
  State<MainApp> createState() => _MainAppState();
}

class _MainAppState extends State<MainApp> {
  final _controller = TextEditingController();

  bool show = false;

  @override
  void initState() {
    super.initState();
    _controller.addListener(() {
      setState(() {
        show = !show;
      });
    });
  }

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Row(
          children: [
            Expanded(
              child: TextField(
                maxLines: null,
                controller: _controller,
                keyboardType: TextInputType.multiline,
              ),
            ),
            Visibility(
              visible: show,
              child: const IconButton(
                  icon: Icon(Icons.zoom_out_sharp), onPressed: null),
            ),
          ],
        ),
      ),
    );
  }
}

Logs

No logs

Analyzing flutter_demo...
No issues found! (ran in 1.6s)

[✓] Flutter (Channel stable, 3.7.1, on macOS 13.2 22D49 darwin-x64, locale en-US)
    • Flutter version 3.7.1 on channel stable at /Users/singularity/Projects/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7048ed95a5 (6 days ago), 2023-02-01 09:07:31 -0800
    • Engine revision 800594f1f4
    • Dart version 2.19.1
    • DevTools version 2.20.1

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.75.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[!] Proxy Configuration
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[✓] Connected device (3 available)
    • iPhone 14 Pro Max (mobile) • 9AADEBDE-B971-4B5B-9E37-A743968DAD5A • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 13.2 22D49 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 109.0.5414.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 3 categories.

Triage report
I can reproduce this issue. Looks like pressing space bar doesn't trigger the Chinese characters to be inputted. But manually double clicking them with the mouse works (See end of video attached).
Code Sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatefulWidget {
  const MainApp({super.key});

  @override
  State<MainApp> createState() => _MainAppState();
}

class _MainAppState extends State<MainApp> {
  final _controller = TextEditingController();

  bool show = false;

  @override
  void initState() {
    super.initState();
    _controller.addListener(() {
      setState(() {
        show = !show;
      });
    });
  }

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Padding(
          padding: const EdgeInsets.symmetric(horizontal: 60),
          child: Center(
            child: Row(
              children: [
                Expanded(
                  child: TextField(
                    maxLines: null,
                    controller: _controller,
                    keyboardType: TextInputType.multiline,
                  ),
                ),
                Visibility(
                  visible: show,
                  child: const IconButton(
                    icon: Icon(Icons.zoom_out_sharp),
                    onPressed: null,
                  ),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Video demonstration
https://user-images.githubusercontent.com/50555895/219011942-9bdb37fc-a0d9-4d8a-bc9c-531ddeea159e.mov

flutter doctor -v (Master)
[!] Flutter (Channel master, 3.8.0-12.0.pre.68, on macOS 13.2 22D49 darwin-arm64, locale en-US)
    • Flutter version 3.8.0-12.0.pre.68 on channel master at /Users/nabeelparkar/fvm/versions/master
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/2.19.1/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nabeelparkar/fvm/versions/master. Consider adding /Users/nabeelparkar/fvm/versions/master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4b8ad1b007 (86 minutes ago), 2023-02-14 22:29:23 -0800
    • Engine revision d860892528
    • Dart version 3.0.0 (build 3.0.0-233.0.dev)
    • DevTools version 2.21.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nabeelparkar/Library/Android/sdk/
    • Platform android-33, build-tools 33.0.0
    • ANDROID_SDK_ROOT = /Users/nabeelparkar/Library/Android/sdk/
    • Java binary at: /Users/nabeelparkar/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9477386/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nabeelparkar/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2022.1)
    • Android Studio at /Users/nabeelparkar/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9477386/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] VS Code (version 1.75.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (3 available)
    • Nabeel’s iPhone (mobile) • 00008101-000E48283A20001E • ios            • iOS 16.2 20C65
    • macOS (desktop)          • macos                     • darwin-arm64   • macOS 13.2 22D49 darwin-arm64
    • Chrome (web)             • chrome                    • web-javascript • Brave Browser <IP_ADDRESS>

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Triage report
I can reproduce this issue. Looks like pressing space bar doesn't trigger the Chinese characters to be inputted. But manually double clicking them with the mouse works (See end of video attached).
Code Sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatefulWidget {
  const MainApp({super.key});

  @override
  State<MainApp> createState() => _MainAppState();
}

class _MainAppState extends State<MainApp> {
  final _controller = TextEditingController();

  bool show = false;

  @override
  void initState() {
    super.initState();
    _controller.addListener(() {
      setState(() {
        show = !show;
      });
    });
  }

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Padding(
          padding: const EdgeInsets.symmetric(horizontal: 60),
          child: Center(
            child: Row(
              children: [
                Expanded(
                  child: TextField(
                    maxLines: null,
                    controller: _controller,
                    keyboardType: TextInputType.multiline,
                  ),
                ),
                Visibility(
                  visible: show,
                  child: const IconButton(
                    icon: Icon(Icons.zoom_out_sharp),
                    onPressed: null,
                  ),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Video demonstration
Screen.Recording.2023-02-15.at.4.41.04.PM.mov
flutter doctor -v (Master)

hey bro, it's fixed?


Clearer makefile for building README.

Resolves #4138.

I'm not really thrilled with it, but I'm kinda short of other options. Short of actually improving the package in question to provide better errors, which it can't really do, this is kinda the best we can do. =(

Many thanks!


[enhancement] improve createNamespace()

Hi @mkj,
Jinliang get an idea to improve the createNamespace() process:
https://gbmc-review.googlesource.com/c/dbus-sensors/+/13495.
Would you like to take a look?

I am personally agree with the first two statement:

We don't need to getBlockSize on every NVMeMi::createNamespace
request. During start up, `NVMeSubsystem::querySupportedFormats'
already read it, so we can save it and re-use it. By this way,
we can avoid the 4KB nvme_mi_admin_identify_ns read command.
Since we don't need getBlockSize, we can merge the original
submitted_cb and finished_cb into one callback

But I have concerns with the third one:

Even we don't need async NVMeCreateVolumeProgress task for
createVolume, but the Redfish interface is already used by other
client. To keep compatible with existing clients, so we still create
a NVMeCreateVolumeProgress, and mark it as finished right away.

Given that the Volume creation processing time would be long and the async progress still benefits to prevent from the client (dbus or higher) from timeout.

@drakedog2008 I've added a comment in Gerrit there. I'm uncertain whether hardware exists that has a > 25s time for namespace create.


Add logging info to zebrad's command line usage message

We should document the  verbose flag, env var, and config file.
See #652 for details.
If you type in just 'zebrad', it doesn't tell you about the command line flags or the config file options.

This might be covered by abscissa 0.6. Otherwise we can do it if it's ever needed.


ClassFinder scans all dependencies

I updated to SPQR 0.9.6 and now on start up ClassFinder seems to be scanning everything in local maven repo folder. This takes a an extraordinary amount of time.
I tried looking into the code but I couldn't specifically see what's going wrong, hopefully it's something simple that I need to configure or that can be fixed?

Sorry for delaying the answer.
There's 3 reasons why a classpath scan might occur:

you're using implementationAutoDiscovery on @GraphQLInterface
you're using possibleTypeAutoDiscovery on @GraphQLUnion
you're using an abstract type or an interface as input somewhere (not necessarily directly)

The first 2 are pretty self-explanatory, I guess, but the third one may be less obvious, so here's an example. Say you have classes such as:
public interface Item {
      ...
}

public class Box {
    private List<Item> items;

    public List<Item> getItems() {
        return items;
    }
}

If you ever used either Item or Box as inputs, e.g.
@GraphQLQuery
public int itemCount(Box box) {
    return box.getItems().size();
}

there would be a tricky ambiguity: deserializing Box from JSON means deserializing  Item and that's an interface which can't be directly deserialized. So what SPQR does in this case is find all the implementations of Item on the classpath, and registers them with Jackson (or Gson), and also adds a field called _type_ to the ItemInput GraphQL input type, that it then uses to disambiguate the real class. In version prior to 0.9.7 this field is a string, while in 0.9.7 it is an enum (you can of course customize the mapper and do something else as well).
In SPQR 0.9.6, this feature is possible to tune or turn off, but it's not straight forward, as there's a few different places that require customization.
In the just released 0.9.7, it is much easier to assert tight control over classpath scanning.
 To turn it on, you can use GraphQLSchemaGenerator#withAbstractInputTypeResolution. You can also completely change its logic using GraphQLSchemaGenerator#withAbstractInputHandler(AbstractInputHandler), so you can fully control if/when/how the scanning happens.
To control how implementationAutoDiscovery and possibleTypeAutoDiscovery work, you can provide a custom ImplementationDiscoveryStrategy via GraphQLSchemaGenerator#withImplementationDiscoveryStrategy(ImplementationDiscoveryStrateg). Of course, you can simply not use auto discovery in the first place unless you actually need it.

Thanks! GraphQLSchemaGenerator#withBasePackages solved it. I'm having another issue, but I'll open a new issue for that.
Thanks for the help!


License header duplicated - Help wanted

Type of Issue
[ ] Bug Report
[x] Feature Request

Description
please describe the error that you encountered
As in a lot of projects I have a license header at the beginning of any file.
The result bundle contain all this license header replicated. There is a way to remove all the duplicated license header and keep only one at the beginning?
How To Reproduce
please include instructions how to reproduce / for features: do you have a first draft or idea how to implement?
Expected Behaviour
please describe what behaviour or result you expected
Version Information
last 2.0.0-rc.4
ng-packagr: v1.x.y
node: v8.x.y
@angular: v4.x.y
rxjs:
zone.js:

please include any version information that might be relevant, e.g. other third-party libraries

So guys I find out this plugin https://github.com/mjeanroy/rollup-plugin-strip-banner that should help in this task anyway to plug it?

So guys looking inside your the project conf I see https://github.com/dherges/ng-packagr/blob/1c37efb8503930f33b218268a366983182769544/src/lib/steps/rollup.ts#L33
where are imported the current used plugin . In my opinion could be really good give an extension point here. Happy to help in the case you like the idea. Can you please give some feedback?


Refactor/simplify dispatcher

This PR removes the logic from the MessageDispatcher and returns it to the Conversation classes.
The plan is to work through each conversation, changing the superclass from Conversation to MagicConversation and making the conversation responsible for managing its own future and writing its own replies to an output queue.
At the end, we can remove the scaffolding from MessageDispatcher, drop the horrendous if/elif construct, and then rename MagicConversation to Conversation.
This will fix #41 and is a pre-requisite for most of 0.6

Codecov Report

Merging #51 into master will increase coverage by 2.16%.
The diff coverage is 87.14%.

@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
+ Coverage   87.65%   89.82%   +2.16%
==========================================
  Files           7        7
  Lines        1555     1778     +223
  Branches      118      144      +26
==========================================
+ Hits         1363     1597     +234
+ Misses        160      148      -12
- Partials       32       33       +1

Impacted Files
Coverage Δ

photonpump/messages_pb2.py
100% <ø> (ø)
:arrow_up:

photonpump/exceptions.py
95.23% <100%> (+0.15%)
:arrow_up:

photonpump/discovery.py
76.92% <73.33%> (+2.16%)
:arrow_up:

photonpump/messages.py
92.11% <75%> (+0.28%)
:arrow_up:

photonpump/conversations.py
89.6% <83.76%> (-4.74%)
:arrow_down:

photonpump/connection.py
89.13% <88.72%> (+11.35%)
:arrow_up:

... and 1 more

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 744515d...bb30cc6. Read the comment docs.


SwiftUI: No such Module 'FirebaseAuth'

Step 0: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request please use the Feature Request template.

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general (non-iOS) Firebase discussion, use the firebase-talk
google group.
For backend issues, console issues, and other non-SDK help that does not fall under one
of the above categories, reach out to
Firebase Support.
Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.

[REQUIRED] Step 1: Describe your environment

Xcode version: 13
Firebase SDK version: 8.10.0
Installation method:  Swift package manager (select one)
Firebase Component: auth (Auth, Core, Database, Firestore, Messaging, Storage, etc)
Target platform(s): ios

[REQUIRED] Step 2: Describe the problem
When I try importing FirebaseAuth it I get the error : "No such Module 'FirebaseAuth'". I have added the package dependencies with package manager and FirebaseAuth is there... but it still gives the error. See screenshot: https://prnt.sc/21wm6mf
Steps to reproduce:
Install firebase ios sdk via SPM.
Select every single installation option.
Try importing FirebaseAuth
Relevant Code:
// import FirebaseAuth

This is likely a duplicate of #9014. Please see the discussion there and confirm that you've added FirebaseAuth as a build dependency.

Issue was solved following answer from this discussion: https://github.com/firebase/firebase-ios-sdk/issues/9014. Thanks to @paulb777


App Engine Python update to 2.7

Python 2.5 runtime will be disabled on App Engine.
On May 16th, 2017, the Python 2.5 runtime will be disabled on App Engine.
On June 20, 2017, the Python 2.5 runtime will be permanently disabled on App Engine.

Thank you for this!


pascal support

Added instruction to Readme on setting up an pascal supported environment.

Thanks! I added it into our wiki! Appreciate it!


Merge Pos2 and Vec2? Or use linear algebra library?

Is there a difference between Pos2 and Vec2? It seems like they are basically interchangable.
Also what about using a linear algebra library like nalgebra or cgmath for vector math? This would also give us matrices and all the related implementations immediately.

Points and vectors are different things (https://docs.rs/emath/0.13.0/emath/struct.Vec2.html). Some libraries chose to represent them using the same primitive, but emath does not. This helps catch some bugs, like the mixing up the parameters to Rect::from_min_max and Rect::from_min_size.
egui doesn't really need matrices, so right now I'm opting for a more minimalistic and custom approach. emath is opinionated and custom made for a GUI library (i.e. calling the max Y edge of a rect "bottom", which nalgebra or cgmath would not, and should not, do)

Understandable. In this case what do you think about From conversion implementations between them? Pos2 has .to_vec2() but Vec2 does not have the reverse. I think .to_pos2() would be consistent and useful, aswell as From implementations. It should be a small addition so I can quickly open a PR.