Module not found: Error: Can't resolve 'aws-sdk'  when importing Webpack

Bug report

What is the current behavior?
Importing Webpack into an Express application results in errors being thrown.
If the current behavior is a bug, please provide the steps to reproduce.
webpack.config.dev.js:
const path = require('path');

const server = {
    entry: './index.js',
    mode: "production",
    target: 'node',
    output: {
        path: path.resolve(__dirname, 'dist'),
        filename: '[name].bundle.js',
    },
    module: {
        rules: [
            {
                test: /\.js$/,
                exclude: /node_modules/,
                use: "babel-loader"
            }, {
                test: /\.jsx?$/,
                exclude: /node_modules/,
                use: "babel-loader"
            }
        ]
    }
};

module.exports = [server];

developmentMode.js
import webpack from 'webpack';
import webpackDevMiddleware from 'webpack-dev-middleware';

export default (app) => {
    const webpackConfig = require('./webpack.config.dev')[0];

    const compiler = webpack(webpackConfig);

    app.use(webpackDevMiddleware(compiler, {}));
}

server.js
import express from 'express';
import ReactDOMServer from 'react-dom/server';
import React from 'react';

import developmentMode from './developmentMode';

import HelloWorld from './src/HelloWorld.jsx';

const app = express();
const port = 3000;

if (process.env.NODE_ENV === "dev") developmentMode(app);

const template = application => `
<html>
    <head>
    </head>
    <body>
        ${application}
    </body>
</body>
`;

const application = ReactDOMServer.renderToString(<HelloWorld />);

app.get('/', (req, res) => res.send(template(application)));

app.listen(port, () => console.log(`Example app listening on port ${port}!`));

package.json
{
  "version": "6.0.0",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "build": "webpack --config webpack.config.dev.js",
    "start": "node dist/main.bundle.js"
  },
  "repository": {
    "type": "git",
  },
  "author": "Jacob Clark",
  "license": "MIT",
  "dependencies": {
    "express": "^4.16.4",
    "react": "^16.6.3",
    "react-dom": "^16.6.3",
    "react-redux": "^5.1.1",
    "redux": "^4.0.1",
    "redux-thunk": "^2.3.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.1.5",
    "@babel/core": "^7.1.6",
    "@babel/preset-env": "^7.1.6",
    "@babel/preset-react": "^7.0.0",
    "babel-loader": "^8.0.4",
    "webpack": "^4.26.0",
    "webpack-cli": "^3.1.2",
    "webpack-dev-middleware": "^3.4.0"
  }
}

Running webpack --config  webpack.config.dev.js yields the following errors
[clarkj84:~/Desktop/jacobclark.xyz]$ npm run build && npm start                                                                                (6.0.0-dev✱)

><EMAIL_ADDRESS>build /Users/clarkj84/Desktop/jacobclark.xyz
> webpack --config webpack.config.dev.js

Hash: b1078bef90371617b277
Version: webpack 4.26.0
Child
    Hash: b1078bef90371617b277
    Time: 33472ms
    Built at: 21/11/2018 08:01:36
     1 asset
    Entrypoint main = main.bundle.js
       [1] external "path" 42 bytes {0} [built]
       [9] (webpack)/lib/Template.js 7.96 KiB {0} [built]
      [13] external "events" 42 bytes {0} [built]
      [39] (webpack)/lib/dependencies/DependencyReference.js 1.75 KiB {0} [built]
      [45] (webpack)/lib/util/createHash.js 1.92 KiB {0} [built]
      [46] (webpack)/lib/Module.js 10.1 KiB {0} [built]
      [53] (webpack)/lib/ModuleFilenameHelpers.js 5.36 KiB {0} [built]
      [60] (webpack)/lib/Dependency.js 1.97 KiB {0} [built]
      [79] (webpack)/lib/ExternalsPlugin.js 546 bytes {0} [built]
      [87] (webpack)/lib/Stats.js 38.2 KiB {0} [built]
     [110] (webpack)/lib/node/NodeTemplatePlugin.js 880 bytes {0} [built]
     [513] (webpack)/lib/webpack.js 7.71 KiB {0} [built]
     [515] (webpack)-dev-middleware/index.js 2.21 KiB {0} [built]
    [1325] ./webpack.config.dev.js 433 bytes {0} [built]
    [1327] ./index.js + 2 modules 1.13 KiB {0} [built]
           | ./index.js 743 bytes [built]
           | ./developmentMode.js 273 bytes [built]
           | ./src/HelloWorld.jsx 118 bytes [built]
        + 1313 hidden modules

    WARNING in ./node_modules/terser-webpack-plugin/dist/worker.js 14:130-137
    Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
     @ ./node_modules/terser-webpack-plugin/dist/TaskRunner.js
     @ ./node_modules/terser-webpack-plugin/dist/index.js
     @ ./node_modules/terser-webpack-plugin/dist/cjs.js
     @ (webpack)/lib/WebpackOptionsDefaulter.js
     @ (webpack)/lib/webpack.js
     @ ./developmentMode.js
     @ ./index.js

    WARNING in ./node_modules/fsevents/fsevents.js 14:13-71
    Critical dependency: the request of a dependency is an expression
     @ ./node_modules/chokidar/lib/fsevents-handler.js
     @ ./node_modules/chokidar/index.js
     @ ./node_modules/watchpack/lib/DirectoryWatcher.js
     @ ./node_modules/watchpack/lib/watcherManager.js
     @ ./node_modules/watchpack/lib/watchpack.js
     @ (webpack)/lib/node/NodeWatchFileSystem.js
     @ (webpack)/lib/node/NodeEnvironmentPlugin.js
     @ (webpack)/lib/webpack.js
     @ ./developmentMode.js
     @ ./index.js

    WARNING in ./node_modules/worker-farm/lib/child/index.js 49:33-53
    Critical dependency: the request of a dependency is an expression
     @ ./node_modules/worker-farm/lib/fork.js
     @ ./node_modules/worker-farm/lib/farm.js
     @ ./node_modules/worker-farm/lib/index.js
     @ ./node_modules/terser-webpack-plugin/dist/TaskRunner.js
     @ ./node_modules/terser-webpack-plugin/dist/index.js
     @ ./node_modules/terser-webpack-plugin/dist/cjs.js
     @ (webpack)/lib/WebpackOptionsDefaulter.js
     @ (webpack)/lib/webpack.js
     @ ./developmentMode.js
     @ ./index.js

    WARNING in ./node_modules/fsevents/node_modules/node-pre-gyp/lib/util/versioning.js 17:20-67
    Critical dependency: the request of a dependency is an expression
     @ ./node_modules/fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$
     @ ./node_modules/fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js
     @ ./node_modules/fsevents/fsevents.js
     @ ./node_modules/chokidar/lib/fsevents-handler.js
     @ ./node_modules/chokidar/index.js
     @ ./node_modules/watchpack/lib/DirectoryWatcher.js
     @ ./node_modules/watchpack/lib/watcherManager.js
     @ ./node_modules/watchpack/lib/watchpack.js
     @ (webpack)/lib/node/NodeWatchFileSystem.js
     @ (webpack)/lib/node/NodeEnvironmentPlugin.js
     @ (webpack)/lib/webpack.js
     @ ./developmentMode.js
     @ ./index.js

    WARNING in ./node_modules/loader-runner/lib/loadLoader.js 3:2-28
    Critical dependency: the request of a dependency is an expression
     @ ./node_modules/loader-runner/lib/LoaderRunner.js
     @ (webpack)/lib/NormalModule.js
     @ (webpack)/lib/AutomaticPrefetchPlugin.js
     @ (webpack)/lib/webpack.js
     @ ./developmentMode.js
     @ ./index.js

    WARNING in ./node_modules/fsevents/node_modules/node-pre-gyp/lib/pre-binding.js 20:22-48
    Critical dependency: the request of a dependency is an expression
     @ ./node_modules/fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js
     @ ./node_modules/fsevents/fsevents.js
     @ ./node_modules/chokidar/lib/fsevents-handler.js
     @ ./node_modules/chokidar/index.js
     @ ./node_modules/watchpack/lib/DirectoryWatcher.js
     @ ./node_modules/watchpack/lib/watcherManager.js
     @ ./node_modules/watchpack/lib/watchpack.js
     @ (webpack)/lib/node/NodeWatchFileSystem.js
     @ (webpack)/lib/node/NodeEnvironmentPlugin.js
     @ (webpack)/lib/webpack.js
     @ ./developmentMode.js
     @ ./index.js

    WARNING in ./node_modules/express/lib/view.js 81:13-25
    Critical dependency: the request of a dependency is an expression
     @ ./node_modules/express/lib/application.js
     @ ./node_modules/express/lib/express.js
     @ ./node_modules/express/index.js
     @ ./index.js

    WARNING in ./node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js
    Module not found: Error: Can't resolve 'node-gyp' in '/Users/clarkj84/Desktop/jacobclark.xyz/node_modules/fsevents/node_modules/node-pre-gyp/lib/util'
     @ ./node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js
     @ ./node_modules/fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$
     @ ./node_modules/fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js
     @ ./node_modules/fsevents/fsevents.js
     @ ./node_modules/chokidar/lib/fsevents-handler.js
     @ ./node_modules/chokidar/index.js
     @ ./node_modules/watchpack/lib/DirectoryWatcher.js
     @ ./node_modules/watchpack/lib/watcherManager.js
     @ ./node_modules/watchpack/lib/watchpack.js
     @ (webpack)/lib/node/NodeWatchFileSystem.js
     @ (webpack)/lib/node/NodeEnvironmentPlugin.js
     @ (webpack)/lib/webpack.js
     @ ./developmentMode.js
     @ ./index.js

    WARNING in ./node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js
    Module not found: Error: Can't resolve 'npm' in '/Users/clarkj84/Desktop/jacobclark.xyz/node_modules/fsevents/node_modules/node-pre-gyp/lib/util'
     @ ./node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js
     @ ./node_modules/fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$
     @ ./node_modules/fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js
     @ ./node_modules/fsevents/fsevents.js
     @ ./node_modules/chokidar/lib/fsevents-handler.js
     @ ./node_modules/chokidar/index.js
     @ ./node_modules/watchpack/lib/DirectoryWatcher.js
     @ ./node_modules/watchpack/lib/watcherManager.js
     @ ./node_modules/watchpack/lib/watchpack.js
     @ (webpack)/lib/node/NodeWatchFileSystem.js
     @ (webpack)/lib/node/NodeEnvironmentPlugin.js
     @ (webpack)/lib/webpack.js
     @ ./developmentMode.js
     @ ./index.js

    WARNING in ./node_modules/fsevents/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html 1:0
    Module parse failed: Unexpected token (1:0)
    You may need an appropriate loader to handle this file type.
    > <!doctype html>
    | <html>
    | <head>
     @ ./node_modules/fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ ./util/nw-pre-gyp/index.html
     @ ./node_modules/fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js
     @ ./node_modules/fsevents/fsevents.js
     @ ./node_modules/chokidar/lib/fsevents-handler.js
     @ ./node_modules/chokidar/index.js
     @ ./node_modules/watchpack/lib/DirectoryWatcher.js
     @ ./node_modules/watchpack/lib/watcherManager.js
     @ ./node_modules/watchpack/lib/watchpack.js
     @ (webpack)/lib/node/NodeWatchFileSystem.js
     @ (webpack)/lib/node/NodeEnvironmentPlugin.js
     @ (webpack)/lib/webpack.js
     @ ./developmentMode.js
     @ ./index.js

    WARNING in ./node_modules/loader-runner/lib/loadLoader.js 3:2-28
    System.import() is deprecated and will be removed soon. Use import() instead.
     Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/clarkj84/.npm/_logs/2018-11-21T08_01_36_419Z-debug.log

