[astro-purgecss] Package deletes used variables and leaves other used variables from the same files

I use styles:

variables.css - my big library with many fonts and colors
theme.css - styling for the theme, it uses variables from variables.css
global.css and astro components are using variables from theme.css

---
// styles
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>---

<!doctype html>

        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width" />

                <slot />

I have component Header.astro, where I use styles from theme.css.
Current link in navigation  has purple text decoration, it uses variable --color-link-active-menu-item-decoration from file theme.css, and it has backup color green.
    [aria-current="page"],
    [aria-current="page"]:visited,
    [aria-current="page"]:active {
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-decoration-color: var(--color-link-active-menu-item-decoration, green);
        text-underline-offset: 4px;
    }

In DEV mode it works, as expected.
I built final bundle.
Visually
Result in BUILD: the link has green color for text decoration.

Expected in BUILD: the link will have purple color for text decoration, as it was in dev mode.

Code
I checked the final code:
Expected: it has 4 variables for this link
    --color-link-active-menu-item-decoration: rgb(var(--color-purple-500));
    --color-link-active-menu-item-hover: rgb(var(--color-purple-500));
    --color-link-active-menu-item-decoration-hover: rgb(var(--color-purple-900));
    --color-link-active-menu-item-outline: rgb(var(--color-purple-500));

Result: it has only 2 variables for this link
:root {
  --color-link-active-menu-item-hover:rgb(var(--color-purple-500));
  --color-link-active-menu-item-outline:rgb(var(--color-purple-500))
}

Deleted variables:
--color-link-active-menu-item-decoration: rgb(var(--color-purple-500));
--color-link-active-menu-item-decoration-hover: rgb(var(--color-purple-900));

PROBLEM: It's some magic that colors for hover and focus-visible states are present, but default color for just link is deleted.
I tried to change color to browser colors as blue and yellow, and it's still deleted.
If I turn off integration astro-purgecss in astro.config.mjs I have expected colors in my website after build, but I also have all the unused variables in final css file.
Info about AstroJS
Astro                    v4.6.2
Node                     v18.18.1
System                   macOS (arm64)
Package Manager          npm
Output                   hybrid
Adapter                  @astrojs/node
Integrations             @astrojs/react
@astrojs/mdx
@astrojs/sitemap
astro-meta-tags
astro-robots-txt
astro-purgecss
@playform/compress

Full code of theme.css file
Code of theme.css file
:root {
    --color-link-text-decoration: rgb(var(--color-purple-500));
    --color-link-text-hover: rgb(var(--color-purple-500));
    --color-link-text-decoration-hover: rgb(var(--color-purple-500));
    --color-link-text-decoration-outline: rgb(var(--color-purple-500));
    --color-link-active-menu-item-decoration: rgb(var(--color-purple-500));
    --color-link-active-menu-item-hover: rgb(var(--color-purple-500));
    --color-link-active-menu-item-decoration-hover: rgb(var(--color-purple-900));
    --color-link-active-menu-item-outline: rgb(var(--color-purple-500));
}

Full code of Header.astro file
Code of component Header.astro
---
interface link {
    title: string;
    url: string;
}

interface Props {
    links: link[];
    homepage: boolean;
}

const { links, homepage } = Astro.props;
---

                {
                    links.map((link) => (

                                {link.title}

                    ))
                }

astro.config.mjs:
import { defineConfig } from "astro/config";

// Astro integrations
import react from "@astrojs/react";
import mdx from "@astrojs/mdx";
import node from "@astrojs/node";
import sitemap from "@astrojs/sitemap";
import robotsTxt from "astro-robots-txt";

// Build stage: Compress, PurgeCSS, etc.
import Compress from "@playform/compress";
import purgecss from "astro-purgecss";

// Astro Dev Toolbar App
import metaTags from "astro-meta-tags";

import { loadEnv } from "vite";
const { FRONTEND_DOMAIN } = loadEnv(import.meta.env.MODE, process.cwd(), "");
// const { ASSETS_CDN_DOMAIN } = loadEnv(import.meta.env.MODE, process.cwd(), "");

// https://astro.build/config
export default defineConfig({
    site: FRONTEND_DOMAIN || "http://localhost:4321",
    prefetch: true,
    scopedStyleStrategy: "class",
    output: "hybrid",
    adapter: node({
        mode: "standalone",
    }),
    integrations: [
        react(),
        mdx(),
        sitemap(),
        metaTags(),
        robotsTxt(),
        purgecss({
            variables: true,

            // for Astro view transitions
            keyframes: false,

            // for Astro view transitions
            safelist: {
                greedy: [
                    /*astro*/
                ],

                // aria-current="page" is added to the active link
                standard: ["aria-current"],
            },

            // for SSR
            content: [
                process.cwd() + "/src/**/*.{astro,jsx,tsx}", // Watching astro and vue sources (for SSR, read the note below)
            ],
        }),
        Compress({
            // CSS: false,
            // HTML: false,
            Image: false,
            // JavaScript: false,
            SVG: false,
        }), // should be last in the list
    ],
});

Hey there @teinett thanks for this extensive report :pray: . I'll try to look into this soon. Feel free to open a PR if you already know the solution and want it released quickly.
If you could attach an example repo that would be helpful too.

I published very basic example: https://github.com/teinett/test-astro-purgecss
Check font for title H1

Development mode: it's set to my font.
Production mode: variable for title is deleted, used backup monospaced font.

Development:

Production:

Hey @teinett sorry for the late reply, the only workaround I found for you is to declare the variables that are missing in the safe list,
import { defineConfig } from "astro/config";

import purgecss from "astro-purgecss";

// https://astro.build/config
export default defineConfig({
  integrations: [
    purgecss({
      variables: true,

      // for Astro view transitions
      keyframes: false,

      // for Astro view transitions
      safelist: {
        greedy: [
          /*astro*/
        ],

        // aria-current="page" is added to the active link
        standard: ["aria-current"],

        variables: ["--font-heading"],
      },

      // for SSR
      content: [
        process.cwd() + "/src/**/*.{astro,jsx,tsx}", // Watching astro and vue sources (for SSR, read the note below)
      ],
    }),
  ],
});

I will keep on investigating on this why variables you have declared in the theme.css are bing purged.

Another approach is to use the following inside the theme.css file. to sefe list the variables:
https://purgecss.com/safelisting.html#in-the-css-directly

@teinett found your problem, since you were declaring styles to global attributes inside global.css and purge CSS was not aware of that file, those variables were not taken into account. so inorder to solve your problem you add the global.css to the list of watches files.
import { defineConfig } from "astro/config";

import purgecss from "astro-purgecss";

// https://astro.build/config
export default defineConfig({
  integrations: [
    purgecss({
      variables: true,

      // for Astro view transitions
      keyframes: false,

      // for Astro view transitions
      safelist: {
        greedy: [
          /*astro*/
        ],

        // aria-current="page" is added to the active link
        standard: ["aria-current"],
      },

      // for SSR
      content: [
        process.cwd() + "/src/**/*.{astro,jsx,tsx}",
+++ process.cwd() + "/src/styles/global.css",
      ],
    }),
  ],
});

I updated my test project: https://github.com/teinett/test-astro-purgecss/commit/77dd7c32fc9de7b6301d9d2bd34e65da4c6e2d18#diff-e0f0c5adbe0b9ca5d0b57caf5cea33a8d88899fd02a43df1e9862b185f8a1e5fR27
I decided to add all css files:
content: [
    process.cwd() + "/src/styles/*.css",
],

Now it works! Problem is solved.


GH 9016: Bitwise operation weirdness

Series now supports bitwise op for integral types.
I have made the changes in wrapper() itself instead of na_op() because it looked to me like wrapper is controlling the input and output fill and dtype. Once that is taken care of, na_op() seems to be doing the right thing by itself and so I did not have to change anything to get back the expected behavior. Happy to change if things need to be altered toward better design etc.

This PR intends to resolve #9016

can u move the tests near the other boolean tests (right below) in test_series
also need some test for ops with NaN and series containing nan and ops with other dtypes
(with other dtypes should prob raise TypeError)

@shoyer, @jreback  thanks, I am working on the suggested changes. In the meantime I noticed this. (using master without this patch).
In [4]: Series([0,1,2,3]) & Series([True, True, True, True])
Out[4]:
0    False
1     True
2    False
3     True
dtype: bool

I was expecting output to be Series([False, True, True, True]) as RHS has dtype bool.
Figured Numpy converts bool to 0/1 and executes bitwise op. For e.g.,
In [5]: import numpy as np

In [6]: np.array([0,1,2,3]) & np.array([True, True, True, True])
Out[6]: array([0, 1, 0, 1])

In the Series example, should the behavior be preserved? In that case should the output dtype be bool or int64? Otherwise it looks confusing.

Looks like if changed, test_logical_with_nas() in test_frame.py would break.

made the following changes:

Code refactored to removed some duplication
Moved test function near other comparison tests
Added more tests with NaN and other dtypes
Fixed code so it works with list,tuple and np.ndarray types correctly.

@tvyomkesh this seems like a lot of branching for just slightly different dtype handling. see what you can do about that.

@jreback thanks for pointing to core.common.is_interger_dtype(). Made the changes. Also cut down on branching a bit. Updated release note with a small example.
I still think this is confusing.
In [3]: pd.Series([2]) & pd.Series([True])
Out[3]:
0    False
dtype: bool

Either both the inputs should be converted to dtype boolean in which case output value would be True  or if both the inputs are converted to dtype int64 implictly (and bitwise & is carried out) then the output dtype should remain int64 and not be coerced to bool. The current patch can be modified to fix this. Thoughts?

PR review changes are done. Good to merge?

@jreback thanks. I have made the changes.

@jreback and @shoyer I have pushed the changes. Thanks.

thanks @tvyomkesh


Cannot set property 'verbose' of undefined

System: window
@parcel/logger Version: 1.11.1
debug the code, logger.prototype is undefuned
New Pull Request
For more information, see the CONTRIBUTING guide.
Prerequisites
Please make sure you can check the following boxes:

[ ] I have read the CONTRIBUTING document
[ ] My code follows the code style of this project
[ ] All new and existing tests passed

Type(s) of Changes
Contribution Type
What types of changes does your code introduce? Put an x in all the boxes that apply:

[x] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[ ] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes

Description
[Place a meaningful description here]
Remarks
[Optionally place any follow-up comments, remarks, observations, or notes here for future reference]

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Great catch - thanks for the fix!


Mapping difficulties

Hi,
It is not very clear to me on how to use the Mapping API. As an example of how looks like my Xtext DSL-Based datamodel:
Module :   	importSection+=Import*   	elements+=Definition*;   Import : ´import´ ImportedQualifiedName;   fragment ImportedQualifiedName : importedNamespace=[Definition | QualifiedName];   Definition :    	TypedefDefinition |    	StructDefinition;
My idea was that from a node Mapping like for Definition, I would be able to nodeForEach for TypeDefDefinition and StructDefinition. So it seems that I don´t understand the spirit of the mapping API.
Could you give me an example of a mapping for this small example ? It would really help a lot to understand

Ok well sounds like you have a lot of things to do and you don't maintain anymore this project.
I have just a small question about connectionMapping. I am sure you can answer my question in just one sentence or two and it would help me a lot with my project. In your examples, you use outconnectionFor() from a NodeMapping to create an edge between two nodes. My case is that I would like to create an edge from a DiagramMapping and create the two nodes in the ConnectionMapping because I can not use your example with my DSL.
I am sure you know very well how to do so since you create it and it would really help me a lot since I am trying to demonstrate to my fellow students that your work is added value.
I am waiting for your help
Have a nice day


xmonad-log-applet-2.0.0.tar.gz does not contain example xmonad.hs

Title says it all :-)

Fixed in git master, the file will be there in future versions. Thanks for the heads up!


Update libuv references in Kestrel docs

https://github.com/aspnet/Announcements/issues/296
Per the announcement, managed sockets are replacing libuv in Kestrel as of ASP.NET Core 2.1. Update the docs to mention this and that libuv is used in versions prior to that.
Affected docs:

[ ] https://docs.microsoft.com/aspnet/core/fundamentals/servers/
[ ] https://docs.microsoft.com/aspnet/core/fundamentals/servers/kestrel

@guardrex This seems like something you'd enjoy. You want this one?

Transport Extensibility

The current implementation of the underlying libuv connection semantics has been decoupled from the rest of Kestrel and abstracted away into a new Transport abstraction. While we continue to ship with libuv as the default transport, we are also adding support for a new transport based on the socket types included in .NET.

References:

https://github.com/aspnet/KestrelHttpServer/issues/2361
https://github.com/aspnet/Universe/pull/959
https://github.com/aspnet/KestrelHttpServer/pull/2392/files
https://github.com/aspnet/KestrelHttpServer/issues/2360


Feature Info Agent: Each time series query should have its own RDB

For time series queries, would it be possible to make each of the queries have its own database_name parameter (in the config json)? In a complex use case it may not be practical to have all time series in the same database, hence a single, global setting is a bit restrictive.

Or even better, read the hasRDB property from the KG, but whatever is quicker to implement wins for now...

just have to be careful, the URL is probably the one accessed by the agent instantiating the time series, not the external one

Quickest solution is to update the config to allow the specification of a DB name per class. I can do this but it'll require some changes to the intenral data structures, so I'm not sure it'll happen before the demonstration. In which case, should it hold this PR up or be done as a feature afterwards?
I'm not sure if all data has the hasRDB relationship yet, pretty sure the data on our development servers (which I use for testing) doesn't. Until that happens, I'd be wary of relying on it.
Originally posted by @mdhillman in https://github.com/cambridge-cares/TheWorldAvatar/issues/466#issuecomment-1340711519
Or, in the super-fancy version, make the access agent work out which RDB to use...

