[Feature Request] Async charts for cases when data/series calculation is heavy (separate chart  instantiation and calculation)

Is your feature request related to a problem? Please describe.
If a chart requires heavy to calculate data, the whole page will be empty unless data calculate. This is how response of available cards looks like (for dashboard, UEL example /nova-api/dashboards/users):

Describe the solution you'd like
What Nova does with their default charts is to serialise meta data about the Metric and then associated vue component produces a request to fetch data for the Metric.
I tried to use LineChart is the same fashion:
final class MembershipLifetimeLIneChart extends Metric

    /** This method is called by {@see \Laravel\Nova\Metrics\Metric::resolve} */
    public function calculate(Request $request): \JsonSerializable
    {
        return LineChart::make()
            ->title($this->name())
            ->series([
                [...

but it also requires to update vue components to support such behaviour: existing components can't parse metric metadata and then produce an API request.
Nova bug makes it even more important
For every request to a Metric, added to a dashboard, Nova calls public static function allAvailableDashboardCards(NovaRequest $request) that initialises all cards and metrics. In case of this package that means if you have 20 charts on a dashboard, Nova will initialise them 20*20 times. Of course, that means a lot of DB queries if you fetch info for charts from DB. Implementation of this feature will solve this problem: chart instantiation and calculation will be different processes

I'm glad I saw this, thank you, I'll have to hold off on this package for now.  I was wondering if this was the case given how the docs didn't suggest to build an object for each metric, but put it directly in the dashboard object itself...


Allow custom path to be used for migration and view files

In a project I have a number of different databases setup, each database has it's own folder and I have a rake task which sets runs through the different databases and runs the migrations for them. The structure looks like below;
# apps main db
- db
  - schema.rb
  - migrate
    - 123_migration_1.rb
    - 456_migration_2.rb
# other database
- db_foobar
  - schema.rb
  - migrate
    - 098_migration_1.rb
    - 765_migration_2.rb

I have the need to create a view inside the other database and for this the migrations and the views need to go into the db_foobar folder. I can drag them into the correct folder once we create them, however as scenic hardcodes the definition path to db/migrate this fails.
This PR adds the ability to either manually add custom_path to the scenic migrations (create_view. update_view etc.) or pass this in as an option to the generator (rails g scenic:view my_view --custom_path=db_foobar)
This will not effect the default use of scenic at all.
Let me know your thoughts on if this would be of interest and if any changes are needed.

I think that in the absence of any other users for this change, we're going to have to suggest you monkey patch Scenic, use this fork, etc. rather than merging this, as it adds a fair bit of complexity we'd need to maintain moving forward.


If Marathon doesn't have healthcheck, assume it's ok

Healthcheck are not mandatory, so if a result is not present, assume it
is ok to continue. Fixes the case when a new leader is elected and
don't have any healthcheck result's, returning 404 to all requests.
https://github.com/containous/traefik/issues/653

/cc @containous/traefik
Seems fine to me 👼

LGTM

@gomes needs a rebase :)

Done

@gomes thanks for this, LGTM :)
I'm sorry but could you rebase again? I will merge it right away.

@emilevauge done, I had to execute 2 times because of a build failure.


feat/177048 - init commit for 'sections' changed to 'topic(s)' with p…

Feat/177048 - change 'sections' to 'topic(s)'

Won't this say "You have completed 1 of X topic" if there's only 1?

Don't know why I can't reply to your direct comment - but yeah, that was just a little extra i said put into the story - didn't make sense to say you have complete 0 of 1 topics as 1 is not plural

Won't this say "You have completed 1 of X topic" if there's only 1?

Don't know why I can't reply to your direct comment - but yeah, that was just a little extra i said put into the story - didn't make sense to say you have complete 0 of 1 topics as 1 is not plural

Just sounds wrong to me 😄 Could it say something like "You have completed the section" instead?


Trouble installing hyperdex-client (node)

Installing on Ubuntu 14.10. Error is:
configure: error:
---------------------------------------
Replicant relies upon the popt library.
Please install popt to continue.
---------------------------------------
hyperdex-client.target.mk:13: recipe for target '.' failed
make: *** [.]  System Linux 3.16.0-43-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/liam/hyperdex/node_modules/hyperdex-client
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is most likely a problem with the hyperdex-client package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls hyperdex-client
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.16.0-43-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "hyperdex-client"
npm ERR! cwd /home/liam/hyperdex
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/liam/hyperdex/npm-debug.log
npm ERR! not ok code 0
liam@ubuntu:~/hyperdex$ This failure might be due to the use of legacy binary "node"
This: command not found

I'd like to add "me too", but on my Mac Book Pro running Yosemite 10.10.4.

After installing libpopt-dev and running the installation with sudo, this error was going away ... but, well, bumped into another one ;-)

We're working on restoring support for OSX, following a regression in 1.8.
On Fri, Aug 14, 2015 at 7:23 AM, 0xff<EMAIL_ADDRESS>wrote:

After installing libpopt-dev and running the installation with sudo, this
error was going away ... but, well, bumped into another one ;-)
—
Reply to this email directly or view it on GitHub
https://github.com/rescrv/HyperDex/issues/217#issuecomment-131120478.

Any progress on this?
Trying to install node bindings, but it fails with
"Replicant relies upon the popt library. Please install popt to continue."
Using OS X 10.10.

Update: Just tried a fresh install on Ubuntu 14.04, it gives the same error. So this isn't just related to OS X.
Added popt with
apt-get install libopt-dev
which solved this error and produced a new one: Missing pkg-config. Ran
apt-get install pkg-config
which solved that error and produced a new one: Missing libhyperleveldb.
No I am out of luck. Why should it be so hard to try this piece of software out. Can someone point me to a combination of OS + Hyperdex version + node-bindings which will actually install?


Updates deprecated faker calls in react-performance

Description
This is a follow-up to #2140, which itself was a fix to my PR for upgrading Faker at #2132.
There were still a few usages of the deprecated faker.random.boolean() in react-performance test utility code. This PR cleans up the campsite by switching to faker.datatype.boolean().
Type of change
This is a change to react-performance, but does not involve a change to any published library code.

[ ]  Patch: Bug (non-breaking change which fixes an issue)
[ ]  Minor: New feature (non-breaking change which adds functionality)
[ ]  Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[ ] I have added a changelog entry, prefixed by the type of change noted above (Documentation fix and Test update does not need a changelog as we do not publish new version)

/shipit

@BPScott Is the long wait for the "CLA" build check expected? It appears to be blocking my ability to merge. I don't have enough context into Quilt to sufficiently understand what's going on here.

Uugh it goofs occasionally. You're clearly a Shopify employee so I'll use my adminness to ignore the pending check and  get this merged


Would it be possible to add --restart always to the docker compose script?

Support guidelines

[X] I've read the support guidelines

I've found a bug and checked that ...

[X] ... the documentation does not mention anything about my problem
[x] ... there are no open or closed issues that are related to my problem

Description
Would it be possible to add --restart always to the docker compose script?
So Rutorrent does restart when I the host is rebooted.
Expected behaviour
The service is running when the host is rebooted
Actual behaviour
it does not start automatically
Steps to reproduce
Please add: "  --restart always to the docker compose script after the run command
Docker info
..

Version

Docker compose version (type docker-compose --version):
System info (type uname -a):
Latest

RPI 3B with Ubuntu Core 22
Docker compose
..

Container logs
..
Additional info
..

Already there: https://github.com/crazy-max/docker-rtorrent-rutorrent/blob/7eec97f0a71826f802ddb697706d6abf62815ce4/examples/compose/docker-compose.yml#L45


Query collections over a repository

Is your feature request related to a problem? Please describe.
As an example, let's say I want to get all Books from a repo of Authors that contains a specific property, which is defined like so:
@Entity()
export default class Author implements AnyEntity {
  @PrimaryKey()
  id: string;

  @OneToMany(() => Book, book => book.author)
  books = new Collection<Book>(this);
}

@Entity()
export default class Book implements AnyEntity {
  @PrimaryKey()
  id: string;

  @Property()
  someOptionalProperty?: string;

  @ManyToOne()
  author: Author;
}

Currently I would have to do something like this to get books
const authors = await db.orm.em.getRepository(Author).findAll({ populate: ['books'] });
authors.forEach(author => {
  author.books.forEach(book => {
    if (book.someOptionalProperty) {
      // do something with the book
    }
  });
});

Describe the solution you'd like
It would be more concise if there was a way to either find all the Books from the the repo such that it could return  Collection<Book>[] / Book[] or even better if there was a way to set a query so that it returns only Books that have someOptionalProperty. Therefore, I can just iterate over that instead of doing a nested forEach().
Describe alternatives you've considered
Not any others apart from the one I've stated above.
Additional context
N/A

This is already supported:
const authors = await db.orm.em.getRepository(Author).find({ books: { someOptionalProperty: 'value' } }, { populate: ['books'] });

This will fire 2 queries, one that will load authors, joining the books and filtering by the someOptionalProperty property, and second to load books, also propagating the someOptionalProperty condition.
https://mikro-orm.io/docs/entity-manager/#searching-by-referenced-entity-fields

@B4nan Thanks for the fast response! That's great, but the issue is I can't determine the 'value' beforehand I would just like to ensure that the someOptionalProperty exists and isn't null (since its marked as nullable on the entity via ?) so I'm unsure how to approach this?

Something like this should work:
const authors = await db.orm.em.getRepository(Author).find({ books: { someOptionalProperty: { $ne: null } } }, { populate: ['books'] });

https://mikro-orm.io/docs/query-conditions/

I will look into that, apologies for the inconvenience 😅

Sadly, the query attempts to look for a column named $ne as this error gets throw ERROR:  column e0.$ne does not exist


Add option for disabling SSL verfication

Coverage decreased (-1.9%) to 56.989% when pulling d974c11976238c081df5ed9dc8af0080a32bdb7a on Dopingus:disable-ssl-verification into cbe356aaa39f41a72e2df58860a3bab96e97eb35 on miyajan:master.

Coverage decreased (-1.9%) to 56.989% when pulling d974c11976238c081df5ed9dc8af0080a32bdb7a on Dopingus:disable-ssl-verification into cbe356aaa39f41a72e2df58860a3bab96e97eb35 on miyajan:master.

Coverage decreased (-1.9%) to 56.989% when pulling d974c11976238c081df5ed9dc8af0080a32bdb7a on Dopingus:disable-ssl-verification into cbe356aaa39f41a72e2df58860a3bab96e97eb35 on miyajan:master.


pouch.rpm conflicts with the nvidia official libnvidia-container-runtime.rpm package

Ⅰ. Issue Description
OS: CentOS 7.6

install pouch-1.2.0-1.el7.x86_64.rpm
repo:  https://mirrors.aliyun.com/pouch/centos7.repo

install nvidia CUDA framework
download from https://developer.nvidia.com/cuda-downloads?target_os=Linux
rpm -i cuda-repo-rhel7-10-1-local-10.1.105-418.39-1.0-1.x86_64.rpm
yum install cuda