What is the expected behavior?
Webpack should run without errors.

Other relevant information:
webpack version:  4.26.0
Node.js version: 9.4.0
Operating System: OS X 10.12.6
Additional tools: N/A

Thanks for your report. It would be great if you reduce your issue to a small reproducible example. Best put this example into a github repository together with instructions how to get to the problem.

I have the same issue when webpacking a custom nextjs config because it requires 'next' which itself requires 'webpack'. I've tried combinations without success:
mode: none
exclude /node_modules/
include /src/

I solved this using https://github.com/liady/webpack-node-externals and forcing webpack to ignore all node_modules

@samkelleher hey! how do you use nodeExternals with next.config.js? I am not getting it to work. Do you push it onto the config or what?

I'm having the same problem as soon as I added a dependency for sqlite3. Not sure how that's related, but my whole app works fine, but as soon as I import { Database } from 'sqlite3' I get this error. Note: node-pre-gyp was already present before adding this dependency.

I'm having the same error. I'm trying to make webpack HMR work with Express and Pug and it's a nightmare. And now this aws-sdk error.

Any fix for this?

@samkelleher can you please post your solution with next.js, i am also blocked in this error with next.js.

Just use nodeExternals exactly as it's documented in their readme @imVinayPandya

I'm having the same problem as soon as I added a dependency for sqlite3. Not sure how that's related, but my whole app works fine, but as soon as I import { Database } from 'sqlite3' I get this error. Note: node-pre-gyp was already present before adding this dependency.

Hey, I am facing the same error after adding SQLite in my electron react app. Could you please share - how did you fixed this? thank you

I'm having the same problem as soon as I added a dependency for sqlite3. Not sure how that's related, but my whole app works fine, but as soon as I import { Database } from 'sqlite3' I get this error. Note: node-pre-gyp was already present before adding this dependency.

Hey, I am facing the same error after adding SQLite in my electron react app. Could you please share - how did you fixed this? thank you

Hey, I too have the same problem after I tried adding sqlite3 to my electron react app. It would be really helpful if someone shares the fix.

I'm having the same problem as soon as I added a dependency for sqlite3. Not sure how that's related, but my whole app works fine, but as soon as I import { Database } from 'sqlite3' I get this error. Note: node-pre-gyp was already present before adding this dependency.

Hey, I am facing the same error after adding SQLite in my electron react app. Could you please share - how did you fixed this? thank you

Hey, I too have the same problem after I tried adding sqlite3 to my electron react app. It would be really helpful if someone shares the fix.

me too, can anyone help me?

I fixed this issue by doing npm install @aws-sdk/eventstream-marshaller and then in the js require("@aws-sdk/eventstream-marshaller");

Webpack is adding to compilation every import/require it seems.
When there is used require as an expression (that should executed for example only conditionally), then it will try to bundle it too. That's why for example 'knex' has a lot of problems with webpack, because it has a lot of dependencies being required canditionally during runtime.
My solution for this is to use externals for everything that is to be bundled by webpack, but unneeded.
Example configuration for 'knex' and 'sqlite3' that also drops aws-sdk:
  externals: {     'aws-sdk': 'aws-sdk',     pg: 'pg',     'pg-query-stream': 'pg-query-stream',     mssql: 'mssql',     'mssql/lib/base': 'mssql/lib/base',     'mssql/package.json': 'mssql/package.json',     mysql: 'mysql',     mysql2: 'mysql2',     oracle: 'oracle',     oracledb: 'oracledb',     tedious: 'tedious'   }

@samkelleher can you please post your solution with next.js, i am also blocked in this error with next.js.

Hey Vinay, were you able to fix the problem? I am having the same issue.

Before you fall down the rabbit hole.. I ran into this issue because I had import {render} from 'sass'; in one of my files accidentally. It must have been automatically imported when I typed 'render' at some point. Removing it fixed the issue in my next.js app.

@mkempinsky do you know why adding a simple import statement like that causes Webpack to break like this? In my case, I intentionally added a simple module to my code (https://github.com/peterolson/hanzi-tools) and got this same, long, sequence of errors, that don't seem to be related.

It seems the proposed solution in this thread is to use the webpack-node-externals package.
I tried that, and it did work. However, I later found out that I cannot use webpack-node-externals in my project. I am trying to create a script and run it in a browser; webpack-node-externals essentially tells webpack not to bundle node_modules as dependencies. However, since my target environment is in the browser, I NEED those node_modules packaged into my script as dependencies. So this issue is still unresolved for me.
How can I fix this error, WITHOUT using webpack-node-externals???


Shared capability

Use case - shared capability
A use case that we haven't yet discussed and that we must consider is about "shared database, capability" where one or several microservices will use the same DB's instance (= capability), JMS/AMQP Broker, ....
If we use what we have designed for the moment, then that will fail or could create conflicts as each module (e.g fruit-backend-1, fruit-backend-2, ....) will contain a capability generated by ap4k to use/the same database and when the operator will get it, then it will try to create another PostgresDB instance.
We could enhance the logic of the operator to avoid to create again a database if by example the Capability CRD use the same name but I think that it could better when such a situation exists that we document/tell to the developer that a separate maven/gradle project should be created and includes a configuration property file to describe such needed capabilities. See this example [1]
Of course, this logic could become the standard too for microservices consuming only one DB, one broker, ... without shared database.
The "configuration property file" could be generated/managed by the kreate tool, ap4k,....
WDYT ? @aureamunoz @metacosm @iocanel @geoand @gytis @nainaz @tqvarnst
[1] https://github.com/snowdrop/component-operator-demo/blob/master/fruit-configuration/application.yml

I don't think that the use case for a shared database would come up too often in a microservices world, however the use case for a shared mesage broker is certainly very very common

I don't think that the use case for a shared database would come up too often in a microservices world

I don't think so. Even if we want to promote the idea of the pattern CQRS and the Debezium project, a shared database where each microservices will manage perhaps different tables or use records published by other microservices is completely relevant till solutions have evolved to adopt an event streamed database and kafka topology

Not saying that the pattern doesn't exist, but what I have seen sharing a database is rather uncommon. All microserves however will share Kafka or RabbitMQ :)

On Fri, Jun 28, 2019 at 11:45 AM Georgios Andrianakis <
<EMAIL_ADDRESS>wrote:

Not saying that the pattern doesn't exist, but what I have seen sharing a
database is rather uncommon. All microserves however will share Kafka or
RabbitMQ :)

This use case is still worth exploring though. Shared Database, All
micro-services are not micro-services in the strickt sense of separate DB.
it is modular monolith :)

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/snowdrop/component-operator/issues/74?email_source=notifications&email_token=AISZCFEDC5Y766XQYW3MICDP4YWXFA5CNFSM4H4F4PDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY2N6LY#issuecomment-506781487,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AISZCFCVTTX2BHQN5LCKCVLP4YWXFANCNFSM4H4F4PDA
.

--
Best,
Naina Singh
Senior Product Manager
<EMAIL_ADDRESS> +19194506323
@madhatter_ns
https://www.redhat.com/


Plan breaks

probably separately for

coffee breaks
lunch breaks
room switching breaks between parallel sessions
times before first morning session
times after last evening session

as well as in terms of

logistics
potential program, e.g. as in #32.

We need to figure out how to shift things to allow for enough space between individual sessions to change rooms. How is the best approach for doing that?


[stable/fluentd] Add support for fluentd autoscaling

What this PR does / why we need it:
This PR adds support for fluentd autoscaling.
We use fluentd as our log aggregator, in order to be able to handle log load, we need to be able to autoscale fluentd replicas.
This PR is major change, as we change the usage of (deployments & pvc) to (statefulset & hpa).
Which issue this PR fixes

fixes #16224

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @rendhalver

@rendhalver please approve tests execution

@hectorj2f @Miouge1 - Please trigger tets on my PR

/ok-to-test

/assign @hectorj2f

/lgtm


Please make -xc++ the default for cpp_args

The option doesn't seem to affect anything under gcc, so it should be safe to leave on by default. And it means that for example pfp-vim will work out of the box on OS X, which it does not right now.

Good point. I'll do some more testing on that and push up another release.
I also have some python vs python3 vim support changes to go into pfp-vim
as well.
On Wed, Aug 12, 2015 at 12:23 PM, Brendan Dolan-Gavitt <
<EMAIL_ADDRESS>wrote:

The option doesn't seem to affect anything under gcc, so it should be safe
to leave on by default. And it means that for example pfp-vim will work
out of the box on OS X, which it does not right now.
—
Reply to this email directly or view it on GitHub
https://github.com/d0c-s4vage/pfp/issues/4.

Done. Thanks @moyix !

(changes pushed out with v0.1.9)


Okta policies

Okta Policies and Rules support
Only enabling support for SIgnOn and Password policies & rules
Mfa support will be enabled at a later date

@articulate/platform
this PR is not complete. but i'd love to have more eyes on what i've got so far. this is my first real attempt at golang so i feel pretty confident I probably missed something. especially if you guys have any thoughts on how to further dry up this code. and if any comments are non-sensical (since they will likely eventually be converted to documentation).
i will be working on the test suite for this next. it will be pretty extensive to support multiple policy & rule types.

@articulate/platform completed okta policies & rules for Password & Signon policies + tests. pls take a look if you have some moments to spare. any remaining work regarding policies & rules are tracked as issues in this repo.


ListTeams is not providing Team Members Count in RepositoriesService