Each registered class now contains its own parameter for the database name. Future updates, such as using the hasRDB relationship, or the access agent, are unlikely to happen in the near term, and will require other developers (so I'm closing this issue as completed).
This has been updated as part of PR #466.


Fix sharing of cardanoNodePkgs among nixos service instances

This restore the optimization that was disabled in https://github.com/input-output-hk/cardano-node/pull/902/commits/576e20a9f9887b0d7323275dbe801661b05ac586 (due to no working) in a working way.

bors r+


git gc cron should not change repo's updated_unix timestamp

Since https://github.com/go-gitea/gitea/pull/15177, a repo's updated_unix timestamp seen on a repo on a org page can change when the git gc cron runs which I think is undesirable because it makes it seem as thought someone pushed to the repo while actually nothing happend. It executes with this SQL:
models/repo.go:744:updateSize() [I] [SQL] SELECT COALESCE(sum(`size`),0) FROM `lfs_meta_object` WHERE (repository_id = ?) [260] - 750.016µs
.../repository/check.go:96:func1() [I] [SQL] UPDATE `repository` SET `size` = ?, `updated_unix` = ? WHERE `id`=? [41395<PHONE_NUMBER> 260] - 2.02599ms

I think updated_unix should not be updated during the git gc cron and instead only update when actual changes happen in the repo files, e.g. push actions.

I think v1.14 should also have the problem.


feat: Add operation_id_callback

Resolves #67
Checklist:

[x] Run pytest tests and no failed.
[x] Run flake8 flask_openapi3 tests examples and no failed.
[x] Run mkdocs serve and no failed.
[x] Run mypy flask_openapi3 and no failed.

Please add operation_id_callback to APIView
https://github.com/luolingchun/flask-openapi3/blob/master/flask_openapi3/view.py#L81

Please add a unit testing for operation_id_callback.


Swat "Introduction" and "Guides"

Because first thing is "Introduction"

Yes, it makes more sense this way. Thanks!


[4.0] Revert backtrace ban and start printing backtraces from the runtime again

For swift-4.0-branch.

Revert "[strip -ST] Disable runtime stack trace dumping on Darwin when asserts are disabled."
This reverts commit 6bc28ff1c9c75333ceee5986bca775c96d09ebad.
Bring back important fixes from the revert of 6bc28ff1c9c75333ceee5986bca775c96d09ebad.
Change swift::swift_reportError to only print the backtrace in assert builds (swift::warning prints backtrace always).

@swift-ci please test


Add an option to see weather for next 7 days

please assign me this job, will try to do as early as possible

good luck. plz write clean code. thanks


how to return multiple outputs?.

for example, if I use beam size = 10 in beam search, how to return 10 outputs?

model.generate(num_return_sequences=10)


Unable to define system users within the ui.content module

Expected Behaviour
It's a common case that one wants to create a system user and deploy it to all the environments with a package.
I should be able to define system users in the ui.content module.
Actual Behaviour
After adding nodes containing system users, the build fails with errors
Reproduce Scenario (including but not limited to)
Generate project with the latest archetype e.g:
mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=27 -D aemVersion=6.5.7 -D appTitle='my app' -D appId=platform -D groupId=my.app -D includeExamples=n
Inside the ui.content package add a system user node e.g.

<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal"
jcr:primaryType="rep:SystemUser"
jcr:uuid="2018c732-1e79-3c1e-88b3-de3ce2ceee41"
rep:authorizableId="dam-writer-service"
rep:principalName="dam-writer-service"/>
Logs taken while reproducing problem
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'rep:authorizableId' [String] is not allowed in node with types [rep:SystemUser]: Property is protected!", filePath=jcr_root/home/users/system//.content.xml, nodePath=/home/users/system/, line=6, column=42
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'rep:principalName' [String] is not allowed in node with types [rep:SystemUser]: Property is protected!", filePath=jcr_root/home/users/system//.content.xml, nodePath=/home/users/system/, line=6, column=42

Getting the similar issue, any solution ?

Any Solution?

I got the solution.
Remove the version of filevault-package-maven-plugin mentioned in pom.xml or update it to the latest one. In my case, I removed 1.1.6.


7.0.5 ODBC

Good afternoon, upgraded dbeaver community edition today which I use to query a PROGRESS server using ODBC, after the upgrade the ODBC libraries needed updating but I get the error shown below when it tries to connect and get the files.
Can't open 'https://dbeaver.io/files/jdbc/drivers/odbc': Forbidden

hi @OGR84 , thanks for the bug report.
issue was already fixed in #8732 .
ticket will be closed as duplicate


Dereference command not working on windows

I tried using the dereference command on windows and it failed to load the source file.
I attempt to run the tests using, cargo test --workspace --exclude test_discover_git_hash
The below are the test result failures.

failures:

---- process::dereference::tests::test_simple_with_external_reference stdout ----
thread 'process::dereference::tests::test_simple_with_external_reference' panicked at 'called `Result::unwrap()` on an `Err` value: SchemaLoad { url: "file:///C:/Users/MitchellNeill/code/schema-tools/resources/test/json-schemas/03-simple-with-external-ref.json" }', src\process\dereference.rs:208:31

---- process::dereference::tests::test_create_internal_references stdout ----
thread 'process::dereference::tests::test_create_internal_references' panicked at 'called `Result::unwrap()` on an `Err` value: SchemaLoad { url: "file:///C:/Users/MitchellNeill/code/schema-tools/resources/test/json-schemas/20-local-reference.json" }', src\process\dereference.rs:208:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- process::dereference::tests::test_infinite_ref stdout ----
thread 'process::dereference::tests::test_infinite_ref' panicked at 'called `Result::unwrap()` on an `Err` value: SchemaLoad { url: "file:///C:/Users/MitchellNeill/code/schema-tools/resources/test/json-schemas/07-with-infinite-ref.json" }', src\process\dereference.rs:208:31
note: panic did not contain expected string
      panic message: `"called `Result::unwrap()` on an `Err` value: SchemaLoad { url: \"file:///C:/Users/MitchellNeill/code/schema-tools/resources/test/json-schemas/07-with-infinite-ref.json\" }"`,
 expected substring: `"Infinite reference occured!"`
---- process::dereference::tests::test_simple_with_reference stdout ----
thread 'process::dereference::tests::test_simple_with_reference' panicked at 'called `Result::unwrap()` on an `Err` value: SchemaLoad { url: "file:///C:/Users/MitchellNeill/code/schema-tools/resources/test/json-schemas/02-simple-with-reference.json" }', src\process\dereference.rs:208:31

---- process::dereference::tests::test_string_reference stdout ----
thread 'process::dereference::tests::test_string_reference' panicked at 'called `Result::unwrap()` on an `Err` value: SchemaLoad { url: "file:///C:/Users/MitchellNeill/code/schema-tools/resources/test/json-schemas/16-string-reference.json" }', src\process\dereference.rs:208:31

---- process::dereference::tests::test_skip_references stdout ----
thread 'process::dereference::tests::test_skip_references' panicked at 'called `Result::unwrap()` on an `Err` value: SchemaLoad { url: "file:///C:/Users/MitchellNeill/code/schema-tools/resources/test/json-schemas/05-with-nested-remote-external-ref.json" }', src\process\dereference.rs:208:31

---- process::dereference::tests::test_with_local_reference stdout ----
thread 'process::dereference::tests::test_with_local_reference' panicked at 'called `Result::unwrap()` on an `Err` value: SchemaLoad { url: "file:///C:/Users/MitchellNeill/code/schema-tools/resources/test/json-schemas/06-with-local-reference.json" }', src\process\dereference.rs:208:31

---- process::dereference::tests::test_with_nested_remote_external_reference stdout ----
thread 'process::dereference::tests::test_with_nested_remote_external_reference' panicked at 'called `Result::unwrap()` on an `Err` value: SchemaLoad { url: "file:///C:/Users/MitchellNeill/code/schema-tools/resources/test/json-schemas/05-with-nested-remote-external-ref.json" }', src\process\dereference.rs:208:31

---- discovery::tests::test_discover_git_tag_return_already_existing_registry stdout ----
thread 'discovery::tests::test_discover_git_tag_return_already_existing_registry' panicked at 'called `Result::unwrap()` on an `Err` value: GitDiscoveryError(Error { code: -1, klass: 2, message: "failed to make directory 'C:\\Users\\MITCHE~1\\AppData\\Local\\Temp\\schema-tools\\09d3c94802a3e4e23407ad008cf8819f': The system cannot find the path specified.\r\n" })', src\discovery.rs:359:10

---- discovery::tests::test_discovery_git_inherit_templates stdout ----
thread 'discovery::tests::test_discovery_git_inherit_templates' panicked at 'called `Result::unwrap()` on an `Err` value: GitDiscoveryError(Error { code: -1, klass: 2, message: "failed to make directory 'C:\\Users\\MITCHE~1\\AppData\\Local\\Temp\\schema-tools\\96eaab5eba0a59749f7ba79f7c7c6efa': The system cannot find the path specified.\r\n" })', src\discovery.rs:181:10

---- discovery::tests::test_discover_git_branch stdout ----
thread 'discovery::tests::test_discover_git_branch' panicked at 'called `Result::unwrap()` on an `Err` value: GitDiscoveryError(Error { code: -1, klass: 2, message: "failed to make directory 'C:\\Users\\MITCHE~1\\AppData\\Local\\Temp\\schema-tools\\ade8f19c191c650073e470beee65c3e1': The system cannot find the path specified.\r\n" })', src\discovery.rs:281:10

---- discovery::tests::test_discovery_git_inherit stdout ----
thread 'discovery::tests::test_discovery_git_inherit' panicked at 'called `Result::unwrap()` on an `Err` value: GitDiscoveryError(Error { code: -1, klass: 2, message: "failed to make directory 'C:\\Users\\MITCHE~1\\AppData\\Local\\Temp\\schema-tools\\96eaab5eba0a59749f7ba79f7c7c6efa': The system cannot find the path specified.\r\n" })', src\discovery.rs:210:10

---- discovery::tests::test_discover_git_hash stdout ----
thread 'discovery::tests::test_discover_git_hash' panicked at 'called `Result::unwrap()` on an `Err` value: GitDiscoveryError(Error { code: -1, klass: 2, message: "failed to make directory 'C:\\Users\\MITCHE~1\\AppData\\Local\\Temp\\schema-tools\\96eaab5eba0a59749f7ba79f7c7c6efa': The system cannot find the path specified.\r\n" })', src\discovery.rs:266:10

---- discovery::tests::test_discover_git_tag stdout ----
thread 'discovery::tests::test_discover_git_tag' panicked at 'called `Result::unwrap()` on an `Err` value: GitDiscoveryError(Error { code: -1, klass: 2, message: "failed to make directory 'C:\\Users\\MITCHE~1\\AppData\\Local\\Temp\\schema-tools\\aa2e6641106ed92dbc78bdfcefa6cd9a': The system cannot find the path specified.\r\n" })', src\discovery.rs:321:10

---- discovery::tests::test_discovery_git stdout ----
thread 'discovery::tests::test_discovery_git' panicked at 'called `Result::unwrap()` on an `Err` value: GitDiscoveryError(Error { code: -1, klass: 2, message: "failed to make directory 'C:\\Users\\MITCHE~1\\AppData\\Local\\Temp\\schema-tools\\96eaab5eba0a59749f7ba79f7c7c6efa': The system cannot find the path specified.\r\n" })', src\discovery.rs:236:10

---- discovery::tests::test_discover_git_tag_clean_existing_registry stdout ----
thread 'discovery::tests::test_discover_git_tag_clean_existing_registry' panicked at 'called `Result::unwrap()` on an `Err` value: GitDiscoveryError(Error { code: -1, klass: 2, message: "failed to make directory 'C:\\Users\\MITCHE~1\\AppData\\Local\\Temp\\schema-tools\\aca92f409cf5201026fca825a5fd96ca': The system cannot find the path specified.\r\n" })', src\discovery.rs:383:10

---- process::name::tests::test_simple_openapi_naming stdout ----
thread 'process::name::tests::test_simple_openapi_naming' panicked at 'called `Result::unwrap()` on an `Err` value: SchemaLoad { url: "file:///C:/Users/MitchellNeill/code/schema-tools/resources/test/openapi/01-simple.yaml" }', src\process\name\mod.rs:17:31

---- resolver::tests::test_when_file_and_spec_are_valid stdout ----
thread 'resolver::tests::test_when_file_and_spec_are_valid' panicked at 'assertion failed: `(left == right)`
  left: `false`,
 right: `true`', src\resolver.rs:159:9

---- schema::tests::test_string_to_url_should_correctly_convert_absolute_existing_path_to_url stdout ----
thread 'schema::tests::test_string_to_url_should_correctly_convert_absolute_existing_path_to_url' panicked at 'assertion failed: `(left == right)`
  left: `false`,
 right: `true`', src\schema.rs:209:9

---- schema::tests::test_when_file_and_spec_are_valid stdout ----
thread 'schema::tests::test_when_file_and_spec_are_valid' panicked at 'assertion failed: `(left == right)`
  left: `false`,
 right: `true`', src\schema.rs:185:9

---- discovery::tests::test_discovery_file stdout ----
thread 'discovery::tests::test_discovery_file' panicked at 'assertion failed: `(left == right)`
  left: `false`,
 right: `true`', src\discovery.rs:253:9

failures:
    discovery::tests::test_discover_git_branch
    discovery::tests::test_discover_git_hash
    discovery::tests::test_discover_git_tag
    discovery::tests::test_discover_git_tag_clean_existing_registry
    discovery::tests::test_discover_git_tag_return_already_existing_registry
    discovery::tests::test_discovery_file
    discovery::tests::test_discovery_git
    discovery::tests::test_discovery_git_inherit
    discovery::tests::test_discovery_git_inherit_templates
    process::dereference::tests::test_create_internal_references
    process::dereference::tests::test_infinite_ref
    process::dereference::tests::test_simple_with_external_reference
    process::dereference::tests::test_simple_with_reference
    process::dereference::tests::test_skip_references
    process::dereference::tests::test_string_reference
    process::dereference::tests::test_with_local_reference
    process::dereference::tests::test_with_nested_remote_external_reference
    process::name::tests::test_simple_openapi_naming
    resolver::tests::test_when_file_and_spec_are_valid
    schema::tests::test_string_to_url_should_correctly_convert_absolute_existing_path_to_url
    schema::tests::test_when_file_and_spec_are_valid

I added windows support but not sure if it's working correctly (i don't have access to windows and had to fix issues on github worker directly):
https://github.com/kstasik/schema-tools/releases/tag/v0.7.0


Add and remove indexes from existing columns during migrations

I'm not sure if it really needs to require a migration, but making it not require a migration would require some nontrivial refactoring.
Partially addresses #1735.
@jpsim @alazier

Switched to not requiring a migration/schema version bump because changing what sorts of schema changes require version bumps is dangerous (a user could update Realm, fail to test on an old database and then ship an update to their app without changing any of their code and then have it break on launch for all existing users).
The unexpected loading delay was my main concern about this, but it doesn't seem to be too bad. Adding an index to 100k random strings takes 800ms on a 4S and 200ms on an iPad Air, and removing it takes about a fifth of the time (for comparison, inserting the 100k strings takes well over ten times as long).

Looks good. :+1:


[Feature][JsonSplit-api] api of processDefinition create/update

api module #5498
sub task #5499

There is an error in mockito. It is a usage error. It is better to fix it.


Coming soon to marketing campaigns

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @xtineledlie,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


I do not get how to specifiy fonts for modules.

Hello, I have
font-0 = Roboto:size=10:weight=regular
font-1 = fontawesome:size11:weight=regular
font-2 = tewi:pixelsize=9;0

and I'm trying to use font-2 in my date module.
I've read formatting and the example for specifiying dates on the Configuration page and the label example for fonts in formatting don't seem to connect and I'm a bit confused. I'm not even quite sure what label-active = %token% is suppose to be, but this is what I have so far.
[module/date]
type = internal/date
interval = 1.0
date = "   %I : %M   "
date-alt = %I : $M
format-background = ${c.r}

label-active = %token%
label-active-font = 3

What am I doing wrong?

Hi
There are no <label-active> for the date module. And now when I looked at it I see that it doesn't use a label at all, so the only way to specify a font for it is to use the raw syntax tag (note that it requires double %% to not be treated as a date token):
[module/date]
...
date = %%{T3}%I : %M
...

But I will update the module and add a label.

There, I've update the module. Now you can specify font:
[module/date]
type = internal/date
interval = 1

date = %Y-%m-%d
date-alt = %A %B, %Y

; optional
time = %H:%M
time-alt = %H:%M:%S

label = %date% %time%
label-font = 3
label-foreground = #9A32DB

Sweet! Didn't expect a fix for this, would've been fine doing the raw syntax. Though I really appreciate the commit. Thanks! :)