install nvidia-docker
https://github.com/NVIDIA/nvidia-docker  (CentOS 7, docker-ce)
yum install -y nvidia-docker2

error message:
Downloading packages:
(1/5): nvidia-docker2-2.0.3-1.docker18.09.2.ce.noarch.rpm                                                                                | 4.6 kB  00:00:00
(2/5): libnvidia-container-tools-1.0.1-1.x86_64.rpm                                                                                |  33 kB  00:00:00
(3/5): libnvidia-container1-1.0.1-1.x86_64.rpm                                                                                |  74 kB  00:00:01
(4/5): nvidia-container-runtime-hook-1.4.0-2.x86_64.rpm                                                                                | 616 kB  00:00:09
(5/5): nvidia-container-runtime-2.0.0-1.docker18.09.2.x86_64.rpm                                                                                | 2.7 MB  00:00:33
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                103 kB/s | 3.4 MB  00:00:33
Running transaction check
Running transaction test

Transaction check error:
  file /usr/lib64/libnvidia-container.so.1 from install of libnvidia-container1-1.0.1-1.x86_64 conflicts with file from package pouch-1.2.0-1.el7.x86_64

Error Summary
-------------

Ⅱ. Describe what happened
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

pouch version (use pouch version):
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a): centos 7.6
Install tools: rpm, yum
Others:

Do we provide an official way to install GPU's essential software? @CodeJuan
I only find the doc with how to run containers with GPU https://github.com/alibaba/pouch/blob/master/docs/features/pouch_with_gpu.md, but no installation guidance.

Any update on this? @CodeJuan @fuweid

@CodeJuan  @fuweid For this conflicts, I'd like to not integrate the libnvida-container library into Pouch RPM but set libnvidia-container as our Pouch's RPM dependency.

Hi @houstar , thanks for comment. I am open to any suggestion. will appreciate if you can file a issue or pr to https://github.com/pouchcontainer/project  :)


Get consultants by category not working

Displaying all the consultants regardless of the category mentioned.

Multiple Categories are added using splitting of CSVs. So when you add "Diabetes, Weight Loss", these are considered two different categories. So instead you can use something like "Diabetes - Weight Loss"

Otherwise the functionality is good for the consultation part. I've checked it again


Case insensitive filtering to check if string is in entire cell(and not just start?)

Right now the current filter methods I've seen on here check the start of the string in the cell, but not if the word is within the cell. F.e. "Windows Server 2012" wouldn't return anything if you filtered "Server 2012" with this method:
        const filterCaseInsensitive = (filter, row) => {
            const id = filter.pivotId || filter.id;
            if (row[id] !== null){
                return (
                    row[id] !== undefined ?
                        String(row[id].toLowerCase()).startsWith(filter.value.toLowerCase())
                        : true
                );
            }
        };

Which is called on the returned ReactTable by:
defaultFilterMethod={filterCaseInsensitive}
Is there a way to modify this custom filtermethod to include any sequence of characters in the search cell itself?
Experimenting a bit with it myself now; i'll update if i figure it out :)

I read up on ES6 string methods at Mozilla CDN, we can use the ES6 method includes. It's the only thing we have to change, and it works - this is case insensitive filtering, matching any word in the cell content:
        const filterCaseInsensitive = (filter, row) => {
            const id = filter.pivotId || filter.id;
            if (row[id] !== null){
                return (
                    row[id] !== undefined ?
                        String(row[id].toLowerCase()).includes(filter.value.toLowerCase())
                        : true
                );
            }
        };

Hey,
I'm implementing a custom filter in a project. It was fairly straight-forward using this section of the docs: https://github.com/tannerlinsley/react-table#filtering