I'm using ListTeams() to get details on the teams for the specified repository using RepositoriesService, but I don't get the
GetMembersCount().
https://github.com/google/go-github/blob/24f172eae1a0c53c780f259d8492979900e9af2e/github/repos.go#L623
https://github.com/google/go-github/blob/24f172eae1a0c53c780f259d8492979900e9af2e/github/github-accessors.go#L11264
It is not returning the Member Count, return zero all the time.

Following the URL on the line above the one you gave:
https://github.com/google/go-github/blob/24f172eae1a0c53c780f259d8492979900e9af2e/github/repos.go#L622
leads us to the GitHub Developer API v3 documentation for this endpoint, where you will see that the members_count is not being returned in that endpoint:
Status: 200 OK
Link: <https://api.github.com/resource?page=2>; rel="next",
      <https://api.github.com/resource?page=5>; rel="last"
[
  {
    "id": 1,
    "node_id": "MDQ6VGVhbTE=",
    "url": "https://api.github.com/teams/1",
    "name": "Justice League",
    "slug": "justice-league",
    "description": "A great team.",
    "privacy": "closed",
    "permission": "admin",
    "members_url": "https://api.github.com/teams/1/members{/member}",
    "repositories_url": "https://api.github.com/teams/1/repos",
    "parent": null
  }
]

Therefore, this endpoint will not get you what you want.
I think what you might be looking for instead is:
https://developer.github.com/v3/teams/members/#list-team-members

@gmlewis  As per ur comment, GetCloneURL, GetArchiveURL(), GetCreatedAt() too not part of the response but I can able to get in the ListTeams  response.

Then all that means is that the GitHub endpoint is returning that data and their documentation is incomplete.
We can't magically return the members_count if the GitHub endpoint is not sending it in the response.

@gmlewis How to proceed with this issue?

If anyone wishes to contact<EMAIL_ADDRESS>and ask them to include or populate more fields, they are welcome to.  They can them come back and reopen this issue and include the GitHub response if they agree.  Thanks.
Closing until then.


output template in Windows ...

Checklist

[*] I'm reporting a broken site support issue
[*] I've verified that I'm running youtube-dl version 2021.06.06
[*] I've checked that all provided URLs are alive and playable in a browser
[*] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[*] I've searched the bugtracker for similar bug reports including closed ones
[*] I've read bugs section in FAQ

Verbose log

[youtube] zwwi2bcl1Lg: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best

Description

On windows I am trying to log one liners with the uploader title id and extension. I copy the text from a file and paste it on the command prompt. The same procedure works when I download files, but not when I try to get some metadata.
set IBATCHFL=cashless_society00_yt.txt
set LOGFL=%IBATCHFL%_2021092411234.log
echo %LOGFL%
youtube-dl.exe --simulate --output "%%(uploader)s%%(title)s_%%(id)s.%%(ext)s" --batch-file %IBATCHFL% >> %LOGFL% 2>&1

On WIndows 10 and I have tried using single quotes as well

In the batch file, %%(var)s.
On the command line, just %(var)s
https://ss64.com/nt/syntax-percent.html

set IBATCHFL=cashless_society00_yt.txt
set LOGFL=%IBATCHFL%_2021092411234.log
echo %LOGFL%
youtube-dl.exe --simulate --output "%%(uploader)s%%(title)s_%%(id)s.%%(ext)s" --batch-file %IBATCHFL% >> %LOGFL% 2>&1

Remember that Command Prompt is a bigger bitch than Bash when it comes to vars:

always double-quote var refs: "%IBATCHFL%".
and when assigning a var (Command Prompt doesn't implicitly quote var assignments):

set "IBATCHFL=cashless_society00_yt.txt"

(not set IBATCHFL="cashless_society00_yt.txt")


Docs should mention that it's not yet stable

According to this article RubyFlux is not yet a stable thing to use. Would be useful if this gets mentioned in the README so that people are not confused. Also, references to more stable tools would be helpful.

Good point.


Node modules branch

Hi @tomf87 ! I'm on the GOVUK Design System team and was investigating this issue that Ruth was having running the prototype on Windows. I'm sure Ruth has already given you details on this, but happy to provide more context if needed 👍

it is for 7 months ago


feat: DirectPredict, DirectRawPredict, StreamDirectRawPredict, and StreamRawPredict examples

…reamRawPredict examples.
REQUIRED: Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.

feat: DirectPredict, DirectRawPredict, StreamDirectRawPredict, and StreamRawPredict examples.

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[X] Use the notebook template as a starting point.
[X] Follow the style and grammar rules outlined in the above notebook template.
[X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[X] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[X] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[ ] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

If you are opening a PR for Community Content under the community-content folder:

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the Community Content section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

/gcbrun

@michaelmoynihan: There are permissions issue with GCS directory "gs://grpc-predict-data/". Please check.

/gcbrun

@michaelmoynihan: There are permissions issue with GCS directory "gs://grpc-predict-data/". Please check.

Is there a public project where I should put this?

/gcbrun

/gcbrun

I will close this for now. Please reopen when your work resumes. Thanks.


picom-next: unstable-2022-09-29 -> unstable-2022-12-23

Description of changes

This seems to have fixed some issues I was having with the new egl backend.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 208926 run on x86_64-linux
1 package built:
picom-next


Add warning log if rsa key

Description

Add warning log if rsa key

Example
config.yaml
server:
  tls:
    certRefreshPeriod: "30s"

// start by specifying server certificate with RSA key.
2024-09-09 06:42:30     [INFO]: initAuthorizers: added access token authorizer having param: {enable:true verifyCertThumbprint:false certBackdateDur:0h certOffsetDur:0h verifyClientID:false authorizedClientIDs:map[]}
2024-09-09 06:42:30     [INFO]: initAuthorizers: added role token authorizer
2024-09-09 06:42:30     [INFO]: available cipher suites: TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA:TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA:TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
2024-09-09 06:42:30     [WARN]: The private key is RSA. Consider using an ECDSA key for better performance.
2024-09-09 06:42:30     [INFO]: Fetching JWK Set
2024-09-09 06:42:30     [INFO]: Updating athenz pubkey
2024-09-09 06:42:30     [INFO]: Updating ZMS athenz pubkey
2024-09-09 06:42:30     [INFO]: Fetching public key entries
2024-09-09 06:42:30     [INFO]: Updating ZTS athenz pubkey
2024-09-09 06:42:30     [INFO]: Fetching public key entries
2024-09-09 06:42:31     [INFO]: Fetch public key entries success
2024-09-09 06:42:31     [INFO]: Update ZMS athenz pubkey success
2024-09-09 06:42:31     [INFO]: Fetch public key entries success
2024-09-09 06:42:31     [INFO]: Update ZTS athenz pubkey success
2024-09-09 06:42:31     [INFO]: [1725864151] will update policy
2024-09-09 06:42:31     [INFO]: will fetch policy for domain: yby.taniwa.provider.example
2024-09-09 06:42:32     [INFO]: [1725864151] update policy done
2024-09-09 06:42:32     [INFO]: Fetch JWK Set success
2024-09-09 06:42:32     [INFO]: Starting pubkey updater
2024-09-09 06:42:32     [INFO]: Starting policyd updater
2024-09-09 06:42:32     [INFO]: Starting jwk updater
2024-09-09 06:42:32     [INFO]: authorization proxy api server starting

2024-09-09 06:43:02     [INFO]: Start refreshing server certificate
2024-09-09 06:43:02     [INFO]: Server certificate is same as the file

// server certificate was switched to an EC key.
2024-09-09 06:43:32     [INFO]: Start refreshing server certificate
2024-09-09 06:43:32     [INFO]: Refreshed server certificate

// server certificate was switched back to an RSA key.
2024-09-09 06:44:02     [INFO]: Start refreshing server certificate
2024-09-09 06:44:02     [WARN]: The private key is RSA. Consider using an ECDSA key for better performance.
2024-09-09 06:44:02     [INFO]: Refreshed server certificate

Type of change

[ ] Bug fix
[x] New feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Non-code changes (update documentation, pipeline, etc.)

Flags

[ ] Breaks backward compatibility
[ ] Requires a documentation update
[ ] Has untestable code

Related issue/PR
Delete this section if there are no issues or pull requests that relate to this pull request.

Fixes #issue
Closes #PR

Checklist

[x] Followed the guidelines in the CONTRIBUTING document
[x] Added prefix [skip ci]/[ci skip]/[no ci]/[skip actions]/[actions skip] in the PR title if necessary
[x] Tested and linted the code
[x] Commented the code
[x] Made corresponding changes to the documentation
[x] Passed all pipeline checking

Checklist for maintainer

Use Squash and merge
Double-confirm the merge message has prefix [skip ci]/[ci skip]/[no ci]/[skip actions]/[actions skip]
Delete the branch after merge

memo
tls.LoadX509KeyPair
KeyPath


Can't use Rust workspaces

I'd like to use Rust/Cargo workspaces in order to run multiple projects within one build target (to save space on local machine)
cargo run -p subproject does not work, see error message:
PS C:\Users\hi\RustProjects\09-ambient-workspace> cargo run -p world
error: `cargo run` could not determine which binary to run.  I should have tried that since it's what the examples use. It works.
Would be good for -p to work as well for people coming from Rust, or at least have a custom warning for that case.

Hm, I'm not sure I see a good way in clap (our argument parser) to make the path setting both positional (as it is now) and named. The three options I can see are:

Accept -p as a flag, do nothing
Accept -p as a flag, warn that it was used and has no semantic meaning
Remove the positionality and always make it accessible through -p (e.g. you would have to do ambient run -p project always instead of ambient run project, but ambient run if you're in the same folder would work as normal)

Which of these would you prefer?

Hmm. Because I'm used to it now and it's nice to not need those three extra keystrokes my preference would be "Accept -p as a flag, warn that it was used and has no semantic meaning". With the added detail that it would be nice to say the alternative does exist; warn that it was used, has no semantic meaning, and that ambient run path might be what the user is looking for rather than ambient run -p path


Fix PIC swap instruction

Fixes #3670 by updating the specification of the swap instructions for the PIC languages.

Fixed by cdb32a3128a7c9dd8441ddda971898f1935c5d55


prometheus-node-exporter: 0.14.0 -> 0.15.0

Motivation for this change
https://github.com/prometheus/node_exporter/blob/master/CHANGELOG.md#v0150--2017-10-06
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

This will need changes to the module, too.

@globin The module is updated too.

@joachifm It is no longer WIP

Using DynamicUser breaks the systemd and logind collectors. I've reverted this change to use the nobody user again for now: 63bbada520fff237adf97dd5c846371df4e06c64

This is the error:
time="2017-10-25T15:56:05Z" level=error msg="ERROR: logind collector failed after 0.001064s: unable to connect to dbus: dbus: authentication failed" source="collector.go:123"
time="2017-10-25T15:56:05Z" level=error msg="ERROR: systemd collector failed after 0.001223s: couldn't get units states: couldn't get dbus connection: dbus: authentication failed" source="collector.go:123"


Clean up HTML and add copy icon

Cleaned up the HTML in UserAchievement and added a button to copy discount code

@kenny-io I'm not seeing any changes to the template. Did you push up the latest change?
Also, can you update the sticker pack to the green one instead of the red jamstack one? https://swag.netlify.com/product/netlify-sticker-packs

@bencodezen Yes yes, I've just pushed the changed files. The link you sent still points to the red sticker pack, and I can't find a green pack on the store. Could you share a direct link? happy to update when it's ready


derivation  has '__noChroot' set, but that's not allowed when 'sandbox' is 'true'

To reproduce:

git clone https://github.com/fzyzcjy/flutter_convenient_test
cd flutter_convenient_test/packages/convenient_test_manager
write the flake.nix:

{
  description = "test runner";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs";
    flake-utils.url = "github:numtide/flake-utils";
    dart-flutter.url = "github:flafydev/dart-flutter-nix";
  };

  outputs = { self, flake-utils, nixpkgs, dart-flutter }:
    flake-utils.lib.eachDefaultSystem
      (system:
        let
          pkgs = import nixpkgs {
            inherit system;
            overlays = [ dart-flutter.overlays.default ];
          };

        in
        {
          devShells.default = pkgs.mkFlutterShell {
            linux = {
              enable = true;
            };

            nativeBuildInputs = with pkgs; [ pkg-config openssl openssl.dev libdeflate ];
            buildInputs = with pkgs; [ openssl openssl.dev ];
            NIX_LD = pkgs.stdenv.cc.bintools.dynamicLinker;
            OPENSSL_ROOT_DIR = "${pkgs.openssl.dev}/include/openssl";
          };

          packages.default = pkgs.buildFlutterApp
            {
              pname = "convenient_test_manager";
              version = "0.0.1";
              src = ./.;
            };

        });
}

run pubspec-nix
run nix build

fails with error: derivation '/nix/store/rshlbapih5mgmd8s6hppfb54qsygq91k-flutter-desktop-embedding-6c66ad2.drv' has '__noChroot' set, but that's not allowed when 'sandbox' is 'true

temporary solution:

be a trusted user
nix build --impure --option sandbox false

questions:

why does this need noChroot?

noChroot is only used when running pubspec-nix --no-hash, which gets the pub dependencies without the hashes that later nix must download with noChroot.
This option is used by checks. See https://github.com/flafydev/dart-flutter-nix#running-checks
It seems there is bug that despite not using --no-hash noChroot is still used. I'll have a look

Could you check patch-no-chroot branch?
I am unable to test it right now.

Very weird.
I get a failure like this:
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/alhkfh9yxvbln5wp0f4pny8b6slgj9vx-convenient_test_manager
source root is convenient_test_manager
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
Setting "enable-linux-desktop" value to "true".

You may need to restart any open editors for them to read new settings.
Running "flutter pub get" in convenient_test_manager...                ⣾^MGit error. Command: `git fetch`
Running "flutter pub get" in convenient_test_manager...                ⣽^Mstdout:
Running "flutter pub get" in convenient_test_manager...                ⣻^Mstderr: error: cannot open 'FETCH_HEAD': Permission den>
Running "flutter pub get" in convenient_test_manager...                ⢿^Mexit code: 255
Running "flutter pub get" in convenient_test_manager...
pub get failed (69; exit code: 255)

The original issue seems to be fixed tho.

Seems like this is throwing the error:
https://github.com/FlafyDev/dart-flutter-nix/blob/2f5380c3e07f63a65951ac403aa49a2348fe00cb/builders/build-flutter-app.nix#L119

reopening: first half of the issue has been fixed, now there is another issue with git depends.


Support page alias

Many times when I write note about particular topic, there are different ways it can be referred in a different note. It would be nice to support the alias in the frontmatter like:
title: some title
alias: synonym to title, different title

and [[some title]] or [[synonym to title]]  or [[different title]] would all link to the same page.

Hi @pranphy, thanks for the idea. This sounds like a useful feature, but so far, there is no full-blown indexing support as part of Memo design and seems that vscode does not provide one OOTB, so it needs some work done there first.

Hi @pranphy, thanks for the idea. This sounds like a useful feature, but so far, there is no full-blown indexing support as part of Memo design and seems that vscode does not provide one OOTB, so it needs some work done there first.


Update the docker image vmware-py3

Status
Ready
Related Content Pull Request
Related PR: link to the PR at demisto/content
Related Issues
Related: link to the issue
Description
Update the docker image to python3

Docker Image Ready - Dev
Docker automatic build at CircleCI has deployed your docker image: devdemisto/vmware-py3:<IP_ADDRESS>420
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/vmware-py3/tags
Get started by pulling the image:
docker pull devdemisto/vmware-py3:<IP_ADDRESS>420

Docker Metadata

Image Size: 28.13 MB

Image ID: sha256:9a56c2a46cdb07bb44d5383e63a4d373d9d66ccec6e875adda43576e3cf7db8b

Created: 2022-10-19T13:39:05.586388313Z

Arch: linux/amd64

Command: ["python3"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
PYTHON_VERSION=3.10.8
PYTHON_PIP_VERSION=22.2.2
PYTHON_SETUPTOOLS_VERSION=63.2.0
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/5eaac1050023df1f5c98b173b248c260023f2278/public/get-pip.py
PYTHON_GET_PIP_SHA256=5aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4
DOCKER_IMAGE=devdemisto/vmware-py3:<IP_ADDRESS>420

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:c2d41fb73d7e1f93431e2154c19456372caf05fe
org.opencontainers.image.version:<IP_ADDRESS>420

Docker Image Ready - Dev
Docker automatic build at CircleCI has deployed your docker image: devdemisto/vmware-py3:<IP_ADDRESS>672
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/vmware-py3/tags
Get started by pulling the image:
docker pull devdemisto/vmware-py3:<IP_ADDRESS>672

Docker Metadata

Image Size: 67.25 MB

Image ID: sha256:3ca4c921f608b6f5a373261b058325e403f49cfb925ebdcbf6fadf7c8ee95700

Created: 2022-10-23T11:45:27.238934196Z

Arch: linux/amd64

Command: ["python3"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
PYTHON_VERSION=3.10.8
PYTHON_PIP_VERSION=22.2.2
PYTHON_SETUPTOOLS_VERSION=63.2.0
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/5eaac1050023df1f5c98b173b248c260023f2278/public/get-pip.py
PYTHON_GET_PIP_SHA256=5aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4
DOCKER_IMAGE=devdemisto/vmware-py3:<IP_ADDRESS>672

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:4e7ba7a00a6e1f8d3dffb9452e453f42295d790e
org.opencontainers.image.version:<IP_ADDRESS>672

Docker Image Ready - Dev
Docker automatic build at CircleCI has deployed your docker image: devdemisto/vmware-py3:<IP_ADDRESS>675
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/vmware-py3/tags
Get started by pulling the image:
docker pull devdemisto/vmware-py3:<IP_ADDRESS>675

Docker Metadata

Image Size: 67.25 MB

Image ID: sha256:c1e704b921b0c7e4c8510521277580f5a679318eb59ed7982d7e6126e612b6e6

Created: 2022-10-23T13:33:36.168973168Z

Arch: linux/amd64

Command: ["python3"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
PYTHON_VERSION=3.10.8
PYTHON_PIP_VERSION=22.2.2
PYTHON_SETUPTOOLS_VERSION=63.2.0
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/5eaac1050023df1f5c98b173b248c260023f2278/public/get-pip.py
PYTHON_GET_PIP_SHA256=5aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4
DOCKER_IMAGE=devdemisto/vmware-py3:<IP_ADDRESS>675

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:5d22beab1f913295ce8df8349e786d119be5db21
org.opencontainers.image.version:<IP_ADDRESS>675

is there a seperate integration using the py2 version? Can we keep this under the same name, and do a major bump to version?

Docker Image Ready - Dev
Docker automatic build at CircleCI has deployed your docker image: devdemisto/vmware:<IP_ADDRESS>741
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/vmware/tags
Get started by pulling the image:
docker pull devdemisto/vmware:<IP_ADDRESS>741

Docker Metadata

Image Size: 67.27 MB

Image ID: sha256:f05ce53af3fd8d8f9b11c457f0256653642c5b89d9167498d651f5afeeec9df8

Created: 2022-10-25T10:41:59.198845175Z

Arch: linux/amd64

Command: ["python3"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
PYTHON_VERSION=3.10.8
PYTHON_PIP_VERSION=22.2.2
PYTHON_SETUPTOOLS_VERSION=63.2.0
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/5eaac1050023df1f5c98b173b248c260023f2278/public/get-pip.py
PYTHON_GET_PIP_SHA256=5aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4
DOCKER_IMAGE=devdemisto/vmware:<IP_ADDRESS>741

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:48c4ee900f292b02282477da045d68aeef3ff045
org.opencontainers.image.version:<IP_ADDRESS>741

Docker Image Ready - Dev
Docker automatic build at CircleCI has deployed your docker image: devdemisto/vmware:<IP_ADDRESS>742
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/vmware/tags
Get started by pulling the image:
docker pull devdemisto/vmware:<IP_ADDRESS>742

Docker Metadata

Image Size: 67.27 MB

Image ID: sha256:22dc2c5592510a267fe648b5527367feb44cbfb1e3d750ffcab2cff120cbfc7b

Created: 2022-10-25T11:14:49.618567266Z

Arch: linux/amd64

Command: ["python3"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
PYTHON_VERSION=3.10.8
PYTHON_PIP_VERSION=22.2.2
PYTHON_SETUPTOOLS_VERSION=63.2.0
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/5eaac1050023df1f5c98b173b248c260023f2278/public/get-pip.py
PYTHON_GET_PIP_SHA256=5aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4
DOCKER_IMAGE=devdemisto/vmware:<IP_ADDRESS>742

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:9df0ab29a5489657880980b88c5f37a087f04a96
org.opencontainers.image.version:<IP_ADDRESS>742

Docker Image Ready - Dev
Docker automatic build at CircleCI has deployed your docker image: devdemisto/vmware:<IP_ADDRESS>897
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/vmware/tags
Get started by pulling the image:
docker pull devdemisto/vmware:<IP_ADDRESS>897

Docker Metadata

Image Size: 67.27 MB

Image ID: sha256:c380a2dd7f2df4fe0ceb05d08694a8796071bf453a819ea9e38511fb39cfa9c8

Created: 2022-10-31T07:31:22.210441163Z

Arch: linux/amd64

Command: ["python3"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
PYTHON_VERSION=3.10.8
PYTHON_PIP_VERSION=22.2.2
PYTHON_SETUPTOOLS_VERSION=63.2.0
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/5eaac1050023df1f5c98b173b248c260023f2278/public/get-pip.py
PYTHON_GET_PIP_SHA256=5aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4
DOCKER_IMAGE=devdemisto/vmware:<IP_ADDRESS>897

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:273bfe5492d9e82089abd2dc812dd98f8534eb37
org.opencontainers.image.version:<IP_ADDRESS>897

Docker Image Ready - Production
Docker automatic build at CircleCI has deployed your docker image: demisto/vmware:<IP_ADDRESS>077
It is available now on docker hub at: https://hub.docker.com/r/demisto/vmware/tags
Get started by pulling the image:
docker pull demisto/vmware:<IP_ADDRESS>077

Docker Metadata

Image Size: 68.81 MB

Image ID: sha256:6ed6d66517931c672c4b074061fcb5e057bb25bdf7f1c5b2f7c3296d4f00713f

Created: 2022-11-02T13:46:59.086483642Z

Arch: linux/amd64

Command: ["python3"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
PYTHON_VERSION=3.10.8
PYTHON_PIP_VERSION=22.2.2
PYTHON_SETUPTOOLS_VERSION=63.2.0
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/5eaac1050023df1f5c98b173b248c260023f2278/public/get-pip.py
PYTHON_GET_PIP_SHA256=5aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4
DOCKER_IMAGE=demisto/vmware:<IP_ADDRESS>077

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:3bf174ad57303279617ac8ef030b88134f43ec62
org.opencontainers.image.version:<IP_ADDRESS>077


xdman: download jar instead of msi

The origin manifest doesn't work and I can't make it work. Extracting files from msi and creating a shortcut doesn't work for me for some unknown reasons.
I try to extract icon from jar and convert it to ico file. The Image class does not support alpha transparency in bitmaps so the icon looks strange.

I have no problem with msi extraction with lessmsi or without

Your manifest works. But the bundled jre doesn't works for me. Please test start jre\bin\javaw.exe -jar %~dp0\\xdman.jar %* .

No. Boundled JRE is not working.

There is no icon in msi extraction either. However if I run the msi installer there will be an icon and the bundled jre works well. 😕 I don't know how to extract the icon.


No VERSIONINFO resource? [UAC prompt says "Unknown program" instead of "Windows Terminal"]

Environment
Windows build number: Microsoft Windows [Version 10.0.18945.1001]
Windows Terminal version (if applicable): 0.3.2142.0

Any other software?

Steps to reproduce

Run Windows Terminal as an administrator.
Expected behavior

The program's name should show up correctly in the UAC prompt.
Actual behavior

The UAC prompt calls it "Unknown program" rather than "Windows Terminal". However, it's detected as a signed application and the icon is shown correctly.

We've honestly got almost no idea why this happens. :grin:

The "Desktop App Converter" (also a Centennial application) doesn't do this, so I'm going to bet it's our fault somehow. We don't have a VERSIONINFO resource... and I bet that it's really cramping our style.

It turns out this is because we're using a resource for our app name (you know: the way they recommend)

Note to self: It looks like the UAC consent dialog pulls the application name from the DisplayName field in the manifest. That's the only one we need to pin down.


cargo help config doesn't recognize config command

Problem
Confusing output when running cargo help config:
$ cargo help config
error: no such subcommand: `config`

	Did you mean `config`?

	View all installed commands with `cargo --list`

Steps

Run cargo help config

Possible Solution(s)
There doesn't seem to be a man page for cargo config: https://github.com/rust-lang/cargo/tree/master/src/doc/man
This results in extract_man to return None, which results in try_help returning Ok(false):
https://github.com/rust-lang/cargo/blob/995f5efcc2c06db20083f32ae074adc46f3aecfc/src/bin/cargo/commands/help.rs#L61-L63
This in turn makes exec return the confusing message:
https://github.com/rust-lang/cargo/blob/995f5efcc2c06db20083f32ae074adc46f3aecfc/src/bin/cargo/commands/help.rs#L24-L29
I'd propose the following fixes:

Differentiate between the command not being found and the man page not being found. If the man page couldn't be found, a different message should be returned.
Add the man page for cargo config.

Notes
No response
Version
cargo 1.65.0 (4bc8f24d3 2022-10-20)
release: 1.65.0
commit-hash: 4bc8f24d3e899462e43621aab981f6383a370365
commit-date: 2022-10-20
host: x86_64-unknown-linux-gnu
libgit2: 1.5.0 (sys:0.15.0 vendored)
libcurl: 7.83.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:OpenSSL/1.1.1q)
os: Pop!_OS 22.04 (jammy) [64-bit]

I would say #11473 fixes this issue. We could track manpage for cargo config and its nested subcommands in https://github.com/rust-lang/cargo/issues/9301. Thank you!


WARNING: proto: message SignRound8Message is already registered

Debian 4.19.146-1
Run docker container:
sudo docker run -d
--restart always
--entrypoint /usr/local/bin/keep-ecdsa
--volume $HOME/keep-ecdsa:/mnt/keep-ecdsa
--env KEEP_ETHEREUM_PASSWORD=.....
--env LOG_LEVEL=debug
--name ecdsa
-p 3920:3920
keepnetwork/keep-ecdsa-client:v1.2.0-rc.5 \ --config /mnt/keep-ecdsa/config/config.toml start
Logs:
2020/09/29 17:15:36 WARNING: proto: message SignRound1Message2 is already registered
A future release will panic on registration conflicts. See:
https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
2020/09/29 17:15:36 WARNING: proto: message SignRound2Message is already registered
A future release will panic on registration conflicts. See:
https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
2020/09/29 17:15:36 WARNING: proto: message SignRound3Message is already registered
A future release will panic on registration conflicts. See:
https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
2020/09/29 17:15:36 WARNING: proto: message SignRound4Message is already registered
A future release will panic on registration conflicts. See:
https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
2020/09/29 17:15:36 WARNING: proto: message SignRound5Message is already registered
A future release will panic on registration conflicts. See:
https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
2020/09/29 17:15:36 WARNING: proto: message SignRound6Message is already registered
A future release will panic on registration conflicts. See:
https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
2020/09/29 17:15:36 WARNING: proto: message SignRound7Message is already registered
A future release will panic on registration conflicts. See:
https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
2020/09/29 17:15:36 WARNING: proto: message SignRound8Message is already registered
A future release will panic on registration conflicts. See:
https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
2020/09/29 17:15:36 WARNING: proto: message SignRound9Message is already registered
A future release will panic on registration conflicts. See:
https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
No help topic for ' --config'

@Toltekayotl If you're having an issue starting your server, it's because you have an extra \ character before your --config. Just remove that and it should work. That's meant for multiline commands so you don't need it there.
The warning is just a warning I believe and does not interfere with operation. @lukasz-zimnoch already opened an issue for this in the library that's causing it: https://github.com/binance-chain/tss-lib/issues/106

Thanks for reporting it @Toltekayotl. @kferretcrypto is right, please remove extra \ and you should be good. Those warnings are confusing but we can not do much about them until binance-chain/tss-lib#106 gets done.


Update README page

Updated badge urls to link to the proper resources and remove duplicate badge (Feature Request).
Replaced v2 to v3 notice with V4 development notice
Cleaned up badge links, hyperlink underline between badges when <a> and <img> tags have anything between them, i.e. spaces or newline.

Thanks for the update! Can you please change the branch to develop instead of master then we can get this merged in.

Thanking you!
I'll get this merged now, thanks for your contribution.


Regression in Webpack 2.0 beta: noParse makes require() return an empty object instead of the target module

I'm using the noParse option to prevent webpack from complaining about a pre-built library, namely Google's libphonenumber which can only be built with Closure Compiler (AFAIK). Here's the warning I want to silence:
WARNING in ./~/google-libphonenumber/dist/browser/libphonenumber.js
Critical dependencies:
1:760-767 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
 @ ./~/google-libphonenumber/dist/browser/libphonenumber.js 1:760-767

Since I upgraded to webpack 2 beta, this results in the library not loading anymore. Instead calling require('google-libphonenumber') returns an empty Object. In my testing, using an ES6 import or require doesn't make a difference.

Here's a reduced test case for reproducing this issue.
Requirements

babel-core @ 6.7.6
babel-loader @ 6.2.4
babel-preset-es2015-webpack @ 6.4.0
babel-preset-react @ 6.5.0
babel-preset-stage-0 @ 6.5.0
google-libphonenumber @ 1.0.17
webpack @ 2.1.0-beta.5

.babelrc
{
    "presets": [
        "es2015-webpack",
        "stage-0",
        "react"
    ],
}

webpack.js
module.exports = {

    entry: './test.js',

    module: {
        loaders: [{
            test: /\.js$/,
            loader: 'babel',
        }],
        // Commenting this out makes the problem go away, but triggers a warning.
        noParse: [
            /\/libphonenumber\.js$/,
        ],
    },

    output: {
        filename: './test.pack.js',
    },

    resolve: {
        modules: [
            'node_modules',
        ],
    },

};

test.js
window.libphonenumber = require('google-libphonenumber');
console.log(window.libphonenumber);

index.html

    <title>Test webpack libphonenumber</title>

Compile with webpack 2 & babel
% webpack --config=webpack.js
[BABEL] Note: The code generator has deoptimised the styling of "/Users/myk/Documents/dev/amalfi-web/node_modules/google-libphonenumber/dist/browser/libphonenumber.js" as it exceeds the max of "100KB".
Hash: f2fe22f538e18542adf7
Version: webpack 2.1.0-beta.5
Time: 3438ms
         Asset    Size  Chunks             Chunk Names
./test.pack.js  351 kB       0  [emitted]  main
    + 2 hidden modules

Open the inspector and load index.html
require('google-libphonenumber') just returns Object {  }.
> libphonenumber.PhoneNumberFormat
undefined

Downgrading to webpack 1.13.0 resolves the issue.
Recompile with webpack 1 & babel
% webpack --config=webpack.js
[BABEL] Note: The code generator has deoptimised the styling of "/Users/myk/Documents/dev/amalfi-web/node_modules/google-libphonenumber/dist/browser/libphonenumber.js" as it exceeds the max of "100KB".
Hash: a733035fbcc3c09f6239
Version: webpack 1.13.0
Time: 2835ms
         Asset    Size  Chunks             Chunk Names
./test.pack.js  351 kB       0  [emitted]  main
    + 2 hidden modules

Open the inspector and load index.html
require('google-libphonenumber') returns the expected result.
> libphonenumber.PhoneNumberFormat
Object { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 }

yep, bug is know and the change will be reverted soon.

Great. Thanks! Let me know if I can help, perhaps by testing a change.

fixed

@sokra is there anything that is being done by google-libphonenumber which could have prevented this from happening with webpack? I.e. is there any improvement to be made on the package side?

@ruimarinho It works fine now.


Refreshing dApp from another screen (e.g. home aka transfer screen) doesn't go back to Connect

Steps to Reproduce

After successfully connecting the dApp, you're directed to the e.g. Transfer screen (if you already have channels on chain), e.g. /transfer/<token> url
Refresh dApp

Expected Result

With dApp reloading, you should be redirected to baseUrl/root, to re-connect

Actual Result

You continue on the Transfer screen you just refreshed, but now with a bunch of "Error: Raiden instance was not initialized" errors on console due to trying to access this screen without initializing/connecting the SDK

Additional Infos (Optional)
0.5.2

Also probably due to the General screen becoming landing/connect screen.

In the done column within the project, but not closed. Closing


Tidying up, and bringing versions up to date

Coverage remained the same at 95.542% when pulling 3bc1ed11648ece1ee777d70cbf94ef593934356e on tidyup into ea95f98b34e78026e4075f3a6f701cfea1b65ad3 on master.

Coverage increased (+0.01%) to 95.556% when pulling 0abeb8fb539aecfa14226e02500c25955a41d9a9 on tidyup into ea95f98b34e78026e4075f3a6f701cfea1b65ad3 on master.

Coverage increased (+0.01%) to 95.556% when pulling 0abeb8fb539aecfa14226e02500c25955a41d9a9 on tidyup into ea95f98b34e78026e4075f3a6f701cfea1b65ad3 on master.


Update seeds.rb with data for categories

request changes
https://github.com/ita-social-projects/ZeroWaste/pull/923#pullrequestreview-2412610984

requested changes
https://github.com/ita-social-projects/ZeroWaste/pull/923#pullrequestreview-2425280156

approved
https://github.com/ita-social-projects/ZeroWaste/pull/923#pullrequestreview-2462223278

Data for categories is updated


[Bugs] : 'gensim.sklearn_api' and Unicode issue

Hello Guys,
Version : texthero 1.0.9
python : 3.7.10
BUG 1

BUG 2

For fixing this issue, I installed texthero==1.0.5 but I get a second issue,

Thanks,

This was solved in #206 but it's not yet published so pip install doesn't get that yet.
Try doing  pip install git+https://github.com/jbesomi/texthero.git

Hi @henrifroese
Thanks for response ,
But how can I add it in requirements.txt ?
I'm deploying automatic build.

Instead of texthero, put the line git+git://github.com/jbesomi/texthero.git#egg=texthero into the requirements.txt, that should work

Thanks @henrifroese
It works for me :)


Target .NET 4.0 Framework

Before diving deep into your code, is there a reason why you wouldn't support targeting .NET 4.0 framework?

Nevermind. Dove into it myself and several optimizations would be lost (i.e. MethodImpl.AggressiveInlining).


Unknown file extension ".css" in NextJS 13

🐛 Bug Report
I am getting the error - Unknown file extension ".css"  in NextJS 13
🤔 Expected Behavior
The app should run fine as I have done all the steps required to use React Spectrum library in NextJS
😯 Current Behavior
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" for<EMAIL_ADDRESS> at new NodeError (node:internal/errors:387:5)
    at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:76:11)
    at defaultGetFormat (node:internal/modules/esm/get_format:118:38)
    at defaultLoad (node:internal/modules/esm/load:81:20)
    at nextLoad (node:internal/modules/esm/loader:165:28)
    at ESMLoader.load (node:internal/modules/esm/loader:608:26)
    at ESMLoader.moduleProvider (node:internal/modules/esm/loader:464:22)
    at new ModuleJob (node:internal/modules/esm/module_job:63:26)
    at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:483:17)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:441:34)
    at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:78:21)
    at async Promise.all (index 0)
    at async link (node:internal/modules/esm/module_job:83:9) {
  code: 'ERR_UNKNOWN_FILE_EXTENSION',
  page: '/'

🔦 Context

💻 Code Sample
Just create a new nextjs app using npx create-next-app@latest and install Adobe Spectrum using npm install @adobe/react-spectrum and add follow instruction on https://react-spectrum.adobe.com/react-spectrum/ssr.html#nextjs
🌍 Your Environment

Software
Version(s)

react-spectrum
3.26.0

Next.JS
13.3.0

Operating System
MacOS

I just tried a new app locally and just needed to add "@react-spectrum/avatar" to the transpilePackages config. This package was just released, so the config in the docs hasn't been updated yet. Can you try adding that and see if the issue still persists?

Same issue with every individual library. I even tried with different versions of NextJS 13. Same problem.

Can you compare your setup with this one: https://stackblitz.com/edit/github-cq1tcr?file=package.json,next.config.mjs,package-lock.json?

I found the source of the problem. @react-spectrum/avatar is missing from the list in the docs on  https://react-spectrum.adobe.com/react-spectrum/ssr.html#nextjs

I mentioned that in my first comment. We have a PR to update this here: https://github.com/adobe/react-spectrum/pull/4379

I mentioned that in my first comment. We have a PR to update this here: #4379

My apologies.


[Windows] Add Arm64 benchmarks

Part of: https://github.com/flutter/flutter/issues/129806
Test runs kicked off using led:

✅ hot_mode_dev_cycle_win_target__benchmark
✅ windows_home_scroll_perf__timeline_summary
✅ flutter_tool_startup

/cc @pbo-linaro
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

⚠ Do not merge this until https://github.com/flutter/flutter/issues/135722 is fixed


400 Properties with a wrong domain: https://vocabs.acdh.oeaw.ac.at/schema#acdh:hasPublisher

This:
g.add((COL_URI, ACDH["hasPublisher"], Literal(editor)))

makes this:
(rdflib.term.URIRef('https://id.acdh.oeaw.ac.at/ofm-graz/S1_63'), rdflib.term.URIRef('https://vocabs.acdh.oeaw.ac.at/schema#hasPublisher'), rdflib.term.Literal('Johann Baptist Mayr'))

Nonetheless, it fails miserably when trying to ingest the result:
######################################################
Import failed
######################################################
There was at least one error during the import:
.	https://id.acdh.oeaw.ac.at/ofm-graz/S1_63: 400 Properties with a wrong domain: https://vocabs.acdh.oeaw.ac.at/schema#hasPublisher(GuzzleHttp\Exception\ClientException)
--------------------
--- Exception backtrace:
acdhOeaw\arche\lib\ingest\IndexerException Object
(
    [message:protected] => There was at least one error during the import:
.	https://id.acdh.oeaw.ac.at/ofm-graz/S1_63: 400 Properties with a wrong domain: https://vocabs.acdh.oeaw.ac.at/schema#hasPublisher(GuzzleHttp\Exception\ClientException)

    [string:Exception:private] =>
    [code:protected] => 1
    [file:protected] => /home/fernando/Projects/arche-localhost-utils/testing/vendor/acdh-oeaw/arche-lib-ingest/src/acdhOeaw/arche/lib/ingest/MetadataCollection.php
    [line:protected] => 346
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/fernando/Projects/arche-localhost-utils/testing/vendor/acdh-oeaw/arche-ingest/import_metadata_sample.php
                    [line] => 69
                    [function] => import
                    [class] => acdhOeaw\arche\lib\ingest\MetadataCollection
                    [type] => ->
                )

        )

    [previous:Exception:private] =>
    [resources:acdhOeaw\arche\lib\ingest\IndexerException:private] => Array
        (
        )

)

acdh:hasPublisher is only allowed for objects of type acdh:Publication (see https://acdh-oeaw.github.io/arche-schema/#hasPublisher or here for a more usable  overview: https://arche-dev.acdh-dev.oeaw.ac.at/browser/api/getRootTable/en?_format=html)
so you can simply delete the line g.add((COL_URI, ACDH["hasPublisher"], Literal(editor)))


Can I control host address in pg_setup_hba_conf function?

I need to have more control for pg_setup_hba_conf function which call in docker-entrypoint.sh
In https://hub.docker.com/_/postgres?tab=description described:
echo "host all all all $POSTGRES_HOST_AUTH_METHOD" >> pg_hba.conf
I want to avoid adding that line or use it in something like:
echo "host all all $POSTGRES_HOST_AUTH_ADDRESS $POSTGRES_HOST_AUTH_METHOD" >> pg_hba.conf
And in that case POSTGRES_HOST_AUTH_ADDRESS  by default would be all.
My case:
I have docker-compose.yaml
version: "3.8"

volumes:
  test_postgres_database:

services:
  postgres:
    image: "postgres:12"
    deploy:
      resources:
        limits:
          cpus: '0.5'
          memory: 1G
        reservations:
          cpus: '0.5'
          memory: 1G
    container_name: "test-postgres"
    restart: always
    environment:
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: ${POSTGRES_DB}
    ports:
      - "${POSTGRES_EXPOSE_PORT}:5432"
    volumes:
      - test_postgres_database:/var/lib/postgresql/data
      - ./init/postgres/init.sql:/docker-entrypoint-initdb.d/docker_postgres_init.sql
      - ./init/postgres/init.sh:/docker-entrypoint-initdb.d/init.sh
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
      interval: 10s
      timeout: 10s
      retries: 5
    networks:
      test-network:
        aliases:
          - postgres

  pgadmin:
    image: dpage/pgadmin4
    container_name: "test-pgadmin"
    restart: always
    environment:
      PGADMIN_DEFAULT_EMAIL: "${PGADMIN_DEFAULT_EMAIL}"
      PGADMIN_DEFAULT_PASSWORD: "${PGADMIN_DEFAULT_PASSWORD}"
    ports:
      - "16543:80"
    depends_on:
      - postgres
    networks:
      test-network:
        aliases:
          - pgadmin

#...
#and many other services which can connect to postgres in test-network subnet
#...

networks:
  test-network:
    driver: bridge
    ipam:
      driver: default
      config:
      - subnet: <IP_ADDRESS>/16

Used not in swarm.
Used with --compatibility param when build and up.
and init.sh:
echo "host all  all  <IP_ADDRESS>/16  md5" >> /var/lib/postgresql/data/pg_hba.conf

I want to having access to postgres only within that subnet and nowhere else.
But in current implementation I always see host all all all trust in /var/lib/postgresql/data/pg_hba.conf before my custom rule host all  all  <IP_ADDRESS>/16  md5
Maybe I'm doing something wrong?
I would like to have more control of adding the default line host all all all trust or possibility to change not only auth method parameter.
Thanks!

https://github.com/docker-library/postgres/issues/407#issuecomment-395889527
You can override pg_hba.conf via a script in /docker-entrypoint-initdb.d/


{[Open Daily Note]} doesn't open a new note when running after midnight

Running {[Open Daily Note]} after midnight does not open a new page but instead the page of the past day.
Maybe wait until 1 AM solves the issue. But I need sleep :sleeping:

Interesting, and your server's clock is in sync with your local time?

Yes. In fact, the server runs on the same machine as the browser.

/today is also effected by this issue.


Remove all references to kineircd as the project never materialized

The kineircd repo barely contains any code, so it's safe to remove references to this project as it's impossible that any running kineircd server exists.

Some of these (e.g. RPL_WHOISSECURE, deaf, 004) are used nowadays, but not as the (kineircd-specific) docs say.

Yeah, let's get rid of these. Thanks for the PR!


Only create AST once per file

Today the same file content is read in both precinct at https://github.com/mrjoelkemp/node-dependency-tree/blob/master/index.js#L104 and cabinet at https://github.com/mrjoelkemp/node-dependency-tree/blob/master/index.js#L134.
So one AST is create for getting the dependencies and one for getting the type when resolving the file.
If we could find a good way to only read file content and create the AST once per file we should probably see a huge performance boost.

Another great find! Thanks for investigating.
Precinct dangles the parsed AST for a given file, so the dependency list should be a list of { dependency, ast} objects.
For every dependency, we can then pass the AST to cabinet as an additional option.
Within filing-cabinet, we can then pass the AST all the way through to the use of module-definition. If the AST is provided, then do something like getModuleType.fromSource(ast || filename). Module-definition already supports an AST source.

I made the fixes to filing-cabinet to support an ast option. There's a new v1.4.0 minor release.
The only changes left are within dependency-tree: to pipe the precinct ast into filing-cabinet and bump cabinet to use the new 1.4.0 release.

Sweet! I'll check it out once I'm at my computer :)

Looks good! Should the dangling ast from precinct be used to pass into filing-cabinet or is it better to create the ast from dependency-tree and pass into precinct and filing-cabinet instead?

You bring up an interesting point. There's an order dependency that I'm banking on, you need dependencies before you can resolve their paths. As such, I know that we're using precinct first then cabinet. In terms of the ideal scenario, it would be clearer to parse outside at a higher-level and pass the AST down to both. For now, I'd rather pass the dangled precinct AST to cabinet.
The tandem use of precinct and cabinet is an implementation detail. There might be room for an abstraction that takes in a filename and outputs a list of fully resolved dependency paths. In that way, we could choose either way of sharing an ast (pre-parse or pass precinct's ast). I have a need for this layer in another module, but I'm hesitant to add any more tiny layers.

I just cut a new minor release (v5.5.0) with these changes. 🎊

Awesome! I'll test it right away!


use renamed oo_ec2_ami20 module

and unconditionally pass the account ID to oo_ec2_ami20 to also grant AMI copy permissions (to allow creating encrypted AMIs in the target account).

:+1 I like it


[FLOC-3849] Test cloudformation installer

Fixes https://clusterhq.atlassian.net/browse/FLOC-3849
So far we've written a single end-to-end test which boots a cloudformation stack based on configuration published at:

https://s3.amazonaws.com/installer.downloads.clusterhq.com/flocker-cluster.cloudformation.json

Then runs the demo compose files on the client machine to create and then move a PostgreSQL database container and then verifies that data was moved.
On Slack / Engineering meeting it was suggested that this was probably too fragile and that we should be testing smaller parts of the cloudformation installation process.
We need to discuss that further.

Thanks for testing this. I also would like to see more, smaller tests, but don't see why that excludes a stable, unfragile acceptance test. I would like to see evidence of its non-fragility before it lands in master please.
I've made a few comments about various things, and would like a chance to look again before this lands.

Ready for another review.
Followup work:

Build the cloudformation template and run the test automatically from Jenkins
Modify the test to reflect the documented moby-docker application.

Thanks!
It's hard to tell exactly, but it looks like you're getting a sphinx failure that might be genuine. Could you please run the sphinx tests locally on your branch, verifying that they pass before merging. Please also address above comments.

Since review, I:

Updated to accomodate changes to the output names
Changed the way the compose templates are uploaded so that they don't clash on successive runs.
Added support for the new Volume Hub Token parameter
reran some failed builders until they passed.

So I'll merge this now.


Improve the shader node design

Existing issues

string-based input/output connection

┆Issue is synchronized with this Wrike Item

Handling this in the https://github.com/actnwit/shaderity-graph project.


When launching AppInspector.dll "error occurred while loading required library hostpolicy.dll" is displayed

Describe the bug
When launching AppInspector.dll "error occurred while loading required library hostpolicy.dll is displayed"
To Reproduce
Steps to reproduce the behavior:
1.Download "ApplicationInspector_windows_1.0.24.zip" and unzip
2.Execute command "dotnet AppInspector.dll"
Expected behavior
Inspector should be launched
Actual behavior
Following error is displayed
Failed to load the dll from [C:\Users\sartaj.ahmed\Downloads\ApplicationInspector_windows_1.0.24\ApplicationInspector_1.0.24\hostpolicy.dll], HRESULT: 0x800700C1
An error occurred while loading required library hostpolicy.dll from [C:\Users\sartaj.ahmed\Downloads\ApplicationInspector_windows_1.0.24\ApplicationInspector_1.0.24]
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

The only other related item found was you may have .net core 3.1 installed but not 3.0 which the application release and solution are targeted to.  That's why rebuilding it solved the issue for you.  I will be upgrading the solution target to 3.1.

What is the solution to fixing this issue? I cloned the master branch and built via "dotnet publish -c Release -r linux-x64". When I run "dotnet AppInspector.dll" from bin/publish I get the libhostpolicy.dylib missing error. This is a fresh install of .NET Core 3.1 on Catalina

See #123


Add mypy, pytest cache to default exclude list

mypy & pytest are fairly popular tools, so I'd like to propose adding their caches folder to the default exclude list.

Not sure why tests are failing, I'll look into it.

thanks so much for this.


All possible agents are disabled

I keep running into the following error message when attempting to use vsts.ci file to automate the build definition "Waiting for an enabled agent. All possible agents are disabled".

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

ID: 87686bea-7c46-cd47-d1a9-128e16b63a23
Version Independent ID: ace78317-e562-e35d-781d-23cd7d2dfff2
Content: CI Build in code using YAML
Content Source: docs/pipelines/build/yaml.md
Product: devops
GitHub Login: @andyjlewis
Microsoft Alias: alewis

@alexbenavidesgit what pool are you targeting with your build?  Did you check to make sure that pool has agents enabled and they meet all of the demands of your build?

Have you tried check "Agent selection" of the first Phase of your build if it is accidentally configured to be built on specific build agents? I had a case where I had 2 local build agents but have accidentally missed out this config and it is "Hosted" by default and if you do not have "Hosted" or have disabled them then "All possible agents are disabled" will be displayed.

Another possibility is to have unsatisfied demands/capabilities.

Please accept our apology for the significant delay in addressing this issue.
It looks like you're working through an issue with the product itself, rather than an issue with the documentation. Here are a few options where you might consider asking your question:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot


add circleci

Description

This is a

[ ] Bug Fix
[ ] Feature
[ ] Documentation
[ ] Other

Checklists
Commit style

[ ] Changes are on a branch with a descriptive name eg. fix/missing-queue, docs/setup-guide

[ ] Commits start with one of feat: fix: docs: chore: or similar

[ ] No excessive commits, eg: there should be no fix: commits for bugs that existed only on the PR branch (see guide-to-interactive-rebasing)

Protected files
The following files should not change unless they are directly a part of your change.

[ ] yarn.lock (unless package.json is also modified, then only the new/updated package should be changed here)

[ ] package.json (renovate bot should handle all routine updates)

[ ] tsconfig.json (only make it stricter, making it more lenient requires more discussion)

[ ] tslint.json (only make it stricter, making it more lenient requires more discussion)

:tada: This PR is included in version 1.3.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


odo link should show display connection information

User Story

As a developer linking to a service
I want to know what connection information link made available
So that I can easily configure my app without searching for this information somewhere else.

Acceptance Criteria

[ ] after odo link creates a "link" it should display what env variables were made available for application to use
[ ] if odo link --bindAsFiles it should show the file path where the binding information was mounted

▶ odo link  Database/mydb
 ✓  Successfully created link between component "mynode" and service "Database/mydb"

To apply the link, please use `odo push`

After that you will be able to use following environment variables to connect to the service.
- DATABASE_DB_NAME
- DATABASE_DB_PASSWORD
- DATABASE_DB_USER
- SERVICE_CLUSTERIP

▶ odo link  Database/mydb --bindAsFiles
 ✓  Successfully created link between component "mynode" and service "Database/mydb"

To apply the link, please use `odo push`

After that you will be able to information from following files to connect to the service.
- /binding/java-mydb/DATABASE_DB_NAME
- /binding/java-mydb/DATABASE_DB_PASSWORD
- /binding/java-mydb/DATABASE_DB_USER
- /binding/java-mydb/SERVICE_CLUSTERIP

/kind user-story

[ ] after odo link creates a "link" it should display what env variables were made available for application to use

#4009

[ ]  after odo link creates a "link" it should display what env variables were made available for application to use

#4009

ah, I knew that I saw this already somewhere, but I was not able to find it.
are you ok if I close #4009 in favor of this one? It has more information.

This looks good to me, exactly the information I am looking for from a successful odo link.

How does odo decide which env vars it should print when doing linking? Since we're moving to using SBO for every link operation, I think it would make sense to print this based on the annotations in the service/component being linked.
Thoughts?

after creating ServiceBinding SBO create Secret. You can read information from ServiceBinding status to check if the Secret was already created and its name. Then odo can just read that print Secret keys

I can work on this
/assign

@girishramnani it's not directly connected to the Milestone we're targeting https://github.com/openshift/odo/milestone/15. Although I understand it helps improve the UX for the users who do odo link. Considering how close we are to due date for the milestone, I would request not to prioritize this for time being.

understood, but whenever we plan to work on this, could I be assigned to it?

This is not planned for the current sprint, nor this is in progress.
It should not be assigned to anyone
/unassign

according to this issue https://github.com/openshift/odo/issues/3734 we already have this env information but only for non --bindAsFiles scenerio.
We still need to update the output of odo link for env approach.

we need to reconsider the whole idea here as odo link now doesn't create any link and instead adds the information into devfile

The steps for fetching the required details are here https://github.com/openshift/odo/blob/4ba144d5168e2196f930331e30e66961b12c83a7/pkg/component/component.go#L1540-L1545


Unfinished  style updates

Find Bands, improve table header to be bold and orange background
Find Bands, genre dropdown (blank item) should  display "All"
Corner menu, highlighted page should not remain on Suggested Books, but should highlight the page currently in view
Corner menu, Logout style is not the same as the other menu choices
Create band form allows all same genre choices, does not eliminate the one already selected in the drop downs

Layer the table grid on the top, so that the menu does not interfere with scrolling the grid


Fix CVE-2022-29526 vulnerability caused by golang.org/x/sys?

It seems there is a medium level problem
The current golang.org/x/sys version in go.mod is v0.0.0-20210320140829-1e4c9ba3b0c4
This problem already be fixed in version 0.0.0-20220412211240-33da011f77ad
Please help this, thank you

Running govulncheck on this library gives us the following output, so maybe this isn't a problem.
$ govulncheck ./...
Scanning your code and 49 packages across 2 dependent modules for known vulnerabilities...

=== Informational ===

Found 1 vulnerability in packages that you import, but there are no
call stacks leading to the use of this vulnerability. You may not need
to take any action.
See https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck for details.

Vulnerability #1: GO-2022-0493
    Incorrect privilege reporting in syscall and golang.org/x/sys/unix
  More info: https://pkg.go.dev/vuln/GO-2022-0493
  Module: golang.org/x/sys
    Found in<EMAIL_ADDRESS>    Fixed in<EMAIL_ADDRESS>
No vulnerabilities found.

Share feedback at https://go.dev/s/govulncheck-feedback.


Deleting a file in Atom will throw an exception when you actually empty the garbage

[Enter steps to reproduce below:]

Right click in the sidebar and delete any file that's in the project. Possibly requires the file to be open.
Empty the Trash
Observe the error message
If the file had been open see it still open but with garbage characters

Atom Version: 0.188.0
System: Mac OS X 10.10.2
Thrown From: Atom Core
Stack Trace
Uncaught Error: Unable to watch path
At /Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/main.js:66

Error: Unable to watch path
  at Error (native)
  at HandleWatcher.start (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/main.js:66:29)
  at /Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/main.js:43:25
  at FSReqWrap.oncomplete (fs.js:100:15)

Commands
     -7:05.2 core:cut (atom-text-editor.editor.insert-mode)
     -5:57.5 core:paste (atom-text-editor.editor)
  2x -5:50.8 core:delete (atom-text-editor.editor)
     -5:49.4 core:save (atom-text-editor.editor)
  2x -5:40.0 core:undo (atom-text-editor.editor)
     -5:37.6 core:save (atom-text-editor.editor)
     -5:02.1 editor:toggle-line-comments (atom-text-editor.editor)
  2x -5:01.3 core:save (atom-text-editor.editor)

Config
{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ],
    "disabledPackages": [
      "linter-bootlint",
      "vim-mode"
    ]
  },
  "editor": {
    "invisibles": {},
    "showInvisibles": true,
    "showIndentGuide": true,
    "softWrapAtPreferredLineLength": true,
    "softWrap": true
  }
}

Installed Packages
# User
Sublime-Style-Column-Selection, v1.2.3
angularjs, v0.2.0
api-blueprint-preview, v0.3.0
ember-cli-helper, v0.7.2
linter, v0.12.0
linter-clang, v2.25.1
linter-csslint, v0.0.11
linter-erb, v0.1.0
linter-javac, v0.1.3
linter-jshint, v0.1.0
linter-less, v0.3.1
linter-rubocop, v0.2.2
linter-ruby, v0.1.4
linter-scalac, v0.3.3
linter-scss-lint, v0.0.14
linter-shellcheck, v0.0.7
minimap, v4.7.1
project-palette-finder, v2.4.16
tabs-to-spaces, v0.9.1

# Dev
No dev packages

I use Mac OS X 10.10.2 and Atom 0.188.0 as well, but when I delete a file (move to trash) it remains open and editable, when emptying trash the file automatically closes in atom without errors.


Execute select Device when bridge loads [Enhancement Request]

I have dozens of X10 modules that I control with the ha-bridge / Alexa.  I use an X10 CM11A controller that I communicate to/from the RPi using HEYU.  HEYU has a state engine that keeps the X10 device states.  I wrote a python script that updates the X10 device states on the ha-bridge, using HEYU's state engine, which I run on cron every 30 minutes.  However, when the ha-bridge is restarted, it's device states are cleared.  I either have to execute a configured device on the ha-bridge that executes my python script or wait until the cron runs to update my X10 device states on the ha-bridge.  It would be nice to have the option to execute the ON, OFF or DIM Items of a select configured device on the ha-bridge when it loads.

I too use X10 and wrote a Windows based app to utilize the bridge.
It will work with the cm11,cm19, and cm15 as well as some third party controllers
The program will keep HA-Bridge alive (restart it if it stops) and reports what the bridge sees as On/Off/Dimmed (not just x10 devices)
I can see a need for this option

So, the question is do you want just the states updates or the states updated and the commands called?

For me just to have the bridge turn on or off a selected device on starting would be fine.
My app could update the rest on seeing that or do something else.

Just execute a device on start up for me, my script takes care of the rest as well.

@audiofreak9 I am finally implementing your request! Ha!

Patience is a virtue.

I can't for the life of me find the Execute select Device on startup?  I looked at the Bridge Control, and the devices themselves.  Where do I find it?

haha, the column on the bridge devices tab called startup, then click on that cell for the device you want to startup

Works like a charm!  This is awesome, thanks.

Just tested this as well with no issues.
Awesome! @bwssytems  A big thanks for this from me too!


fix: [Graphics] Fix light component API

PR Details
LightComponent.Light.Shadow is an abstract LightShadowMap shared across all light types, the light rendering logic expects specific combination of shadow types per light types. So, users could set LightPointShadowMapRendererCubeMap on a Directional Light for example, leading to unexpected rendering issue or exceptions.
This change ensures that each light's shadow can only be set to a supported shadow map type.
Motivation and Context
Fixes poor usage of inheritance and composition principles. There's more work on the XShadowMapRenderer side, but while that logic isn't that well written, it won't crash on us.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix
[ ] New feature
[x] Breaking change - users will no longer be able to set unexpected shadowmap types. Or reference DirectLightBase as that type has been removed, I could resurrect it as long as it doesn't implement IDirectLight, but it wouldn't be very useful then.

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] I have built and run the editor to try this change out.