Erroneous code

https://github.com/codertimo/BERT-pytorch/blob/7efd2b5a631f18ebc83cd16886b8c6ee77a40750/bert_pytorch/dataset/dataset.py#L53-L62
This code is incorrect - it will always go into the last if clause. For instance, prob < prob * 0.8 is never true.

fixed by #22 duplicated with #13


Protectli V1211 sometimes require long time to post

Device
Protevtli v1211
RTE version
v0.9.3-rc1
OSFV version
develop
Affected component(s) or functionality
No response
Brief summary
Protectli V1211 long time to post
How reproducible
50-70%
How to reproduce

flash: protectli_v1211_v0.9.3-rc1.rom
open a serial connection to the DUT
turn the DUT on
press 'del' to enter coreboot
pick Reset

This is when sometimes the post will take 1 sec and sometimes over a minute. If post will be imidiate repeat steps 4-5 a few times.
Expected behavior
Post should take similar amount of time each time.
Actual behavior
Sometimes post takes a long time.
Link to screenshots or logs

Additional context
No response
Solutions you've tried
Flashing fresh rom did not change anything

there is an issue where sometimes after hitting DEL to enter BIOS machine takes a long time to display bios (couple of minutes)

To provoke the error you can run:
Reset System Stress Test
    Power On
    FOR    ${i}    IN RANGE    50
        Log To Console    Run: ${i}
        ${sb_menu}=    Enter Secure Boot Menu And Return Construction
        Tianocore Reset System
    END

V1210 is JSL platform, changing the label

 V1211
 Intel(R) Celeron(R) N5105 @ 2.00GHz                 2.00 GHz
 Dasharo (coreboot+UEFI) v0.9.3-rc1                  8192 MB RAM @ 2933 MHz

I wasn’t able to reproduce the issue. Tried restarting around 40 times.


ModLib - bug I think

In FileDatabase.cs - SaveToFile
The first !Directory.Exists (line 72) will fail and throw an exception if the module config folder does not exist.  Later on - line 89 is where you create the folder.
I change the throw exception to a Directory.CreateDirectory and settings folder and config file were generated on first run (which I think is your intended behavior).
Try testing by removing your Config folder from your documents.

Thanks for letting me know. I haven't finished implementing that change as I have gone away for Easter. Will fix it when I separate ModLib into its own mod in the next update.

ModLib is completed now and the issue was fixed.


Upgrading from version 0.12.x -> 0.13.x breaks pipelines

Terraform Version
v1.2.9
Affected Resource(s)
Please list the resources as a list, for example:

harness_platform_pipeline

Terraform Configuration Files
resource "harness_platform_pipeline" "example" {
  identifier = "testddd"
  org_id     = "sre"
  project_id = "pavedroads"
  name       = "testtt"

  yaml = <<-EOT
      pipeline:
          name: name
          identifier: identifier
          allowStageExecutions: false
          projectIdentifier: projectIdentifier
          orgIdentifier: orgIdentifier
          tags: {}
          stages:
              - stage:
                  name: dep
                  identifier: dep
                  description: ""
                  type: Deployment
                  spec:
                      serviceConfig:
                          serviceRef: service
                          serviceDefinition:
                              type: Kubernetes
                              spec:
                                  variables: []
                      infrastructure:
                          environmentRef: testenv
                          infrastructureDefinition:
                              type: KubernetesDirect
                              spec:
                                  connectorRef: testconf
                                  namespace: test
                                  releaseName: release-<+INFRA_KEY>
                          allowSimultaneousDeployments: false
                      execution:
                          steps:
                              - stepGroup:
                                      name: Canary Deployment
                                      identifier: canaryDepoyment
                                      steps:
                                          - step:
                                              name: Canary Deployment
                                              identifier: canaryDeployment
                                              type: K8sCanaryDeploy
                                              timeout: 10m
                                              spec:
                                                  instanceSelection:
                                                      type: Count
                                                      spec:
                                                          count: 1
                                                  skipDryRun: false
                                          - step:
                                              name: Canary Delete
                                              identifier: canaryDelete
                                              type: K8sCanaryDelete
                                              timeout: 10m
                                              spec: {}
                                      rollbackSteps:
                                          - step:
                                              name: Canary Delete
                                              identifier: rollbackCanaryDelete
                                              type: K8sCanaryDelete
                                              timeout: 10m
                                              spec: {}
                              - stepGroup:
                                      name: Primary Deployment
                                      identifier: primaryDepoyment
                                      steps:
                                          - step:
                                              name: Rolling Deployment
                                              identifier: rollingDeployment
                                              type: K8sRollingDeploy
                                              timeout: 10m
                                              spec:
                                                  skipDryRun: false
                                      rollbackSteps:
                                          - step:
                                              name: Rolling Rollback
                                              identifier: rollingRollback
                                              type: K8sRollingRollback
                                              timeout: 10m
                                              spec: {}
                          rollbackSteps: []
                  tags: {}
                  failureStrategies:
                      - onFailure:
                              errors:
                                  - AllErrors
                              action:
                                  type: StageRollback
  EOT
}

this is from the example in the documentation
Debug Output
---[ REQUEST ]---------------------------------------
POST /gateway/v1/orgs/sre/projects/pavedroads/pipelines HTTP/1.1
Host: app.harness.io
User-Agent: terraform-provider-harness-platform-0.13.2
Content-Length: 3979
Accept: application/json
Content-Type: application/json
Harness-Account: xxxx
X-Api-Key: ****
Accept-Encoding: gzip

{
 "pipeline_yaml": "pipeline:\n    name: name\n    identifier: identifier\n    allowStageExecutions: false\n    projectIdentifier: projectIdentifier\n    orgIdentifier: orgIdentifier\n    tags: {}\n    stages:\n        - stage:\n            name: dep\n            identifier: dep\n            description: \"\"\n            type: Deployment\n            spec:\n                serviceConfig:\n                    serviceRef: service\n                    serviceDefinition:\n                        type: Kubernetes\n                        spec:\n"
2023-01-20T11:46:46.065-0800 [WARN]  unexpected data: registry.terraform.io/harness/harness:stderr="variables: []\n                infrastructure:\n                    environmentRef: testenv\n                    infrastructureDefinition:\n                        type: KubernetesDirect\n                        spec:\n                            connectorRef: testconf\n                            namespace: test\n                            releaseName: release-\u003c+INFRA_KEY\u003e\n                    allowSimultaneousDeployments: false\n                execution:\n                    steps:\n                        - stepGroup:\n                                name: Canary Deployment\n                                identifier: canaryDepoyment\n                                steps:\n                                    - step:\n                                        name: Canary Deployment\n                                        identifier: canaryDeployment\n                                        type: K8sCanaryDeploy\n                                        timeout: 10m\n"
2023-01-20T11:46:46.065-0800 [WARN]  unexpected data: registry.terraform.io/harness/harness:stderr="spec:\n                                            instanceSelection:\n                                                type: Count\n                                                spec:\n                                                    count: 1\n                                            skipDryRun: false\n                                    - step:\n                                        name: Canary Delete\n                                        identifier: canaryDelete\n                                        type: K8sCanaryDelete\n                                        timeout: 10m\n                                        spec: {}\n                                rollbackSteps:\n                                    - step:\n                                        name: Canary Delete\n                                        identifier: rollbackCanaryDelete\n                                        type: K8sCanaryDelete\n                                        timeout: 10m\n"
2023-01-20T11:46:46.065-0800 [WARN]  unexpected data: registry.terraform.io/harness/harness:stderr="spec: {}\n                        - stepGroup:\n                                name: Primary Deployment\n                                identifier: primaryDepoyment\n                                steps:\n                                    - step:\n                                        name: Rolling Deployment\n                                        identifier: rollingDeployment\n                                        type: K8sRollingDeploy\n                                        timeout: 10m\n                                        spec:\n                                            skipDryRun: false\n                                rollbackSteps:\n                                    - step:\n                                        name: Rolling Rollback\n                                        identifier: rollingRollback\n                                        type: K8sRollingRollback\n                                        timeout: 10m\n"
2023-01-20T11:46:46.065-0800 [WARN]  unexpected data: registry.terraform.io/harness/harness:stderr="spec: {}\n                    rollbackSteps: []\n            tags: {}\n            failureStrategies:\n                - onFailure:\n                        errors:\n                            - AllErrors\n                        action:\n                            type: StageRollback\n",
 "identifier": "testddd",
 "name": "testtt"
}

-----------------------------------------------------"
2023-01-20T11:46:46.419-0800 [WARN]  unexpected data: registry.terraform.io/harness/harness:stderr="2023-01-20 11:46:46 [DEBUG] harness-openapi-go-client harness-go-sdk API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 400 Bad Request
Content-Length: 127
Cf-Cache-Status: DYNAMIC
Cf-Ray: 78ca516f4b2d2f14-LAX
Content-Type: application/json
Date: Fri, 20 Jan 2023 19:46:46 GMT
Server: cloudflare
Set-Cookie: _cfuvid=xxx; path=/; domain=.harness.io; HttpOnly; Secure; SameSite=None
Strict-Transport-Security: max-age=15724800; includeSubDomains
Via: 1.1 google
X-Harness-Trace-Id: 5906fa840719f0125b455bbc29658472

{
 "message": "Validation Error.",
 "code": null,
 "errors": [
  {
   "field_name": "slug",
   "message": "must not be null"
  }
 ],
 "error_metadata": null
}
-----------------------------------------------------"