In the https://react-table.js.org/#/story/custom-filtering example, it's shown how to use just about any filter method you want that uses equality checking. eg.
javascript```
filterMethod: (filter, row) => (row[filter.id].includes(filter.value))


Remove the need to specify ComparisonField for federated types

A FederatedTypeConfig requires that a value for comparisonField be provided.  This value is used to determine what field of a target resource determines equality when deciding whether an update is required.  The 2 valid values are:

ResourceVersion

Used when a resource does not have a controller that records status on it, since resourceVersion is incremented when a change is made to any fields of the resource

Generation

Used when a resource has a controller managing it and writing status.  generation is only incremented when a change to the spec is observed.

For resources that are not managed by a controller, generation may never be populated (this includes namespace, secret, configmap, and likely others), so it is not possible to choose one or the other for all types.
The recent implementation of kubefed2 federate has revealed that requiring the user to choose a comparison field is a burden.  It would be preferable that a user could federate any type without having to know how comparison should be performed.  This could be achieved by switching from the use of a version sourced from a field populated by kube to a version computed by hashing the contents of the spec of a target resource.   Similarly to how generation-based comparison is implemented, equality could be determined by comparing the metadata and content-based version of a target resource with the metadata of the spec embedded in the template and the stored version of the target resource.

@irfanurrehman suggested an alternative to content-based versioning - use generation if available and fall back to resourceVersion if not.  This may require recording what field is being used in the propagated version status.


Bump int-tester to ^3.1.0

Codecov Report

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

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


(#6) Enabled Travis and Appveyor for manual-ci-run.

Note: This PR is on top of PR #20.
Ready for review and merge.
Details:

This change enables Travis and Appveyor to distinguish between quick runs and full runs. Runs from branch manual-ci-run are run as full runs (after locally rebasing to master), and all other branches are run as quick runs.

Coverage increased (+41.06%) to 41.062% when pulling 35296a233ab08dd532e8705e66f0f9d313e95b61 on andy/enable-manual-ci-runs into 3fc4d220fc0f68097dfb5400bb9671ba30d28816 on master.

Coverage increased (+41.06%) to 41.062% when pulling 358b3a7020941cb8dae1c83ba1876a776901228b on andy/enable-manual-ci-runs into 3fc4d220fc0f68097dfb5400bb9671ba30d28816 on master.

Coverage increased (+41.06%) to 41.062% when pulling 7b3c7dfe5db77a2d090cc3797a2dea7a61651462 on andy/enable-manual-ci-runs into 70269f189eb62239d58d1596395c2358f03e230a on master.

Coverage remained the same at 0.0% when pulling 1f6ebd1fa8d99b948346c49cdfe4e930fdcc85bc on andy/enable-manual-ci-runs into a66ff40047c809a833e8e0910f648728cbcc11fc on master.


Minor style fixes

Test: https://github.com/sindresorhus/refined-github/pull/3442
Before:

After:

Test: https://github.com/sindresorhus/refined-github/pull/3442/commits/429a03a3dc22a7ad723e95b85d7b7f218b811b30
Before:

After:

This should not be necessary. Don’t add code to fix existing code; just fix the existing code that causes those misalignments.

Then let's just add margin to the sticky sidebar.

Sounds good. Can you create a new github-bugs.css? I don’t want to this having this file becoming a dumping ground for CSS again

Before:

I'm not seeing this issue anywhere, with or without RG


Fix/andriod 14

DO NOT MERGE. WE KEEP THIS PR OPEN FOREVER.
Revisit this PR once we update to newer Notifee version.
Fixes:

Pulled in this approved notifee pr
Updated some android code to match what is currently in notifee to resolve some build runtime errors.

Checklist:

[x] Build yarn then yarn build:all (Already done in this PR (https://github.com/rune/notifee/pull/3/commits/200d6979a6dbb3fff169054bf9cdfb9a0d87df8a)
[x] Use https://gitpkg.now.sh/rune/notifee/packages/react-native?COMMIT_HASH in package.json

Build yarn then yarn build:all (Already done in this PR (200d697)

This points to another PR. I assume you meant to use https://github.com/rune/notifee/pull/5/commits/80b8d2790e48ed2a8fa9c7688c1468d7036aabe2?

This points to another PR. I assume you meant to use 80b8d27?

Actually this was just a copy-paste mistake. I copied those steps from your last pr.

There is a mixture of commits with dist and non-dist changes so it is hard to see what actual changes came after applying feat: allow adding foreground service types dynamically invertase/notifee#1050

I agree! It sucks

It is not clear what version of Notifee we are patching

I agree! I think once Notifee merges that pr or otherwise fixes the android 14 issue we should try to move back to their official verison.

Why is 6945232 needed?

That was in the pr I merged in, but I couldn't see a reason for it and the app store wanted us to add a policy justification for it. I made a comment on the original pr about it

I think we were already using the commits from that pr in TinCan? Or was that a mistake

We are, but I think that the following is still not in the newest Notifee? At least it was not when I created https://github.com/rune/notifee/pull/3. Not sure if it is still relevant though.

fix: always use startService: not in original lib yet (https://github.com/rune/notifee/commit/c05c7ca3856e79a32a6b65d141806211cd340ed5)

I also just took another look at the notifee pr that I pulled the code from and that is not actually approved by any notifee maintainers, just some random person clicked approved I think 😞

I also just took another look at the notifee pr that I pulled the code from and that is not actually approved by any notifee maintainers, just some random person clicked approved I think 😞

It is merged and released in 9.0.0 :)

oh hold for now


jax_md installation fails from pip install with python 3.11

I am attempting to do a minimal install of jax_md on a linux machine.
I have installed python 3.11.0 using conda and  installed jax and jaxlib using pip.
I can import and use jax functions.
I have installed jax_md using pip. When I launch python and run from jax_md import space I get the following errors:
File "/n/home02/ntoyonaga/.conda/envs/JAXMD/lib/python3.11/site-packages/jax_md/__init__.py", line 16, in <module>
    from jax_md import energy
  File "/n/home02/ntoyonaga/.conda/envs/JAXMD/lib/python3.11/site-packages/jax_md/energy.py", line 28, in <module>
    import haiku as hk
  File "/n/home02/ntoyonaga/.conda/envs/JAXMD/lib/python3.11/site-packages/haiku/__init__.py", line 22, in <module>
    from haiku import mixed_precision
  File "/n/home02/ntoyonaga/.conda/envs/JAXMD/lib/python3.11/site-packages/haiku/mixed_precision.py", line 18, in <module>
    from haiku._src.mixed_precision import clear_policy
  File "/n/home02/ntoyonaga/.conda/envs/JAXMD/lib/python3.11/site-packages/haiku/_src/mixed_precision.py", line 26, in <module>
    import jmp
  File "/n/home02/ntoyonaga/.conda/envs/JAXMD/lib/python3.11/site-packages/jmp/__init__.py", line 17, in <module>
    from jmp._src.loss_scale import all_finite
  File "/n/home02/ntoyonaga/.conda/envs/JAXMD/lib/python3.11/site-packages/jmp/_src/loss_scale.py", line 73, in <module>
    @dataclasses.dataclass(frozen=True)
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/n/home02/ntoyonaga/.conda/envs/JAXMD/lib/python3.11/dataclasses.py", line 1211, in wrap
    return _process_class(cls, init, repr, eq, order, unsafe_hash,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/n/home02/ntoyonaga/.conda/envs/JAXMD/lib/python3.11/dataclasses.py", line 959, in _process_class
    cls_fields.append(_get_field(cls, name, type, kw_only))
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/n/home02/ntoyonaga/.conda/envs/JAXMD/lib/python3.11/dataclasses.py", line 816, in _get_field
    raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'numpy.ndarray'> for field counter is not allowed: use default_factory

The error message makes it look like this is caused by the jmp library but even if you locally patch then the same error starts to show up in different places.
Here's a very simple demonstration of how to get the same error:
@dataclasses.dataclass(frozen=True)
class Breaks:
    x: np.array = np.array(0)
Breaks.x

There's a couple of different ways to avoid fix this. They aren't all equal and I haven't put much thought into it.
Remove the type annotation
@dataclasses.dataclass(frozen=True)
class Works_1:
    x = np.array(0)
Works_1.x

Use integers instead of arrays. Which of course is not always possible to do.
@dataclasses.dataclass(frozen=True)
class Works_2:
    x: np.array = np.int32(0)
Works_2.x

Use default_factory. But this changes the syntax when calling the class.
@dataclasses.dataclass(frozen=True)
class Works_3:
    x: np.array = dataclasses.field(default_factory=lambda:np.array(0))
Works_3().x


drupal7 eol wrong

Hi in drupal page in table last release is 7.78 not 7.69, below the table the string:

Drupal 7 will receive security patches until November 2021.

is wrong, the table rightly report 2022-11-28 as security eol, here is the link of extension page
https://www.drupal.org/psa-2020-06-24
regards.

Thank you for the issue. I have made the PR #197. Please check the preview if the changes are okay for you.

Perfect.
But do you change the files by hand? I suppose there were some script
collecting the infos....
Il giorno gio 18 feb 2021 alle ore 21:18 BiNZGi<EMAIL_ADDRESS>ha scritto:

Thank you for the issue. I have made the PR #197
https://github.com/endoflife-date/endoflife.date/pull/197. Please check
the preview
https://deploy-preview-197--endoflife-date.netlify.app/drupal if the
changes are okay for you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/endoflife-date/endoflife.date/issues/196#issuecomment-781609327,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3HH5LXA3RITY7SSRE7P3TS7VYXTANCNFSM4X2CETJA
.

Yes at the moment we are changing the files by hand. PR is merged and I close this issue.


v2 flag do not  get value

I meet a confused case, the flag with config always empty:
var (
	app = kingpin.New("logcli", "A command-line for loki.")

	config = app.Flag("config", "Logcli config.").Default("").String()

	addr, username, password *string
...
)

func main() {
	// get val from config file
	cfg, err := getConfig(*config) <===

reproduce with below:
$ go get github.com/grafana/loki
$ cd $GOPATH/src/github.com/grafana/loki
$ go build ./cmd/logcli
$ ./logcli --config="xxxx" labels app

you can see logcli never read "xxxx" which --config specify.

I'll need a more self-contained example.

Well, actually I do see the problem. You're using a flag before calling kingpin.Parse(). That will never work.

https://github.com/grafana/loki/blob/master/cmd/logcli/main.go
@alecthomas but addr also before Parse, it can get value.

whole code: https://github.com/grafana/loki/blob/master/cmd/logcli/main.go
@alecthomas thanks, another question, how can i use config flag to read config file in this case?

Kingpin supports loading flags from files via @<file>.


Automated cherry pick of #8958: fix(region): validate cloudaccount saml auth params

Cherry pick of #8958 on release/3.5.
#8958: fix(region): validate cloudaccount saml auth params

Codecov Report

Merging #8960 (3d79d9b) into release/3.5 (6a15e02) will increase coverage by 1.84%.
The diff coverage is 33.33%.

@@              Coverage Diff               @@
##           release/3.5   #8960      +/-   ##
==============================================
+ Coverage         5.98%   7.82%   +1.84%
==============================================
  Files              796     247     -549
  Lines           125693   33731   -91962
==============================================
- Hits              7522    2640    -4882
+ Misses          117504   30830   -86674
+ Partials           667     261     -406

Flag
Coverage Δ

aFlag
7.82% <33.33%> (+1.84%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cloudcommon/db/jointbase.go
0.00% <ø> (ø)

.../monitor/alerting/conditions/suggestrulereducer.go
0.00% <0.00%> (ø)

pkg/util/seclib2/seclib.go
86.04% <100.00%> (ø)

pkg/compute/models/guestsecgroups.go

pkg/compute/models/vpcs.go

pkg/compute/models/globalvpcresource.go

pkg/mcclient/options/secgroup.go

pkg/compute/models/wires.go

pkg/multicloud/aws/iam_role.go

pkg/compute/models/vpcresource.go

... and 536 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 6cb8805...3d79d9b. Read the comment docs.


DisPro10-data, DisPro12-unique-id, MultipleControlLoops_SpecProduce examples fail

Observed in #97
Failures of Test build and Torxakis build are about DatChecker; I fixed them in #99 . But failing DisPro and MultipleControlLoops tests are weird; they don't look like timing issues.
DAT Report:
Checking development acceptance test output for file 17Aug_153942.21_DatOutput.datr

TestCopyright:         PASS
- Test build:            FAIL (DatChecker should be updated)
- Torxakis build:        FAIL (DatChecker should be updated)
SelfTests:             PASS
TestExamps:
--- StimulusResponse Tests
----- StimulusResponse Test 1: PASS
----- StimulusResponse Test 2: PASS
----- StimulusResponse Test 3: PASS
----- StimulusResponse Test 4: PASS
----- StimulusResponse Test 5: PASS
--- CustomersOrders Tests
----- CustomersOrders Test: PASS
--- LuckyPeople Tests
----- LuckyPeople Test 1: PASS
----- LuckyPeople Test 2: PASS
--- Adder Tests
----- Adder Test 1 - Basic: PASS
----- Adder Test 2 - State Automation: PASS
----- Adder Test 3 - Parallel Adders: PASS
--- DispatchProcess Tests
----- DisPro01-processor Test: PASS
----- DisPro02-dispatch Test: PASS
----- DisPro03-processors Test: PASS
----- DisPro04-hide Test: PASS
----- DisPro05-data Test: PASS
----- DisPro05a-data-nohide Test: PASS
----- DisPro06-datapos Test: PASS
----- DisPro06a-datapos-nohide Test: PASS
----- DisPro07-gcd Test: PASS
----- DisPro08-gcdpurp Test: PASS
----- DisPro09-multiproc Test: PASS
----- DisPro10-data Test: FAIL
----- DisPro12-unique-id Test: FAIL
----- DisPro12-unique-id_Wrong Test: PASS
----- DisPro12-unique-id_Right Test: PASS
--- ControlLoop Tests
----- ControlLoopModel Test: PASS
----- MultipleControlLoops_SpecProduce Test: FAIL
----- MultipleControlLoops_SpecMeasure Test: PASS
----- MultipleControlLoops_SpecCorrect Test: PASS
----- MultipleControlLoops_Spec Test: PASS
--- Echo Tests
----- Echo Stepper Test: PASS
----- Echo Simulator Test: PASS
--- Moving Arms Tests
----- MovingArms Stepper Test: PASS
----- MovingArms_Purpose Stepper Test: PASS
--- Point Tests
----- Point Stepper Test: PASS
----- Point_Purpose Stepper Test: PASS
--- Queue Tests
----- Queue Stepper Test: PASS
----- Queue_Lossy Stepper Test: PASS
----- Queue SUT Test: PASS
----- QueueStAut Stepper Test: PASS
----- QueueStAut_Lossy Stepper Test: PASS
--- ReadWriteConflict Tests
----- ReadWrite Stepper Test: PASS
----- ReadWrite7 Stepper Test: PASS
----- ReadWriteAdvanced Stepper Test: PASS
Checking finished

DatOutput
17Aug_153942.21_DatOutput.datr.txt

Ran them one by one to get all (including smt2) logs of failures.
MultipleControlLoops_SpecProduce
TXS >>  txsserver starting: "PC-14414.tsn.tno.nl" : 9876
TXS >>  Solver initialized : Z3 [4.5.1 - build hashcode 1f29cebd4df6]
TXS >>  TxsCore initialized
TXS >>  input files parsed:
TXS >>  C:\Repos\TorXakis\\examps\ControlLoop\\MultipleControlLoops.txs
TXS <<  TXS >>  Stepper started
TXS <<  TXS >>  .....1: Act { { ( In_ProduceCmd, [ 0 C_ProduceCmd(C_ProductId(1),C_RecipeId(16)) ] ) } }
TXS >>  .....2: Act { { ( In_ProduceCmd, [ 0 C_ProduceCmd(C_ProductId(1),C_RecipeId(-38)) ] ) } }
TXS >>  .....3: Act { { ( In_ProduceMaterial, [ 0 C_BatchInfo(C_ProductId(1),C_BatchSize(50)) ] ) } }

TXS >>  cannot do action
TXS >>  FAIL: Act { { ( In_ProduceMaterial, [ 0 C_BatchInfo(C_ProductId(1),C_BatchSize(50)) ] ) } }
TXS <<  TXS <<  TXS >>  txsserver closing "PC-14414.tsn.tno.nl" : 9876

MultipleControlLoops_SpecProduce.zip
DisPro10-data
TXS >>  txsserver starting: "PC-14414.tsn.tno.nl" : 9876
TXS >>  Solver initialized : Z3 [4.5.1 - build hashcode 1f29cebd4df6]
TXS >>  TxsCore initialized
TXS >>  input files parsed:
TXS >>  C:\Repos\TorXakis\\examps\DispatchProcess\spec\DisPro10-data.txs
TXS <<  TXS >>  Tester started
TXS <<  TXS >>  .....1: IN: Act { { ( Job, [ JobData(32,"FL4a",43,40) ] ) } }
TXS >>  .....2: IN: Act { { ( Job, [ JobData(84,"PC2",67,22) ] ) } }
TXS >>  .....3: IN: Act { { ( Job, [ JobData(76,"HP4",51,47) ] ) } }
TXS >>  .....4: OUT: Act { { ( Finish, [ JobOut(32,1,1) ] ) } }
TXS >>  .....5: OUT: Act { { ( Finish, [ JobOut(84,2,1) ] ) } }
TXS >>  .....6: OUT: Act { { ( Finish, [ JobOut(76,3,1) ] ) } }
TXS >>  .....7: OUT: No Output (Quiescence)
TXS >>  Expected:
TXS >>  [ ( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(12,1,1) == $Finish$1420$0$1$ ) ] ) ...
...
TXS >>  FAIL: No Output (Quiescence)
TXS <<  TXS <<  TXS >>  txsserver closing "PC-14414.tsn.tno.nl" : 9876

DisPro10-data.zip
DisPro12-unique-id
TXS >>  txsserver starting: "PC-14414.tsn.tno.nl" : 9876
TXS >>  Solver initialized : Z3 [4.5.1 - build hashcode 1f29cebd4df6]
TXS >>  TxsCore initialized
TXS >>  input files parsed:
TXS >>  C:\Repos\TorXakis\\examps\DispatchProcess\spec\DisPro12-unique-id.txs
TXS <<  TXS >>  Tester started
TXS <<  TXS >>  .....1: IN: Act { { ( Job, [ JobData(55,"P42dp",28,56) ] ) } }
TXS >>  .....2: IN: Act { { ( Job, [ JobData(65,"H42db",77,46) ] ) } }
TXS >>  .....3: IN: Act { { ( Job, [ JobData(51,"Y42dp",37,35) ] ) } }
TXS >>  .....4: OUT: Act { { ( Finish, [ JobOut(55,1,28) ] ) } }
TXS >>  .....5: OUT: Act { { ( Finish, [ JobOut(65,2,1) ] ) } }
TXS >>  .....6: OUT: Act { { ( Finish, [ JobOut(51,3,1) ] ) } }
TXS >>  .....7: IN: Act { { ( Job, [ JobData(89,"Z04r",35,88) ] ) } }
TXS >>  .....8: OUT: Act { { ( Finish, [ JobOut(89,4,1) ] ) } }
TXS >>  Expected:
TXS >>  [ ( { Finish[ $Finish$1980$0$1$ ] }, [], [ ( JobOut(73,3,1) == $Finish$1980$0$1$ ) ] )...
...
TXS >>  FAIL: Act { { ( Finish, [ JobOut(89,4,1) ] ) } }
TXS <<  TXS <<  TXS >>  txsserver closing "PC-14414.tsn.tno.nl" : 9876

DisPro12-unique-id.zip

What do we want to do with these broken tests? Do we fix them or do we remove them if they are not relevant anymore?

MultipleControlLoops_SpecProduce seems to fail randomly. I got the same error as reported by @keremispirli.

Dispro-12 and MultipleControlLoops_SpecProduce examples are not fixed yet.

@tretmans We see that Dispro-10 is failing again with the same error, twice in a row locally.
Related part:
TXS >>  examps\DispatchProcess\spec\DisPro10-data.txs
TXS >>  Tester started
TXS >>  .....1: IN: Act { { ( Job, [ JobData(28,"TD2",81,66) ] ) } }
TXS >>  .....2: IN: Act { { ( Job, [ JobData(38,"DP4bdah",58,80) ] ) } }
TXS >>  .....3: IN: Act { { ( Job, [ JobData(66,"AD2",79,1) ] ) } }
TXS >>  .....4: OUT: Act { { ( Finish, [ JobOut(28,1,3) ] ) } }
TXS >>  .....5: OUT: Act { { ( Finish, [ JobOut(38,2,2) ] ) } }
TXS >>  .....6: OUT: Act { { ( Finish, [ JobOut(66,3,1) ] ) } }
TXS >>  .....7: OUT: No Output (Quiescence)
TXS >>  Expected:
TXS >>   [ ( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(8,1,1) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(74,2,3) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(66,3,1) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(38,4,2) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(28,5,3) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(8,2,1) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(74,1,3) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(66,3,1) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(38,4,2) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(28,5,3) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(8,3,1) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(74,1,3) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(66,2,1) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(38,4,2) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(28,5,3) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(8,1,1) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(66,2,1) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(74,3,3) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(38,4,2) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(28,5,3) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(8,3,1) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(74,2,3) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(66,1,1) == $Finish$1420$0$1$ ) ] )
( { Finish[ $Finish$1420$0$1$ ] }, [], [ ( JobOut(38,4,2) == $Finish$1420$0$1$ ) ] )
( { ......

Full Logs:
Process_10_-_Data.zip

DisPro-12 looks like it is fixed; I'm enabling it in sqatt.
SpecProduce problem is because of the Model.
This issue will be closed.


Add the possibility to set the timezone to dateToString

Feature Request

Q
A

New Feature
yes

RFC
yes/no

BC Break
no

Summary

Could it be possible to add the possibility to set the timezone to dateToString like this :
public function dateToString(string $format, $expression, string $timezone): self
{
    return $this->operator('$dateToString', ['format' => $format, 'date' => $expression, 'timezone' => $timezone]);
}

Given the $timezone argument is optional and original behaviour is preserved I see no downsides 👍 While we're at it we could also add the optional onNull argument. @Chocob0b would you be up for sending as a PR?


Is an autocomplete with multi columns available?

Hello,
I want for an example: a select or autocomplete when opened to have a react-table or multi columns with search header, is this available?
Search keywords:

Hi, the Autocomplete currently allows searching from a list of items (not table). What you are looking for sounds like out of the scope at least for an autocomplete component. Can you maybe share some screenshots or examples of what you are looking for?

Hello,
Like this

It does not have to be an autocomplete but I need such functionality which is super useful

@mj12albert  any help?

Hi @elie-chaaban,
I’ve implemented the MUI Autocomplete component with a table to display product options. Here’s a quick overview of how you can achieve this:
Custom renderOption: You can use the renderOption prop to customize how each option is displayed. In this case, I created a table row for each product.
Custom ListboxComponent: By defining a custom ListboxComponent, I included a Table to display product details in a structured format. This allows for headers and a scrollable list.
Example Code: Here’s the implementation:
https://codesandbox.io/embed/qphmt8?module=/src/Demo.tsx
This approach allows you to achieve a structured display with headers and detailed information for each product. I hope this help you

it's like this, needs a lot of work but yeah, I think it's a good start. Thanks!

I am closing the issue, seems more like a question than an issue.


Not able to see Favourite Requests

Hi Team,
I have Favourite List of Request, but suddenly it is disappear. Now I am not able to see it.

Just got upgraded to version 3.0.4 and I am experiencing the same issue, but only in a Private Firefox window.  The "Save Current Request" operation does not produce a confirmation message like it does in a non-Private window and it doesn't produce an error message either, but the request is not saved.
In a Private window, the "Manage Favorite Requests" sidebar does not contain the Favorites I saved in a non-private window.
My expectation is that I should have the ability to save Favorite Requests and access them from any Firefox window.

The RESTClient 2 uses Firefox Add-on SDK api to store data on Firefox preference which is accessible from both private or non-private mode. Firefox 57 only support Web Extension, RESTClient was re-write by using Web Extensions. However, Web Extension cannot access Firefox preference or SQLite database. Your favorite requests are stored in IndexedDB. And in private mode IndexedDB doesn't work.
A notification will be added when you are using in Private Mode.


File extension cpuprofile not recognized by javascript profiler when filename changed using Mac's finder

VSCode Version: 1.46.0-insider (Commit: e1d8f5155c0db5ffdc130c9aa0f14efac02dfdfb)
OS Version: MacOS Catalina, 10.15.4

Loading a cpuprofile results on the javascript profiler does not recognize the .cpuprofile extension.
Steps to Reproduce:

Follow the instructions in profile the running extensions
end up with the following cpuprofile file: CPU-20200514T083510.480Z.cpuprofile.txt
Remove the .txt suffix from step 2
Load the file on the javascript profiler
Can't load file:

Does this issue occur when all extensions are disabled?: Yes

@refs A .cpuprofile must be loaded in the JavaScript Profile tab:

@alexdima that is indeed the sequence of steps I follow:

@refs Can you please use ls in a terminal to confirm the file extension is .cpuprofile? I have just tried to profile the extensions, which generates a file named CPU....cpuprofile.txt and for whatever reason using the macOS finder to strip the .txt extension does not work. The macOS finder is ignoring my file rename. I have tried in a terminal and that worked well.

wow... can confirm that renaming it via the cli did solve the issue, as opposite to using the finder app to rename it. The file extension on an ls was .cpuprofile, but using the finder app, even with the .cpuprofile extension, the finder still thinks it's a text file. Only after renaming through the cli it doesn't recognize it as a text file anymore, and loading works.

the macOS finder is written by Apple
the Chrome developer tools are written by Chromium

Please create issues against those projects if you want.


Get PHP app to work on E2E test for actors on Windows

In what area(s)?

/area runtime
/area operator
/area placement
/area docs
/area test-and-release

What version of Dapr?

0.1.x
0.2.x
Output of git describe --dirty

Expected Behavior
E2E test for Actors SDK include PHP on Windows.
Actual Behavior
Currently, the Actors SDK test does not include PHP on Windows (Linux is OK).
Steps to Reproduce the Problem
Run Actors SDK E2E test.
Release Note

RELEASE NOTE:

/assign


Shorter color slices

debating to do this or not

decided not to since we have screenshots to the right


Add Product Filtering option

Add Product Filtering option #447

Added a Product Filtering option to create filter options for a shopping app with a price range slider (money bar) that opens upon clicking
Related Issues
"None"

Closes #

Type of PR

[X ] (feature Addition)

Screenshots / videos (if applicable)

After clicking it appears like this

Checklist

[X ] I have gone through the contributing guide
[X ] I have updated my branch and synced it with project main branch before making this PR
[X ] I have performed a self-review of my code
[ X] I have tested the changes thoroughly before submitting this pull request.
[X ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X ] I have commented my code, particularly in hard-to-understand areas.

Additional context:

Please check my PR

Please check my PR

mention someother , rather than electronics etc..
and also on hover their is miss aligment rectify it

Okay
On Mon, 14 Oct, 2024, 9:32 pm Lakshmi Pavananjali, @.***>
wrote:

Please check my PR
mention someother , rather than electronics etc..
and also on hover their is miss aligment rectify it
—
Reply to this email directly, view it on GitHub
https://github.com/Anjaliavv51/Retro/pull/450#issuecomment-2411674065,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHIBLXHG4P3BJH4WAAIXHMTZ3PTLBAVCNFSM6AAAAABP2BXC4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJRGY3TIMBWGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

I have changed it please check


Codebuild as a Self-hosted runner for Github Actions?

I was curious if you had thought about a mechanism to register/run CodeBuild jobs as self-hosted runners for GitHub Actions? I think it would be a great feature, to avoid costs for Actions minutes, as self-hosted runners are free.

Closing since this now exists!

https://aws.amazon.com/about-aws/whats-new/2024/04/aws-codebuild-managed-github-action-runners/
https://docs.aws.amazon.com/codebuild/latest/userguide/action-runner.html


Error: cannot create regular file '/mnt/etc/systemd/system/setssdroot.service'

Hi there,
I used this repo to boot Jetson AGX Xavier from the newly installed NVMe. At the first attempt, I had successfully finished all the steps, and it booted from the NVMe thereafter. Few days later, it was, however, not booting for some reasons. Therefore, I used the same steps from this repo to reinstall the os to NVMe, but ended up the following error:
cp: cannot create regular file '/mnt/etc/systemd/system/setssdroot.service': No such file or directory
cp: cannot create regular file '/mnt/sbin/setssdroot.sh': No such file or directory
Service to set the rootfs to the SSD installed.
Make sure that you have copied the rootfs to SSD.
Reboot for changes to take effect.

It looks like to me, the NVMe was not mounted properly
What version of L4T/JetPack
L4T/JetPack version: 4.4.x
Which Jetson
Jetson: NVIDIA Jetson AGX Xavier Developer Kit
To Reproduce
Steps to reproduce the behavior:
cd rootOnNVMe
./setup-service.sh

Expected behavior
./setup-service.sh command should copy all the required system file to NVMe and  create a service to boot from the NVMe.

Hello,
In my case the disk was not in the path /dev/nvme0n1p1, it was in /dev/nvme0n1 I had to change it in all the files to solve this issue.

Hello @rafiqrana ,
Were you able to solve this issue, even I am facing the same problem. I had to format my SSD and run the scripts to work as expected. It happened again today and I cannot afford formatting my SSD as there are some time consuming installation there.
Please do share your hacks on this issue.
Thanks,
Gayathri.

Hello @gayathri81
Just check with an application like Disks (select your SSD and see on Device the location) where your device is, in my case it was /dev/nvme0n1, then I searched for all the places where this application refers to /dev/nvme0n1p, and changed it by /dev/nvme0n1. For example:
In file copy-rootfs-ssd.sh I change (in line 3):
sudo mount /dev/nvme0n1p1 /mnt
by:
sudo mount /dev/nvme0n1 /mnt
I think you also need to fix the path in:

data/setssdroot.service
data/setssdroot.sh

Hi @cramirezhe , thanks for the reply, but I'm able to mount the device properly. the location is correctly pointed to dev/nvme0n1p1. When I boot the service and script to mount SSD works fine, but not able to see the graphical interface. Able to access through terminal interface.


Fix: Update Fancy for Edge/IE support

Fix: Update Fancy for Edge/IE support
This update bumps Fancy to v0.6.7, which uses appendChild vs append for
proper IE/Edge support.

Coverage remained the same at 100.0% when pulling c7202cefd8794f56e345ecd4f010854490324134 on update-fancy-ie into a01b6c5a807181b3b61267885a601d66ccf77f91 on master.


[Bug]: expose create_and_run_agent as a public API

Describe the bug
Currently the create_and_run_agent function can be imported from wandb.sdk.launch._launch. However, this makes it seem as if this is a private api and should therefore not be imported. To reduce this ambiguity, we should add the function to __all__ in wandb/sdk/launch/__init__.py

Hey @marijncv, thanks for pointing this out! I'll ensure to raise your feedback with our Launch team, and we'll keep you posted with any relevant updates

Thanks for flagging this @marijncv, let me please check with our team!

Hey @marijncv, our eng team just reviewed and approved your PR so feel free to merge once all the tests have passed!


Location permission android 12

Location permission android 12
-- Hello admin.
I checking android 12 and have a problem:
In android 12. App must request both permission ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION

Doc: https://developer.android.com/about/versions/12/approximate-location#user-choice-affects-permission-grants

My code:
@NeedsPermission(
    Manifest.permission.ACCESS_FINE_LOCATION,
    Manifest.permission.ACCESS_COARSE_LOCATION
)
fun getLocation() {
    // Code here
 }

 @OnPermissionDenied(Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION)
fun getLocationDenied() {
    // Code here
}

When I choose  option Approximate -> While using the app
Actual results: OnPermissionDenied called.
Expected results : getLocation() will call
=> Reason: method verifyPermissions in class PermissionUtils checking.

Checks all given permissions have been granted.
Params:
grantResults – results
Returns:
returns true if all permissions have been granted.

Please help me.

@hotchemi Please check.thank you very much

Thx for the report, we should address this issue before Android 12. Just in case which module are you using right now?

@hotchemi
I made a temporary fix as follows
@OnPermissionDenied(Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION)
fun getLocationDenied() {
    checkAccessCoarseLocation()
}

@OnNeverAskAgain(Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION)
fun onNeverAskLocationAgain() {
    checkAccessCoarseLocation()
}

private fun checkAccessCoarseLocation() {
    if (context?.isAccessCoarseLocationGranted() == true) {
        getLocation()
    } else {
        Log.e("Error", "Permission")
    }
}

fun Context.isAccessCoarseLocationGranted(): Boolean {
if (isAndroidS().not()) return false
return PermissionUtils.hasSelfPermissions(this, Manifest.permission.ACCESS_COARSE_LOCATION)
}

fun isAndroidS(): Boolean {
return Build.VERSION.SDK_INT >= 31
}

@hotchemi Is this sorted ?? From this month all app updates should target API 31 or above.


Add papers about Split Learning

Type of change

[ ] Add new category and papers

Description

Split Learning, which is also an improtant aspect, is considerd a solution for machine learning privacy that takes place between clients and servers. So I add some papers about the introduction and applications of Split Learning. Meanwhile, there are some works about the security of Split Learning, so I add these works categorized by Attacks and Defenses. Also I make new directory according to the category.

I have read the CLA Document and I hereby sign the CLA

recheck


rewrite AuthenticationSpec with munit

follow-up of https://github.com/http4s/http4s/pull/4173

The test org.http4s.client.blaze.Http1ClientStageSuite is flaky.

The test org.http4s.client.blaze.Http1ClientStageSuite is flaky.

https://github.com/http4s/http4s/issues/4196 to discuss that one.  I think we invalidated an assumption and made a new flaky test.

https://github.com/http4s/http4s/issues/4196 to discuss that one.  I think we invalidated an assumption and made a new flaky test.

We're trying to keep the tests as similar as we can across the active branches.  I'm going to see if I can cherry-pick this one back to 0.21, or failing that, 0.22, before merging.

We're trying to keep the tests as similar as we can across the active branches.  I'm going to see if I can cherry-pick this one back to 0.21, or failing that, 0.22, before merging.

That flaky test has been addressed in #4213.

That flaky test has been addressed in #4213.


EsLint reporting errors from node_modules

eslint is reporting errors from jest_19.x.x.x.js

Please file the issue with the eslint extension


Including File in Another

I have a seed file that is the same for all three environments (dev, staging, production).
Is there anyway to just include the development file in a staging file, and production file so that I really only have to maintain one of them, instead of copying.

Sprig doesn't have a way to share files between environments (it's been on our wish list a long time).
An easy work around is to symlink your development seed files to the other environment folders.

Thank you!


[4.1][Package / Custom Field] JSGrid field type to replace/extend table.blade field type

Uses http://js-grid.com
USAGE:
         $this->crud->addField([   // js-grid
            'name' => 'children',
            'type' => 'js-grid',
            'label' => 'Children',
            'fields'=>[
                [ 'name'=> "Name", 'type'=> "text", 'width'=> 150, 'validate'=> "required", 'db_field'=> "name" ],
                [ 'name'=> "Age", 'type'=> "number", 'width'=> 60, 'validate'=> ["validator"=>"min", "param"=>"1"], 'db_field'=> "qty" ],
                [ 'name'=> "Parent", 'type'=> "select", 'items'=> Parent::class, 'valueField'=> "id", 'textField'=> "name", 'validate'=> "required", 'width'=> 60 ],
                [ 'name': "Married", 'type': "checkbox", 'title': "Is Married?" ],
                [ 'type'=> "control" ]
            ],
            'wrapperAttributes' => [
                'class' => 'form-group col-md-12'
            ],
        ])

Hi @route95-technologies ,
This is great work, thanks a lot!
I've wanted a field like this for a long time. We've called it matrix field or crud field in the past, and there are quite a few issues describing possible implementations, but none of them had the idea of using jsGrid yet - so you've brought something new here 😄 .
I would have liked a field like this to be a solution to all our problems, even though that sounds very naive 😄 Ideally, it would reuse existing CRUD field types. Ideally, you wouldn't even need to specify what field types to use - if the connected entity has a CrudController itself, you'd just specify that controller and the relationship to it. And it would know which columns and fields to show. However, that is a huuuge feature, one we only expect to be able to build in v4. Until then, I think your jsGrid field type might do just fine, and provide a fix for this problem soon.
I'll leave this here to test it A LOT, and let others test & improve it before we do anything with it.
Thanks again! Will be back. Cheers!

Hello @tabacitu ,
There are a lot of improvements to be done to this matrix/crud field, but it's a starting point, i'm still working on this and will add further.
Thx

Update: I've decided it's overkill to have bothrepeatable and table and JSGrid in Backpack. I still like this (a lot) but it's not something I'd like to maintain for years to come.
So @route95-technologies if you would create an addon for Backpack v5 with this, I'd love to test, give feedback and promote it. But merging it as part of Backpack core... I'm going to have to say no, sorry.
Thanks for taking the time to submit this. We super-appreciate it. But I'm on a closing spree, closing both others' and my own old PRs (🤦♂) and I think we should close this. We haven't merged it so far, it's clear that we're uncomfortable having this soo... let's close it.
Thanks @route95-technologies !


Using package jonblum:jquery-cropper

Hi, your package is so simple regarding file upload that I love it :+1:
how will you recommend to work with this package jonblum:jquery-cropper ?
https://github.com/jonblum/meteor-cropper
My will is to have a modal window where you are force to crop the image and then the upload it.
Is it possible to do so ? where should I start ?

@guidouil thanks!
Yet, I don't really have the capacity to study custom development tasks :/ This site is used to track bugs/enhancements/problems with the software. I advise you to consult software development websites such as StackOverflow.
From what you say, all you need is tomi:jquery-upload-server to which you can post the files cropped by the package you mention.


Es.write.operation documentation is deceptive on default values when used via spark

What kind an issue is this?

[x] Bug report. If you’ve found a bug, please provide a code snippet or test to reproduce it below.
The easier it is to track down the bug, the faster it is solved.
[ ] Feature Request. Start by telling us what problem you’re trying to solve.
Often a solution already exists! Don’t send pull requests to implement new features without
first getting our support. Sometimes we leave features out on purpose to keep the project small.

Issue description
Documentation suggests default es.write.operation is index but when used via spark output mode "update" the default mode is actually upsert.  This information is only available by reading code.
Documentation is deceptive because it suggests that in spark update mode the default value of index will be used when actually the default is overridden to be "upsert" it appears in testing and by visually reviewing code.
Steps to reproduce
Code:
N/A as is documentation fix
Strack trace:
N/A

This could be better detailed in the docs for sure.
When using update mode in Spark SQL, the connector changes the operation to be "upsert" since 1) it needs to use that request mode to satisfy the invariants defined by Spark and 2) it's anticipating your need for that setting to be set to use that mode and so it just sets it for you so you don't have to say you want to update data in multiple places.
Fun fact: There are actually quite a lot of things in Spark that we plug into in order to modify the connector's behavior based on your API usage, like pushing down queries to ES (by default we don't filter results from the server, but we generate queries based on the query plan if we're able to) or limiting returned fields from the server (we'll intercept the field projection from Spark if it's available so we don't pull a bunch of fields from each document that aren't needed for the operation). It's tough to list these all out because in some cases we are merging existing configurations together, in other cases we override them, and sometimes we're just offloading some of the concern on to the library code so users don't have to worry about configurations.


Added new script

Description

What does this PR change? Give us a brief description.
I added a new script called playground:all to the scripts. This just runs all the playground commands in order. Just makes it easier when starting up the first time. Instead of running 4 commands. Can do just 1. 😄

Hmmm, not sure how useful this script would be past maybe the very first time someone clones the repo?
You don't really want to log in to Astro Studio every time you run your server! Also if you have incorrect schemas or something, then that push command will break your whole db when you might not actually want to push.

Good Point. I'll close this out.


input disabled after paste (bracketed-paste-magic and zsh 5.2)

Hi,
pasting any text, even without any special characters, freezes prompt and i have to ctrl+c to be able to use it again. Error i get after hitting ctrl + shift + v:
bracketed-paste-magic:zle:41: not enough arguments for -U
happens even if my clipboard has just a
Looks similar to #4434 except i'm using zsh 5.2 on arch linux.
To prevent error i'm bypassing the loading of smart urls in ~/.oh-my-zsh/lib/misc.zsh like so:
#if [[ $ZSH_VERSION != 5.1.1 ]]; then
if false; then
  for d in $fpath; do
    if [[ -e "$d/url-quote-magic" ]]; then
        if is-at-least 5.1; then
            autoload -Uz bracketed-paste-magic
            zle -N bracketed-paste bracketed-paste-magic
        fi
        autoload -Uz url-quote-magic
        zle -N self-insert url-quote-magic
      break
    fi
  done
fi

looks like checking for zsh version is not enough.
Let me know if any additional info is required.

I can confirm the problem on Mac OS X 10.11.3 and zsh 5.2 (x86_64-apple-darwin15.0.0).
The workaround works also.
Thanks

Thank you for providing this workaround!

Thanks for the work around

Dont bother me again slut
On Nov 29, 2017 3:24 AM, "Rakshit Jain"<EMAIL_ADDRESS>wrote:

Thanks for the work around
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/robbyrussell/oh-my-zsh/issues/4854#issuecomment-347800704,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfKPtBHZjKEybUZroO164WtKW3qIbNkSks5s7SK5gaJpZM4HbP1r
.

If this is still happening to you please provide the following:

What system you're using
What zsh version you're using

Pixelbook running Crostini
zsh 5.3.1 (x86_64-debian-linux-gnu)


[Pulsar-Broker-Common] Refactor AuthenticationProviderToken

Motivation
This PR aims to refactor AuthenticationProviderToken.
Modifications
1- AuthenticationProviderToken is being refactored by supporting maintainability.
2- Added validation check if Jwt is blank.
3- New UTs coverage is added.

Thanks @merlimat ;)


Release version 0.3.1.

This simply updates the dependency on doc_item to the now-working version 0.3.0 and prepares for a new release. This fixes the documentation issue that was present a while ago in #26, resolving that issue.

Codecov Report

Merging #30 (6605413) into master (1505b7e) will increase coverage by 6.27%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   91.25%   97.52%   +6.27%
==========================================
  Files           3        3
  Lines        1726     1617     -109
==========================================
+ Hits         1575     1577       +2
+ Misses        151       40     -111

Impacted Files
Coverage Δ

src/lib.rs
94.79% <ø> (ø)

src/element.rs
100.00% <0.00%> (ø)

src/nestable.rs
99.05% <0.00%> (+10.38%)
:arrow_up:

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 1505b7e...6605413. Read the comment docs.


[New Port Request]

Library name: Tengine
Library description:

Tengine, developed by OPEN AI LAB, is an AI application development platform for AIoT scenarios launched by OPEN AI LAB, which is dedicated to solving the fragmentation problem of aiot industrial chain and accelerating the landing of AI industrialization. Tengine is specially designed for AIoT scenarios, and it has several features, such as cross platform, heterogeneous scheduling, chip bottom acceleration, ultra light weight and independent, and complete development and deployment tool chain. Tengine is compatible with a variety of operating systems and deep learning algorithm framework, which simplifies and accelerates the rapid migration of scene oriented AI algorithm on embedded edge devices, as well as the actual application deployment;

Source repository URL:https://github.com/OAID/Tengine
Project homepage (if different from the source repository):http://www.tengine.org.cn/
Anything else that is useful to know when adding (such as optional features the library may have that should be included): tengine is useful library when crosscompile

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.


#155 process is undefined in webpack

process is a global nodejs variable that is not defined in the browser by default. So webpack doesn't know about it. Of course there are ways to define the process variable with webpack but that is not the default behavior and needs a plugin (DefinePlugin) or other workaround.
I've tested this change locally with an angular/ionic app and it works great. I also tried to keep the ternary operator (?:) but this also confuses webpack.

PR #189 will be fixed with this too

This issue is now fixed per my work with Bree, I have an updated fork of this package called @breejs/later.  See https://github.com/breejs/later if you have additional PR's or issues to file.  Contributions welcome to clean it up.


Fix bug where inlined scopes where being inlined twice for codeview

A workaround in codeview debuginfo generation was to declare a condfail
instruction as inlined to avoid using 0 as an artificial line location.

However, this was done without accounting for scopes that were already
legitimately inlined. So we'd end up with a condfail inlined from
function B into function A and then the IRGen for the condfail was
being given a debugloc claiming to have been inlined again. This was
causing a sitaution where we'd have debug info forfunctionA owning an
instruction which claimed it was owned by a different function.

Fix this by first checking if the `LastScope` was already inlined and,
if so, just used that scope instead.

CC: @adrian-prantl

@swift-ci please test

That seems wrong in the general case. What happens if this is a recursive function whose nonrecursive case was inlined once into itself?

Ah.. it's in WinDbg-only code. I guess that's okay then.

Build failed
Swift Test Linux Platform
Git Sha - abdf9d0085de11b7095016305e8a3763d86fc05f

@adrian-prantl Are you suggesting a case where the scope points to itself for the inline value? Is this an actual possibility? I can't say I know the implementation that well, but from reading it seems like the inlined scope would be different from the scope it was inlined into even if it's the same function. Either way, I'll add a check to make sure.

Are you suggesting a case where the scope points to itself for the inline value? Is this an actual possibility?

Imagine a recursive function
func fac(_ n: Int) {
  if (n == 1) {return 1}
 return n*fac(n)
}

The compiler could decide to recursively inline this function if it is called with a constant n, or it could inline just the if(n==1) part, or the entire function to achieve an effect similar to loop unrolling.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - c622dbf07da188f6658fc6ea8d62abac6dbbcb13

@swift-ci please test macOS platform

@swift-ci please test and merge

@swift-ci please test and merge


Extended the functionality to allow customization of the metrics coll…

…actor.
@cristianconstantin, @ddragosd ping.

👍

@ddascal friendly ping

👍


Automated cherry pick of #7554

Cherry pick of #7554 on master.
/cc  @jespino

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.


convergence problem

        checkpoint = (j < checkpoint_stop)
        if checkpoint:
            chk = Checkpointing(partition, batch)
            task = Task(streams[i], compute=chk.checkpoint, finalize=chk.recompute)
            del chk

        else:
            def compute(batch: Batch = batch, partition: nn.Sequential = partition) -> Batch:
                return batch.call(partition)
            task = Task(streams[i], compute=compute, finalize=None)
            del compute

When  I used the second method of compute not checkpoint, I found my the effect of my network become worse and it is proportional to the number of divisions.

Hi @yangpc615, thanks for the report.
I have a few questions to understand the case.

Does your network highly depend on BatchNorm or any algorithm regarding the batch dimension?
Is there no convergence problem if you enable checkpointing?
Can you explain more information for your network anything else?

thanks for your reply，do you know mmdetection,  I tried to apply the torchgpipe to HybridTaskCascade class of mmdetection,  and after each convolution layer there will be a BatchNorm, and now my network doesn't work by the checkpoint way.

And I want to know how to update network by compute method not checkpoint in torchgpipe.

@yangpc615 Did you mean that your network doesn't converge both with or without checkpointing?
Anyways, if the network highly relies on BatchNorm, a large number of micro-batches may affect training just like DataParallel. See the trade-off of a number of micro-batches. There's an option for this case in GPipe. See "Deferred Batch Normalization" to get more details.

Thank you.  In addition I don't understand the following code:
def depend(fork_from: Batch, join_to: Batch) -> None:
    fork_from[0], phony = fork(fork_from[0])
    join_to[0] = join(join_to[0], phony)

What are functions of them and what relation is  their functions with the following code:
    def recompute(self, batch: Batch) -> None:
        """Applies :class:`Recompute` to the batch in place."""
        input_atomic = self.batch.atomic
        input = tuple(self.batch)

        # batch[0] is always requiring grad, because it has been passed
        # checkpoint with a phony requiring grad.
        batch[0], phony = fork(batch[0])
        phony = Recompute.apply(phony, self.recomputed, self.rng_states,
                                self.function, input_atomic, *input)
        batch[0] = join(batch[0], phony)

@yangpc615 That is a good question. However, I recommend making a separate issue for a new question not related to the convergence problem.
fork and join makes an arbitrary dependency on an autograd graph by an empty tensor called phony. It forces the autograd engine to follow our desired execution order. Recompute should be executed at the specific moment in backward pass, but it is not related to the actual gradient flow. Here comes phony which is an empty tensor with size 0. We use it to avoid unnecessary gradient accumulation.
           +-----------------------------+
           |                             |
... ---> fork - - - > Recompute - - - > join ---> ...


Question about passing tokenId in the retrieve method

I found in the source code of the retrieve method that the tokenId passed in by _inputs is 0, which should be the Id of Ether. What if I want to retrieve other ERC20 tokens? Is it a bug here?

So currently the wallet will retrieve any withdrawals available. The anytoken flag is set, which nullified the zero specified. This will likely change in the future to allow for more specificity.
Also a reminder there is a two week withdrawal period if your meaning to withdraw from Fuel v1 atm.
Definitely reach me on Discord if you have further questions.

So currently the wallet will retrieve any withdrawals available. The anytoken flag is set, which nullified the zero specified. This will likely change in the future to allow for more specificity.
Also a reminder there is a two week withdrawal period if your meaning to withdraw from Fuel v1 atm.
Definitely reach me on Discord if you have further questions.

So currently the wallet will retrieve any withdrawals available. The anytoken flag is set, which nullified the zero specified. This will likely change in the future to allow for more specificity.
Also a reminder there is a two week withdrawal period if your meaning to withdraw from Fuel v1 atm.
Definitely reach me on Discord if you have further questions.

Thank you for your reply.
There is such a code in the _inputs method source code
  // If the token id is not correct, skip.       if (!decodedInput.properties.token().get().eq(tokenId)) {         continue;       }
In the for loop, those whose tokenId is not 0 will be skipped, even if the anytoken flag is set

So currently the wallet will retrieve any withdrawals available. The anytoken flag is set, which nullified the zero specified. This will likely change in the future to allow for more specificity.
Also a reminder there is a two week withdrawal period if your meaning to withdraw from Fuel v1 atm.
Definitely reach me on Discord if you have further questions.

Thank you for your reply.
There is such a code in the _inputs method source code
  // If the token id is not correct, skip.       if (!decodedInput.properties.token().get().eq(tokenId)) {         continue;       }
In the for loop, those whose tokenId is not 0 will be skipped, even if the anytoken flag is set

I'll look into this now, thank you!

I'll look into this now, thank you!

Going to re-work this API, you should be able to specify token Id, also looks like some anytoken edge cases your correct! So going to patch this for the next release.
Thank you!

Going to re-work this API, you should be able to specify token Id, also looks like some anytoken edge cases your correct! So going to patch this for the next release.
Thank you!

As of<EMAIL_ADDRESS>you can now specify the token Id you would like to retrieve.
Should be: ```js
wallet.retrieve(tokenId, opts)