I did a quick test to see if I could recreate the issue and it seems better right now.
Directional light has the proper Shadow map assigned

And spotlight also seems correct

Only thing I didnt test was if I were to add a new shadowmap if the dropdown would appear again. But I dont have a secondary I could test with, I guess I could just make a duplicated shadow map of one of these and see.

Thanks a bunch for reviewing @Kryptos-FR :)


Add pattern match to message object in convos

Adds the pattern matches to the message object when handling responses in conversations.
This information is passed along with the message much like it is done with pattern matching in hears, saving one additional call to message.text.match() when we want to know what exactly were the matching groups (when using regexes).

@mgontav thanks for making this change! We'll test this and then get back to you.

Thanks! Handy.


[Feature] Unit tests should support Gherkin table style inputs

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature
It would be really nice if it's possible to support input data for unit tests in a Gherkin data table compatible style See examples
| firstName   | lastName | birthDate  |
| Annie M. G. | Schmidt  | 1911-03-20 |
| Roald       | Dahl     | 1916-09-13 |
| Astrid      | Lindgren | 1907-11-14 |

Describe alternatives you've considered
No response
Who will this benefit?
We have business users who have very little tech skills, but do understand the data that goes into and should come out of the models. They already have experience with Gherkin scripts.
Additional benefit is that this is more readable to humans than json formatted string. Especially when there's a larger amount of columns in the inputs and outputs
Are you interested in contributing this feature?
No response
Anything else?
No response