Panic Output
harness_platform_pipeline.example: Creating...
╷
│ Error: Validation Error.
│
│   with harness_platform_pipeline.example,
│   on main.tf line 1, in resource "harness_platform_pipeline" "example":
│    1: resource "harness_platform_pipeline" "example" {
│

Expected Behavior
The pipeline to be created
Actual Behavior
The apply fails
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:

terraform apply

Important Factoids
Moving from 0.12.x to 0.13.x also wants to recreate all pipelines like they weren't even in the state

Update. The breaking change was introduced in 0.13.1. 0.13.0 works

I believe it might be this https://github.com/harness/terraform-provider-harness/commit/7c4b57bfa43522768ee5b529d31c294d4b705686

Also had to edit my terraform so the things matched in the yaml
          name: testtt
          identifier: testddd
          allowStageExecutions: false
          projectIdentifier: pavedroads
          orgIdentifier: sre

I had to re-import all of my harness_platform_pipeline resources to get the tfstate to recognize that the pipelines exist already. After doing that, everything is working as usual.
The commit posted above is suspect to what my problem was too though. 🤔


Bump spotbugs from 4.6.0 to 4.7.1

relate to  https://github.com/spotbugs/spotbugs/issues/2040  fixed in 4.7.1

Codecov Report

Merging #914 (43cb664) into master (01c61f9) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #914      +/-   ##
============================================
- Coverage     91.73%   91.72%   -0.02%
+ Complexity     7437     7436       -1
============================================
  Files           188      188
  Lines         15945    15945
  Branches       2994     2994
============================================
- Hits          14627    14625       -2
- Misses          725      726       +1
- Partials        593      594       +1

Impacted Files
Coverage Δ

...va/org/apache/commons/lang3/CharSequenceUtils.java
87.09% <0.00%> (-1.62%)
: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 01c61f9...43cb664. Read the comment docs.

Hi @shalk
Unless the update needs code changes, there is no need for this type of PR as we use Dependabot.

ok， i think so.


[stdlib]Catch the reasonable mistake 'UnsafeRawMutableBufferPointer'

Issue: [SR-6360]
Tag: #48910
We could make things easier on people by adding an unavailable typealias with a renamed field.
Resolves #48910 , fix apple/swift/blob/main/test/stdlib/UnsafePointerDiagnostics.swift
cc: @belkadan

@swift-ci Please smoke test

@devKobe24 thanks! This illustrates the behaviour you intend, but would not change the toolchain. The typealias would need to be in the standard library code, e.g. alongside the definition of UnsafeMutableRawBufferPointer.

@swift-ci Please smoke test

@glessard
Hello,
Thank you so much for enlightening me on the crucial aspects.
It's my first contribution, and I'm quite nervous and excited, haha.
It's such a fun and thrilling adventure.
Sincerely from Korea, Kobe.


“You have the right to be retaliated against” (missed the word “not”)

Fixed https://github.com/nonprofittechy/docassemble-HousingCodeChecklist/blob/e3c2ea5507a58ac838a6e03daf50bbc59aabe026/docassemble/HousingCodeChecklist/data/questions/housing_code_interview.yml#L1087


Run CI workflow on windows & linux

@NRHelmi maybe https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings#per-repository-settings
and set it totext eol=lf
then no need to change anything in the eslint config

text eol=lf

awesome thanks @denisgursky it worked :D


fix: add missing custom fields to order AddressTransformer

1. Why is this change necessary?
Since the order address is a snapshot of the customer address, all custom fields that may be added to the respective customer address, should be cloned too.
With this change it's also possible to access the custom fields of the customer address when querying the order or one of its addresses via api.
2. What does this change do, exactly?
Add the customFields attribute of the customer address to the list of attributes to clone to create a order address.
3. Describe each step to reproduce the issue or behaviour.

4. Please link to the relevant issues (if any).

5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-9149
Please use this issue to track the state of your pull request.


Cannot see Stars on Albums

On Albums they will typically have little Stars next to the songs that are the most popular, for example, Positions by Ariana Grande has the song Positions as the most popular one in the Album, hence the Star next to it.
However in your theme, the colours are the exact same as the background expect for a slight tink that its almost impossible to see (try finding it in the first image, bet you cant :)

Fixed, but if u want apple Icons Back, use Sosumi for now, its in the theme list

@KillerParticles update: plugin now works. Should be able to remember the settings


Android - scrollbar visible even when there is no scroll possible

As you can see on the screenshot below, the scrollbar appears on Android all the time.
everything is fine on iOS/chrome

I get this after updating to newest Ionic 1.2. Scrollbar has also lower z-index (is underneath) several UI elements like input and ion-radio.

Today I meet the same problem on Android device.  my ionic was  1.2.1

Today I have upgraded to 1.2.1 and I have the same issue.

Having this issue after upgrading to 1.2.4 from 1.0.1

Having the same issue after upgrading to 1.2.4 from 1.1.0

still having this issue after upgrading to 1.2.4.
This only happens on android 4.4.2. Could not see the same issue on 5.x.x onwards

Same in 1.2.4

Same here with ionic 1.2.4 on Android 4.4.2 and 5.1. Any idea why?

Try installing Crosswalk might solve the problem. I had similar issues with the default Android webview, but switching to Crosswalk seems to fix it.

I am also facing this problem, using ionic 1.2.4, iOS is fine, but, always visible scrollbar on Android.

I have the same problem, I just update to pointing to master

Same problem using Ionic 1.2.4, but, no scrollbar at all if using Ionic 1.2.3, both with native scroll

I have the same issue with Ionic since Ionic 1.2.1 in android 4.4.2 and 5.1.1

Installing crosswork solved my problem，if that's not your option, maybe you should disable native scrolling temporarily

I've also got the same issue. Android 5.1.1 and Ionic 1.2.4

I am having the same problem when I view the app with Ionic Lab.

Any news on this one? I have the same issue with the latest ionic and xwalk

Only happens with native scrolling (overflow-scrolling="true")

Still the same for me, the user has to tap on the content to hide the scrollbar. Any news about this ?

Maybe the problem is that this issue is closed.
@brandyscarney Could you please review and reopen this? A lot of people have this issue.

Ionic 1.3.1 / Android 4.4.2 have this issue to

@jgw96 Sorry, didn't have time to catch up with our mobile app till today.
Ionic 1.3.1 (just upgraded) / Android 4.4.2
Sorry, don't have minimal example, but this bug is present immediately on our login page which is simple ion-view with ion-content and footer bar. No overflowing content but scrollbar permanently visible. After I focus an input (and keyboard appears), the scrollbar disappears and is not visible even when scrolling (the now overflowing content). Appears again after bluring input and hiding keyboard.

Please, fix this problem as soon as possible.

Hi everyone. Experiencing this too with ionic 1.3.1 and Android 5+ & 6+.
Please see also https://forum.ionicframework.com/t/overflow-scroll-ion-content/1382/12

.overflow-scroll{overflow-y:auto;} worked for me. thanks


build: Update to header 1.4.304

CI Vulkan-Tools build # 1590 failed.

CI Vulkan-Tools build # 1590 failed.

CI Vulkan-Tools build queued with queue ID 329289.

CI Vulkan-Tools build # 1591 running.

CI Vulkan-Tools build # 1591 failed.

CI Vulkan-Tools build # 1593 running.

CI Vulkan-Tools build # 1593 passed.


Scan Target?

Is there a way to enumerate the "TARGET" element? So that you could output the original target hosts compared to the systems identified in the report?

See #27


SOPS multi-tenancy

Context:

running on EKS, using IRSA and pod-identity-webhook
multiple tenants should be onboarded onto the cluster
we're enforcing spec.serviceAccountName
one tenant should not be able to decrypt secrets of other tenants

Problem:
Right now, kustomize-controller uses a local set of credentials that are defined by environment variables. These credentials allow the controller to make API calls against AWS.
I want to onboard multiple tenants and they should not be able to decrypt the secrets of other tenants. However, since they share the same set of credentials they can decrypt secrets of other tenants.
With GPG we have a better tenant isolation due to the fact that Kind=Kustomization is namespaced and it stores a local reference to a gpg private key. (i.e. one gpg-key per namespace).
Proposed solutions:
(1) use multiple flux instances
This is meh for obvious reasons. Question: can i have multiple kustomize-controllers ? Would you support having sth. similar to ingressClassName to shard responsibilities between controllers?
(2) use serviceAccount/TokenRequest API
Since the Kustomization refers to an spec.serviceAccountName we could implement sth. similar to the service account token volume projection API in Kubelet (docs).
We can feed those tokens into the aws sdk to do a sts:assumeRoleWithWebIdentity this needs to be implemented in the sops repo, of course.
With that we basicially mimic the behavior of the eks-pod-identity-webhook but have the ability to assume multiple roles within one pod. I'm not sure yet what implications that has to elevate the privileges to use the token request api.

Before seeing this issue, I opened https://github.com/fluxcd/flux2/issues/1478.  Not sure if that should move to this repo but it seems related to the ask here.  Would something like that support your use case @moolen?
FWIW, I think currently you can run a kustomize-controller per namespace by setting --watch-all-namespaces=false for multi-tenant use cases.  I'd prefer something with less operational overhead when you're primarily worried about segmenting secrets access.

We would like to use Azure Keyvault instead of pgp keys. What do you think about this proposal:
Integrate Azure Keyvault SDK in the keyservice to encrypt/decrypt using the azure crendentials stored in a secret from the current namespace (behaviour similar to current pgp implementation).
Is it compatible with how SOPS works with AKV ? (I don't know much about SOPS)

Hi @stefanprodan , could you give us your feedback ? does it worth to invest in this direction ?

I have made an implementation, could you give me your feedback and if it could be merged : commit
Rules:

if a secretRef contains a secret named *.json, the json is written to tmp folder (like .asc for pgp)
if a secret is encrypted with an azureKeyvaultKey, I'm checking if an azure_kv.json exist, if yes I use Azure SDK and the json as credentials to decrypt, if no I let the default decrypt workflow...

Hey @dquagebeur I see some issues your implementation, for example using os.Setenv which affects all tenants, if we can get rid of it then this looks good to me. Please open a PR so others can comment.


broken link in the doc

this link is broken:
https://github.com/helgeho/ArchiveSpark/wiki/Getting-Started
->  WebSci'16 Hackathon -> Example notebook

on the same page the link to https://github.com/helgeho/ArchiveSpark/wiki/notebooks is also broken.

Thanks for the hints! We are actually aware of the problems in the documentation, it's not just the broken links, but large parts that need to be refactored. The concrete issues you pointed out are caused by 1. moving the documentation into the wiki, which broke the relative links, and 2. notebooks which got outdated with the introduction of dataspecs and other features and need to be slightly changed to make them work again, thus we moved them into a 'legacy' folder: https://github.com/helgeho/ArchiveSpark/tree/master/notebooks/legacy
More up-to-date and working notebooks can be found in related projects:
https://github.com/helgeho/MHLonArchiveSpark/blob/master/examples/MhlPolioSymptomsSearch.ipynb
and
https://github.com/helgeho/ArchiveSpark2Triples/blob/master/notebooks/Triples.ipynb
We are planning to restructure and rewrite the whole documentation very soon and also extend it with a complete reference of the available features / operations, that's currently in progress. So please stay tuned and if you have questions before, please get in touch. Thanks!

wow, thanks for the examples! :)

The wiki / our old documentation has been shutdown and replaced by a new, proper documentation:
https://github.com/helgeho/ArchiveSpark/blob/master/docs/README.md
Finally, we also have a whole list of recipes / examples:
https://github.com/helgeho/ArchiveSpark/blob/master/docs/Recipes.md


can't use

I received this error:
Error: XMLHttpRequest error.
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 906:28                get current
packages/http/src/browser_client.dart 71:22
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/zone.dart 1612:54                                              runUnary
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 152:18                                        handleValue
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 704:44                                        handleValueCallback
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 733:13                                        _propagateToListeners
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 530:7                                         [_complete]
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/stream_pipe.dart 61:11                                         _cancelAndValue
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/stream.dart 1219:7
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 324:14  _checkAndCall
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 329:39  dcall
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/html/dart2js/html_dart2js.dart 37307:58
at Object.createErrorWithStack (http://localhost:61157/dart_sdk.js:5347:12)
at Object._rethrow (http://localhost:61157/dart_sdk.js:39349:16)
at async._AsyncCallbackEntry.new.callback (http://localhost:61157/dart_sdk.js:39343:13)
at Object._microtaskLoop (http://localhost:61157/dart_sdk.js:39175:13)
at _startMicrotaskLoop (http://localhost:61157/dart_sdk.js:39181:13)
at http://localhost:61157/dart_sdk.js:34688:9

It seems you are trying to run in on the Web platform and hitting a CORS issue (https://en.wikipedia.org/wiki/Cross-origin_resource_sharing).
I've never tried to run in on the web and I'm not sure how it is suppose to work. I can only see this small information when using OAuth2: https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/#is-cors-whitelisting-supported-

Hi, in this post it seems this error can be solved by using OAuth 2.0 (3LO):
https://community.developer.atlassian.com/t/cors-error-with-rest-api/27354/6


hvm-c segfaults with some programs

Describe the bug
Some programs are causing hvm-c to run into a segmentation fault.
As reported in https://github.com/HigherOrderCO/Bend/issues/397.
To Reproduce
Run this program with bend run-c https://github.com/HigherOrderCO/Bend/files/15368994/sat.bend.txt
Or the compiled-to-hvm version with hvm run-c https://github.com/HigherOrderCO/Bend/files/15368996/sat.hvm.txt
Another user reported on discord a segfault when running a simple hello world with bend run-c, but I haven't been able to reproduce
def main():
  return "Hello, world!"

User says: "I am running on WSL2 under Windows 10"

Another case of SIGSEGV in run-c, on Mac M1 Pro:
def testArrayMapArrayNonrecursive(_):
  * = lambda x: x+1
  return 1

def main():
  return 1

Interestingly, either removing the lambda definition or renaming the test makes the error go away.
The renaming behaviour makes me think this might be related to https://github.com/HigherOrderCO/HVM/pull/305

I get SIGSEGV no matter the bend script I run. Any program I wrote and ran with bend run-c resulted in SIGSEGV.
OS: WSL2 under Windows 10
CPU: Ryzen 9 5950x

This one was fixed with larger names I believe, right?

Closing as I can't reprocude. If a segfault comes up again another issue should be opened.

I have this issue.
OS: ubuntu on WSL2 on win11
GPU: nividia geforece 940MX
hvm 2.0.22
bend-lang 0.2.36
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Fri_Jan__6_16:45:21_PST_2023
Cuda compilation tools, release 12.0, V12.0.140
Build cuda_12.0.r12.0/compiler.32267302_0
gcc (Ubuntu 12.3.0-17ubuntu1) 12.3.0
g++ (Ubuntu 12.3.0-17ubuntu1) 12.3.0
hvm run runs perfectly
hvm run-c Segmentation fault on every program including
def main:
  return "test"

i compiled it to .hvm first then run it using hvm of cause.
hvm run-cu will cause Infinite Loop

I use bend gen-cu to generate a cuda c file and try to run. It gives lots of error
test.zip

I have this issue.
OS: ubuntu on WSL2 on win11 GPU: nividia geforece 940MX
hvm 2.0.22 bend-lang 0.2.36
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2023 NVIDIA Corporation Built on Fri_Jan__6_16:45:21_PST_2023 Cuda compilation tools, release 12.0, V12.0.140 Build cuda_12.0.r12.0/compiler.32267302_0
gcc (Ubuntu 12.3.0-17ubuntu1) 12.3.0
g++ (Ubuntu 12.3.0-17ubuntu1) 12.3.0
hvm run runs perfectly hvm run-c Segmentation fault on every program including
def main:
  return "test"

i compiled it to .hvm first then run it using hvm of cause.
hvm run-cu will cause Infinite Loop

Can you please open a new issue for this?


Ability to use filters on index for additional searchparams/options

Notice
Backstory: I've been migrating majority of heavy-duty queries from Doctrine ORM to Meilisearch.

Description
I would like to the possibility to be able to create filters that would allow the search / rawSearch methods to have additional searchParams / options from these filters.
Basic example

The idea would be similar to Doctrine Filters, where an additional condition is added to the query when a filter is enabled.
What I'm after is to create event listeners to add filters to seaches by default (also see this Symfony eventlistener example with Doctrine filters).

Other
An example use-case for this is as follows:

Let's say I have authenticated and guest users.
Both these types of users can perform searches on the same index, but the authenticated users can have access to more results.
In order to achieve this, an additional field is added to the documents, e.g. freeTier.

The freeTier = 1 is available for guests and authenticated users.
The freeTier = 0 is explicitly available for authenticated users.

If the guest user seaches, it should add an additional filter to the searchParams which essentially would add AND (freeTier = 1) filter.
If the authenticated user searches, it should not add this additional filter as authenticated users are allowed to search for both freeTier values 0 and 1.

Now if similar, but not exact same, searches are performed on the same index, I'd still like it to take into consideration this freeTier = 1 field without manually concatenating this filter to every place a search on this index is performed. But with that in mind, if for some reason it is not desired to use the filter at a certain search, I should also have the possibility to disable/enable at any time.

The feature request boils down to a kind of Doctrine filters functionality for the Meilisearch search methods.

Interesting.  I put something together for being able to use ApiPlatform to filter on facets.  It's complicated and not very elegant, but it works great.
#[ApiFilter(FacetsFieldSearchFilter::class, properties: ['marking', 'locale', 'countryCode'])]

When indexing, it searches the class attributes, and creates the settings that are passed to Meilisearch.
            $properties = $arguments['properties'];
            foreach ($properties as $property) {
                if (!array_key_exists($property, $settings)) {
                    $settings[$property] = [
                        'name' => $property,
                        'browsable' => false,
                        'sortable' => false,
                        'searchable' => false
                    ];
                }
                switch ($filter) {
                    case FacetsFieldSearchFilter::class:
                        $settings[$property]['browsable'] = true;
                        break;
                    case SortFilter::class:
                    case OrderFilter::class:
                        $settings[$property]['sortable'] = true;
                        break;

                    case SearchFilter::class:
                    case MeiliMultiFieldSearchFilter::class:
                    case RangeFilter::class:
                    case MultiFieldSearchFilter::class:
                        $settings[$property]['searchable'] = true;
                        break;
                }
            }
        }

And eventually after some more tweaking
        $index = $this->meiliService->getIndex($indexName, $primaryKey);
            $results = $index->updateSettings($settings)

It looks like schranz-search handles this more elegantly.  The schema is interesting, but ugh, yet another schema to figure out.  Schema is probably a better word than settings, and filter v. search is also confusing at least initially.


Unsubscribe from OnItemClick

By subscribing to method OnItemClick in OnCreate, should it also not be unsubscribed from in OnDestroy?

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

ID: b78bfd80-d055-e016-4fa2-f3507663f0bc
Version Independent ID: 745365c9-7396-3ad7-7688-101b8b1af0d3
Content: Extending the RecyclerView Example - Xamarin
Content Source: docs/android/user-interface/layouts/recycler-view/extending-the-example.md
Product: xamarin
GitHub Login: @mgmclemore
Microsoft Alias: mamcle

Hi @varyamereon, thank you for the feedback!  A production app will typically subscribe in OnResume() and unsubscribe in OnPause(). There is no guarantee that OnDestroy() will be called (see Activity Lifecycle for more info) .
As typical of conceptual topics, we strive to avoid complicating examples with extra production-level code overhead – we want the reader to try out and learn the concepts with a minimum of fuss. However, I'll add a note to remind readers that, in a production situation, subscription/unsubscription is best handled by OnResume() and OnPause().


Cairo hints: Matrix multiplication with random cell checks to verify integrity

Exploration Hypothesis
Spoke to Raphael from Giza. They are working with Cairo hints and for ML purposes, would like to see a matrix multiplication hint, with some random cell checks after.

CA: follow-up w/ xtrace to check on work redundancy


Admin can view question form

This form allows an admin to create a new question (i.e. a QuestionDefinition) using the NAME question type.

Simple text input field for question path for now
question and help text are only for english locale
question type selected from dropdown
version hard-coded to "1" for now
no tags

Done when admin can view the question form.

wireframes : https://miro.com/app/board/o9J_lXULxwE=/?moveToWidget=3074457354352415135&cot=14

M1 Review:  In progress should be done by EOD


ringtone not working

Ringtone not working on release mode, android xiamo redmi 4x

I don't have a device(xiamo redmi 4x) to check this issue.

Ringtone not working on release mode, android xiamo redmi 4x

How about you try out this package flutter_ringtone_player?

How do i make it to use my default ringing tone?

Hi @Davud44 @ljsharp @baron7272
I just deployed version 1.0.1.
please update it
using ringtonePath: 'system_ringtone_default'  or remove it for using system ringtone.

thanks a lot
On Monday, February 21, 2022, 10:00:07 AM GMT+1, Hien Nguyen<EMAIL_ADDRESS>wrote:

Hi @Davud44 @ljsharp @baron7272
I just deployed version 1.0.1.
please update it
using ringtonePath: 'system_ringtone_default' or remove it for using system ringtone.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>


Maintainer Views Meta Issue

Goals of this Issue
Classify, describe, and share the current functionality implemented by PyPI to assist contributors while developing warehouse's maintainer UI.
THIS IS NOT THE CORRECT ISSUE FOR FILING BUGS OR FEATURE REQUESTS REGARDING A MAINTAINER ACTIVITY
Proposed hierarchy
maintainer-views
├── account
│   ├── email_address
│   ├── openids
│   ├── password
│   └── pgp_key_id
└── projects
└── PROJECT_NAME
├── releases
│   ├── RELEASE_VERSION
│   │   ├── PKG-INFO
│   │   ├── files
│   │   └── journal
│   └── list
├── PKG-INFO
├── documentation
├── journal
├── roles
└── view
Legend

regular text is a "file"

These are not necessarily their on page but "resources" or "fields" that could be updated.

bold indicates "directory"

These will either contain links to the resources or data presented in a resource.
Current views as implemented in pypi-legacy
maintainer-views/ (root)
https://pypi.python.org/pypi
Note: The box in the top right effectively serves as our maintainer-views/projects view at all times.

maintainer-views/account view
https://pypi.python.org/pypi?%3Aaction=user_form
Includes "resources":

email_address
openids
password
pgp_key_id

maintainer-views/projects/PROJECT_NAME view
https://pypi.python.org/pypi?%3Aaction=pkg_edit&name=PROJECT_NAME
Includes "resources":

releases
documentation

With links to

roles
view

maintainer-views/projects/PROJECT_NAME/roles
https://pypi.python.org/pypi?:action=role_form&package_name=PROJECT_NAME

maintainer-views/projects/PROJECT_NAME/view
https://pypi.python.org/pypi?name=PROJECT_NAME&:action=display
Includes "resources"

journal

NOTE: Further on to bottom of page we include the journals for the release

maintainer-views/projects/PROJECT_NAME/releases
https://pypi.python.org/pypi?:action=pkg_edit&name=PROJECT_NAME
Includes "resources":

release(s)
documentation

With links to

roles
view

maintainer-views/projects/PROJECT_NAME/releases/RELEASE_VERSION
https://pypi.python.org/pypi?:action=files&name=PROJECT_NAME&version=RELEASE_VERSION
Includes "resources":

file(s)

With links to:

PKG-INFO

This has been addressed!


./build.sh - wrong path for autogen.sh

Following the instructions to run the build.sh file I get:
./build.sh: line 5: ./autogen.sh: No such file or directory

adding:
cd ..

to the start of the build.sh file appears to fix it. Perhaps the build.sh file was recently moved?

Take a look carefully instruction:
https://github.com/alexeyxo/protobuf-objc#building-the-objective-c-protobuf-compiler
Step 6.

oops. my apologies


Is the PermonFLLOP link in README.md still relevant?

Maybe it should be mentioned as just a part of PermonQP.

This should be improved at the same time as the update of the web page (cc: @mpecha). We mention in the readme:

PERMON ... . It also includes domain decomposition methods (FETI and Total FETI) as a specific QP implementation.

I think we should discontinue the use of the FLLOP name altogether and just use the above in the description of PERMON.

Sounds good to me. I can try to update the README.


Introduce the Windows Universal platform in CMake

Is there any way to set up a CI environment to test this?

I'm not sure we can test the UWP binary stand-alone without a container app, much like on iOS. We could verify that it builds, though.


poly2tri crashes on a very simple geometry

For some reason poly2tri creates a segmentation fault when I ask it to create
the triangulation of a very simple geometry. I've attached a .cpp file to
reproduce the error and a .svg file which shows the geometry.

The file was compiled with Clang 3.4 using std=c++11 on linux. Hope I have not
forgotten something important.

Raffael

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 19 May 2014 at 12:00
Attachments:

counterexample.cpp
geometry.svg

That shape works just fine with the .js port of poly2tri. Tested here http://r3mi.github.io/poly2tri.js/
Can't see why it should crash on the c++ version. Any error message?


Get the city entered

How to get the city of the address typed on the auto complete input box

https://developers.google.com/places/web-service/details#fields "name" or "vicinity"


move pre-commit hook from husky to simple-git-hooks

:clipboard: Description
https://github.com/toplenboren/simple-git-hooks

I don't think I've ever gotten this to work properly on my Windows machine. My understanding is that it just runs Prettier and the Linter before a commit, which doesn't sound like much added value, so I've not put much time into trying to fix the issue.
As far as I'm concerned, our pre-commit hook setup has only provided strictly negative value, by making me install an extra bunch of dependencies that aren't functional out of the box. This will probably not be to the taste of other folks, but my personal vote would be to remove all of this. :)

I don't think I've ever gotten this to work properly on my Windows machine

Just to clarify, are you referring to the existing setup with husky or with simple-git-hooks?

The existing setup with Husky.

My view on these is that the pre-commit hook isn't primarily there to help maintainers - its more for casual contributors. I know I need to run npm run prettier && npm run lint. My instinct is that introducing the pre-commit hook reduced the number of casual contributors submitting PRs that failed the build due to trivial formatting errors because it makes it super-clear what they need to do but I don't have hard evidence on that. If you wanted we could try just disabling it for a bit, make sure its signalled in the contributing docs and see what happens..

If you wanted we could try just disabling it for a bit, make sure its signalled in the contributing docs and see what happens..

Frankly, I'm not too fussed either way. Simply wanted to flag up that things did not work for me!

The existing setup with Husky.

:eyes: that's odd. One of the major issues with the predecessors to husky is that they'd either work on unix-based/like systems but not windows, or vice versa. husky was the first one that "just worked" everywhere with minimal setup and config.
Our current setup worked for me out of the box on a windows machine as well when I last tested a while back (though using standard command prompt, didn't try in a powershell terminal, git bash, nor WSL). We do still see PRs from contributors every so often which CI on the prettier and/or lint check, so perhaps others are having the same issue. I hope that such experiences are more the exception rather than the norm, but probably worth some investigation to see if things actually are largely broken on windows.

My view on these is that the pre-commit hook isn't primarily there to help maintainers - its more for casual contributors. I know I need to run npm run prettier && npm run lint

I share this perspective as well, although there's definitely been an occasion or two where I've forgotten to run manually and committed with the -n flag :grin:

As far as I'm concerned, our pre-commit hook setup has only provided strictly negative value, by making me install an extra bunch of dependencies that aren't functional out of the box
If you wanted we could try just disabling it for a bit, make sure its signalled in the contributing docs and see what happens

I'm open to an experimentation as well. There was prior discussion scattered across a few PRs but worth noting here that one of the big changes with the updated husky versions as well as the husky alternatives under consideration is that it's no longer really viable to have auto-setup, and each contributor essentially has to opt in if they want client side hook checks.
The dependency aspect isn't really a concern for me. At least on my system, the current Shields dependencies are using north of 850 megabytes of disk space, and the current v4 of husky only accounts for ~1 of those, with the alternatives being discussed being in the tens of kilobytes and which have zero dependencies themselves.
The bigger concern for me that could sway my perspective on dropping it outright would be whether it ends up having a negative impact on the developer experience for contributors (broken on some platforms, additional setup steps/docs, etc.)


fix #3069

What is the purpose of the change
return null if input String is null or ""
Add test cases to this method.
Brief changelog
XXXXX
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

duplicate: https://github.com/apache/incubator-dubbo/pull/3076

This submission is too messy, I resubmit a pr.

#3093


Don't pass specific options to the parent constructor

Same as #3104

@elemoine do you agree to merge this PR as it?

Yep. Please merge.


Cannot connect netopeer2-server with netopeer2-cli

$ yanglint --version
yanglint SO 1.5.9
$ sysrepoctl --version
sysrepocfg - sysrepo YANG schema manipulation tool, compiled with libsysrepo v1.3.36 (SO v4.1.22)
$ netopeer2-server -V
netopeer2-server 1.1.1
Hello,
I have an issue with connection between netopeer2-cli and netopeer2-server.
Connection to the same netopeer2-server works just fine when I am using netconf-consol tool from remote host.
However connecting with netopeer2-cli fails:
$ netopeer2-cli

connect
nc ERROR: Starting the SSH session failed ().
cmd_connect: Connecting to the localhost:830 as user "root" failed.

Corresponding logs on netopeer2-server side are:
[INF]: LN: Accepted a connection on <IP_ADDRESS>:830.
[INF]: SR: Session 48 (user "root") created.
[2020/01/09 14:06:50.765651, 1] ssh_server_connection_callback:  SSH client banner: SSH-2.0-libssh_0.7.5
[2020/01/09 14:06:50.765706, 1] ssh_analyze_banner:  Analyzing banner: SSH-2.0-libssh_0.7.5
[2020/01/09 14:06:50.770056, 1] ssh_socket_exception_callback:  Socket exception callback: 1 (0)
[2020/01/09 14:06:50.770085, 1] ssh_socket_exception_callback:  Socket error: disconnected
[ERR]: LN: SSH key exchange error (Socket error: disconnected).
Did I miss something obvious?

Hi,
since there is actually no specific error message whatsoever and the problem seems to be in SSH, I would blame libssh. Try updating it but do not use the latest 0.9.3, it will not work (libnetconf2 will refuse to compile) because it includes a critical regression bug.
Regards,
Michal

Hi Michal,
Thanks for response.
IMHO libssh itself shouldn't be an issue.
Old Netopeer2 (I mean with old sysrepo) works just fine on an identical device.
The only difference is Netopeer2 itself (+related stuff like sysrepo).
So libssh is the same in both cases.
Could you imagine some libssh run-time configuration (done from netopeer2-cli) that could result in such issue?
Ilja.

Hi Ilja,
then I can only suggest to enable debug output on the CLI so that you can maybe see some actual error. Just run verb debug before connecting.
Regards,
Michal

Here is the output, however I am not sure if it helps...
$ netopeer2-cli
> verb debug
> connect
nc DEBUG: nc_sock_connect(localhost, 830, -1, -1)
nc VERBOSE: Trying to connect via IPv4 to <IP_ADDRESS>:830.
nc VERBOSE: Successfully connected to localhost:830 over IPv4.
[2020/01/09 15:18:35.113006, 2] ssh_connect:  libssh 0.7.5 (c) 2003-2014 Aris Adamantiadis, Andreas Schneider, and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread
[2020/01/09 15:18:35.113040, 2] ssh_connect:  Socket connecting, now waiting for the callbacks to work
[2020/01/09 15:18:35.113061, 3] ssh_socket_pollcallback:  Received POLLOUT in connecting state
[2020/01/09 15:18:35.113084, 1] socket_callback_connected:  Socket connection callback: 1 (0)
[2020/01/09 15:18:35.113140, 3] ssh_socket_unbuffered_write:  Enabling POLLOUT for socket
[2020/01/09 15:18:35.113162, 3] ssh_connect:  current state : 2
[2020/01/09 15:18:35.113369, 3] ssh_connect:  current state : 2
[2020/01/09 15:18:35.113630, 3] ssh_connect:  current state : 2
[020/01/09 15:18:35.155550, 3] ssh_connect:  current state : 2
...
[2020/01/09 15:18:35.155786, 3] ssh_connect:  current state : 2
[2020/01/09 15:18:35.156009, 3] ssh_connect:  current state : 2
[2020/01/09 15:18:35.156277, 3] callback_receive_banner:  Received banner: SSH-2.0-libssh_0.7.5
[2020/01/09 15:18:35.156304, 1] ssh_client_connection_callback:  SSH server banner: SSH-2.0-libssh_0.7.5
[2020/01/09 15:18:35.156319, 1] ssh_analyze_banner:  Analyzing banner: SSH-2.0-libssh_0.7.5
[2020/01/09 15:18:35.156342, 3] ssh_packet_socket_callback:  packet: read type 20 [len=628,padding=9,comp=618,payload=618]
[2020/01/09 15:18:35.156360, 3] ssh_packet_process:  Dispatching handler for packet type 20
[2020/01/09 15:18:35.156589, 3] ssh_socket_unbuffered_write:  Enabling POLLOUT for socket
[2020/01/09 15:18:35.156624, 3] packet_send2:  packet: wrote [len=660,padding=5,comp=654,payload=654]
[2020/01/09 15:18:35.156670, 3] ssh_connect:  current state : 9
nc ERROR: Starting the SSH session failed ().
nc DEBUG: Error code 0.
cmd_connect: Connecting to the localhost:830 as user "root" failed.
>

Hi,
the last message
[2020/01/09 15:18:35.156670, 3] ssh_connect:  current state : 9

prints the state of the SSH session and from the source I learned that 9 is SSH_SESSION_STATE_ERROR, hence the fail. But why there is no other information and no actual error I do not know. And so I am unable to help you. You can try updating libssh anyway hoping that at least the error messages were improved. Also, you may try setting SSH debug output on the server side because that is where the problem may be after all (by netopeer2-server -c SSH).
Regards,
Michal

Cannot reproduce the issue anymore.
Possibly it happened because of different netopeer2-server and netopeer2-cli versions.
Now with git tag b18f506107ac0627c159529149414a3c3965a03d from devel-server branch things look working.


Input search is not working

the search field is not working
http://materializecss.com/
in the sidebar :)

Need more info on this, what browser are you using ? do you have any script blockers running ?
Seems to be fine on latest stable FF & Chrome

i have a same problem here. and i'm using FF

Please provide a way to reproduce it. like a codepen


Update unit tests and few other minor tweaks.

Rename private variables as per convention

Coverage increased (+0.4%) to 98.62% when pulling 3a450c2b709724817aed71400912828f99c1cdbf on FileMemoryUnitTests into 40d30e2b7c909858b0f5c8bf1659bb6a955b2720 on master.


[turbopack] CSS Modules not applying styles in components imported into layout

What version of Turbopack are you using?
1.6.3
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Windows
Describe the Bug
Styles from CSS Modules are not being successfully applied to components imported into a layout.js file.
I am creating a CSS Module ./Header.module.css and importing it into a component ./Header.js, which is then imported into ./layout.js and displayed in .
When using turbopack, the styles do not apply unless import styles from "./Header.module.css" is also included in that specific page.js
The error occurs when any name of object, class or file is used, the above are just what I used in the reproduction
Expected Behavior
The styles from ./Header.module.css should be correctly applied to the objects with className={styles.header_class}, but they are not. An error also appears in the console, [404] /_next/static/chunks/rsc/app_Header.module.css.map (4.75ms).
To Reproduce
Create a project using Turbopack and the /app directory. All of the following files are then in app/
Create a CSS Module, Header.module.css, that includes some basic styles for testing.
/* ./Header.module.css */

.header_class {
    background-color: red;
}

Create a jsx component,  that imports and applies these styles.
// ./Header.js

import styles from "./Header.module.css";

export default function Header() {
    return (

This is the header

    )
}

Create a layout and a page, and add the header to the top of the layout.
// ./layout.js

import Header from "./Header";

export default function RootLayout({ children }) {
  return (

          <title>Bug Reproduction</title>

        {children}

  );
}

// ./page.js

export default function HomePage() {
    return (

This is the Home Page

    )
}

Run next dev --turbo and observe the red background does not apply to the header.
Run next dev and observe the red background appears
If you add import styles from "./Header.module.css" to the top of page.js, the header colour will apply correctly, even if styles is not then used in page.js
// ./working/page.js

import styles from "../Header.module.css";

export default function WorkingPage() {
    return (

This is the Working Page

    )
}

Reproduction Repo
https://github.com/ChaosCantrip/nextjs-css-bug

Getting same issue here. Hence I'm not able to use this in production.

Thanks for the reproduction, not seeing this issue with Next.js 13.2.4.


Error running filter pandoc-citeproc

Installed pandoc using Homebrew, I'm trying to configure the workflow davewpsmith describes here: https://davepwsmith.github.io/academic-scrivener-howto/
Upon calling the pandoc conversion, I receive the following error:

pandoc-citeproc: key "t" not present
pandoc: Error running filter pandoc-citeproc

Could you indicate what action I should undertake to resolve this? Advice much appreciated!

I'd ask davewpsmith about this, since it's his filter.
+++ Erwin Verbruggen [Oct 28 15 14:16 ]:

Installed pandoc using Homebrew, I'm trying to configure the workflow
davewpsmith describes here:
[1]https://davepwsmith.github.io/academic-scrivener-howto/
Upon calling the pandoc conversion, I receive the following error:
pandoc-citeproc: key "t" not present
pandoc: Error running filter pandoc-citeproc

Could you indicate what action I should undertake to resolve this?
Advice much appreciated!
—
Reply to this email directly or [2]view it on GitHub.
References

https://davepwsmith.github.io/academic-scrivener-howto/
https://github.com/jgm/pandoc-citeproc/issues/186

Not a pandoc filter I'm afraid just a howto -- the command which I recommend is the following
pandoc -s -S --normalize --bibliography \
~/.pandoc/YOUR_BIBLIOGRAPHY.bib \
--csl ~/.csl/YOUR_CITATION_STYLE.csl \
-f markdown -t docx \
-o MYPROJECT.docx MYPROJECT.txt

If there is no typo in the command (that would be my first guess) then it's back to you I'm afraid John.

Okay, @verwinv, to get anywhere we'd need to know (a) your pandoc version, (b) the exact command line you use, (c) the filter you're using.

Hi both, thanks for chiming in. I've tried David's command again without the line breaks without luck.
(a) pandoc version <IP_ADDRESS>
(b) the command line I typed in:
pandoc -s -S --normalize --bibliography ~/_zotero/mylibrary.bib --csl ~/.csl/modern-language-association-with-url.csl -f markdown -t docx -o eusxl-d54_strategic-agenda-2.docx eusxl-d54_strategic-agenda-2.txt

(c) as far as I understand there's no filter used here, only the input file. do correct me if I'm wrong and where I could check this.

You're using a very old version of pandoc.  Because the json
serialization method changed, older versions of pandoc won't
work with newer versions of pandoc-citeproc.
I'd recommend using the binary packages we supply, which
include versions of pandoc and pandoc-citeproc that work well
together.
+++ Erwin Verbruggen [Oct 30 15 03:34 ]:

Hi both, thanks for chiming in. I've tried David's command again
without the line breaks without luck.
(a) pandoc version <IP_ADDRESS>
(b) the command line I typed in:
pandoc -s -S --normalize --bibliography ~/_zotero/mylibrary.bib --csl ~/.csl/mod
ern-language-association-with-url.csl -f markdown -t docx -o eusxl-d54_strategic
-agenda-2.docx eusxl-d54_strategic-agenda-2.txt
(c) as far as I understand there's no filter used here, only the input
file. do correct me if I'm wrong and where I could check this.
—
Reply to this email directly or [1]view it on GitHub.
References

https://github.com/jgm/pandoc-citeproc/issues/186#issuecomment-152488277

Dear mr. MacFarlane, much thanks - turns out I had installed a second version with the Homebrew package, but the original installation had indeed not been updated in quite a while. I am now running up against the issue referred to here: https://groups.google.com/forum/#!msg/pandoc-discuss/P7QmLE0u2S8/IYZKVqhZU-wJ but will dig into it further and start a new issue should I not be able to resolve it. Kind regards.

Sounds like you need to make sure you're running the most up to date versions of pandoc and pandoc-citeproc before you report any errors really!
On 1 November 2015 16:37:55 GMT+00:00, Erwin Verbruggen<EMAIL_ADDRESS>wrote:

Dear mr. MacFarlane, much thanks - turns out I had installed a second
version with the Homebrew package, but the original installation had
indeed not been updated in quite a while. I am now running up against
the issue referred to here:
https://groups.google.com/forum/#!msg/pandoc-discuss/P7QmLE0u2S8/IYZKVqhZU-wJ
but will dig into it further and start a new issue should I not be able
to resolve it. Kind regards.

Reply to this email directly or view it on GitHub:
https://github.com/jgm/pandoc-citeproc/issues/186#issuecomment-152842467

--
https://keybase.io/davidsmith
Sent from my phone. Please excuse my brevity.

Dear Dave, I understand as much. I had checked and updated the Brew version of Pandoc I installed but wasn't aware of the original version that was still running on my machine. Apologies for any inconvenience caused. Will in the future make sure to ask for help on the pandoc-discuss list instead of posting them here.