Building 1.14.3 fails with assertion error

Hi,
I am trying to build the official Arch Linux package for git-credential-gopass and I am running into an assertion error:
go: downloading github.com/gopasspw/gopass v1.14.3
go: downloading github.com/urfave/cli/v2 v2.10.3
go: downloading github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.2
go: downloading github.com/russross/blackfriday/v2 v2.1.0
go: downloading github.com/blang/semver/v4 v4.0.0
go: downloading github.com/fatih/color v1.13.0
go: downloading golang.org/x/term v0.0.0-20220526004731-065cf7ba2467
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading github.com/caspr-io/yamlpath v0.0.0-20200722075116-502e8d113a9b
go: downloading golang.org/x/exp v0.0.0-20220613132600-b0d781184e0d
go: downloading golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d
go: downloading filippo.io/age v1.0.0
go: downloading github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354
go: downloading github.com/twpayne/go-pinentry v0.2.0
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading bitbucket.org/creachadair/stringset v0.0.10
go: downloading github.com/hashicorp/golang-lru v0.5.4
go: downloading github.com/ProtonMail/go-crypto v0.0.0-20220623141421-5afb4c282135
go: downloading github.com/google/go-github v17.0.0+incompatible
go: downloading github.com/google/go-cmp v0.5.8
go: downloading github.com/mattn/go-colorable v0.1.12
go: downloading github.com/mattn/go-isatty v0.0.14
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading golang.org/x/sys v0.0.0-20220622161953-175b2fd9d664
go: downloading github.com/google/go-querystring v1.1.0
go: downloading go.uber.org/multierr v1.8.0
go: downloading github.com/rs/zerolog v1.27.0
go: downloading go.uber.org/atomic v1.9.0
go: downloading filippo.io/edwards25519 v1.0.0
tput: unknown terminal "unknown"
tput: unknown terminal "unknown"
>> BUILD, version = 1.12.0/5449acee, output = git-credential-gopass# github.com/gopasspw/gopass/internal/backend
/build/go/pkg/mod/github.com/gopasspw/gopass@v1.14.3/internal/backend/registry.go:85:45: internal compiler error: assertion failed

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
make: *** [Makefile:70: git-credential-gopass] Error 2

How do I solve this?

Upgrade to Go 1.18.4. It's bug in Go 1.18.3.

Arch Linux is already on Go 1.18.4

Sorry, that was a typo.
 Or downgrade to Go 1.18.3 which is not affected, either.


ON_DEMAND throughput not working with dynalite local database

Summary:
ON_DEMAND throughput not working with dynalite local database. Its crashing the server with the following error - Missing required parameter in input: "ProvisionedThroughput"
I am using Dynalite as the local dynamodb instance.
Code sample:
Schema
NA

Model
This works fine
const schema = new dynamoose.Schema(dbSchema, { throughput: 1 });

This crahses the application
const schema = new dynamoose.Schema(dbSchema, { throughput: 'ON_DEMAND' });

General
dynamoose.AWS.config.update({
  accessKeyId: awsAccessKeyId,
  secretAccessKey: awsSecretAccessKey,
  region: awsRegion,
});

dynamoose.setDefaults({
  serverSideEncryption: true,
  prefix: env,
  suffix: '',
  create: isDev,
  update: isDev,
});

if (isDev) {
  const dynaliteServer = dynalite();
  dynaliteServer.listen(8000);
  dynamoose.local();
}

Current output and behavior:
ValidationException: One or more parameter values were invalid: Missing required parameter in input: "ProvisionedThroughput"
        at Request.extractError (/mnt/d/workspace/app/node_modules/dynamoose/node_modules/aws-sdk/lib/protocol/json.js:51:27)

Expected output and behavior:
Dynamoose should not invalidate the configuration
Environment:
Operating System: Ubuntu
Operating System Version: 16
Node.js version (node -v): v10.15.2
NPM version: (npm -v): 6.9.0
Dynamoose version: 1.6.5
Dynamoose Plugins:

NA
Dynamoose Plugins:

[ ] Yes, I believe that one or multiple 3rd party Dynamoose plugins are effecting this issue
[x] No, I believe this issue is independent of any 3rd party Dynamoose plugins I'm using
[ ] Unknown, I'm unsure if Dynamoose plugins are effecting this issue
[ ] I am not using any Dynamoose plugins

Other information (if applicable):
NA
Type (select 1):

[x] Bug report
[ ] Feature suggestion
[ ] Question
[ ] Other suggestion
[ ] Something not listed here

Other:

[x] I have read through the Dynamoose documentation before posting this issue
[x] I have searched through the GitHub issues (including closed issues) and pull requests to ensure this issue has not already been raised before
[x] I have searched the internet and Stack Overflow to ensure this issue hasn't been raised or answered before
[x] I have tested the code provided and am confident it doesn't work as intended
[x] I have ensured that all of my plugins that I'm using with Dynamoose are listed above
[x] I have filled out all fields above
[x] I am running the latest version of Dynamoose

@sohailalam2 We don't provide support for Dynalite. Just a quick look at their repo looks like they don't support a lot of new DynamoDB features.

Is this feature explicitly supported in Dynalite through LevelUp? We've run into issues with Dynalite and some features. The implementation in Dynalite doesn't actually support our full tests cases, but the Docker image and Java jar do. I did a quick check and didn't see any tests arounf non-number values for throughput.
I know it's a bit confusing to use it in examples, but the other DynamoDB instance requires a local Java instance which runkit doesn't provide.

Thanks for the comment. I will try using other local dynamodb that uses the official AWS Dynamodb local to be safe :)


Question regarding user inputs (YAML file) validations

I'm new to the community, please let me know if there is not the right place to put the question.
I'm wondering if there is a design or document regarding user inputs (e.g., command, args, env, workingDir in the YAML) validations in the K8s end-to-end scenario. According to the current implementation, upon receiving createContaienrRequest, agent will create the container based on the OCI config passed from the host and conditionally merge (https://github.com/confidential-containers/kata-containers-CCv0/blob/7dd8b78d4434c3c9039b594cd131f6bcffd17ed0/src/agent/src/rpc.rs#L213) it with the OCI config derived from the image config. Given that the host is untrusted, such user inputs would require validations (i.e., part of the attestation process).
For example, a user could specify an environment variable KEY=VALUE and expects the variable to be populated in the container. However, the untrusted host can modify (e.g., setting KEY=NULL) or discard the variable. Without the validation, the user is unable to prevent or detect this unwanted modification during the container creation process.
A potential approach is validating inputs (e.g., the YAML file) based on the init-time config as described in https://github.com/confidential-containers/image-rs/issues/34. The detail of the design requires further discussion.

@mingweishih according to me this is a valid concern. The untrusted host can tamper the manifest.
Any thoughts on using policy engines for this purpose - like Open Policy Agent (OPA) or Kyverno ?
CoCo Attestation Server uses OPA today, so if it's possible to extend it's usage for manifest integrity check.
Kyverno has a working example of a manifest integrity check - https://kyverno.io/policies/other/verify_manifest_integrity/verify-manifest-integrity/

CC @wedsonaf

@mingweishih according to me this is a valid concern. The untrusted host can tamper the manifest.
Any thoughts on using policy engines for this purpose - like Open Policy Agent (OPA) or Kyverno ?
CoCo Attestation Server uses OPA today, so if it's possible to extend it's usage for manifest integrity check.
Kyverno has a working example of a manifest integrity check - https://kyverno.io/policies/other/verify_manifest_integrity/verify-manifest-integrity/

Thanks for the confirmation. We do have a proposal that we can follow up on this issue and initiate the discussion.
Using policy engines are definitely one of the options to consider. Let us prepare the RFC and we can discuss more.

Config.json settings are far safer than true environment variables such as $MY-ENV-VAR which could change from one run to another and introduce changes in behavior.
We also need to support a debug flag to kubectl that will allow us to pass in env-variables/arguments etc to speed development efforts. Default false. In production uses, should be false.

Config.json settings are far safer than true environment variables such as $MY-ENV-VAR which could change from one run to another and introduce changes in behavior. We also need to support a debug flag to kubectl that will allow us to pass in env-variables/arguments etc to speed development efforts. Default false. In production uses, should be false.

Are you referring to environment variables injected/modified by infrastructure (i.e., kublet, containerd) to a container? The idea for this issue is that checks need to be enforced against the config.js before the container creation based on the fact that kata-agent initiates the container metadata (including environment variables) by passing the config.js passed to rustjail. That is, the injection and modification to the environment variables should be captured in the config.js.


generalize telemetry plugin

The telemetry plugin should be usable in multiple CLIs
Currently the prompt and help text hardcode AIO in numerous places.

Done


Update the initial migration file (0001)

When we finish adding everything to models.py, generate a new initial migration file (manage.py makemigrations)

BTW on this PR we'll have to add pipenv run python manage.py migrate to bootstrap.sh file, It is missing.


"envDirName" does not work ("dotenvDirname" does)

The envDirName Setting does not work, although it is the option documented to work everywhere.
VSCode doesn't even recognize the option as valid.

I think the cause is the typo in the path of httpyac.envDirName. I search for folder env by default. The search starts from folder of the http file and searches for the following files/ folder upwards (package.json, .httpyac.js, httpyac.config.json, env). However, since envDirName is now overwritten with .spec/env, it cannot find root and read the files. Commenting out envDirName fixes the error and it will find the files again.

So, after doing some experimenting I am still quite confused. Although the issue title does not apply, I am still having difficulties getting this to work. So I will try to explain how my current understanding from experimenting is:
Assuming I have the folder structure
.vscode/
    settings.json
specs/
    api/
        request.http
    env/
        .env.test

It searches for the envDirName Folder first in the following places and order:

specs/api/<envDirName>
specs/<envDirName>
<envDirName>

If it finds a matching folder, It does not try to continue searching for other matching folders.
specifying envDirName with a absolute path will work
if the path is not absolute, it seems to have trouble resolving paths with more than one segment (e.g. Specifying envDirName to be test/env only finds environments in the first test folder it finds.)

In all honesty, this seems overly complicated to me, although I might not have the full picture and there might be valid reasons for this. The Documentation in the readme states "relative or absolute path to folder with dotenv files", which from my experimentation does not hold.
Could this be adjusted to reflect the description given in the readme?