Hi! Thanks so much for opening.

Additional benefit is that this is more readable to humans than json formatted string. Especially when there's a larger amount of columns in the inputs and outputs

This was a lot of our motivation on supporting the format: csv - have you given that format a try? I'd be curious to hear how you think Gherkin compares to csv. To me, they seem very similar (csv using ,, Gherkin using | as the delimiter between values), and we want to avoid supporting too many / redundant formats.

The csv could work, but it's hardly readable in it's current implementation. Especially as the number of attributes in a model increase the csv gets harder to read.
This gets hard to read:
firstName,lastName,birthDate
Annie M. G.,Schmidt,1911-03-20
Roald,Dahl,1916-09-13
Astrid,Lindgren,1907-11-14

Compared to the Gherkin table:
| firstName   | lastName | birthDate  |
| Annie M. G. | Schmidt  | 1911-03-20 |
| Roald       | Dahl     | 1916-09-13 |
| Astrid      | Lindgren | 1907-11-14 |

But I agree that csv could work with some minor tweaks. To increase the readability I tried adding whitespace in the hope it would get trimmed.
firstName       ,lastName     ,birthDate
Annie M. G.     ,Schmidt      ,1911-03-20
Roald           ,Dahl         ,1916-09-13
Astrid          ,Lindgren     ,1907-11-14

If trimming could be added it would prevent adding another input type but increase user friendliness. Perhaps a boolean to switch trimming on/off for cases where trimming is not desired.

That makes sense! I have an issue open to improve the readability of csv files here -> https://github.com/dbt-labs/dbt-core/issues/9280
I'll close this issue out in favor of that one :)


feat: add support for api gateway cloudwatch monitoring

#49  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @pevisscher and the rest of your teammates on  Graphite

Merge activity

Nov 7, 11:15 AM GMT+1: A user started a stack merge that includes this pull request via Graphite.


Fix XACML integration tests

This PR fixes and improves the already existing XACML test cases in EntitlementPolicyAdminServiceTestCase.java and adds it to testng.xml.
Done as a part of the effort:

https://github.com/wso2/product-is/issues/20000

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/9793221966

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/9793221966
Status: success


resize with white banding fails, stretches image

[100×80]  should maintain the aspect ratio and it doesn't.

was able to fix this with setExtents and setGravity, pull request coming soon.

Where is my pull request?

its there but it wont let me create a pull request without bringing in all my other changes surrounding multipage PDF thumbnails

It's called a branch.

couldn't figure out how to branch on github

lrn2cli