fixed privacy manifest

When submitting to the App Store I'm getting the error:

ITMS-91056: Invalid privacy manifest - The PrivacyInfo.xcprivacy file from the following path is invalid: “Frameworks/Reachability.framework/PrivacyInfo.xcprivacy”.

I'm not 100% sure what it is but I'm guessing it's the empty items in the manifest. A quick google search found at least one other popular github repo that applied the same fix: https://github.com/apollographql/apollo-ios/compare/main...fix/privacy-manifests
I haven't had a need to submit a new build to the App Store just yet so take it with a grain of salt but I'm guessing it's the correct fix. Since this may become a problem on May 1st I thought I'd submit this here.

Thank you for this PR!
We've been working on fixing the Apple privacy warning on our app, and submitted a build yesterday using the latest release of Reachability (5.2.2), and we also got the warning/error that @marcuseckert mentions.
Today, we've submitted a build using this PR's branch, and the warning is gone, so the changes made in this PR are valid.
@ashleymills Please consider merging this, so we can point our Reachability dependency back to the main branch.

It looks like there are two different opinions on this issue, with one part of the community believing that this empty item needs to be added to make the privacy manifest work correctly(#413), and the other part of the community believing that this weird empty item isn't correct (including me).
For reference, the NSPrivacyCollectedDataTypes of some other popular libraries(Alamofire, Kingfisher) is left blank, as this pr does.

Hi @marcuseckert - I think you replied on a different issue, but if I understand correctly, this PR works for you? If so, I'll merge it today.

I've also been able to submit today by reverting to 5.2.1.

Hi @marcuseckert - I think you replied on a different issue, but if I understand correctly, you've managed to submit successfully with the changes in this PR? If so, I'll merge it today.

Yes, I did. Multiple times already, actually, so yeah, it does work and fix the issue! thanks!

@marcuseckert and others on this thread, thanks for your input. There's a new release, 5.2.3, that should fix the privacy manifest issues.

hi i am using expo react native SDK 51 and having this issuse in version 5.2.2


Add link to slack channel

What kind of PR is this?

/kind docs
What does does this PR do / why we need it:
Adds a link to our new slack channel
Which issue(s) this PR fixes:
N/A
How to test changes / Special notes to the reviewer:
N/A
Signed-off-by: Charlie Drage<EMAIL_ADDRESS>

@kadel updated!

/retest

/lgtm
/approve


Improve code-coverage & add GH check action

Background
Improve or add code coverage support to be able measure code quality.
Feature
New ability to measure current code coverage as one of QA metrics.
Add GH action to check changed file coverage.

Release notes proposal:
#20 - Add code coverage support improve

Used Absa fork of JaCoCo solution - with scala method filtering.
Added support for code coverage GitHub action check as part of PR.


0.24.4

https://github.com/ponylang/ponyc/pull/2840 fixed a segfault and triggers a release.

blessing bd1713b8772168d091040d1058590f29f12e9a23

release started

homebrew pr opened: https://github.com/Homebrew/homebrew-core/pull/30589

@stefantalpalaru @kamilchm release underway

Windows package available in bintray

release notes pr: https://github.com/ponylang/ponylang.github.io/pull/320

COPR done

Playground updated

Launchpad PPA is done for all distributions except for Artful which was rejected with the following:
Rejected:
artful is obsolete and will not accept new uploads.

docker images done

Debian package available on bintray.

Waiting on homebrew.

Gentoo ebuild updated.

Homebrew released.

release notes pr merged and announcements made.

release completed.


fix(expansion-panel): entire body content being shown on animation start

Fixes expansion panels becoming overflow: visible as soon as their expansion animation starts, causing them to show the entire content before they're done animating. It seems like we were setting the mat-expanded class both through the view and manually when the animation is done.
Fixes #10134.

I actually have a PR (#8829)  currently to move to use display rather than visibility, We might need to end up doing both, but I am not 100% sure.


Nightly Builds

I would like to use openps2loader most recent builds and would be nice to have nightly builds, so i don't go the process over and over for each change

@Bledson : @ElPatas1 compiles every nightly builds and posts them @ http://psx-scene.com/forums/f150/open-ps2-loader-official-beta-revisions-releases-156209/#post1208012


Ensure that we don't miss processing rust-dlc transactions

We had to open https://github.com/get10101/10101/pull/789 because some tests were failing.
At the same time, it seems like in theory we could miss processing transactions in the SubChannelManager::periodic_check. See https://github.com/p2pderivatives/rust-dlc/commit/4e85d15 (the patch that we just reverted) for more context.

shall we discuss the path forward with Tibo?

shall we discuss the path forward with Tibo?

We've had a couple of offline chats about it with him already.
Originally we set out to rewrite the way we feed blocks into rust-dlc's ChainMonitor, but the change was a bit more involved than what we desired so we left it.
Since then we've also considered using lightning-transaction-sync in order to not have to maintain a separate chain monitor for rust-dlc, but it is assumed that it's not a straightforward change (this assumption needs to be checked).

Working on https://github.com/p2pderivatives/rust-dlc/pull/122 I've concluded that we cannot actually miss any transactions. Nevertheless, I've opened https://github.com/p2pderivatives/rust-dlc/pull/122 to improve the code (hopefully).


bench issues

I commented on some bench issues here, here, & here. Basically some _.filter, _.find, _.findIndex, & _.max comparisons aren't equiv and return different results than Ramda.

do you have recommendations for more equitable comparisons?

The "where" syntax of Lodash doesn't map to isEmpty so you could punt on those comparisons or change them to not be "where" style comparisons for that and use basic predicates.
Their isn't a maxBy equiv (with the behavior of Ramda) so you'd need to punt on it or compare the basic max.

Also note that count shouldn't be highlighted as it's more supplemental than substance.
It's really hz + margin of error you're wanting. Benchmark has a formatNumber helper to display the results prettier. Something like:
Benchmark.formatNumber(bench.hz.toFixed(bench.hz < 100 ? 2 : 0)) + '+-' +
  bench.stats.rme.toFixed(2) + '%'

thx, will try and get to this when i have a fewe mins

I'd vote we simply remove the lodash calls altogether.  We put them in as a way to compare to what was at the time undeniably the best-of-breed library for performance.  It seemed a useful baseline.  That has changed a bit with Lazy and transducers.
But the real goal of these is to ensure that our implementation does not regress too badly in performance.  The only important thing for these samples is how Ramda does compared to previous runs.  Let's not worry about staying in sync with lodash.

That has changed a bit

Naw, lodash is still holding its own.

But the real goal of these is to ensure that our implementation does not regress too badly in performance.

Great goal.

That has changed a bit

Naw, lodash is still holding its own.

No disrespect intended.  lodash is still clearly among the fastest.  It's just no longer alone at the top of the pack.  :smile:
The point, though, is that where comparing ourselves to lodash when Ramda was brand-new made some sense; it was a sanity-check that we weren't getting way too slow.  Now, since we really don't pay much attention to the benchmarks, our best bet might be just to keep those that help us avoid/track major performance regressions.

It's just no longer alone at the top of the pack.

Its mix of perf & features certainly make the others work for it.

The point, though

You're preaching to the choir. I've been rocking a suite for the same purpose for more than 3yrs now.


Adding the sed replacement sd, written in rust

Motivation for this change
Things done

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

[X] NixOS
[ ] macOS
[X ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I see, thanks @etu
I've added myself as a maintainer and I'll be re-working this PR soon.

I wonder if pkgs/tools/text would be a better place? That's where ripgrep, gnused, the_silver_searcher is.

Superseded by https://github.com/NixOS/nixpkgs/pull/60241


Add human-readable name to curated genesets metadata

See https://github.com/biothings/mygeneset.info-website/issues/46
https://mygeneset.info/v1/metadata
It would be nice if each entry under src had a name field with a full, human-readable name, e.g. "Disease Ontology" instead of "DO".

the data plugin metadata fields can include additional metadata fields if needed:
https://github.com/biothings/mygeneset.info/blob/e14100ed5b4f52cfea6b7b1a02fda0b92da0eb58/src/plugins/do/manifest.json#L4-L8


load_temporal_dataset() got an unexpected keyword argument 'exclude_similar_sentences'

I have been trying to apply the TempoBert model on my own data. For my understanding, I have tried to run the existing test scripts. However, sentence_time_prediction.py runs into this issue:
$ python sentence_time_prediction.py
2023-04-20 13:43:44.825 | INFO     | __main__:<module>:116 - Will evaluate: ''
2023-04-20 13:43:44.825 | INFO     | data_utils:split_temporal_dataset_files:133 - Loading dataset files...
Traceback (most recent call last):
  File "./tempobert/sentence_time_prediction.py", line 119, in <module>
    sentence_time_prediction(
  File "./tempobert/sentence_time_prediction.py", line 43, in sentence_time_prediction
    _, test_dataset = data_utils.split_temporal_dataset_files(
  File "./tempobert/data_utils.py", line 140, in split_temporal_dataset_files
    dataset = load_temporal_dataset(
TypeError: load_temporal_dataset() got an unexpected keyword argument 'exclude_similar_sentences'

Hi @carschno,
Thanks for reporting this! I've just pushed a fix by removing this obsolete argument.


Lens icon disappears from cmd+tab switcher

mac m1 ventura
Lens not visible in mac "cmd+tab" switcher:

also top menu disappeared, maybe a ventura bug

I also had this but updating to the most current version (OpenLens 6.2.5) fixed it.

Fixed in https://github.com/lensapp/lens/pull/6770


Add having and groupBy to Criteria  API [DATAJDBC-612]

hantsy opened DATAJDBC-612 and commented
Add a having and groupBy in Criteria fluent APIs

Affects: 2.1 RC1 (2020.0.0)

The criteria API is for querying entities, but what about adding GROUP BY and HAVING to the SQL API?

GROUP BY can never be part of an entity because it is an aggregation over other data. GROUP BY and HAVING can only be part of something that does aggregations or reporting and that is not what Spring Data JDBC was built for.
Can you provide some details on how you see GROUP BY in the context of domain models?

It isn't, but the sql builder already supports so much, including for example selecting computed columns, and with manual row mapping we can put the result in any object.
We now already use it to fetch results from 2 joined tables, and put that in a custom "entity", and "group by" would allow us to implement all queries previously created with JPA.

And one example of "group by" is for an aggregated count, grouped by date, so yes, an aggregation, but nothing too special really.

@mp911de We currently use the org.springframework.data.relational.core.sql.render.SqlRenderer for building some dynamic queries, but have to resort to string replacement for adding GROUP BY to the queries.
It would be really useful to have in here so we don't have to resort to string manipulation to build our queries.


Oversampling in CIFAR-10

Hi,
I need to train this model (VGG) using some oversampling technique in the Cifar-10 database. But I do not know how to do it in Pytorch.
I want to simulate a dataset of real world, since in the real world the classes are unbalanced. However, I need to adjust the network to learn the unbalanced classes. So first I need to simulate the problem of class imbalance at the dataset, because CIFAR-10 is a balanced dataset. And then apply some oversampling technique. Could you give me an example?

Hi @josianerodrigues ,
There are two ways to solve your problem.

Change the sampler in dataloader. Use the WightedRandomSampler.
Or add the weight in the loss function.

Thank you for the suggestions. I'll test them :)


Counter to tell How many buttons are added! 2⃣5⃣ 🚀

Add a counter somewhere in the UI.
The counter should be able to tell how many buttons are present on the website.

Add a counter somewhere in the UI. The counter should be able to tell how many buttons are present on the website.

I can work on this

@Krishi1211 Assigned to you.
All the best.
Leave a 🌟 if you like.
I would love to connect with you all ❤
https://www.linkedin.com/in/om-gawande/


Broken links to images and gifs in vscode plugin

Description:
As we changed the directory structure, links to all the gifs and images in the readme that gets packed into the plugin are broken

Fixed by #10570


0085 - Maximal Rectangle

Description of the Problem
Given a rows x cols binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's and return its area.
Example 1:
image here
Input: matrix = [["1","0","1","0","0"],["1","0","1","1","1"],["1","1","1","1","1"],["1","0","0","1","0"]]
Output: 6
Explanation: The maximal rectangle is shown in the above picture.
Example 2:
Input: matrix = []
Output: 0
Example 3:
Input: matrix = [["0"]]
Output: 0
Example 4:
Input: matrix = [["1"]]
Output: 1
Example 5:
Input: matrix = [["0","0"]]
Output: 0
Constraints:

rows == matrix.length

cols == matrix.length

0 <= row, cols <= 200

matrix[i][j] is '0' or '1'.

@vJechsmayr Please assign this to me.
Link To The LeetCode Problem
LeetCode

@vJechsmayr Please assign this to me.

Please Assign this to me i can solve this as fast as possible .
Thank You

@poojan-dalal Waiting for your PR 😸


User-facing error messages

I have implemented a registry based on this framework. (Thank you for making it really easy for me.)
I'm trying to improve the user experience by returning user-facing error messages from the registry but either I'm not realizing what I need to do or it would be great to improve the support for such.
docker login
The client code handling docker login for Docker Registry HTTP API V2 is definitely limited:
// TODO(dmcgowan): Attempt to further interpret result, status code and error code string
err := fmt.Errorf("login attempt to %s failed with status: %d %s", endpointStr, resp.StatusCode, http.StatusText(resp.StatusCode))

This means the only error messages I can use are those known by Go and defined by the HTTP standard. That's a regression from V1 where more meaningful messages would be provided for at least some responses.
This framework can only return a 401 or a 400. (auth.Challenge.SetHeaders(...) could probably be hacked to write any HTTP response but that seems like an unsupported thing to do.)
(See #1480 for another issue covering this.)
docker push
I'm trying to return an error message from a repository middleware. I'm using errcode.Error.
However, the error handling in PutImageManifest converts this to errcode.ErrorCodeUnknown. That's an easy fix, though.
There is also a limited list of error codes to chose from. errcode.ErrorCodeDenied and errcode.ErrorCodeUnauthorized have very specific meaning. errcode.ErrorCodeUnavailable and errcode.ErrorCodeUnknown can't be used (for error messages) because the Docker CLI will only attempt to parse error messages for 4XX responses. (This means I can't provide a URL to an incident if we need to return 503 during an outage.)
That leaves errcode.ErrorCodeUnsupported. I can use that although all error messages will then include "unsupported":
% docker push ...
...
unsupported: <error message>

Proposal
Whenever errcode.Error (or, possibly, a new errcode.UserError) is returned, it should be bubbled all the way up, not logged like a generic error and serialized as the HTTP response.
The Docker CLI might write generic error messages upon errors but should always write custom error messages whenever the HTTP response can be parsed. This should be true for both 4XX and 5XX errors.

Without going into wild detail, I believe the issue with our problems here are the omission of using 403 when authentication is provided but not accepted.


Migrate to .NET Core 3.0

After .NET Core 3.0 is officially released and fully supported by Visual Studio (September, 2019):

migrate ScottPlot's .csproj file from .NET Framework to .NET Core
target frameworks net45 and netcoreapp3.0

This topic was initially discussed in #85. When the time comes consider asking @petarpetrovt for assistance/review of the migration and implementation.
How to Port a Windows Forms desktop app to .NET Core: https://docs.microsoft.com/en-us/dotnet/core/porting/winforms

After considering whether or not to break this project up into 3 (a plotting class library, a winforms user control, and a WPF user control) I decided to keep it all one project (#87). Briefly, this makes maintaining it and distributing it easier, and I've found that WinForms and WPF can coexist peacefully.
However, I do want to rename ScottPlotUC and ScottPlotWPF to FormsPlot and WpfPlot. I know this will be a breaking change which might be a pain to resolve for existing projects (requiring getting into the Designer.cs to fix). I think this change is logical though, and I think it makes sense to do this earlier than later. The transition from .NET Framework to .NET Core next month may be the best time to do this.
Thinking forward, the UserControls folder may eventually contain GUI elements like windows forms (e.g., custom save data dialogues).

WinForms and WPF controls together
The project can stay clean and organized

ScottPlot is now .NET Core 3.0 and builds for .NET Framework 4.5 too
I converted the plot types demo to .NET Core and it runs fine
Other demos which use .NET Framework still run fine
I converted the cookbook to .NET Core and the output is identical
It's generating NuGet packages that look good too: ScottPlot.3.1.0.nupkg.zip

I guess we can start uploading these packages to NuGet whenever we want...

I've been building https://github.com/swharden/Spectrogram as .NET Core 3.0
When it's officially released, I'll convert this project to .NET Core easily

.NET Core 3.0 was officially released, but the Visual Studio designer does not yet fully support it. This makes developing and testing many of the demos difficult.
For this reason, keep using the .NET Framework for all the demos (until .NET Core 3.0 is fully supported supported in Visual Studio) and migrate ScottPlot to .NET Core 3.0 targeting net45 and netcoreapp3.0.

Actually, this may be a good time to consider separating this project into different NuGet packages, each using the framework best suited for the task.

ScottPlot (.NET Standard 1.3) - plots data and returns or saves an image
ScottPlot.WinForms (.NET Framework) - interactive user control
ScottPlot.WPF (.NET Core) - interactive user control
ScottPlot.UWP (.NET Core) - interactive user control

The primary advantage of this separation is it allows the core function of ScottPlot (creating graphs from data, returning or saving an image) be used in all .NET environments (.NET Framework, .NET Core, Xamarin), on Windows, Linux, iOS, Android, OSX, etc. The secondary advantage is the segregation of interactive (user control) complexity away from the primary plotting library.

Hi @swharden,

ScottPlot (.NET Standard 1.3) - plots data and returns or saves an image

Can you perform plotting and image handling with .net standard only?  That seems to be a huge effort. By checking the .net standard APIs, only some core C# features are supported, especially no System.Drawing.

The primary advantage of this separation is it allows the core function of ScottPlot (creating graphs from data, returning or saving an image) be used in all .NET environments

The idea is great!  I guess the dependency needs to be either .net framework or .net core.

Can you perform plotting and image handling with .net standard only? Only some core C# features are supported, especially no System.Drawing.

Actually, System.Drawing.Common is a .NET Standard version of System.Drawing available as a NuGet package. The migration would be very easy, requiring virtually no code change.
The only painful part is that the ScottPlot library wouldn't have any user controls. Those would be separate libraries (e.g., ScottPlot.WinForms and ScottPlot.WPF). This would be a little confusing for people already using ScottPlot who upgrade their NuGet package.

@swharden  Thanks for pointing out  System.Drawing.Common to me.  Indeed, it is a much lighter dependency then the full .net framework or .net core.
Just a note, the idea of separation in general is good. But there is also sacrifice.  Bound the drawing ability to GDI+(System.Drawing.Common) means we might also block the advantages provided with WPF, which uses hardware acceleration through DirectX.  See reference  "Difference between GDI and WPF".
But I agree that, early performance optimization should have lower priority than a good modular design.

I did some benchmark tests last week to further investigate WPF as a potential rendering engine for a plotting library.
GDI's big bottleneck comes from large images (specifically filling large areas). A large image with a few lines drawn on it renders pretty slowly.
WPF was extremely fast at displaying large images with a few lines. However, as lines were added (up to 1,000) performance dropped down extremely fast. Near the end it was on par with GDI. I think the hardware acceleration is ideal for moving around large, semitransparent, complicated shapes and images... but not really designed for high-speed rendering of thousands of small lines (essentially all of what a plot is).
Finally, many of the benefits of WPF require WPF and display hardware... which isn't going to be running in console applications (which I'd like to continue to support). All things considered, I'm leaning back toward System.Drawing.Common because of how well it works on all .NET platforms, despite its moderate performance issues.
QuickPlot (https://github.com/swharden/QuickPlot) has been progressing well, and it is written in .NET Standard using System.Drawing.Common. Currently I'm getting 40-50 Hz redraw rates at 1080p.

I tried a conversion to .NET Core 3.0 today. ScottPlot converts nicely to .NET Core, but the demos and the tests don't do a good job referencing it. Further, converting them to .NET Core makes the solution complicated because now every test/demo is targeting multiple frameworks. Furthermore, Azure Pipelines still does not support running tests in solution files containing mixed .NET Framework and .NET Core projects.
@petarpetrovt feel free to have a go at it if you think I'm missing something. I want to keep the demos and tests running .NET Framework 4.5.
QuickPlot (https://github.com/swharden/QuickPlot) is written in .NET Standard so it supports .NET Framework and .NET Core apps. It's not done yet, but it's developing quickly. It will probably be ready before Microsoft (and supporting infrastructure) fully supports .NET Core 3.0

Following-up, https://www.nuget.org/packages/ScottPlot.WinForms/ now supports .NET Core 3.0 and .NET Framework 4.6.1


https://teserakt.io/ is squatted

https://teserakt.io/ that is linked from README.md is no more legit.

Thanks, fixed