The issue for the root folder determination is https://github.com/AnWeber/vscode-httpyac/issues/50. Use case is that different environment variables can be set for different requests in the same project. Many Tools like tsc, eslint or Prettier also support such a config search.
And if you use it in the standard way, your example would just work without changing envDirName.

if the path is not absolute, it seems to have trouble resolving paths with more than one segment (e.g. Specifying envDirName to be test/env only finds environments in the first test folder it finds.)

Nested envDirName I have not considered correctly, and overlooked during implementation But I would recommend to just use the default one. I left the setting mainly for absolute file paths to allow cross-project settings or as hidden folder support in Linux.

fix is released with v4.8.2. Thanks:-)


feat: match regex in errors

find and remove credentials before they are sent

Envelop is not showing stacktraces so it's apollo only.


Sentinel doing a funny dance with view bobbing

Versions
Minecraft: 1.18.2
Fabric: 0.14.9
Hex: Commit c5c7b30
Paucal: Commit e4cddd4
Cardinal Components API: 4.2.0
Fabric API: 0.58.0+1.18.2
Iris: 1.3.1
Sodium: 0.4.1+build.15
How to reproduce
With Iris + Sodium installed and view bobbing turned on, summon a sentinel using a staff and walk on the ground while looking at the sentinel, triggering the view bobbing.
In my opinion, the sentinel appears to move as if the motion needed to correct how it looks when view bobbing, is multiplied by a constant, making it bounce around as you move. It looks very funny.

 Should be doable though; I just need to figure out what transformations the forge version does and copy them


chore(demo-site): fix relative link path formatting

General summary
Relative path (ex: ../dropdown) are broken on the demo site, this PR fixes this while still making sure to format the link paths (add trailing slash suffix and gatsby prefix)

Test OK (local deploy)
Fixes links (like the link to dropdown from the list page)


options.destination should be the default name for the statefile entry

options.destination

should not effect the output dir, instead it should be the name of the target written into the statefile entry, this is because in dhall-render the destination is the location of the files that are used to track what was installed, not the destination of the files that were created.

fixed in #26


Replace moment with dayjs, update marko-core-date to support es and en locales

Screenshot taken from results of the changes made in https://github.com/parameter1/pmmi-media-group-websites/pull/481 (now technically incomplete as I forgot to provide translation support for Starts or whatever the verbiage ultimately ends up being there)

 Mundo site translations needed

Closing in favor of https://github.com/parameter1/base-cms/pull/498 which includes the changes that would have been made here.


1.17

This mod is great!
Is there a 1.17 version planned?

@KyGost
Done, but please help me test out this build
https://github.com/KaltsitMoe/Schwarz/releases/tag/2.0

@KaltsitMoe
Awesome, thank you very much!
Will try to test it tonight.

Seems to be working.

As an aside; what are the units for the scores?

It's computed according to these two maps
blockentity and mobs

Ohhh okay, and if optimisations are installed and whatnot that may also throw it off.
And any funky datapack stuff or anything else won't show.
Nonetheless it is quite useful! Thank you :-)

My pleasure
I'm closing this now


Injest new Roslyn and do netstandard2.0/net472

Everywhere we run now supports net472 or netcoreapp3.0.
I've changed all of the non-tooling packages to netstandard2.0 and all of the tooling packages to net472. VSCode work will continue from a branch based on net46 until Omnisharp upgrades.

If you want macOS/Linux builds to pass, run build.ps1 -u /t:cow to update build tools to support net472 on x-plat.

If you want macOS/Linux builds to pass, run

That's really helpful because I actually do want them to pass. #FunSquad

More of this

The reference assemblies for framework ".NETFramework,Version=v4.7.2" were not found.


Dynamic columns

Hi guys
I need help, I want to use this package responsive, but this package has just 5 columns, so when I zoom out my browser, it fixes to show data on just 5 columns, but some website like pinterest has dynamic columns to show data.
How can I reach to this feature? Is there a setting to config it?

@akoenig : Dear Andre would you kindly help about this issue ?
I defined @media for each screen to make my tiles responsive, but when I zoom-out or zoom-in the screen, they goes crazy, something like this:
![image]
(http://s23.postimg.org/5z0eb0l3t/Screenshot_from_2015_09_04_01_40_17.png)
Would you please lead me to make ties like pinterest ?

@mhipo1364 Thanks for your response.
You can define as much columns as you want by creating the respective CSS selector structure. Let's say you want to define a max of 10 columns:
.deckgrid[deckgrid]::before {
    content: '10 .column.column-1-10';
    font-size: 0;
    visibility: hidden;
}

.deckgrid .column {
    float: left;
}

.deckgrid .column-1-10 {
    width: 10%;
}

You can find further information about this in the section The Grid configuration.


Add GHA and devContainer

Add the devcontainer and github actions for this repo.
@jongio for notification.

@yorek - Can you review and merge?

Thanks!


⚠ SceneTime has degraded performance

In 66e71b0, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1646 ms

Resolved: SceneTime performance has improved in d75a9e4 after 6 minutes.


ICE parameters parsing

SDP parsing utilities

Parse ICE parameters from SDP session header and media section
Extract MID from MediaSection attributes

Reference issue
Fixes #...

Codecov Report

Merging #23 into master will decrease coverage by 1.93%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   64.83%   62.89%   -1.94%
==========================================
  Files          11       11
  Lines        1038     1070      +32
==========================================
  Hits          673      673
- Misses        276      308      +32
  Partials       89       89

Impacted Files
Coverage Δ

media_description.go
45.83% <0%> (-15.28%)
:arrow_down:

ice.go
69.76% <0%> (-30.24%)
:arrow_down:

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 03441e3...e588038. Read the comment docs.

Sorry I have been slow @schikin
Conceptually this looks great to me! A few code nits, but nothing major :) looking forward to working together. I promise I will be faster in the future, family is visit from far away this weekend.

Hey @schikin
Sorry this didn't get merged! If you find time would love to work on getting the issues called out in the review fixed up, and some tests added.
Hope to work with you on this in the future :)


Cannot delete old instance of Music Assistant to install new V2

What version of Music Assistant has the issue?
2023.2.1
The problem
I cannot delete the old instance of Home Assistant from the Home Assistant integrations menu.
How to reproduce
Try to delete Music Assistant integration in Home Assistant menu
Relevant log output
Logger: aiohttp.server
Source: custom_components/mass/init.py:22
Integration: Music Assistant (documentation, issues)
First occurred: 22:27:53 (2 occurrences)
Last logged: 22:29:53
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 67, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 235, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 146, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 86, in delete
result = await hass.config_entries.async_remove(entry_id)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1076, in async_remove
await entry.async_remove(self.hass)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 575, in async_remove
component = integration.get_component()
File "/usr/src/homeassistant/homeassistant/loader.py", line 760, in get_component
cache[self.domain] = importlib.import_module(self.pkg_path)
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/mass/init.py", line 22, in
from music_assistant import MusicAssistant
ModuleNotFoundError: No module named 'music_assistant'
Additional information
No response
What version of Home Assistant Core are your running
2023.3.3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

Sorry, I should have looked first. This seems to be the same issue as https://github.com/music-assistant/hass-music-assistant/issues/1106. Will try the suggested solution.


Donate and Support us modules

All left aligned Donate and Support us modules which appear on most pages need tweaking as per WFs

87e0af3a80eecbe4991461506c13e4e9f3236bd9


We need more monitoring

There is pretty much no monitoring right now except some emails for the backups. We need more, such as:

Prometheus
Scrutiny

Scope

Uptime Kuma

Yet missing:

[ ] Uptime Kuma
[ ] Minecraft exporter
[ ] Alert manager
[ ] Nextcloud ?
[ ] Jellyfin


Added option to change scope separator

I am trying to get oauth2-azure to work with the Azure AD 2.0 endpoint, and it works, apart from the fact that there is one feature I am missing: An override for the scope separator.
$provider = new \TheNetworg\OAuth2\Client\Provider\Azure([
            'clientId' => ONEDRIVE_CLIENT_ID,
            'clientSecret' => ONEDRIVE_SECRET,
            'redirectUri' => WEB_ADDRESS . PATH_PREFIX . "/confirm/onedrive",
        ]);

        $provider->urlAPI = "https://graph.microsoft.com/v1.0/";
        $provider->resource = "https://graph.microsoft.com/";
        $provider->pathAuthorize = "/oauth2/v2.0/authorize";
        $provider->pathToken = "/oauth2/v2.0/token";
        $provider->authWithResource = false;

        $options = [
            'scope' => ['https://graph.microsoft.com/User.Read', 'https://graph.microsoft.com/Files.Read.All', 'offline_access'],
            'prompt' => 'consent',
        ];
        $authUrl = $provider->getAuthorizationUrl($options);

This works fine, apart from when a non-Microsoft account tries to sign in, when an invalid_resource error is returned, stating that it can't find the resource https://graph.microsoft.com/User.Read,https://graph.microsoft.com
Upon resourcing this issue, I found that this document (https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-compare) lists the following example:
GET https://login.microsoftonline.com/common/oauth2/v2.0/authorize?
client_id=2d4d11a2-f814-46a7-890a-274a72a7309e
&scope=https%3A%2F%2Fgraph.windows.net%2Fdirectory.read%20https%3A%2F%2Fgraph.windows.net%2Fdirectory.write
...

Where the scopes are separated by %20 (spaces), rather than %2C (commas). Manually changing the authentication URL indeed resolved the issue, hence this pull request.

AFAIK, the scope separator should be a space by default, I haven't seen commas used, so I would rather go with a space being used as default instead of a comma if okay with you. Generally, the v1 endpoint doesn't use scopes at all (except for the token) and rather authenticates for all scope as required by resource, so for v1 scopes are not necessary, so I would rather go with v2 default - spaces. If you update the PR, I will gladly merge it.

This is an excerpt from the AbstractProvider class in the League OAuth2 client (version 2.3.0 released on 2018-01-13)
    /**
     * Returns the string that should be used to separate scopes when building
     * the URL for requesting an access token.
     *
     * @return string Scope separator, defaults to ','
     */
    protected function getScopeSeparator()
    {
        return ',';
    }

hence I chose for a comma, instead of a space. I will update it to a space.

Awesome, merged. Thanks a lot!


benchmark: populating your instance and stress test with locust

Adds:

Populating the instance with rpm-records demo. Points to the bulk indexing used in helm-invenio, which is much more performant (3M records in a few hours). I think rdm-records should stay as is, 10 records is more than enough and is better not to add complexity. WDYT?

How to use locust and points to the locust.py file.

closes https://github.com/inveniosoftware/docs-invenio-rdm/issues/34

@fenekku thanks once again! I will apply the changes and merge. However, about naming: I actually prefer benchmarking, because even if we have used for stress test it doesnt have to be a stress test... You can just run your instance on a specific load and "benchmark" it.
We did stress test it by getting as high as we could (on requests haha) but it doesnt have to be that way. Plus for title its shorter. WDYT?

I am not too attached to the name. That being said, what I find awkward is the record creation part under benchmarking... The locust part does benchmarking, but the record creation part is more for making sure the application is operating correctly, yes? Maybe I missed it, but we are not measuring anything when it comes to creating records; it's more a binary of did it work or not.

Maybe record creation could be placed in another file...
or
Maybe "Verifying your InvenioRDM instance" verifying.md

?

I personally dont like "verifying" cuz it sounds like a "config check" or so not like testing performance. In terms of record creation, it can be placed somewhere else, however I did not want to create yet another top level section and I did not fin any fit. Where would you put it? (I'll move it and finish this PR :D)

@fenekku sorry about the misunderstanding on:

I will apply the changes and merge. However, about naming [...]

I hadn't commit the text with the explanations, cuz I wanted to do it just once (thats why I wanted to clarify the naming first). To avoid ping-pong, it seems I managed the contrary 👼 I'm sorry.
I have added the following explanation (see in file also):
The operations that we are going to run in this section can be highly
 demanding. Therefore, you might not want to run them against a production
 instance since it might cause downtime.

  Nonetheless, we want to have an environment that resembles as close as
 possible to our InvenioRDM instance. In consequence, we might want to add some
 data to our instance in order to have some records to stress-test against.

Which justifies the data population, and is basically what I explained above in the discussion point also with Zach.

Aaah I get it now. All good.


Trip get_status() functionality (!!!) and other things

Title says it all!!

looks great to me! Awesome job!


user resource

The default behaviour in Mac OS X when creating a user is to give it an interactive login shell '/bin/bash'
Would it not make sense for the chef resource to also do this? By default then, the property is set with a custom string to set a custom shell.
For a non-interactive login shell, the requirement would then be that the system property is set to true.
Would you accept a PR for this?

As with the previous ticket, I think this might be a behaviour change that we couldn't accept in chef 12. Ping @mikedodge04 @jaymzh @chef/client-os-x


Chrome crash resulted in complete loss of all data

I was doing unrelated work in Chrome, and the browser crashed. It has crashed before without incident. This time, when I started the packaged app, ALL data had been lost! I had some backups to file from a while back, but I have lost some significant work! I'm sorry I can't offer more info on how to repro, it was a random crash of Chrome while opening a web page. I'll be sure to backup more often, but this is very disturbing.

This issue has been fixed by Google. We now also offer a backup Sync service. Email us at<EMAIL_ADDRESS>to get on it!


Is this package working with android?

Does this package work on android ?I downloaded the example app and failed to load any pdf. There is a white screen and buttons at the top.

Does this package work on android ?I downloaded the example app and failed to load any pdf. There is a white screen and buttons at the top.

It will be in few weeks

Any update one this? We are looking to implement this since it is working great on ios.


About import torch_geometric

When I run import torch_geometric, I get the following error. I compiled and installed torch_geometric with source code.
>>> import torch_geometric
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/gzm/anaconda3/envs/py3/lib/python3.7/site-packages/torch_geometric-1.7.0-py3.7.egg/torch_geometric/__init__.py", line 5, in <module>
    import torch_geometric.data
  File "/home/gzm/anaconda3/envs/py3/lib/python3.7/site-packages/torch_geometric-1.7.0-py3.7.egg/torch_geometric/data/__init__.py", line 6, in <module>
    from .dataloader import DataLoader, DataListLoader, DenseDataLoader
  File "/home/gzm/anaconda3/envs/py3/lib/python3.7/site-packages/torch_geometric-1.7.0-py3.7.egg/torch_geometric/data/dataloader.py", line 5, in <module>
    from torch._six import container_abcs, string_classes, int_classes
ImportError: cannot import name 'container_abcs' from 'torch._six' (/home/gzm/anaconda3/envs/py3/lib/python3.7/site-packages/torch/_six.py)

Thanks.

I found the file of _six.py,  but these functions(container_abcs, string_classes, int_classes) are not found in this file.

Are you using PyTorch nightly? This seems to be related to https://github.com/rusty1s/pytorch_geometric/issues/1017.

Thanks.
I successfully imported it after commenting out the relevant code.
Best.

seems we have a similar issue with geom 1.7 and PT 1.9
https://github.com/PyTorchLightning/lightning-tutorials/runs/2832212720

I will provide a new release in the following days supporting PyTorch 1.9.

I will provide a new release in the following days supporting PyTorch 1.9.

Hey @rusty1s, sorry for the off-topic question. Will the edge_attr separation during train_test_split_edges be included in the release? If not, is there any way I can install nightly builds which support that functionality?

Yes, it will be included. You can install the "nightly" version of PyG via:
pip install git+https://github.com/rusty1s/pytorch_geometric.git

came here because i am running the same problems with
ImportError: cannot import name 'container_abcs' from 'torch._six' (/home/ros/.local/lib/python3.8/site-packages/torch/_six.py)

Just released torch-geometric==1.7.1 with PyTorch 1.9.0 support :)


Put cartesian csv

The script to generate put test running results with and without cartesian

Is it possible to get the coverage for each combination of the PUT?

For that we need to run each combination separately, and clean Jacoco between the runs, we can measure that if that really makes sense, but the logic should be changed to achieve that.

For that we need to run each combination separately, and clean Jacoco between the runs, we can measure that if that really makes sense, but the logic should be changed to achieve that.

One interesting point to do it is to study whether / how oftern the different inputs will cause the difference in coverage.  We don't need to implement now. We can discuss it with Darko on it tmr.

For that we need to run each combination separately, and clean Jacoco between the runs, we can measure that if that really makes sense, but the logic should be changed to achieve that.

One interesting point to do it is to study whether / how oftern the different inputs will cause the difference in coverage. We don't need to implement now. We can discuss it with Darko on it tmr.

Yes, agreed! Once we find differences in coverage, we might want to see which values from cartesian product resulted in increased coverage

I think it is not maybe appropriate to have these changes pushed into this forked repo, as it should not be considered as part of Hadoop codebase, maybe it can just stay as PR, or we can even close this PR.
I have pushed the code to my CS527 course project repository here.
Best


nbscreenshot not always showing layerlist

🐛 Bug
as jni noted from my screenshot in #1588 (shown below) ... nbscreenshot is sometimes not showing the layer list... and possible other inconsistencies with the viewer?
(cropped is a dask array in this case)

i think there's some sort of race condition, cause if I simple re-run that cell above, commenting out the new viewer, then the screenshot is correct the second time that it gets run

@tlambert03 I have noticed this too. A race condition seems likely

just want to bump this issue again.  I was starting to create some magicgui docs, showing the result of adding a widget and layers, but it's not very helpful at the moment, since the layers don't appear (and actually I don't think added dock widgets do either?)

ahh.. it's the gd event loop (it's always the gd event loop :).  This is conceptually somewhat like https://github.com/napari/napari/issues/2029 actually.
If you do something like this:
viewer = napari.Viewer()
viewer.add_points(None)
viewer.window.add_dock_widget(my_widget)
nbscreenshot(viewer)

then at the moment that nbscreenshot is called, none of the events that have been "queued up" by lines 2 and 3 have actually been triggered... since there is no event loop until napari.run is called.
I think we can fix it just be forcing the event loop to process with get_app().processEvents() inside of _repr_png_.  That unfortunately requires a qt import outside of the qt folder... but I think that's the compromise we have to make at the moment for the fact that we rely on qt for our entire event loop.


Some bugfixes

Fixed multiplayer with #define EXT_IP "<IP_ADDRESS>" (SG_AuthHandler and SG_RoomHandler)
Corrected chat : now SG_ChatHandler::CHAT_TYPE is closer than "reality" (worst explanation ever sorry)
Fixed a bug that was crashing game when sending a long message (more than 70 chars) => now sends only the firsts 69 chars...
Refactored TS_CA_SELECT_SERVER_RESP::uk3 to serverId, as in the debug message in the game (서버 선택 완료)

Btw EXT_IP is a placeholder, not working and not mine.
Should be better to detect external IP to let the emulator working in every situation without more settings

I dont know how this "pull request merge works", and i dont know if it works
But if it does, you have to add this in db :
ALTER TABLE accountsADDtricksCHAR(13) NOT NULL DEFAULT '1111111111011' AFTERbio;
Dash trick level is always 0, so we can remove it, but i think this is more readable kept.

Thanks. I merged it.


fuzzers: 017: rename PRECYINIT_{0|1} -> PRECYINIT_{S0|S1}

see #436

yep it was suppose to be Cx. It is now fixed.

Need to fix the title...

I changed commit title with the last pushforce. I have also renamed this PR


Select, SelectFiltered, MultiSelect, MultiSelectFiltered: Option dragged by page

Description
When scrolling the page, if any kind of Select is open, scrolling to the top of the page drags the select.
The same doesn't happen when scrolling down.
Steps to reproduce
Open Select, scroll up past the select.
Insert an image/gif

Hello @gabriellsh @ggazzo
I would like to work on this issue. Possible solutions would be to either disable the scroll of the body or  anchor the dropdown menu, thoughts?


[Release] Milestone M192

This includes Git v2.33.0.vfs.0.0
Pull Requests

#1750: Update Readme.md
#1751: Update Git to v2.33.0

I had green builds on the master branch so I'm skipping them here to move to the next round of release mechanics.


 There are two main approaches (and we should do both):

Pre-process images on AWS to have them available in different sizes, use responsive image technique to only load a size appropriate for the page and device.
Use a tiny placeholder for the image, load the real image only when user scrolls it into view.

Both techniques are covered well in this article: https://css-tricks.com/tips-for-rolling-your-own-lazy-loading/

👍  to lazy loading. related issue here for pre-processing images: https://github.com/participedia/api/issues/285


threading added

Working on http://lab.gdy.club:8333
@amarjeetkapoor1
One error:
/usr/lib/sagemath/local/bin/sage-preparse: File 'sagemath/input.sage' is missing

This problem had been solved.


[Enhancement] Version 5.0 of docker supports amd64

Before Creating the Enhancement Request

[X] I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Summary

Version 5.0 of docker only has ppc64le
Motivation
Version 5.0 of docker supports amd64
Describe the Solution You'd Like
Version 5.0 of docker supports amd64
Describe Alternatives You've Considered
no
Additional Context
No response

The PR is blocked by SkyWalking CI, due to we can't verify RocketMQ plugin of tracing. The root cause seems no server image support.
Could anyone point out the reason?

Let me have a look. It seems something is wrong with the images.

@weihubeats @wu-sheng The images have been fixed with correct amd64 architecture, please check if it helps. Sorry for any inconvenience.


Feedback: Send presentation and slide ID

Would be cool to have a slide screenshot if possible

https://github.com/kirjs/angular-presentation/pull/35


Fix installing plugins that use node-gyp

Sets the proper environmental variables to install plugins that have
specific needs for compilation e.g. nodegit.
I came across this issue with a plugin I recently created hyperterm-sync-settings which would build dependencies from source improperly. This change fixes that.

Good stuff @dfrankland

Alright, should be good to go 👍

👏


Remember address of log emitters in Log (used in getRecordedLogs)

Component
Forge
Describe the feature you would like
The recordLogs/getRecordedLogs functions would be more useful if Log has an address emitter field. Unless I'm missing something, as of now the feature doesn't let me fully implement #1906.
Additional context
No response

Should be added here: https://github.com/foundry-rs/foundry/blob/09a848cc7b7422ed4a2ec78ae1a72e7658ea22f7/evm/src/executor/inspector/cheatcodes/mod.rs#L230-L234 and the corresponding Solidity types.
We would likely need to swap out RawLog for something else since the RawLog type does not include the emitter address.

@onbjerg I would like to work on this if it's available

Yep, feel free.

I have two questions, What should we use instead of RawLog? What's the best way to test it?

You'd add a test in testdata/cheats similar to the ones already there - there is already a file for getRecordedLogs so you'd just extend/change that. There isn't really a nice alternative to RawLog in ethers, so you'd need to create a wrapper type like
struct Log {
  emitter: Address,
  inner: RawLog,
}

or something like that. You could also use a map of address -> vec<RawLog> but that would erase the order in which logs were emitted which we probably want to keep

Any updates on this?

If I understand the issue and the code correctly, the code checks the origin of an event emission against a user-defined address.
Thus, should this issue close? @onbjerg @mattsse @gakonst

Completed by #3639


[Feature Request] Gather new channel subscriptions

I do love seeing comments come through, but I think it's equally as valuable to know when new people subscribe to the channel as well. Thanks!

Seems perfectly doable with this resource: https://developers.google.com/youtube/v3/docs/subscriptions/list where part is subscriberSnippet and mySubscribers is true. However, this resource can't be used with only the generated API key and instead requires an OAuth flow. I can look into this, but it may require extra setup.


Give feedback to missing / invalid auto-generated arguments

When running an autogenerated command syntax (ex /mob goal add meleeattack 10) without other args, no feedback messages are given and the action is not applied.
Possible fix: Wrap the arguments in an ArgumentGroup and provide an argument callback for the entire Argument.

Added


Add chemically/physically sound jittering

The current jittering method doesn't respect chemistry or physics in any way. It seems to be working, but conceptually we are trying to train a somewhat physical model with fully non-physical structures. It'll involve some engineering I think, but it would be cool to have jittering methods that eg randomly rotate rotatable bonds, per-residue jittering, etc. Can also compare training results by sampling poses from an MD run, which will be more physical inputs.

What is the mean distance the atoms are getting jittered by? In Å. I wonder if you could just reduce that to like ~0.05 Å or something and that would be enough to improve the ML results without totally disrespecting chemistry

Can you jitter just by doing some MD sampling? Lot of effort put into making those physically reasonable and efficent.

@apayne97 I can check in the morning, but the jittering is done based on the B factors currently so I don't really have any control over it. I can try drawing from a fixed distribution with a standard deviation of .05Å or something, although the downside then is that it's less rooted in the data
@hmacdope currently I'm doing the jittering on the fly, ie the positions are jittered differently each time the structure goes through the model, which obviously wouldn't work for MD. we could generate a dataset of MD-generated sampling, but we'd then have to run simulations for all of our input complex structures which I think would take a while


Disable asset spec from parallel execution

@gfiorav As soon as this is green we can merge it to master. The reason can be found here

:+1:


Pedestrian Detection Datasets

Hi,
We are gathering various surveillance datasets for training pedestrian detection models and evaluating generalization of different approaches.
please list all of these datasets under this issue, thanks

Oxford Town Center Dataset
Caltech Pedestrian Detection
Virat Video Dataset

Is this similar to #122 or different?

Yeah , sorry for duplication!

closed

closed

can anyone provide me town center dataset please?? As it is unavailable on the link

can anyone provide me town center dataset please?? As it is unavailable on the link

have you gathered the town center dataset? Because now I also need this

can anyone provide me town center dataset please?? As it is unavailable on the link

have you gathered the town center dataset? Because now I also need this

Have you found it @dreamyt? because I also need this, hahaha.


Proposal: Make this collection more ansible-friendly?

Hello,
I've been reviewing lately what ansible offers as plug-in extensions and while I'm comparing that towards what this collection is using, I thought we could make this collection much friendly to ansible usage and way of working.
So far, I've in mind to:

get an isva httpapi plug-in (rather than a connection plug-in which is lower level)
try to leverage the network module resource design (which seems pretty adapted to configuration of devices likes isva) or, I discovered it lately, the network security resource module which seems to be designed to integrate natively the httpapi plug-in.
maybe a cliconf or something closer (didn't look it yet) to handle the ssh connectivity if required (but I think the rest api to execute commands is working weel for most use cases)

Advantages of this approach:

isva would be considered as a first class citizen of ansible, leveraging default variables from the inventory (yet very similar to what exists today with the connection plug-in)
isva could be part of the facts gathering process, another benefit from being a good citizen
units and integration tests as part of the CD pipeline, ensuring the quality of the overall collection
no more ibmsecurity dependency which is a nice library but its integration into ansible is a bit too much hacky imho.

Some features I'd like to see:

support of diff out of the box to see what changes were made
support of check mode
real modules to manage acl, objectspace, pop.. Instead of leaving that to the user

More ideas are welcome,
Cédric S.

The intention of the framework was to be ansible "native". The framework supports check mode execution, idempotency, comparison of settings. There has been an effort to cover the pdadmin commands - there is a thread somewhere discussing it. Ansible facts are set as part of the initial connection - and it is leveraged extensively (see versioning logic),
It is possible that the same results could have been achieved differently...

Ans I think it made its purpose for several years now. Yet, with collections, you can now deliver a seamless experience to the user only through the collection, no need for an external module using eval of python functions, you can make module for each isva resource and use them like you would use any other modules.
I'm not criticizing the current delivered work, just willing to contribute into its modernization.
Regards.

We actually worked with the RedHat team to create the Collection framework. They understood that we solved being ansible "native" differently - but the key is we are already a first class citizen!

Thank you Ram for your feedback,
I've indeed seen that there was a connection plugin on top of the collection which makes it more native and first class citizen compared to the isam-ansible-roles version. Sorry for that.
I'll state my ideas otherwise, which version do you prefer of the following code as an Ansible user ?
This one (add a loop around junction if you've 100 to create/check) and I'm probably forgetting some actions:
# The facts from this task will be used to determine if the next task can be run
- name: Get the activations on the appliance
  ibm.isam.isam:
    log: "{{ log_level | default('INFO') }}"
    force: "{{ force | default(False) }}"
    action: ibmsecurity.isam.base.activation.get
  register: ret_obj

# Configuring reverse proxy does not require a commit. So flush handlers now
# to ensure not to loose any prior pending changes.
- meta: flush_handlers

- name: Configure Reverse Proxy
  ibm.isam.isam:
    log: "{{ log_level | default('INFO') }}"
    force: "{{ force | default(False) }}"
    action: ibmsecurity.isam.web.reverse_proxy.instance.add
    isamapi:
      inst_name: "{{ create_reverseproxy_inst_name }}"
      admin_pwd: "{{ create_reverseproxy_admin_pwd }}"
      host: "{{ create_reverseproxy_host }}"
      listening_port: "{{ create_reverseproxy_listening_port }}"
      domain: "{{ create_reverseproxy_domain }}"
      admin_id: "{{ create_reverseproxy_admin_id }}"
      ssl_yn: "{{ create_reverseproxy_ssl_yn }}"
      key_file: "{{ create_reverseproxy_key_file }}"
      cert_label: "{{ create_reverseproxy_cert_label }}"
      ssl_port: "{{ create_reverseproxy_ssl_port }}"
      http_yn: "{{ create_reverseproxy_http_yn }}"
      http_port: "{{ create_reverseproxy_http_port }}"
      https_yn: "{{ create_reverseproxy_https_yn }}"
      https_port: "{{ create_reverseproxy_https_port }}"
      nw_interface_yn: "{{ create_reverseproxy_nw_interface_yn }}"
      ip_address: "{{ create_reverseproxy_ip_address }}"
  when: ('wga' in ret_obj['ansible_facts']['activations'])

# Set existing stanza(s)/entries in reverse proxy config file
- name: Set values into Reverse Proxy Configuration File
  ibm.isam.isam:
    log: "{{ log_level | default('INFO') }}"
    force: "{{ force | default(False) }}"
    action: ibmsecurity.isam.web.reverse_proxy.configuration.entry.set
    isamapi:
      reverseproxy_id: "{{ set_reverseproxy_conf_reverseproxy_id }}"
      stanza_id: "{{ item.stanza_id }}"
      entries: "{{ item.entries }}"
  with_items: "{{ set_reverseproxy_conf_entries }}"
  when: set_reverseproxy_conf_entries is defined and set_reverseproxy_conf_reverseproxy_id is defined
  notify:
  - Commit Changes
  - Restart Reverse Proxy

- name: Update a Junction - {{ set_junction_junction_point }}
  ibm.isam.isam:
    log: "{{ log_level | default('INFO') }}"
    force: "{{ force | default(False) }}"
    action: ibmsecurity.isam.web.reverse_proxy.junctions.set
    isamapi:
      junction_point: "{{ set_junction_junction_point }}"
      junction_type: "{{ set_junction_junction_type }}"
      reverseproxy_id: "{{ set_junction_reverseproxy_id }}"
      server_hostname: "{{ set_junction_server_hostname }}"
      server_port: "{{ set_junction_server_port }}"
      basic_auth_mode: "{{ set_junction_basic_auth_mode }}"
      stateful_junction: "{{ set_junction_stateful_junction }}"
      client_ip_http: "{{ set_junction_client_ip_http }}"
      scripting_support: "{{ set_junction_scripting_support }}"
      junction_cookie_javascript_block: "{{ set_junction_junction_cookie_javascript_block }}"
      virtual_hostname: "{{ set_junction_virtual_hostname }}"
      server_dn: "{{ set_junction_server_dn }}"
      query_contents: "{{ set_junction_query_contents }}"
      case_sensitive_url: "{{ set_junction_case_sensitive_url }}"
      windows_style_url: "{{ set_junction_windows_style_url }}"
      https_port: "{{ set_junction_https_port }}"
      http_port: "{{ set_junction_http_port }}"
      proxy_hostname: "{{ set_junction_proxy_hostname }}"
      proxy_port: "{{ set_junction_proxy_port }}"
      sms_environment: "{{ set_junction_sms_environment }}"
      vhost_label: "{{ set_junction_vhost_label }}"
      junction_hard_limit: "{{ set_junction_junction_hard_limit }}"
      junction_soft_limit: "{{ set_junction_junction_soft_limit }}"
      tfim_sso: "{{ set_junction_tfim_sso }}"
      remote_http_header: "{{ set_junction_remote_http_header }}"
      preserve_cookie: "{{ set_junction_preserve_cookie }}"
      cookie_include_path: "{{ set_junction_cookie_include_path }}"
      transparent_path_junction: "{{ set_junction_transparent_path_junction }}"
      mutual_auth: "{{ set_junction_mutual_auth }}"
      insert_session_cookies: "{{ set_junction_insert_session_cookies }}"
      request_encoding: "{{ set_junction_request_encoding }}"
      enable_basic_auth: "{{ set_junction_enable_basic_auth }}"
      key_label: "{{ set_junction_key_label }}"
      gso_resource_group: "{{ set_junction_gso_resource_group }}"
      version_two_cookies: "{{ set_junction_version_two_cookies }}"
      ltpa_keyfile: "{{ set_junction_ltpa_keyfile }}"
      authz_rules: "{{ set_junction_authz_rules }}"
      fsso_config_file: "{{ set_junction_fsso_config_file }}"
      server_uuid: "{{ set_junction_server_uuid }}"
      local_ip: "{{ set_junction_local_ip }}"
      delegation_support: "{{ set_junction_delegation_support }}"
      insert_ltpa_cookies: "{{ set_junction_insert_ltpa_cookies }}"
      http2_junction: "{{ set_junction_http2_junction }}"
      http2_proxy: "{{ set_junction_http2_proxy }}"
      sni_name: "{{ set_junction_sni_name }}"
  when:
    - set_junction_junction_point is defined
    - set_junction_junction_type is defined
    - set_junction_reverseproxy_id is defined
    - set_junction_server_hostname is defined
    - set_junction_server_port is defined

or this one ?
- name: Configuring reverse-proxy
  ibm.isam.isam_reverse_proxy:
    keystore: "{{ keystore_properties }}"
    config: "{{ reverse_proxy_configuration }}"
    jmt: "<path to JMT file or var>"
    dynurl: "<path to dynurl file>"
    fsso: "<list of fsso files>"
    junctions: "{{ list of junctions }}"
    objectspace: "{{ objectspace definition }}"
   policies: "{{ etc.. }}"
...

Seeing some of the bigger components as a resource may help to enhance drastically some user expectations and management of dependencies. Example, if I want to get rid of a STS Template, I first need to remove all STS Module Chains using it. Why can't a resource module taking care of STS chains do that for the user ?
With Network Resource Module state, you can also submit partial updates to a resource and be more user-friendly for ponctual operations.
Again, I'm not criticizing the current work which I think helped a lot of customers to take part in the automation, I'm only thinking this can go to the next step and allow for a smoother experience for the Ansible user. And a faster one also, invoking an Ansible module through a loop (like you'd do for hundreds of junctions) is killing it. Some optimizations inside the framework can reduce the deployment time of a reverse-proxy from hours to minutes. And I'm sure you could go faster.
Regards,
Cédric S.

Yup we could make the framework more efficient - certainly scope for improvement. From a speed perspective - the REST API calls that are required for each change is a minimum of two - one to gather the data for an idempotency check and a second to make the actual change.
In the case of config changes - you can pass a number of data elements in one fell swoop. That allows idempotency check to use one single call to check for changes. And idempotency has repeatedly been a much loved feature - so the cost of making it work seems worthwhile.
There are roles published that allow you to make and document your environment in a more intuitive manner for example:
    - role: set_adv_tune_parm       set_adv_tune_parm_entries:         - key: "runtime_profile.jvm_option"           value:             - "-Dcom.sun.jndi.ldap.connect.pool.maxsize=20"             - "-Dcom.sun.jndi.ldap.connect.pool.prefsize=10"             - "-Dcom.sun.jndi.ldap.connect.pool.initsize=5"             - "-Dcom.sun.jndi.ldap.connect.pool.timeout=300000"             - "-Dcom.sun.jndi.ldap.connect.pool.protocol=\"plain ssl\""             - "-Xmns1g"             - "-Xmnx1g"
It is possible we could add more code to simplify and speed up how some frequently used. Please look to simplify your playbooks by creating roles so that only the critical information is surfaced. Roles should have truly re-usable logic that can be shared with everyone using the framework.

Hello Ram,
Thank you for your answer. Maybe let me add a bit of context here. We've been using this framework extensively over the past two years and have successfully deployed a series of configurations thanks to it. We haven't use the proposed isam-ansible-roles/collections framework as those were too specific and forced people to know how to write playbooks and this wasn't our goal, we wanted actual ISAM/ISVA engineers to deploy stuff and not start making playbooks.
Altogether, it was great, yet some parts of it were too slow (reverse proxy configuration, junction deployments), that idempotency check was totally loved although not totally perfect. We've rewritten some part of it for junctions. It's not your fault if the appliance doesn't provide the right methods to be efficient, yet it can be workarounded. Same for objectspace management, we abused of isamadmin module and commands parsing.
Let me write some POC collection to better express what I'm trying to achieve both in terms of performance and usability to further discuss around the topic if you agree. For all of that above, Ansible provides some native functions and plugins to really help this to go forward in, what I think is, a more natural manner.
Cédric S.


New feature - doughnut charts

Hi Brent.  Thanks for this nifty powerpoint generator.  Very nicely done.
We had a need for creating doughnut charts which turned out to be a simple variation on pie charts.
I've tested locally and have changed one of the pie charts in pptxgenjs-demo.js to be a doughnut.
Matt

Thanks the contribution @kyrrigle !


Specify python 3 more clearly

I've been playing around with your project today and I ran into a few issues running your pip package inside python. I was running it in python 2 as that is where I assume most packages are running and didn't notice it was a 3 project before seeing the badge in the README. After installing with pip3 and python3 things went smoothly.
I've written a pull request with some slight modifications to make this more clear in the README.
Also as a side note I noticed your .travis.yml had an unknown build status. I went ahead and modified it to use pip3 and python3 instead for builds, which got CI to run on my repo.

Ah, ok so back in this commit https://github.com/michalczaplinski/pitchfork/commit/b1163951e98d8f6df745237e2589496734cfca85
python 2.7 support was fixed in Github. However this fix did not make its way to the package index - https://pypi.python.org/pypi/pitchfork/
That's where I was running into issues, using the pip package. Feel free to ignore this issue then, though if you could update the pip package that would be great.


Fix/2205 datatable search

Description

Checklist
For UI or styling changes, I have added a screenshot or gif showing before & after

[x] I have added a changeset
[x] I have added to the docs where applicable
I have added to the VS Code extension where applicable

Demo:
https://www.loom.com/share/8f2ff9c32bd943978d93735243ff9825

fix #2205, fix #2084


Feature Request: Include Taxonomy Manager in "out of the box"

See Use Case #1899
The Drupal contrib module, https://www.drupal.org/project/taxonomy_manager, provides a number of features that would offer DAMS-like metadata editing capabilities, including:

bulk add terms
bulk delete terms
quick editing
CSV export

It has the security shield, is used by over 42k sites, and is applicable to Drupal ^8.8 || ^9.
I think this should be part of the "out of the box" experience therefore I request adding it as a requirement of Islandora Defaults.

Related issue: https://github.com/Islandora/documentation/issues/1619

As discussed in the Tech Call:

Ill make a PR for this as a requirement of Defaults
I'll make a PR with the documentation of what this does (with a warning that merging, though part of what the module claims to do, doesn't work in 8/9 yet!)

@rosiel @seth-shaw-unlv You may be interested in an experimental module for taxonomy management I've put together. Several sites I've worked on have had taxonomies with > 20,000 terms and the Drupal default taxonomy UI can't cope.
https://github.com/catalyst/cca_taxonomy_manager is a views bulk ops-based management UI based on Search API DB.
So far it offers:

browse large taxonomies (assumes non-hierarchical vocabularies)
filter using Search API Database search (offers English stemming), e.g. performer matches perform, performer, performance
apply Views Bulk Operations actions to terms
merge multiple terms to a single term (although this relies on term_merge and term_reference_change per #1619)
move term(s) to a different vocabulary

It's early days but if there's interest I'm keen to see the project develop. I'd like to look at side-by-side comparison of terms, SKOS import/export etc. I'm also curio@us about the trade offs between using Search API Db vs Search API Solr. There's a CSV export in the view to allow simple label export to process via OpenRefine.

On further investigation,

Bulk add means you can paste term names in a text area. You can give them hierarchy uses dashes to indicate hierarchy, but it is only term names.
Bulk delete lets you select and delete multiple terms at once (not so disappointing)
Quick editing may prove useful
CSV export only exports term names as well, using dashes to represent hierarchy.

I'm going to defer this to the MIG as I'm no longer sure this will really reduce the complexity of taxonomy management, especially when we rely so heavily on the External URI fields.
@kayakr I am very interested in that module! I'll check it out!

Based on discussion from the MIG meeting, we understand that adding this in is desirable and are assuming @rosiel  is working on the pull request (but @rosiel let us know if that's inaccurate)


[1.12.0-rc4] Unable to connect remotely to a swarm node with tls : malformed HTTP response

Output of docker version:
1.12.0-rc4

Output of docker info:
Containers: 1
 Running: 1
 Paused: 0
 Stopped: 0
Images: 1
Server Version: 1.12.0-rc4
Storage Driver: devicemapper
 Pool Name: docker-253:1-198482-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 412.8 MB
 Data Space Total: 107.4 GB
 Data Space Available: 19.08 GB
 Metadata Space Used: 1.118 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.146 GB
 Thin Pool Minimum Free Space: 10.74 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.107-RHEL7 (2016-06-09)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null bridge host overlay
Swarm: active
 NodeID: 5jafarjvvc41let676sctn8bz
 IsManager: Yes
 Managers: 2
 Nodes: 7
 CACertHash: sha256:25cba5e40efa22b215482ce72a52c0e29a7c39931438cbbac58c76f660f6ce71
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 3.10.0-327.22.2.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.797 GiB
Name: swarm1.novalocal
ID: GREH:3Q4V:7O3D:CJWD:BM7Z:XTRQ:AVRY:7W5S:J6RT:K6M2:JRZ4:ZLO6
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
3 similar fresh CentOS 7 vms on an OpenStack
Steps to reproduce the issue:

host1 $ docker swarm init
host2 $ docker swarm join --secret  --ca-hash  <manager_ip>:2377
Add a dns entry (in /etc/host in my case) for <manager_ip> swarm_manager
Copy the ca cert from the swarm manager (/var/lib/docker/swarm/certificates/swarm-root-ca.crt) into ~/.docker/ca.pem
Execute any docker command on the swarm manager with --tlsverify
Example : docker --tlsverify -H swarm-manager:2377 images

Describe the results you received:
An error occurred trying to connect: Get https://swarm-manager:2377/v1.23/images/json: malformed HTTP response "\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x04\b\x00\x00\x00\x00\x00\x00\x0e\xff\xf1"
Describe the results you expected:
I expected a docker images output
Additional information you deem important (e.g. issue happens only occasionally):
I checked the certificate sha256 sum agains the sha256 sum I get with docker swarm inspect and it matches, when I query with another name than swarm-manager it tells me that the certificate is not valid so I'm positive that I grabbed the right certificate.
I made a hex dump of what I get from curl -v -k https://swarm-manager:2377/v1.23/images/json here it is
00000000: 0000 0004 0000 0000 0000 0004 0800 0000
00000010: 0000 000e fff1

I get the exact same output no matter what command I try to run. I tried ps images run -d -p 8080:8080 mongo and I get the exact same hex output. I tried from a docker 1.12.0-rc4 client and also from a 1.11.2 client and got the exact same result.
Here is the full output of my curl command :
curl -v -k https://swarm-manager:2377/v1.23/images/json > /dev/null

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying <IP_ADDRESS>...
* Connected to swarm-manager (<IP_ADDRESS>) port 2377 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [49 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1046 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [147 bytes data]
* TLSv1.2 (IN), TLS handshake, Request CERT (13):
{ [46 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Certificate (11):
} [7 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-ECDSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: O=eg5zv0aoechvttu5bwml1w9bm; OU=swarm-manager; CN=5jafarjvvc41let676sctn8bz
*  start date: Jul 20 13:49:00 2016 GMT
*  expire date: Oct 18 13:49:00 2016 GMT
*  issuer: CN=swarm-ca
*  SSL certificate verify result: self signed certificate in certificate chain (19), continuing anyway.
} [5 bytes data]
> GET /v1.23/images/json HTTP/1.1
> Host: swarm-manager:2377
> User-Agent: curl/7.49.1
> Accept: */*
>
{ [5 bytes data]
* TLSv1.2 (IN), TLS alert, Client hello (1):
{ [2 bytes data]
100    31    0    31    0     0    276      0 --:--:-- --:--:-- --:--:--   276
* Connection #0 to host swarm-manager left intact

The swarm port is not for client communications, only daemon<->daemon
Closing as this is as intended.


Add Scalastyle with a basic configuration.

At least, this should catch quite a few trivial errors from here on.
This was inspired by #1566, but I was much more aggressive, and also included ScalaStyle as part of the build.

Review by @gzm0 and @nicolasstucki.

That's all. Thank you for taking time to do this.

LGTM after discussed changes.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1741/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2259/
Test PASSed.

Updated.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1742/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2262/
Test FAILed.

Updated again. I have also enabled the "public methods should have result type" checker, which is a very valuable one.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1743/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2263/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1745/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2265/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1746/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2266/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1747/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2267/
Test FAILed.

And, finally, I added the checker for procedure syntax, i.e., forcing to use : Unit = when declaring a Unit-returning method.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1748/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2268/
Test PASSed.

Still LGTM. (Change the config name if you want, but doesn't matter that much)

OK I just changed the config name, and fixed the capitalization of Scalastyle in the commit messages.
Ping @nicolasstucki

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1751/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2272/
Test PASSed.

Thats all.

Updated.

LGTM

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1757/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2279/
Test PASSed.


2 defects: delicious backup and non-keyword search

Hello,
First of all, I love PopSearch (and Tab Options, and Pickpocket), so thank you so much for your work!
Two issues that I have (latest Safari and macOS):

Delicious backup does not work, it says my login is wrong but it never asks me for the login and password. I tried changing to pinboard and back. It did prompt me for pinboard but never for delicious. Ability to copy and paste JSON to import/export would be a great solution as well, since we are probably not sure how much longer delicious will exist. (I do have a PopSearch backup from 2015 on delicious already, if that matters).

I prefer 'handle address bar searches' because it is the same behavior as Chrome and seems faster to me than the pop-up (also popup doesn't open on new tabs). However, when i do a search without any key, nothing happens. Is there anyway to set a default for non-keyed searches?

Also, I am a developer and would be happy to work on these fixes myself, but I am not an Apple developer and also don't know if you are interested in updating this extension?
Thanks again!

Hi. Thanks for the compliment!
The Delicious API is now dead. I need to remove the backup-to-Delicious functionality in Popsearch, just haven't gotten around to it yet. The whole idea of backing up to a bookmarking service was stupid to begin with, even though it seemed like a good idea at the time (early in my programming journey).
Re: address bar searches, what do you have selected as the "default search engine" in Popsearch's preferences? (I mean the prefs page that appears when you click Settings on the Popsearch popup.) When it's set to Google, entering a search term in the address bar without a keyword should do a Google search. It works for me, but there might be a bug preventing its working for you.
BTW I'm glad to merge any fixes you want to make, and I don't mind rebuilding the extension package for a submitted fix. I pretty much spend no time on these extensions any more, but I feel guilty about it. ;)


MauiReactor 3 based on .NET MAUI 9

MauiReactor 3 targeting .NET 9 is here!
Please check it out:

for the latest sources clone the https://github.com/adospace/reactorui-maui/tree/beta-3-net9-1 branch
if you just want to link the package point to Nuget beta 3 versions https://www.nuget.org/packages/Reactor.Maui

This ticket will track all my progress and allow me to collect your suggestions and feedbacks.
Currently, MauiReactor 3.0.1-beta works pretty fine and contains most of the new features of MAUI .net 9 release, including the new controls TitleBar and HybridWebView.
Also, there is a breaking change required to load the XAML resources in case you use styles from an XAML dictionary: no reflection is involved and XAML resources are precompiled just like the normal MAUI application.
This is how you can continue to use the XAML resources in MauiReactor:
https://github.com/adospace/reactorui-maui/tree/beta-3-net9-1/samples/MauiReactor.TestApp
More info and documentation coming soon.

New feature in MauiReactor 3, FormattedString() has now full fluent syntax:
Label(
    FormattedString(
        Span("Red bold, ", Colors.Red, FontAttributes.Bold),
        Span("default, ",
            TapGestureRecognizer(async () => await ContainerPage!.DisplayAlert("Tapped", "This is a tapped Span.", "OK"))
            ),
        Span("italic small.", FontAttributes.Italic, 14)
        )
    )

it was:
.FormattedText(()=>
{
    //of course FomattedText here, being static, can be created as a static variable and passed to Label().FormattedText(myStaticFormattedText)
    MauiControls.FormattedString formattedString = new();
    formattedString.Spans.Add(new MauiControls.Span { Text = "Red bold, ", TextColor = Colors.Red, FontAttributes = FontAttributes.Bold });

    MauiControls.Span span = new() { Text = "default, " };
    span.GestureRecognizers.Add(new MauiControls.TapGestureRecognizer { Command = new Command(async () => await ContainerPage!.DisplayAlert("Tapped", "This is a tapped Span.", "OK")) });
    formattedString.Spans.Add(span);
    formattedString.Spans.Add(new MauiControls.Span { Text = "italic small.", FontAttributes = FontAttributes.Italic, FontSize = 14 });

    return formattedString;
})

New feature coming to MauiReactor 3
MauiReactor 3 will support async handlers for events.
For example, you'll be able to write something like this:
public override VisualNode Render()
    => ContentPage("Counter Sample",
        VStack(
            Button("Click To Increment")
                .OnClicked(IncrementCounter)
        )
    );

async Task IncrementCounter()
{
     //...
}

The button doesn't call the handler again until the first invocation is uncompleted (of course you can freely disable the button with a specific state property while the task is running).
For example
class State
{
    public bool IsBusy{get;set;}
}

public override VisualNode Render()
    => ContentPage("Counter Sample",
        VStack(
            Button("Click To Increment")
                .IsEnabled(!State.IsBusy)
                .OnClicked(IncrementCounter)
        )
    );

async Task IncrementCounter()
{
    SetState(s => s.IsBusy = true);
     //... make async calls
    SetState(s => s.IsBusy = false);
}

Other improvements are also coming to the supported signatures that should further simplify your code.

Hot-reload improvement in MauiReactor 3
In MauiReactor 2, if you're using injected services in components, you are surely aware that service interface/implementation types must be defined in a separate assembly to allow hot-reload to work.
For example, considering this component and the ICounterService:
partial class CounterWithServicePage : Component<CounterPageState>
{
    [Inject]
    IncrementService _incrementService;

    public override VisualNode Render()
        => ContentPage("Counter Sample",
            VStack(
                Label($"Counter: {State.Counter}"),
                Button("Click To Increment", () => SetState(s => s.Counter = _incrementService.Increment(s.Counter)))
            )
        );
}

The IncrementService must be defined in a different assembly otherwise the hot-reload won't work.
Starting 3.0.7-beta, hot-reload works also for injected services that are defined in the same assembly of the application.
You have to create one or more static functions that accept IServiceCollection decorated with the attribute [ComponentService] where you register your services. These functions are called automatically during the hot-reload process to register your services in the new assembly loaded at runtime.
I.e.:
    public static MauiApp CreateMauiApp()
    {
        var builder = MauiApp.CreateBuilder();
        //your initialization code for the AppBuilder...

        //Warp your service registration in a separate function
        RegisterServices(builder.Services);

        return builder.Build();
    }

    [ComponentServices]
    static void RegisterServices(IServiceCollection services)
    {
#if DEBUG
        services.AddLogging(configure => configure.AddDebug());
#endif

        services.AddSingleton<ProjectRepository>();
        services.AddSingleton<TaskRepository>();
        services.AddSingleton<CategoryRepository>();
        services.AddSingleton<TagRepository>();
        services.AddSingleton<SeedDataService>();
        services.AddSingleton<ModalErrorHandler>();
    }

Breaking-change for hot-reload
Starting from 3.0.9, hot-reload must be enabled using the new .NET 9+ feature switch (https://github.com/dotnet/designs/blob/main/accepted/2020/feature-switch.md).
You can opt-in hot-reload enabling the switch "MauiReactor.HotReload".
For example add the following to your project definition to enable hot-reload:
  <ItemGroup>
    <RuntimeHostConfigurationOption Include="MauiReactor.HotReload" Value="true" Trim="true" />
  </ItemGroup>

This is preliminary work to make MauiReactor 3 fully AOT-compatible and trimmable. In the near future, it will be enough to disable this switch in release mode to trim out all the code required for hot reload that may not be compatible with AOT requirements.
Using .NET 9 feature switch also allows an easier integration of MauiReactor in CI environments.
Lastly please note that I'm heavily working on this stuff so things may change in the future.

AOT compliance with version 3.0.12-beta
I'm really glad to share with you that MauiReactor since version 3.0.12-beta is fully AOT compatible.
If you want to compile your application with MauiReactor to a native iOS or Mac Catalyst application please follow the official guidelines:
https://learn.microsoft.com/en-us/dotnet/maui/deployment/nativeaot?view=net-maui-9.0
and set MauiReactor to trim out the hot-reload module in release mode adding these lines to your project definition:
<ItemGroup Condition="'$(Configuration)'=='Release'">
    <RuntimeHostConfigurationOption Include="MauiReactor.HotReload" Value="false" Trim="true" />
</ItemGroup>


New warning when upgrading from 5.6.1 to 6.0.0

Question
When upgrading from version 5.6.1 to version 6.0.0 I started seeing a new warning:
> stryker run stryker.config.json

WARN PluginLoader Expression "@stryker-mutator/*" not resulted in plugins to load.
INFO InputFileResolver Found 1 of 50 file(s) to be mutated.
...

Any idea what is causing this warning?
Stryker environment

+--<EMAIL_ADDRESS>

+--<EMAIL_ADDRESS>
Additional context
What I tried:

I didn't see anything obviously related to this in the release notes for 6.0.0.
I tried re-installing @stryker-mutator/core from scratch to update transitive dependencies, this didn't help.

The project:

The project were I'm seeing this is git-tag-annotation-action.

I'm not using any plugins.
Here's the Stryker configuration file.

The @stryker-mutator/core dependency is being updated in this Pull Request.
Here are the CI logs after only upgrading the @stryker-mutator/core dependency.
Here are the CI logs after re-installing the @stryker-mutator/core dependency.
Here are CI logs of the latest run prior to upgrading to 6.0.0.

Wow! Thanks for upgrading so fast and providing feedback! As a workaround, you can simply ignore this warning.
Part of 6.0.0 was a rewrite of the plugin loader (it now uses import instead of require). It isn't directly mentioned in the v6.0.0 changelog, but it is buried somewhere in the v6.0.0-beta.0 release notes: #3409

I've just released v6.0.1 with a fix 🤗

Thanks for the quick fix @nicojs :clap:


Add shrinking to failing tests

QuickCheck has a way to shrink failing test cases until they are generally small enough to read.  The ones returned by ScalaCheck are gigantic.  I see from perusing the docs that ScalaCheck has shrinking, but for whatever reason it's not being used here.  Let's turn that on.

Fixed in #108


Macro annotation could not be loaded

Hi there,
I can't seem to get a very simple algebra to compile, using an ammonite script:
import $plugin.$ivy.`org.scalameta:::paradise:3.0.0-M10`
@

import $ivy.`io.frees::frees-core:0.4.1`, freestyle._
@free trait Test {
}

I've verified using simulacrum (which uses paradise from scalamacros, instead of scalameta), that annotations work correctly, which leads me to suspect that not ammonite, but rather freestyle does not work correctly. Anyone knows what I'm doing wrong?

what's the actual compilation error?


feat: more ast helpers: str and find_body

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

@ShaunSHamilton while working on https://github.com/freeCodeCamp/freeCodeCamp/pull/53125 I realised that it would be nice to simply get the code at certain points. Since repr gives you the AST dump, I figured str could give us the unparsed string.

I do not understand the is_equivalent thing

It means is semantically equivalent to. I'm not sure how best to articulate it, though.
The problem is that it's not as simple as "have the same ast" and "unparses to the same string as you get by parsing and unparsing the argument" isn't exactly easy to grasp. Hence is_equivalent.

@ojeytonwilliams I suppose what confuses me is the comment:
    # Takes an string and checks if is equivalent to the node's AST. This
    # is a loose comparison that tries to find out if the code is essentially
    # the same. For example, the string "True" is not represented by the same
    # AST as the test in "if True:" (the string could be wrapped in Module,
    # Interactive or Expression, depending on the parse mode and the test is
    # just a Constant), but they are equivalent.

Sounds like:
func_str = """def foo():
  if True:
"""
node = Node(func_str)
self.assertTrue(
  node.find_function("foo").find_body().is_equivalent("True")
)

How about this:

Loosely compares the code in target_str with the code represented by the Node's AST. If the two codes are semantically equivalent (i.e. the same if you ignore formatting and context) then this returns True, otherwise False.
Ignoring context means that the following comparison is True

node = Node("if True:\n  pass")
cond_node = node.find_ifs()[0].find_conditions()[0]
cond_node.is_equivalent("True")

despite the fact that the AST of cond_node is Constant(value=True) and True compiles to Module(body=[Expr(value=Constant(value=True))], type_ignores=[])


Generics doe's not work with class composition

Let's say I have the following code:
const FoodMixin = superclass => class extends superclass {
  eat(food) {
    console.log(`Eating ${food}`);
  }
};

class Animal<T> {
  prop: T;
  constructor(public name) {
  }
}

interface Prop {}

class Dog extends FoodMixin(Animal<Prop>) {
  constructor(...args) {
    super(...args)
  }
}

The problem is that I can't pass the generic to the Animal class. The following line - class Dog extends FoodMixin(Animal<Prop>) throws a typescript error:

expected 1 arguments but got 2

What is the correct way to use generics in this case?

It looks like this is a question rather than a bug report. This issue tracker is for tracking bugs and active work on TypeScript itself, rather than a general forum for programmers using TypeScript to get help or ask questions.
You can ask questions on sites like Stack Overflow. We are not able to provide one-on-one support on the issue tracker, so I'll close this up. Next time, please read the issue template carefully - it has important information on what kinds of reports can be acted on here, as well as links to useful TypeScript resources. Thanks!


Cannot install from setup.py file on ARM device.

Hi,

my env is on ARM device (Jetson device).
OS: ubuntu18.04
Python 3.8

I was trying to install it from setup.py.
Here are my steps.
git clone https://github.com/shellcheck-py/shellcheck-py.git
cd shellcheck-py/
python3.8 setup.py build

Here was the output:
root@fcf09b4b8614:~/shellcheck-py# python3.8 setup.py build
running build
running fetch_binaries
Traceback (most recent call last):
  File "setup.py", line 171, in <module>
    setup(version=f'{SHELLCHECK_VERSION}.{PY_VERSION}', cmdclass=command_overrides)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/core.py", line 148, in setup
    return run_commands(dist)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/core.py", line 163, in run_commands
    dist.run_commands()
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 967, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "setup.py", line 118, in run
    archive = download(url, sha256)
  File "setup.py", line 62, in download
    raise ValueError(f'sha256 mismatch, expected {sha256}, got {checksum}')
ValueError: sha256 mismatch, expected a12bdfe0f95811ad6c0a091006b919b2834b0619b460cfa596f557edd62e45ab, got 9f47bbff5624babfa712eb9d64ece14c6c46327122d0c54983f627ae3a30a4ac

Thank you so much in advance!!

@odidev looks like you broke this?

The version of <IP_ADDRESS> can work by pip installation.
Thanks for my colleague helping. lol

@asottile, it's my mistake. Somehow, I placed the wrong checksum. Raised PR again to fix this.


luaPackages.luasystem: fix build on darwin

Motivation for this change
Fixes https://github.com/NixOS/nixpkgs/issues/73270
cc: @treffynnon
Things done

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

[X] NixOS
[X] macOS
[ ] 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 nix-review --run "nix-review wip"
[X] 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)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@GrahamcOfBorg build luaPackages.luasystem

thanks for the fix


Not working

Fatal error: Uncaught Error: Class 'DetectCMS\Systems\Drupal' not found in /home/brightde/brightroots.net/wordpresscheck/DetectCMS/DetectCMS.php:57 Stack trace: #0 /home/brightde/brightroots.net/wordpresscheck/DetectCMS/DetectCMS.php(43): DetectCMS\DetectCMS->check('http://google.c...') #1 /home/brightde/brightroots.net/wordpresscheck/index.php(9): DetectCMS\DetectCMS->__construct('http://google.c...') #2 {main} thrown in /home/brightde/brightroots.net/wordpresscheck/DetectCMS/DetectCMS.php on line 57
what is the issue ?

It looks like it can't find the different System files. Do you have Systems folder in the project does it have several PHP files in it?

yes i have

here is the code and the structure

it is the php code
getResult()) {
    echo "Detected CMS: ".$cms->getResult();
} else {
    echo "CMS couldn't be detected";
}

?>

getResult()) {
    echo "Detected CMS: ".$cms->getResult();
} else {
    echo "CMS couldn't be detected";
}

?>

please check

Hey, I’m having the same issue
Did you find an answer?

I had the issue few days back, I figured out the issue is with file names. These are cases sensitives at some version of php and on some servers. Just rename the file and change the first letter, hope that will work.

Hello.i have this error:
Fatal error: Uncaught Error: Call to undefined function DetectCMS\Systems\str_get_html() in C:\xampp\htdocs\sitecheck\vendor\krisseck\detect-cms\src\DetectCMS\Systems\wordpress.php:35 Stack trace: #0 C:\xampp\htdocs\sitecheck\vendor\krisseck\detect-cms\src\DetectCMS\DetectCMS.php(92): DetectCMS\Systems\Wordpress->readme() #1 C:\xampp\htdocs\sitecheck\vendor\krisseck\detect-cms\src\DetectCMS\DetectCMS.php(46): DetectCMS\DetectCMS->check('clickandstrike....') #2 C:\xampp\htdocs\sitecheck\checksite.php(21): DetectCMS\DetectCMS->__construct('clickandstrike....') #3 {main} thrown in C:\xampp\htdocs\sitecheck\vendor\krisseck\detect-cms\src\DetectCMS\Systems\wordpress.php on line 35
i have install it on my pc, in localhost. on server, i'll use php 7.4 always the last version.
@Krisseck

Nevermind i fixed it  - if you are using the latest XAMPP that has PHP 8 (im writing this in Feb 2022) then you can use my example: https://github.com/ffos-user-57/Detect-CMS


feat(Data/Num): use bitwise notation

This enables the existing |||, &&&, <<<, >>>, and ^^^ notation for Num and PosNum, and makes them simp-normal form.

That looks very useful to me @eric-wieser.

@tobiasgrosser: once #7451 goes in, we can do the same thing for Nat.xor and friends

bors r+


Zoom by default

Would be nice to auto-select the Zoom tool after initialization

Good suggestion. Taken into consideration.
Will be given as an option - options.chart.toolbar.autoselected = 'zoom'
This way user can have zoom/pan whatever they prefer

@junedchhipa Nice! From the plethora of charting libraries Apex stands out with user-friendly API, modern UI, nice docs, and now even quick dev response. Keep up the good work

Thanks for the kind words!


Build script added back in parser 4.0.7

I noticed that the 4.0.7 release for async-graphql-parser added back the build script that I had removed in #901. I was surprised to notice that the dependencies were added back, and it seems weird that these changes are tucked into a release/version bump commit with no further description.

Generated parser via test will give an error when running on CI, but I don't know how to fix it, so I changed back to build.rs. 😂


data properties

@Jokeren can you give more details about the properties of each used data  (The number of unique labels graphs in the dataset, The averaged size (the number of edges) of each graph. The density of each graph ...and more if possible) please ?

Sorry, currently I could just say I cannot. This is just because the dataset is provided by my instructor, who hasn't told me the properties of the graph.
But I think the properties you mentioned could be calculated by extended modules. So If you need those properties, please list them out. I will update them in the next version.

@Jokeren  OK, as a mentionned the most important properties are: The number of unique labels graphs , the averaged size (the number of edges) and the density of each graph.

This first property--"unique labels graphs", could you explain it specifically? Or present an example?

@Jokeren  I mean edge's labels. for example if a graph has an edge with "A" as a label, "A"  cannot be fount in another graph so its a unique label dataset.

let us take the following two graphs as example:
t # 0
v 0 0
v 1 0
e 0 1 1
t # 1
v 0 0
v 1 0
e 0 1 0
As you mentioned above, '0' is a unique label dataset in t2, right? If so, we have to compare a graph with the rest of graphs in a file to generate the unique label dataset? So the final result would be a number of comparisons between graph $$t_{0}-t_{1}$$, $$t_{0}-t_{2}$$...$$t_{n - 1}-t_{n}$$, totally n^{2} / 2 sets?

@Jokeren  right, this is a unique label dataset.

Hi, I have updated a rough implementation in another branch : "feature".
You can first check the correctness of the properties, then I will optimize the code and merge it into the master.

@Jokeren Where I can find the the properties ?

Just run the program, and it will print properties into the log.

@Jokeren  It works, but i didn't understand some parts in the result, for example:
unique edge label set of 113 and 121
113 :
3
121 :

Some parts are empty!
Can you simplify this by deleting the empty results ?

sep indicates "seperator" in graph files, currently you can avoid it.
I have simplified the label set in the lastest version.
Average size counting is updated.

@jokeren Thanks for your hard work.
Can you explain this example for me please!
unique edge label set of 337 and 338
337 :
1
338 :
2

what do you mean "the begging of the log file", current format is :
[subgraph_id] : [number of frequent subgraphs]

I recheck the edges in t337 and t338:

t 338
e 0 1 3
e 1 2 3
e 2 3 3
e 3 4 3
e 4 5 3
e 5 0 3
e 4 6 0
e 3 7 0
e 2 8 0
e 1 9 0
e 0 10 0
e 5 11 0
e 7 12 2
e 9 13 2
t 337
e 10 11 3
e 11 12 3
e 12 13 3
e 13 14 3
e 14 15 3
e 15 10 3
e 11 16 0
e 12 17 0
e 14 18 0
e 15 19 0
e 3 20 0
e 20 10 0
e 20 21 0
e 20 22 0
e 22 23 0
e 22 24 1
e 23 25 0
e 25 26 0
e 25 27 0
e 25 28 0
e 26 29 0
e 26 30 0
e 26 31 0
e 21 32 0
e 0 33 0
e 13 34 0
"t 337" has the unique label 1, and "t 338" has the unique label 2.
Probabaly, what you mean is that find graphs, which has label different with all the other graphs in the same file?

@Jokeren  I mean that the number of the discovered frequent subgraph must be on the top of the log file, just like average size of graphs and by a unique labeling dataset I mean that :
if "x" is a label of an edge, a unique labelling dataset must have "x" only one time in all the dataset (not only in one graph ).

I would not add this feature, since it requires adding a little bit of tricky codes. Besides, the information could be easily obtained by grep "t #" logxxxx.

I update the feature, and I guess that there are few unique labels in my dataset.

@Jokeren  Ok, good luck :)


[Node client] Auto-generated bindings

This PR includes code for auto-generating typescript bindings for the node client.
Also, other minor improvements:

Fixes /src/node/scripts/benchmark.sh script;
Standardizes the way clients' bindings are validated;
Remove an obsolete TODO regarding a tracer_backend hack on node.zig.

Pre-merge checklist
Performance:

[X] I am very sure this PR could not affect performance.

Very nice!

The lint build failure is my fault, trying to fix. https://github.com/tigerbeetledb/docs/pull/13

I was looking in the wrong place. Hopefully this does it: https://github.com/tigerbeetledb/tigerbeetle/pull/601.


Changing Unable to Find Config Log Level

Scripts file (or at least the relevant bits):
https://github.com/kentcdodds/p-s/blob/master/bin/p-s.js#L60
The output:
Unable to find config at /Users/konstantinpschera/Development/Projects/ps/package-scripts.js https://github.com/kentcdodds/p-s/blob/v0.0.0-semantically-released/other/ERRORS_AND_WARNINGS.md#unable-to-find-config
Unable to find config at /Users/konstantinpschera/Development/Projects/ps/package-scripts.js https://github.com/kentcdodds/p-s/blob/v0.0.0-semantically-released/other/ERRORS_AND_WARNINGS.md#unable-to-find-config
Scripts must resolve to strings. There is no script that can be resolved from "echo" https://github.com/kentcdodds/p-s/blob/v0.0.0-semantically-released/other/ERRORS_AND_WARNINGS.md#missing-script

Problem description:
Every time the config couldn't be loaded the scripts are always not working.
Suggested solution:
Rise the log level to error so p-s gets terminated earlier.

Rise the log level to error so p-s gets terminated earlier.

Your PR raised the log level, but doesn't terminate p-s, if you want to do that, you'll need to create another PR.

I think it's something that's useful so I will create one.


sdxl: add timestep bias strategies

add timestep bias strategies when training.

@Fzilan  Please also update the doc to add instructions for enabling timestep bias strategy

Please fix the conflicts and comments


Expand the coverage of the memory budget

Now the memory budget only includes submatrices allocated on memory.
For more general usage, it is necessary to include total memory usage of the process that executes gemm in the memory budget.

The current direction of research is mainly NAS that finds a deep learning model suitable for a given memory size rather than using less memory.
Therefore, it is more valuable to train a model for the GPU and generate an optimized GPU kernel than to apply the technique to the GPU.
These works are in progress in the following repositories.
https://github.com/SKKU-ESLAB/ANT-Model-DB
https://github.com/SKKU-ESLAB/Auto-Compression
So, I close this issue.


[github-actions] run builds and tests on macOS

This PR:

Tune github actions to run builds and tests on macOS

@jwhui
Seems the removed github actions can never pass. How can we resolve that?

@jwhui
Seems the removed github actions can never pass. How can we resolve that?

The required tests can be changed only after merging this PR, otherwise other PRs will not be checked against the requirements of master.


add grouping option to holdings tree maker

currently makeValuationReportHoldingsTree groups holdings by
classification. It is default and fixed. We should make it configurable to
group by classification or sector or industry or country or currency.
https://github.com/teloscube/decaf-client-javascript-extras/blob/f0247da9dde73c028e325df6fa427f79fb9580b2/src/reports/valuation/-valuation-report-holdings-tree/-machinery.ts#L172

I am going to steal below section from headless folder and integrate it here:

@vst Do you have any objection for this ?

No objection your Honor.

Niye close ettiysem :)