.npmrc is not matched by gulp.src

I'm trying to match all dotfiles with gulp.src. I've tried several options. I'm 95% sure these two should work to match all files, including dotfiles;
gulp.src('/path/to/my/files/**/{*,.*}')
gulp.src('/path/to/my/files/**/*', {dot: true})
Both patterns match all non-dotfiles, and some dotfiles, but some dotfiles are missing. Specifically, I've noticed that .npmrc files are missing. When my CWD contains an .npmrc, I see this output when I use gulp-debug to inspect the stream;
[12:10:56] file: /path/to/my/files/README.md
[12:10:56] file: /path/to/my/files/assets
[12:10:56] file: /path/to/my/files/auth.json
[12:10:56] file: /path/to/my/files/gulpfile.js
[12:10:56] file: /path/to/my/files/metadata.yml
[12:10:56] file: /path/to/my/files/package.json
[12:10:56] file: /path/to/my/files/views
[12:10:56] file: /path/to/my/files/.editorconfig
[12:10:56] file: /path/to/my/files/.npmignore
[12:10:56] file: /path/to/my/files/assets/fonts
[12:10:56] file: /path/to/my/files/assets/images
[12:10:56] file: /path/to/my/files/assets/scripts
[12:10:56] file: /path/to/my/files/assets/styles
[12:10:56] file: /path/to/my/files/assets/.gitkeep
[12:10:56] file: /path/to/my/files/views/index.hbs
[12:10:56] file: /path/to/my/files/views/layout.hbs
[12:10:56] file: /path/to/my/files/views/.gitkeep
[12:10:56] file: /path/to/my/files/assets/fonts/.gitkeep
[12:10:56] file: /path/to/my/files/assets/images/favicon.ico
[12:10:56] file: /path/to/my/files/assets/images/.gitkeep
[12:10:56] file: /path/to/my/files/assets/scripts/index.js
[12:10:56] file: /path/to/my/files/assets/scripts/.gitkeep
[12:10:56] file: /path/to/my/files/assets/styles/index.scss
[12:10:56] file: /path/to/my/files/assets/styles/.gitkeep

Here's my full gulp task, for reference;
gulp.task('default', function(done) {
  gulp.src(/path/to/my/files/**/{*,.*}')
    .pipe(debug({title: 'file:'}))
    .pipe(template(options))
    .pipe(gulp.dest('./' + options.siteSlug));
});

I've also checked my .gitignore and .npmignore files to make sure that there are no entries that would exclude an .npmrc file, although I don't know whether that would matter. I'm using npm v3.3.6 and node v5.0.0 Anyway, is there any particular reason that some dotfiles would be excluded in this case? Can you reproduce this issue?

Even gulp.src('/path/to/my/files/.npmrc') doesn't seem to match the .npmrc file.

For reference, ls -lhA in /path/to/my/files returns;
-rw-r--r--  1 Josiah  staff   114B Feb  3 16:49 .editorconfig
-rw-r--r--  1 Josiah  staff   147B Feb  3 16:49 .gitignore
-rw-r--r--  1 Josiah  staff    46B Feb  3 16:49 .npmrc
-rw-r--r--  1 Josiah  staff   729B Feb  3 16:49 README.md
drwxrwxr-x  8 Josiah  staff   272B Feb  3 16:49 assets/
-rw-r--r--  1 Josiah  staff   507B Feb  3 16:49 auth.json
-rw-r--r--  1 Josiah  staff   1.5K Feb  3 16:49 gulpfile.js
-rw-r--r--  1 Josiah  staff   249B Feb  3 16:49 metadata.yml
-rw-r--r--  1 Josiah  staff   620B Feb 10 10:24 package.json
drwxr-xr-x  5 Josiah  staff   170B Feb 10 10:24 views/

And gulp.src('/path/to/my/files/.editorconfig') does match the .editorconfig file.

It may be relevant that the contents of the .npmrc file I'm using are;
//registry.npmjs.org/:_authToken=${NPM_TOKEN}

If I rename the .npmrc file the ${NPM_TOKEN} breaks the stream with an error. But if I remove ${NPM_TOKEN} from .npmrc, the file still isn't picked up by gulp.src. So it seems like there are compounded issues at play here. The broken stream with a variable is easy enough to work around, so I'm going to focus on figuring out why an .npmrc file with any contents is not picked up.

This bit from the npm docs might be relevant:

NOTE: Because local (per-project or per-user) .npmrc files can contain sensitive credentials, they must be readable and writable only by your user account (i.e. must have a mode of 0600), otherwise they will be ignored by npm!

I'm not sure how that plays out in the grand scheme of how everything is executed.

It seems it is node-glob related issue.
'use strict'

var glob = require('glob')

glob('./*.*', function (err, res) {
  console.log(res)
})

@tunnckoCore I'm not sure if I understand what you're saying. That code doesn't seem to be related to .npmrc, unless I'm missing something. Other dotfiles are working fine.

Gulp relies on node-glob library and simple test as above shows that even just glob nto match the npmrc but the all of other dotfiles.

Oh, gotcha. Ok, I'll open an issue over there.

Hah, wait, i'm wrong.

Which gulp version you use? 3.9 or latest a.k.a. v4 ?

I'm actually using this in slush, which uses ~3.6.2 https://github.com/slushjs/slush/blob/master/package.json#L39

i think this is very bad, but it's their and yours decision.
Please try raw glup 3.9, or latest glob-stream like that
'use strict'

var glob = require('glob-stream')

var stream = glob.create(['./*.*'], {dot: true})
stream.on('data', console.log)

I think is something old issue, because all works for me with latest versions, but i don't know exactly.

Yep. Please upgrade gulp to 3.9.1

Hmm, I'll be digging into this more tomorrow, but I updated slush to use ^3.9.1 and my glob still isn't picking up .npmrc.

This picks up .npmrc;
'use strict'

var glob = require('glob-stream')

var stream = glob.create(__dirname + '/my/files/**/{*,.*}')
stream.on('data', console.log)

I'm not picking up .npmrc in my slushfile with the following installed globally;
$ npm ls --global --depth 1
/Users/Josiah/.nvm/versions/node/v5.0.0/lib
├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>
Here is my slushfile.js
var gulp = require('gulp');
var template = require('gulp-template');
var debug = require('gulp-debug');

var options = {....};

gulp.task('default', function(done) {
  gulp.src(__dirname + '/templates/site/**/{*,.*}')
    .pipe(debug())
    .pipe(template(options))
    .pipe(gulp.dest('./' + options.siteSlug));
});

Is there any way to log which version of gulp/glob/minimatch, etc is actually being used by my slushfile, so that I can track down where .npmrc might be excluded?

Is there any way to log which version of gulp/glob/minimatch, etc is actually being used by my slushfile

it's a slush question, ask them what they do or look directly at their code. From deps tree, i'm seeing that they have minimatch and glob, so they do something.
I'm almost sure, that the problem is from slush.
It looks pretty out-dated and pretty ugly.
Try some of the upcoming awesome @jonschlinkert projects generate, scaffold, templates, base, or assemble-core and etc. They are built on top of gulp tools and are pretty stable and up to date.
Otherwise, open issue on slush and hope they answer you, lol.

@josiahsprague I'm not sure if slush picks up gulp from the global (usually npm modules don't resolve that way).  Are you required to have a local gulp install to use slush?

Turns out that my problem was that I was installing my module before running the code, and npm install didn't carry over the .npmrc file from my original project directory. 🙈 Sorry everyone.

Glad you got to the bottom of it and thanks for following up!

I have met the same problem , I just want use gulp to move directories, but it will miss the file like .gitignore or .babelrc
here is my gulp code
gulp.src('source/**/*').pipe(gulp.dest('./dest/'))

@Krispomoho: Has been answered in your other issue: https://github.com/gulpjs/gulp/issues/1849


Index signature pattern with specific keys in an interface

Hi
I am trying to create an interface that will allow only specific strings as keys by using index signature but unable to do so. I am hoping it can be added in the next version.
Here is an example:
type RestrictedStyleAttribute = "color" | "background-color" | "font-weight";

interface IRestrictedStyle {
    [index: RestrictedStyleAttribute] : string
}

When I do what is above, I get An index signature parameter type must be 'string' or 'number'.
I don't want to use the type string for the index since I don't want any string to be a key in an object that implements IRestrictedStyle interface.
Since the type RestrictedStyleAttribute is a sub type of string, I think, it should be allowed and necessary checks should be made on compile.

Version: 2.3.0-dev.20170412
It seems type system does not work on index signature.
The following code will cause the same error:
type Key = string;
interface Dictionary<T> {
    [key: Key]: T;
}

type Index = number;
interface List<T> {
    [index: Index]: T;
    length: number;
}

Yes, it seems to expect either string or number explicitly without doing any inference about the index type.

OMG, yes! Thank you! That works with optional ? indicator.
type IRestrictedStyle = {
    [T in RestrictedStyleAttribute]?: string;
}

I think you can do string | undefined

let x:IRestrictedStyle = {}; is still valid when I do string | void.  Basically, I would like implementing object to have at least one of the keys.

@nozer
type A = { a: string };
type B = { b: string };
type C = { c: string };

type Mixed = (A | B | C);
type Result = Mixed & Partial<Mixed>;

// this will case error
const result1: Result = {};

// others are OK
const result2: Result = {
    a: 'a',
};

const result3: Result = {
    b: 'b',
};

const result4: Result = {
    a: 'a',
    b: 'b',
    c: 'c',
};

You'd likely need union types to do that (untested):
type IRestrictedStyle = {
  "color": string,
  [T in RestrictedStyleAttribute]: string | undefined,
} | {
  "background-color": string,
  [T in RestrictedStyleAttribute]: string | undefined,
} | {
  "font-weight": string,
  [T in RestrictedStyleAttribute]: string | undefined,
}

etc. I don't think there's a way to say that the object as at least one of those keys w/o saying it explicitly.

That is a bit too long. I could do this for example:
interface ColorAttr {
    color: string
}
interface BgColorAttr {
    'background-color': string
}
interface FontWeightAttr {
    'font-weight': string
}

type IRestrictedStyle = ColorAttr | BgColorAttr | FontWeightAttr;

I am not saying there is not any way to do it. I am merely suggesting a simpler way to express it in the next version.

@nozer
interface ColorAttr {
    color: string
}
interface BgColorAttr {
    'background-color': string
}
interface FontWeightAttr {
    'font-weight': string
}

type IRestrictedStyle = ColorAttr | BgColorAttr | FontWeightAttr;

const style: IRestrictedStyle = {
    color: 'color',
    'background-color': 123, // this wont be an error, since it just has to be one of those
};

@ikatyang  Waow, that is interesting. Thanks for pointing that out.

https://github.com/Microsoft/TypeScript/issues/5683#issuecomment-260430159

@ikatyang
An unrelated question, how can I have a type that is only one of the specified types?
For example:
type Image = {image: string};
type Formula = {formula: string};
type Video = {video: string};

type Insert = .....  // must be only one of those 3 above.

What needs to be done to make Insert one of the Image Formula Video types?


Error message when computer starts up and tries to launch the application

Does that happen every time?  I think OotD may be trying to startup before Outlook is ready to be loaded.

See here for a possible fix:  [https://support.microsoft.com/en-us/kb/870655]


Initial version of the website

[x] Explain what this community is about
[x] CTA to join the meetup group
[x] Logo
[ ] Favicon
[x] Analytics

Good inspiration: https://while42.org

Done with #2


ci: Update GitHub Actions to latest versions

Pull Request

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

#171  👈
main

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

Join @JackPlowman and the rest of your teammates on  Graphite

Merge activity

Oct 29, 4:19 AM EDT: A user merged this pull request with Graphite.


Missing sub-byte emulation support for memref.alloca

@Max191 reports the issue this morning. The emulation is missing at this moment. It should be as same as what has been done for memref.alloc.
https://github.com/llvm/llvm-project/blob/9ef829097bbc4cf908698e3891af11a154e1d3e2/mlir/lib/Dialect/MemRef/Transforms/EmulateNarrowType.cpp#L59
Assigning it to @Max191 for now. If you are not working at it, please reassign it to @saienduri

I have a patch that adds support for this. I am triaging some other issues that came up at the moment, but I can try to send it out tomorrow.

Nice, thanks for pushing on this!


Add hack & test scripts

Changes

:gift: Initialize go module
:gift: Add hack scripts
:gift: Add test scripts
:gift: Add Codecov config
:gift: Add .gitignore
:gift: Add Go lint config
:gift: Add license file
:gift: Add code of conduct file

@rhuss maybe we should bring in the owners and owners_aliases manually to play nicely with merge bot?

@rhuss maybe we should bring in the owners and owners_aliases manually to play nicely with merge bot?

Good point, let me try to remember how this is done :-)

/approve
/lgtm


Enforce the scancode.py to check the headers of .conf files

Scancode.py needs to verify the .conf files to make sure they contain the correct license headers.

@houshengbo This issue can be easily fix. Yet we also have some files under other repositories with .conf as the suffix. If we force the header scan too to scan .conf files, we need to add headers to those files. Do we really want to do that? I think we don't need to include these files in the header scan because they are configuration files.
  openwhisk-runtime-php/tests/src/test/resources/application.conf
  openwhisk/core/invoker/src/main/resources/application.conf
  openwhisk/core/controller/src/main/resources/application.conf
  openwhisk/core/controller/src/main/resources/reference.conf
  openwhisk/common/scala/src/main/resources/logging.conf
  openwhisk/common/scala/src/main/resources/application.conf
  openwhisk/common/scala/src/main/resources/reference.conf
  openwhisk-runtime-nodejs/tests/src/test/resources/application.conf
  openwhisk-runtime-swift/tests/src/test/resources/application.conf
  openwhisk-runtime-java/tests/src/test/resources/application.conf
  openwhisk-runtime-docker/tests/src/test/resources/application.conf
  openwhisk-runtime-python/tests/src/test/resources/application.conf

Closing as outdated.


Sqlite

@jkost Would it be possible for you to create a pull request against the 'develop' branch? If not, I can manually pull in your PR to the develop branch but then we will lose the information that you've created them.

Some of the classes could be manually merged to create Sqllite support

Hallo Per-Ake,
sorry for not contributing much the last year. I was busy with other
things. I have never managed to make it work.
I 'll try in the evening or tomorrow to download the latest version,
because with previous versions I got stuck.
If I manage to make it work, then I 'll continue with another schema-less
DB, HSQLDB.
Thanks.
John.
On 31 October 2017 at 04:56, Per-Åke Minborg<EMAIL_ADDRESS>wrote:

Some of the classes could be manually merged to create Sqllite support
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/speedment/speedment/pull/185#issuecomment-340653041,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAaaYLA8Cyi_Lc1zBa3M0mDv5fsYO_ceks5sxpp9gaJpZM4ILA2S
.

Hallo Per-Ake,
it's been sometime I haven't worked on the project. Version 3.0.0 returns:
git branch -a

master
remotes/origin/HEAD -> origin/master
remotes/origin/develop-2.3
remotes/origin/develop-3.0
remotes/origin/develop-3.1
remotes/origin/feature-advanced-ui
remotes/origin/feature-crud-streams
remotes/origin/feature-java9
remotes/origin/feature-jigsaw
remotes/origin/feature-nosql
remotes/origin/feature-plugrender
remotes/origin/feature-transaction2
remotes/origin/feature-transaction3
remotes/origin/feature-transactions
remotes/origin/master

In version 2.3.0 which I had done my changes in, I had created my own
branch sqlite:
git branch -a
dev
master

sqlite
remotes/origin/HEAD -> origin/master
remotes/origin/develop
remotes/origin/develop-advanced-gui
remotes/origin/develop-crud-streams
remotes/origin/develop-modules
remotes/origin/develop-nosql
remotes/origin/develop-transactions
remotes/origin/master

and I had done a number of changes:
modified:   pom.xml
modified:   src/main/java/com/speedment/db/DbmsHandler.java
modified:

src/main/java/com/speedment/internal/core/config/dbms/StandardDbmsType.java
modified:
src/main/java/com/speedment/internal/core/db/AbstractRelationalDbmsHandler.java
modified:
src/main/java/com/speedment/internal/ui/controller/SceneController.java
New classes:
src/main/java/com/speedment/config/db/mapper/identity/NumericIdentityMapper.java
src/main/java/com/speedment/internal/core/config/dbms/SqliteDbmsType.java
src/main/java/com/speedment/internal/core/db/SqliteDbmsHandler.java
src/main/java/com/speedment/internal/core/manager/sql/SqliteSpeedmentPredicateView.java
So, when you say to develop a PR to the 'develop' branch, which 'develop'
branch exactly?
remotes/origin/develop-2.3
remotes/origin/develop-3.0
remotes/origin/develop-3.1
I 'd like to keep sqlite branch (and hsqldb branch), but I 'll clone from
develop-2.3 and try develop-3.0, too, to see if it makes my life easier.
Hope I didn't misunderstand you.
Thanks.
John.
On 31 October 2017 at 11:18, John Kostaras<EMAIL_ADDRESS>wrote:

Hallo Per-Ake,
sorry for not contributing much the last year. I was busy with other
things. I have never managed to make it work.
I 'll try in the evening or tomorrow to download the latest version,
because with previous versions I got stuck.
If I manage to make it work, then I 'll continue with another schema-less
DB, HSQLDB.
Thanks.
John.
On 31 October 2017 at 04:56, Per-Åke Minborg<EMAIL_ADDRESS>wrote:

Some of the classes could be manually merged to create Sqllite support
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/speedment/speedment/pull/185#issuecomment-340653041,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAaaYLA8Cyi_Lc1zBa3M0mDv5fsYO_ceks5sxpp9gaJpZM4ILA2S
.

@jkost Great news.  So if I could update you a bit, there is a new module in Speedment called "connector-parent" which now contains only an H2 connector (which is not working but work in progress). See https://github.com/speedment/speedment/tree/develop-3.0/connector-parent
Please create new module(s) for the database type(s) you are contributing with. So you could take the H2 module and copy it and work with it from there.
It is best if you just start from the branch develop-3.0 and copy in any work you have previously done. Since 2.x, there were many changes. Also, please create you PRs against the develop-3.0 branch.
Thanks! /Per

Hallo. I 've spent some time trying to figure out why I get this error:
Execution default-cli of goal com.speedment:speedment-maven-plugin:3.0.19-SNAPSHOT:tool failed: The database type SQLite is not registered with the DbmsHandlerComponent
I don't know what is missing. Any help/hints is/are appreciated.
`On branch develop-3.0
Changes to be committed:
(use "git reset HEAD ..." to unstage)
new file:   archetype-parent/speedment-archetype-sqlite/src/main/resources/META-INF/maven/archetype.xml
new file:   archetype-parent/speedment-archetype-sqlite/src/main/resources/archetype-resources/pom.xml
new file:   archetype-parent/speedment-archetype-sqlite/src/main/resources/archetype-resources/src/main/java/Main.java
new file:   connector-parent/sqlite/pom.xml
new file:   connector-parent/sqlite/src/main/java/com/speedment/connector/sqlite/SqliteBundle.java
new file:   connector-parent/sqlite/src/main/java/com/speedment/connector/sqlite/SqliteComponent.java
new file:   connector-parent/sqlite/src/main/java/com/speedment/connector/sqlite/internal/SqliteComponentImpl.java
new file:   connector-parent/sqlite/src/main/java/com/speedment/connector/sqlite/internal/SqliteDbmsMetadataHandler.java
new file:   connector-parent/sqlite/src/main/java/com/speedment/connector/sqlite/internal/SqliteDbmsOperationHandler.java
new file:   connector-parent/sqlite/src/main/java/com/speedment/connector/sqlite/internal/SqliteDbmsType.java
new file:   connector-parent/sqlite/src/main/java/com/speedment/connector/sqlite/internal/SqliteSpeedmentPredicateView.java
new file:   connector-parent/sqlite/src/main/java/com/speedment/connector/sqlite/package-info.java
new file:   runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/internal/db/sqlite/SqliteDbmsMetadataHandler.java
new file:   runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/internal/db/sqlite/SqliteDbmsOperationHandler.java
new file:   runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/internal/db/sqlite/SqliteDbmsType.java

Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)
modified:   archetype-parent/README.md
modified:   archetype-parent/pom.xml
modified:   archetype-parent/speedment-archetype-sqlite/src/main/resources/META-INF/maven/archetype.xml
modified:   archetype-parent/speedment-archetype-sqlite/src/main/resources/archetype-resources/pom.xml
modified:   build-parent/maven-plugin/pom.xml
modified:   connector-parent/h2/src/main/java/com/speedment/connector/h2/internal/H2ComponentImpl.java
modified:   connector-parent/pom.xml
modified:   connector-parent/sqlite/pom.xml
modified:   connector-parent/sqlite/src/main/java/com/speedment/connector/sqlite/SqliteComponent.java
modified:   connector-parent/sqlite/src/main/java/com/speedment/connector/sqlite/internal/SqliteComponentImpl.java
modified:   connector-parent/sqlite/src/main/java/com/speedment/connector/sqlite/internal/SqliteDbmsType.java
modified:   runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/internal/db/StandardDbmsTypes.java
modified:   runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/internal/db/sqlite/SqliteDbmsMetadataHandler.java
modified:   runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/internal/db/sqlite/SqliteDbmsOperationHandler.java
modified:   runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/internal/db/sqlite/SqliteDbmsType.java

Untracked files:
(use "git add ..." to include in what will be committed)
archetype-parent/speedment-archetype-sqlite/pom.xml
tool-parent/tool-core/src/main/json/

`

Hi @jkost !
Great to see you again. I think the best thing would be to manually copy your files into the latest version of the branch of develop-3.0. New database support files now goes into a separate module named connector-parent as I can see that you have understood. Great!
If you want your new DbmsType to work, you need to install it with the DbmsHandlerComponent. You can see how this is done in the class RuntimeBundle


useTranslation hook does not allow an array of namespaces

Describe the bug
In the i18next documentation, it says you're allowed to pass an array of namespaces to the useTranslation hook. However, when imported directly from  next-i18next per the README, it only grabs the first value in the array and ignores everything else.
Planning on opening a PR probably next week or so when my time frees up, but in case anyone beats me to it, I figured I should document the behavior.
Occurs in next-i18next version
Only tested in 8.1.2
Steps to reproduce

Create a brand new Next app
Add `next-i18next to the install
Add at least two namespaces i.e. common and homepage
Add an array to the useTranslation hook, like const { t } = useTranslation(["common", "homepage"]);
Anything in common will be translated, but not anything in homepage. You can swap positions and the opposite will be true.

Or
Clone my example repo
Expected behaviour
Both namespaces would be utilized.
Screenshots

OS (please complete the following information)
Latest Chrome on Windows 10
Sidenote
Unrelated to this issue, but also included in the example repo, I was trying to recreate the issue I mentioned a few days back when doing an inline conditional. I figured out it's only while using the useUser client hook on the official Auth0 Nextjs SDK. It's a bit odd. If I use the hook with only user, const { user } = useUser(); and use the {user ? <ButtonOne /> : <ButtonTwo /> conditional logic, I get the i18 instance error. Even more odd, {!user ? <ButtonTwo /> : <ButtonOne />} works without issue.
I assume this means there are probably other use cases / libraries / etc. where an unresolvable promise during the server render process would similarly cause issues.
If I use error and isLoading as a sort of catch, it works perfectly. This is what I'm doing for now.
e.g.
const { user, error, isLoading } = useUser();

if (error) return
failed to load
;
if (isLoading) return
loading...
;

return (
{user ? (
  <Button>{t('dashboard')</Button>
) : (
  <Button>t('login')</Button>
)}

I assume there's some weird state where user is an unresolved Promise or something to that effect that's causing the issue. For now, I've added the error and isLoading catch since I didn't have time to go on a deep dive over the weekend. Will try to dig deeper later.

Weird... We are exporting useTranslation directly from react-i18next. I'm not sure what to make of your useUser example, but are we sure that the useTranslation issue is related to next-i18next?

@austinhale Let me know if you have any update on this. As we export useTranslation without any form of mutation, I highly doubt this is a next-i18next bug.

@austinhale @isaachinman it works, please read the documentation carefully :)
// load multiple namespaces
// the t function will be set to first namespace as default
const { t, i18n } = useTranslation(['ns1', 'ns2', 'ns3']);
t('key'); // will be looked up from namespace ns1
t('ns2:key'); // will be looked up from namespace ns2

My bad. Thank you @alexsimkovich 🙏


V3 Release

Description
Release updates for V3

docs, readme, etc
minor update for button text

#74, #75, #54
How Has This Been Tested?
Tested in Figma in development and beta widgets.

While prepping this branch for release, two bugs were discovered.

Users could not delete content from an update, leaving the field blank. The previous content would reappear. This is fixed.
Users could add more than 8 links after the edit flow switch. This has been fixed and users can only add a total of 8 links between saved and unsaved. There are now two lists, one for saved and one for unsaved and when deleting the correct link to removed.


npm publish before push to repo?

Oh yea, regarding order, should npm publish work and then we push changes? That seems a good order, no?

Sorry I missed this comment on a previously closed issue (#10). It's a good question. I think the idea was if the code didn't get pushed to the repo, we shouldn't publish to npm, but I'm definitely open to reasoning about the other way around @ericclemmons.

You know what, pushing to Github makes more sense. That should be a requirement for npm publish since Github is our source of truth, not NPM.
Thanks for making me think about it!


HTTP Error 403: Forbidden

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Do you please have any idea how to download this video: https://vod-akm.play.hotmart.com/video/Pq022WrDZX/hls/master-t-1705660114001.m3u8?hdnts=st%3D1709893359~exp%3D1709893859~hmac%3Da726f773541db490db3ac7c34507c2e5da26492fa56814a2dac6328d8be8fe19&app=aa2d356b-e2f0-45e8-9725-e0efc7b5d29c
Thank you  very much in advance.
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

Review #8397.


Crashes while jailbreaking

Its the 15. time i clicked on the jailbreakbutton but it always crashes between package 27 and 36. And then a restart last about 5 to 7 minutes.
Iphone X / A11 / v.12.1.2 / unc0ver b30

try turn on airplane mode
turn off siri
run rootfs restore
then try to jailbreak again

After i posted this my phone rebooted again and the little shutdown wheel stopped. Now its stuck there since 40min. what to do? :(
Wait for the battery is not good was barely full.

@Marcel8x8 try to force restart your device
make sure before jailbreak you have delete OTA file from setting - general - iphone storage then restart your device again.
then switch on airplane mode, turn off siri, run rootFS (switch on restore rootFS-recover from unc0ver setting) after success restore rootFS device will go restart.
then keep airplane mode on and siri off, clear all apps from apps switcher and wait for 1-2 minutes with keep unc0ver apps open and hit jailbreak.
hope you luck.

yes sure thanks but i can't restart my device now its just stuck.

ok thanks man i just did my hard restart wrong i pressed all buttons together.
I had to click and leave up button the same with down button and then press and hold the power button. now it restarted without a problem.


Transilotion go tour to other languages

Hi, I send message to<EMAIL_ADDRESS>but no one responds me this is my message:

Hi, I want to translate the go tour to my native language I have finished the first page of the tour and I want to check if everything is good so when I want to deploy the website to app engine, it's asking me for money and even when I want to get 90 days free trial my credit card been rejected! (maybe this off topic) also and I don't know how to deploy the website to app engine, it's confusing
so can you please give instructions to deploy the website the right way and for free
because that is what you say "This shouldn't cost you anything; the Tour App usually runs inside App Engine's free quota."
in https://github.com/golang/website/blob/master/tour/TRANSLATE
Thank you

other qustion is  why you don't just add it to the original golang website I mean like any other website the translation are in the same repository?

While the tour may run within GCP's free limits, you still need an active account with billing information attached (that's GCP policy).
Translations are unofficial and maintained by external contributors, they may not always be up to date, and it seems better maintained by people who understand the language.


Add pre-commit autoupdate workflow

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (57e42eb) to head (56c61c9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #90   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        11
  Lines          368       368
  Branches        44        44
=========================================
  Hits           368       368

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Chore/remove logger

after thinking more about this and talking with @namesty, @nerfZael and @Niraj-Kamdar - we decided to let the interface and plugin (for now) in the monorepo. so will re-open the previous PR again
sorry for the inconvenience


Update AuthenticationStateMachine.swift to permit XOAUTH2 Gmail connections

Permit connections via AUTH XOAUTH2 (for Gmail) by having the client continue on responses rather than throwing.
Motivation:
In the current version, after submitting a AUTHENTICATE XOAUTH2 command with an InitialResponse, the client will hang and never process its result nor continue. This change permits the client to process the response and continue with operations, which lets OAUTH connections to Gmail work.
Modifications:
I have proposed making the .untagged case follow the .tagged case, rather than .fatal etc.
Result:
This lets connections to Gmail imap work.
I would like to add that the motivation behind the current system is not completely understood by me and this proposed fix is no doubt not the only way to achieve a fix. I would like to draw attention to this issue (Gmail does not work with swift-nio-imap, as far as I could figure out), and provide one possible solution.

@stephengoodman Is this something you could create a test case for? That’d be awesome.

Hey @stephengoodman thanks for the patch! Would you be able to provide a little more information on how this works, could be a link to a webpage or something...?

Is this related to #555 ?

Fixing this in #743.


Feature Suggestion: Anvil Can Remove Enchantments.

It would be nice if i could remove the enchantments off loot armor and place it in books.
This sounds like a nice feature for everyone. Not abilities like empowered, just regular enchantments.

Ender IO Addons has a machine that does this.

I thought it would be a nice feature for the anvil to be able to remove enchantments off "any" item and place them into a book. Since my enchantments go up to example Sharpness X in survival. I really liked the anvil level increase config, Thanks thou.
Quote from Ender io addons page."Please note that this is not an universal recycler. It only processes vanilla and Ender IO tools, weapons and armor However, it also strips the enchantments off those items."


UE4 Crash when using "Get section from static mesh" in 4.16.3

All is in the title. there is no way to use that node in 4.16.3

I've got the same issue and I blamed myself for using it incorrectly. Was I?
I ended up using Copy Runtime Mesh from Static Mesh Component but now I'm puzzled as to how I can access the geometry data from it. I do need to modify it, after all.

Hello,
All existing issues for RMCv2 are being closed as RMCv2 is no longer being supported.  RMCv3 is in beta here : https://github.com/Koderz/RuntimeMeshComponent/tree/Version3Dev
If you encounter this or any new issues in v3 please feel free to open a new issue!
Thanks!
-Koderz


add run export; rerender

Checklist

[X] Used a fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[X] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/libmagic this PR adds a run_exports .  not quite sure what the right max_pin should be.

@conda-forge-admin please rerender


Filtering Queued Experiments

It appears that queued experiments no longer drop metrics from their records:

This has some implications for filtering within the extension. We previously bypassed filtering queued experiments on metrics with this simple workaround: https://github.com/iterative/vscode-dvc/pull/1732
These experiments will now be filtered based on the incorrect(?) metrics that they display.
@dberenbaum is this a bug in DVC or expected? Should we care about working around this in a different way?

🤔 I can't recall that we were ever doing this intentionally, although it makes sense. @daavoo @pmrowla Do you remember this or know if anything changed?

Queued experiments technically do have metrics (assuming that a metrics file from a previous repro or exp run exists in the workspace at the time the user queues the experiment). We used to manually drop metrics values at the exp show CLI UI level, this probably got lost when we implemented the caching + new json format.
If it's preferred that we drop them in DVC before returning the json output we can do that, but I'm not actually sure whether or not we should have been doing it in the first place (since the queued exp can actually contain prior existing metrics values)

We used to manually drop metrics values at the exp show CLI UI level, this probably got lost when we implemented the exp show caching + new json format.

Can we go back to this? Were we ever dropping them from json output? Not sure how else metrics were being dropped before in the VS Code extension otherwise. If we do it in the CLI, I think it would be good to drop them in json also if it's not a ton of effort.

They were dropped from the old json output because the old json output was based on the CLI output (and not the actual underlying data).
It should also be noted that dropping the values makes exp show inconsistent with dvc metrics show <queued exp> - dvc metrics will always output the underlying values (and not drop them for queued exps)

It should also be noted that dropping the values makes exp show inconsistent with dvc metrics show <queued exp> - dvc metrics will always output the underlying values (and not drop them for queued exps)

This was already the case before, right? I don't feel strongly about whether it should be in json or if vs code should just drop metrics for any queued experiments. I can see how it's awkward to see them for queued experiments, though.

This was already the case before, right? I don't feel strongly about whether it should be in json or if vs code should just drop metrics for any queued experiments. I can see how it's awkward to see them for queued experiments, though.

Yes, this was always the case before.

Thanks @pmrowla! Not sure if this is the "right" behavior, but at least it gets us back to where we were for now.


 It even stays zoomed when switching back to clock face or any other menu.
Gear S3 Frontier

I think that it's caused by hardware limitations. the intellicast is too heavy. I will report this issue to tizen platform team.
Thank you.


Manipulators cleanup

Fixes some issues from the last refactor

Hey, @alisterburt . Sorry, this PR got a little big, but I think it's ready for review. I've:

converted all of our manipulators to use our ThreeDeeModel
Made sure the widgets are properly generated
Exposed all of our widgets as plugins
Update the dock widget tests (we now have some "real" tests)


Confusing exception with GET methods and request bodies

If a method is defined with http_method GET and the method has a message or resource container as the request body, and that request body has fields which aren't in the resource container, a strange and confusing exception arises.
Repro by cloning https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/appengine/standard/endpoints-frameworks-v2/echo/main.py and changing 'POST' to 'GET'
    descriptor = self.get_openapi_dict(services, hostname)
  File "/usr/local/google/home/rhd/appflex/python-docs-samples/appengine/standard/endpoints-frameworks-v2/echo/lib/endpoints/openapi_generator.py", line 1011, in get_openapi_dict
    return self.__api_openapi_descriptor(services, hostname=hostname)
  File "/usr/local/google/home/rhd/appflex/python-docs-samples/appengine/standard/endpoints-frameworks-v2/echo/lib/endpoints/openapi_generator.py", line 915, in __api_openapi_descriptor
    security_definitions)
  File "/usr/local/google/home/rhd/appflex/python-docs-samples/appengine/standard/endpoints-frameworks-v2/echo/lib/endpoints/openapi_generator.py", line 726, in __method_descriptor
    path)
  File "/usr/local/google/home/rhd/appflex/python-docs-samples/appengine/standard/endpoints-frameworks-v2/echo/lib/endpoints/openapi_generator.py", line 589, in __request_message_descriptor
    method_id)
  File "/usr/local/google/home/rhd/appflex/python-docs-samples/appengine/standard/endpoints-frameworks-v2/echo/lib/endpoints/openapi_generator.py", line 543, in __params_descriptor
    params.append(self.__body_parameter_descriptor(method_id))
  File "/usr/local/google/home/rhd/appflex/python-docs-samples/appengine/standard/endpoints-frameworks-v2/echo/lib/endpoints/openapi_generator.py", line 365, in __body_parameter_descriptor
    self.__request_schema[method_id])
KeyError: 'echo.echo'

@kryzthov Recording the issue you found so it can be improved.

I have the same error using endpoints_proto_datastore
@Bicycle.method(request_fields=('id',),
                path='bikes/{id}', http_method='GET',
                name='bikes.get')
    def bikes_get(self, bike):
        if not bike.from_datastore:
            raise endpoints.NotFoundException('Bicycle (%s) not found.' % (bike.id,))
        return bike

Error
Traceback (most recent call last):
  File "lib/endpoints/endpointscfg.py", line 31, in <module>
    main(sys.argv)
  File "C:\Users\Danier\Projects\bikestore\lib\endpoints\_endpointscfg_impl.py", line 634, in main
    args.callback(args)
  File "C:\Users\Danier\Projects\bikestore\lib\endpoints\_endpointscfg_impl.py", line 487, in _GenOpenApiSpecCallback
    application_path=args.application)
  File "C:\Users\Danier\Projects\bikestore\lib\endpoints\_endpointscfg_impl.py", line 332, in _GenOpenApiSpec
    application_path=application_path)
  File "C:\Users\Danier\Projects\bikestore\lib\endpoints\_endpointscfg_impl.py", line 214, in GenApiConfig
    services, hostname=hostname))
  File "C:\Users\Danier\Projects\bikestore\lib\endpoints\openapi_generator.py", line 1028, in pretty_print_config_to_json
    descriptor = self.get_openapi_dict(services, hostname)
  File "C:\Users\Danier\Projects\bikestore\lib\endpoints\openapi_generator.py", line 1014, in get_openapi_dict
    return self.__api_openapi_descriptor(services, hostname=hostname)
  File "C:\Users\Danier\Projects\bikestore\lib\endpoints\openapi_generator.py", line 918, in __api_openapi_descriptor
    security_definitions)
  File "C:\Users\Danier\Projects\bikestore\lib\endpoints\openapi_generator.py", line 729, in __method_descriptor
    path)
  File "C:\Users\Danier\Projects\bikestore\lib\endpoints\openapi_generator.py", line 592, in __request_message_descriptor
    method_id)
  File "C:\Users\Danier\Projects\bikestore\lib\endpoints\openapi_generator.py", line 546, in __params_descriptor
    params.append(self.__body_parameter_descriptor(method_id))
  File "C:\Users\Danier\Projects\bikestore\lib\endpoints\openapi_generator.py", line 367, in __body_parameter_descriptor
    self.__request_schema[method_id])
KeyError: 'bikestore.bikes.get'

endpoints_proto_datastore is not a supported project, but I do intend to fix the original issue soon.

Hi @inklesspen
I can confirm the issue with endpoints_proto_datastore yielding the key error. Easily reproduced by following the simple_get example.  We spent a bunch of time troubleshooting this and another issue related to custom ndb properties before deciding to use endpoints framework directly.
While I can appreciate that endpoints_proto_datastore is not an official part of endpoints, it is promoted directly from the from the docs.
Not sure who maintains the site, but it would probably save people time and frustration to make a note of current issues or remove the recommendation.
Cheers

I have exactly the same problem .. any improvement soon ?

There is a workaround; do not have request body fields in GET requests.

We also have exactly the same problem. So you suggest as a workaround change al GET request to POST requests? For a temporary workaround in development it will be sufficient, but for production it's a no-go for my team. Is it likely to be resolved soon?

Can you explain why is this a no go for your team?

GET requests are not supposed to have request bodies.

Well maybe I don't understand it correctly. I have a annotation like:
@ExampleModel.method(
request_fields=('playerId',),
path='example/stats/{playerId}',
http_method='GET',
name='example.stats',
user_required=True)
When I generate the openapi spec I get KeyError: 'api.example.stats'. Did I do something wrong?

@truepants, that would be a different problem entirely; this issue is about exceptions that occur while handling GET requests that contain request bodies.
Please open a new issue with your full traceback and the code which reproduces it, and I can have a look.

However please note that endpoints_proto_datastore is not supported by this team.

Thanks for the quick response. I will create a new issue.


Ability to add db tags to use pgx struct scanning

I am using pgx together with jet, and currently to be able to scan rows into structs I have to use AS method and write all the columns instead of using AllColumns, example:
	stmnt := ResidenceInformations.SELECT(ResidenceInformations.City.AS("City"),
		ResidenceInformations.Country.AS("Country"),
		ResidenceInformations.PostalCode.AS("ZipCode"),
		ResidenceInformations.Address.AS("Address"),
		ResidenceInformations.UserID.AS("UserID"),
	).
		WHERE(ResidenceInformations.UserID.EQ(String(id))).
		LIMIT(1)
	sql, args := stmnt.Sql()
	rows, err := as.db.Query(context.Background(), sql, args...)
	if err != nil {
		return nil, err
	}
	defer rows.Close()
	residentialAddress, err := pgx.CollectOneRow(rows, pgx.RowToStructByName[model.ResidenceInformations])

Since to use RowToStructByName pgx functionality the resulting SQL has to match the name of the struct field or it needs a db tag to map the data into the struct.
Therefore it would be very nice to support  db tags to delete a lot of this code.

This is already supported, using generator customization - https://github.com/go-jet/jet/wiki/Generator#generator-customization.

Hi @WilliamSoler, check this issue - https://github.com/go-jet/jet/issues/364. When this issues is resolved you should be able to write:
	stmnt := ResidenceInformations.SELECT(ResidenceInformations.AllColumns.As("")).
		WHERE(ResidenceInformations.UserID.EQ(String(id))).
		LIMIT(1)

With the release v2.12.0 table aliases can now be omitted from ColumnList and ProjectionList by passing an empty string to the As method (wiki)


1.x EIPManager: if instance is not associated with one EIP, do not try to unbind

Instead, throw exception
Reason: DescribeAddressRequest with null public ip returns list of all public address
If instance is not associated with one eip, Eureka will dissociate first ip on list which does not belong to the instance

Quick check using python awscli

aws ec2 describe-addresses --public-ips | jq '.Addresses[0]'
{
"InstanceId": "i-xxxxx",
"PublicIp": "xxx.xxx.xxx.xxx",
"Domain": "standard"
}

NetflixOSS » eureka » eureka-pull-requests #589 SUCCESS
This pull request looks good

@hieurl thanks for the pull. Looking at the change, unbindEIP() is currently really used at shutdown time, so a more optimized behaviour when unbindEIP() is called when no EIP is bound, is to perhaps log.info() and then just return from the function, instead of throwing an RuntimeException. What do you think?

@qiangdavidliu seem reasonable to me. I'm going to push a commit.

NetflixOSS » eureka » eureka-pull-requests #592 SUCCESS
This pull request looks good

@hieurl thanks for the contribution.


Implement the driver registration API in doc/UnitTestOwnership.md.

As described in #355, I intend to remove the use of thread-local storage in libtock_unittest. That requires giving fake::SyscallDriver implementations a reference that allows them to schedule upcalls. This PR adds that reference, and updates the fake::SyscallDrivers to use it.

bors r+


Grammar nits

We need to make a decision on srml_contract vs. srml_contracts.

I agree that we need to decide on contract vs contracts. I don't have an opinion about which we choose. But both the file name and the doc comments, use the singular. After this PR the docs use plural.
https://github.com/paritytech/substrate/blob/v1.0/srml/contract/src/lib.rs#L17

I agree that we need to decide on contract vs contracts. I ~don't have an opinion about which we choose~ have a slight preference for plural. Both the code directory and the doc comments, use the singular. After this PR the docs use plural.
https://github.com/paritytech/substrate/blob/v1.0/srml/contract/src/lib.rs#L17

The v1.0 branch uses contract and master uses contracts. I'd say use contracts here to avoid rework when we upgrade to v2.0. Obviously use "contract" in links where necessary.


Add support for macOS

Add Install-GraphViz logic for macOS and modify Export-PSGraph to find
unix executable

Thank you for taking care of that.


gdscript: use correct error for unused bind match, suppress with underscore

Code:
func _ready() -> void:
	var x := {"a": "b"}
	match x:
		{"a": var a}:
			pass
	match x:
		{"a": var _a}:
			pass

Before:
W 0:00:00:0452   The variable 'a' was used but never assigned a value.
  <C++ Error>    UNASSIGNED_VARIABLE
  <Source>       scene.gd:6
W 0:00:00:0452   The variable '_a' was used but never assigned a value.
  <C++ Error>    UNASSIGNED_VARIABLE
  <Source>       scene.gd:9

After:
W 0:00:00:0451   The local variable 'a' is declared but never used in the block. If this is intended, prefix it with an underscore: '_a'
  <C++ Error>    UNUSED_VARIABLE
  <Source>       scene.gd:6

Thanks!


chore(deps): update terraform terraform-ibm-modules/landing-zone/ibm to v4.4.5

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/landing-zone/ibm (source)
module
patch
4.4.4 -> 4.4.5

Release Notes

terraform-ibm-modules/terraform-ibm-landing-zone (terraform-ibm-modules/landing-zone/ibm)
v4.4.5
Compare Source
Bug Fixes

added lifecycle change ignore on the kube version to prevent possible destructive changes. Cluster version updates should be done outside of terraform. (#502) (1c0be4c)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

GitHub release
v1.2.0

Your semantic-release bot :package::rocket:


✨ refactor IN conditions

IN is currently implemented using python set operations, whilst this is significantly faster than the arrow containment tests, queries which use IN conditions are amongst the slowest running queries.
Some manual experimentation with rewriting queries shows that it takes very few items in the IN condition for it to be faster to dynamically create a new table and perform an INNER JOIN. A user query with about 30 items in the IN list had a runtime of over 5 minutes working through a dataset of approx 6 million records, reduced to under 20 seconds when rewritten to use INNER JOIN UNNEST.
The IN condition should be planned as a JOIN, this may be part of the logical planner, as this would likely be a significant step toward implementing IN SUBQUERY again.

ORed conditions can be rewritten using UNION e.g.:
SELECT * FROM table WHERE id < 10 OR name IN (SELECT name FROM colleagues)

can be rewritten as:
-- Part 1: Handling id < 10
SELECT * FROM table WHERE id < 10

UNION

-- Part 2: Rewriting the IN subquery as a JOIN
SELECT table.* FROM table
JOIN colleagues ON table.name = colleagues.name

rewriting the IN condition has improved performance and this isn't as important as it was previously,


Allow access to controller variables from custom_data_method

Related to #237
When logging custom data, we'd like access to controller instance variables. This change lets the lambda be evaluated in the context of the controller, which gives access to its variables and methods.
Additionally, it's often useful to specify custom data at the controller level, rather than via a global initialiser. So there's support for this via the following proposed syntax:
include Rollbar::Rails
on_exception_log_values :@instance_var, :any_method

Hi @guanglunw,
thanks for the PR. This is a very requested feature, so yes, thanks again for working on it!
I've liked the idea of having a class method on controllers in order to store which attribute or methods add to the extra data. However I think the code can be simpler if we store that data in the controller itself instead of the configuration, so the code in RequestDataExtractor can just ask the controller for the data.
Probably we'll want to take fork this branch, play with it and maybe do some checks since there are quite important changes here.
Beside this, probably more tests on specs/controllers would be nice.
I will also do some comments in the code.

@jondeandres, you're welcome :-)
Sorry about the lack of tests - ran out of time, but have tested this quite thoroughly against our Rails app and got it to work for our needs...
Feel free to fork and fix - and I do appreciate the comments. They make sense, and as and when I get time in the next few days I'll be happy to revisit this!

awesome @guanglunw, we'll also try to work on this soon.
we were waiting for a refactor to do on the gem, since I'd like having the extractor of rails apps and rack apps independent. now it's everything like a mix and it's complicating things.
But anyway, we will try to review and check this branch soon.
Thanks!

@jondeandres what are the next steps for this?

I submitted a PR for this here: https://github.com/rollbar/rollbar-gem/pull/681
Let me know if there are any features missing. For now I'm closing the issue.


How does one define a custom Block's js_initializer so that subblocks' js_initializers also work?

I've got an ImageGalleryBlock class that uses a ListBlock inside it. Here's the code:
class ImageGalleryBlock(blocks.StructBlock, BlockTupleMixin):
    """
    Renders an Image Gallery in a variety of styles.
    """
    STYLES = (
        ('gallery', 'Image Gallery', 'jetstream/blocks/image_gallery_block-gallery.html', []),
        ('slider', 'Image Slider w/ Thumbnail Picker', 'jetstream/blocks/image_gallery_block-slider.html', []),
    )
    # Only factors of 12 are allowed, because we use a 12-column layout.
    COLUMN_CHOICES = [(1, 1), (2, 2), (3, 3), (4, 4), (6, 6)]

    style = blocks.ChoiceBlock(choices=[(style[0], style[1]) for style in STYLES], default='normal')
    columns = IntegerChoiceBlock(choices=COLUMN_CHOICES, default=3)
    images = blocks.ListBlock(
        ImageChooserBlock(label='Image')
    )

    class Meta:
        label = 'Image Gallery'
        form_classname = 'image-gallery struct-block'
        icon = 'image'

    @property
    def media(self):
        return forms.Media(
            js=['jetstream/js/admin/image-gallery.js']
        )
        def js_initializer(self):
        return 'image_gallery'

The images field stores the images in the gallery. The style field determines if the gallery is rendered as a gallery of individual images, or as a slideshow. The columns field determines how many columns the gallery should be styled with.
Our js_initializer sets up a snippet of javascript to run on the Page edit form that makes the column field hide itself when the 'slider' style is selected, because that field is irrelevant for that style.
Unfortunately, defining this js_initializer at all (regardless of what the function does) breaks all the javascript behavior of the ListBlock. Neither the "Add another" button, nor the move and delete buttons, get any click event listeners attached to them.
This appears to be because ImageGalleryBlock's js_initializer is overriding ListBlock's. The javascript that gets built by StreamBlock to set up the initializer looks like this:
{
    'initializer': (image_gallery),
    'name': ('ImageGalleryBlock')
},

However, the javascript for another custom block that also uses ListBlock looks like this:
{
    'initializer': (StructBlock({
        'slides': (ListBlock({
            'definitionPrefix': ('blockdef-46')
        }))
    })),
    'name': ('HeroImageCarouselBlock')
},

That other custom block's ListBlock buttons work just fine.
The docs on how to use js_initializer don't go into how to handle this, so I'm not sure what to do.

@coredumperror
Issues are best suited for bugs in Wagtail, or new features. Stack Overflow is the best place to find answers to your questions about working with Wagtail, plus this helps future members of the Wagtail community.
Here is a potential way to do what you are trying to do, I will close this issue for now and suggest you post any further questions on Stack Overflow.
    def js_initializer(self):
        initializer_js = super(HeadingBlock, self).js_initializer()
        my_custom_js = 'console.log("my block is - %s")' % self.definition_prefix
        if initializer_js:
            # child blocks have custom JS initializers and need to be used
            return '%s,\n%s' % (initializer_js, my_custom_js)
        return my_custom_js

You can see how StreamBlock's behaviour of js_initializer works here:
https://github.com/wagtail/wagtail/blob/f0eef2fc88043ba627b89125876f1cfe53b7fc51/wagtail/core/blocks/struct_block.py#L47-L52
Not sure about documenting this item as it is a bit of a work around and might not be the solution we want to communicate and test for.

Unfortunately, your proposed solution doesn't work. I've posted this question on SO in the hopes of finding one that does.


NeuVector CRD deletion issue with foreground cascading deletion

Environment
Platform: Rancher
Kubernetes/Platform Version(s): v1.26.7-gke.500
Describe the bug
When using Argo CD to manage NeuVector's CRD, a problem arises during the deletion of CRD objects (e.g. NvSecurityRule). Despite being deleted by Argo CD, rules are shortly re-created after deletion.
Upon investigation, it was found that Argo CD uses foreground cascading deletion as the default behavior, whereas kubectl defaults to background cascading deletion.
In foreground cascading deletion, the Kubernetes API first adds the .metadata.deletionTimestamp and .metadata.finalizers fields to the object, placing the object into a "deletion in progress" state. The process awaits the GC to delete object dependencies. Afterward, the object is updated to remove the .metadata.finalizers field. This update triggers a neuvector-validating-crd-webhook request, causing NeuVector to misconstrues this as a user trying to update an NvSecurityRule object.
A potential solution could involve NeuVector checking if the CRD object is in the "deletion in progress" state within the neuvector-validating-crd-webhook. If so, NeuVector should avoid re-creating the rule.
To Reproduce
Steps to reproduce the behavior:

Prepare NvSecurityRule CRD file nv.helloworld-web.helloworld.yaml.
Run kubectl apply -f nv.helloworld-web.helloworld.yaml to create a CRD object.
Confirm the added rule in the NeuVector UI.
Run kubectl delete -f nv.helloworld-web.helloworld.yaml --cascade=foreground to delete the CRD object using foreground cascading deletion.
Confirm the deletion CRD object by running kubectl get nvsecurityrule (should already be deleted).
NeuVector removes the rule.
NeuVector recreates the rule.
Check the NeuVector UI to see that the rule still exists.

Expected behavior
After deleting the NvSecurityRule CRD object, it should not exist within NeuVector.
Screenshots
As shown below, at 05:30, the NvSecurityRule CRD is deleted, but it is re-created 1 second later.

A workaround method when managing CRD with Argo CD (GitOps):
spec:
  syncPolicy:
    syncOptions:
    - PrunePropagationPolicy=background

This issue has been fixed in NV 5.3.3


Builder

This fixes #27

Mahmoud Ben Hassine » jPopulator #99 FAILURE
Looks like there's a problem with this pull request
(what's this?)

Mahmoud Ben Hassine » jPopulator #100 SUCCESS
This pull request looks good
(what's this?)


Any plan to support Carthage?

https://github.com/Carthage/Carthage
I think it is easy: https://github.com/Carthage/Carthage#share-your-xcode-schemes

The schemes are already shared, do you happen to know what else is needed to make this work with Carthage?

I just tried this on my computer with the following Cartfile:
github "kylef/stencil"

And carthage bootstrap gives the following output:
*** No Cartfile.resolved found, updating dependencies
*** Cloning Stencil
*** Checking out Stencil at "0.3.0"
*** xcodebuild output can be found in /var/folders/xk/378q_x1x4b3289cbr_kjyhzr0000gn/T/carthage-xcodebuild.sj20gi.log
*** Building scheme "Stencil" in Stencil.xcworkspace
…… <Redacted output for brevity>……
PhaseScriptExecution Copy\ Pods\ Resources /Users/<username>/Library/Developer/Xcode/DerivedData/Stencil-berzxjjyqkvunscewwpcieqtncuu/Build/Intermediates/Stencil.build/Release/StencilTests.build/Script-36A8E92EBDE6D917075028D4.sh
(33 failures)
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
…… <Redacted output>
/Users/<username>/Downloads/Carthage/Checkouts/Stencil/Stencil/TemplateLoader/Include.swift:2:8: error: no such module 'PathKit'
/Users/<username>/Downloads/Carthage/Checkouts/Stencil/Stencil/TemplateLoader/Include.swift:2:8: error: no such module 'PathKit'
/Users/<username>/Downloads/Carthage/Checkouts/Stencil/Stencil/TemplateLoader/Include.swift:2:8: error: no such module 'PathKit'
/Users/<username>/Downloads/Carthage/Checkouts/Stencil/Stencil/TemplateLoader/Include.swift:2:8: error: no such module 'PathKit'
/Users/<username>/Downloads/Carthage/Checkouts/Stencil/Stencil/TemplateLoader/Include.swift:2:8: error: no such module 'PathKit'
/Users/<username>/Downloads/Carthage/Checkouts/Stencil/Stencil/TemplateLoader/Include.swift:2:8: error: no such module 'PathKit'
/Users/<username>/Downloads/Carthage/Checkouts/Stencil/Stencil/TemplateLoader/Include.swift:2:8: error: no such module 'PathKit'
/Users/<username>/Downloads/Carthage/Checkouts/Stencil/Stencil/TemplateLoader/Include.swift:2:8: error: no such module 'PathKit'

The issue is that the podspec manages the dependency of PathKit while Carthage is unable to; easiest way would be to actually rely con CocoaPods ability to support Carthage via uploading the Pods folder and the _Pods.xcworkspace symlink that's generated.
I did that with RxViewModel but my project is structured differently because I used the template that lays everything out for me but is a good way to start looking at

@kylef I just started using Carthage and I don't have much experience. I have no hands-on experiece to make a library Carthage compatible.
I chose another swift template library: https://github.com/groue/GRMustache.swift  It supports Carthage. Maybe you can check its source code?

@kylef
This repo happens to have some pod dependencies, but the Pod folder is not added to the repo. Carthage won't pod install for the user so I guess all you need to do is to add & commit the Pod folder.

I guess this can be closed now that you've completely switched over to conche?

Feel free to close it. I am not using this library currently. Myself have created several libraries(simple ones) which support Carthage. I cannot see the reason why does this library no Carthage support.

@tylerlong it's a shame (I prefer Carthage, too) but the reason it doesn't work is because @kylef no longer uses Xcode, and the way Carthage works is by simply building an Xcode project.
Right now the best alternative to Carthage is Cocoapods Rome, a plugin for cocoapods which spits out frameworks instead of creating a linked Xcode project.

I have full intentions of adding Carthage support soon via pre-build frameworks on GitHub releases. So won't close this just yet.

@kylef Any day now :clock1: :)

Would it be a terrible idea to just include an Xcode project? It would make things simpler for us mere mortals who use Xcode ;)

I created a PR for Carthage support #65 :tada:

@kylef Is there anything we can help here to get this along?

You can find instructions on using this library with Carthage at https://stencil.fuller.li/en/latest/installation.html#carthage.


HNC: publish basic metrics

See https://kubebuilder.io/reference/metrics.html. We need to also write a mini-design doc (possibly write in this issue?) stating which metrics we need to collect.
/assign @lafh

update: we decide to move forward with OpenTelemetry, the merged version of OpenCensus and OpenTracing. The goal of OpenTelemetry is to standardize metric collection and distribution, and it is now the defacto standard for observability instrumentation.

OpenTelemtry is pretty broad and requires you to implement the exporters within your code. Have we decided on the initial exports we plan to support? I suggest Prometheus as it is the only natively supported metrics implementation for core kubernetes (that I'm aware of). The currently supported metrics exporters are here:
https://github.com/open-telemetry/opentelemetry-go/tree/master/exporter/metric
TL;DR: A few statsd variants, prometheus, and stdout.

/assign @yiqigao217
Fixed by #396, #410 and #418.
/close


Create the Link component

Create the Link component

[ ] Implement the Link React component
[ ] Implement the Link SCSS styles
[ ] Add Link to Storybook

I implemented most functionalities using onClick and pushed it to link-component branch, but no idea to do the same thing without using onClick... Do you have any idea?

I can't find scss styles for other components in https://github.com/ASU-CodeDevils/CD-Library/tree/staging/packages/ui/src/components/elements. Do you have any examples?


Could not load Completely when I start the App.

Keybase GUI Version: 1.0.22-20170502110012+a3c4856
Error:
Error: API network error: doRetry failed, attempts: 1, timeout 7.5s, last err: context deadline exceeded at t (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:18:8047) at new t (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:18:8867) at s (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:18:8443) at i (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:18:8371) at file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:14:19678 at file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:76:27386 at e.t.Deferrals.e._call (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:42:18846) at file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:42:18997 at c (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:42:18624) at e.t.Deferrals.e._fulfill (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:42:18956)

Similar issue:
Installer: 1.1.55
Privileged Helper: Installed, Bundle Version: 1.0.29, Version: 1.0.29
Updater: Unknown, Install Error: open /Users/default/Library/LaunchAgents/keybase.updater.plist.YGGYK3W4DUUL722ORVPVLZB572R5W5DE: permission denied (updater)
Service: Unknown,
Fuse: Unknown,
Mount directory: Unknown,
KBFS: Unknown,
CLI: Unknown,
KBNM: Unknown,
Log:
Version: 1.1.55
Installables: (
"Privileged Helper",
Updater,
Service,
Fuse,
"Mount directory",
KBFS,
CLI,
KBNM
)
Install: Privileged Helper
Connecting to keybase.Helper (privileged=1)
Connected
Helper version: {
build = 2;
version = "1.0.29";
}
Helper version: {
build = 2;
version = "1.0.29";
}
Install: Updater
Task: /Applications/Keybase.app/Contents/SharedSupport/bin/keybase -d --log-format=file install --format=json --components=updater --timeout=30s
Task EOF
Completed
Task (err): 2017-05-30T16:44:28.826990-07:00 ▶ [DEBU keybase globals.go:383] 001 Created Identify2Cache, max age: 5m0s
2017-05-30T16:44:28.827165-07:00 ▶ [DEBU keybase globals.go:386] 002 Created LinkCache, max size: 65536, clean dur: 1m0s
2017-05-30T16:44:28.827195-07:00 ▶ [DEBU keybase globals.go:388] 003 Created CardCache, max age: 5m0s
2017-05-30T16:44:28.827213-07:00 ▶ [DEBU keybase globals.go:390] 004 made a new full self cache
2017-05-30T16:44:28.827227-07:00 ▶ [DEBU keybase globals.go:392] 005 made a new cached UPAK loader (timeout=10m0s)
2017-05-30T16:44:28.829824-07:00 ▶ [DEBU keybase ui.go:580] 006 Can't set GPG_TTY; discover failed
2017-05-30T16:44:28.829900-07:00 ▶ [DEBU keybase globals.go:366] 007 Keybase CLI 1.0.23-20170522181119+8a8aea0
2017-05-30T16:44:28.829919-07:00 ▶ [DEBU keybase globals.go:366] 008 - Built with go1.8.1
2017-05-30T16:44:28.829931-07:00 ▶ [DEBU keybase globals.go:366] 009 - Visit https://keybase.io for more details
2017-05-30T16:44:28.829946-07:00 ▶ [DEBU keybase main.go:156] 00a + configureProcesses
2017-05-30T16:44:28.829975-07:00 ▶ [DEBU keybase main.go:254] 00b + configureLogging
2017-05-30T16:44:28.829990-07:00 ▶ [DEBU keybase main.go:263] 00c Disabling log forwarding
2017-05-30T16:44:28.830002-07:00 ▶ [DEBU keybase main.go:256] 00d - configureLogging
2017-05-30T16:44:28.830014-07:00 ▶ [DEBU keybase main.go:158] 00e - configureProcesses ->
2017-05-30T16:44:28.830385-07:00 ▶ [DEBU keybase install_darwin.go:405] 00f Installing components: [updater]
2017-05-30T16:44:28.830526-07:00 ▶ [DEBU keybase install_darwin.go:1098] 010 Using updater path: /Applications/Keybase.app/Contents/SharedSupport/bin/updater
2017-05-30T16:44:28.839706-07:00 ▶ [DEBU keybase launchd.go:141] 011 Output (launchctl remove):
2017-05-30T16:44:28.839780-07:00 ▶ [DEBU keybase launchd.go:146] 012 Nothing to stop (keybase.updater)
2017-05-30T16:44:28.839814-07:00 ▶ [DEBU keybase install_darwin.go:1108] 013 Installing updater service (keybase.updater, timeout=30s)
2017-05-30T16:44:28.839980-07:00 ▶ [INFO keybase launchd.go:270] 014 Saving /Users/default/Library/LaunchAgents/keybase.updater.plist
2017-05-30T16:44:28.840018-07:00 ▶ [DEBU keybase util.go:181] 015 + Writing to /Users/default/Library/LaunchAgents/keybase.updater.plist
2017-05-30T16:44:28.840527-07:00 ▶ [DEBU keybase util.go:183] 016 | Temporary file generated: /Users/default/Library/LaunchAgents/keybase.updater.plist.YGGYK3W4DUUL722ORVPVLZB572R5W5DE
2017-05-30T16:44:28.840550-07:00 ▶ [ERRO keybase standard.go:230] 017 Error installing updater service: open /Users/default/Library/LaunchAgents/keybase.updater.plist.YGGYK3W4DUUL722ORVPVLZB572R5W5DE: permission denied
2017-05-30T16:44:28.840588-07:00 ▶ [ERRO keybase standard.go:230] 018 Error installing updater: open /Users/default/Library/LaunchAgents/keybase.updater.plist.YGGYK3W4DUUL722ORVPVLZB572R5W5DE: permission denied
2017-05-30T16:44:28.840826-07:00 ▶ [DEBU keybase out_of_date.go:14] 019 + PrintOutOfDateWarnings
2017-05-30T16:44:28.840862-07:00 ▶ [DEBU keybase util.go:414] 01a + GetSocket
2017-05-30T16:44:28.840895-07:00 ▶ [DEBU keybase util.go:415] 01b - GetSocket -> ok
2017-05-30T16:44:28.840914-07:00 ▶ [DEBU keybase socket.go:73] 01c | empty socket wrapper; need a new one
2017-05-30T16:44:28.840943-07:00 ▶ [DEBU keybase socket_nix.go:96] 01d Dialing unix:/Users/default/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock
2017-05-30T16:44:28.841207-07:00 ▶ [DEBU keybase socket_nix.go:96] 01e Dialing unix:/Users/default/Library/Caches/Keybase/keybased.sock
2017-05-30T16:44:28.841312-07:00 ▶ [DEBU keybase socket.go:88] 01f | DialSocket -> ERROR: There were multiple errors: dial unix /Users/default/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock: connect: no such file or directory; dial unix /Users/default/Library/Caches/Keybase/keybased.sock: connect: no such file or directory
2017-05-30T16:44:28.841336-07:00 ▶ [DEBU keybase out_of_date.go:19] 020 Ignoring error in printOutOfDateWarnings: There were multiple errors: dial unix /Users/default/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock: connect: no such file or directory; dial unix /Users/default/Library/Caches/Keybase/keybased.sock: connect: no such file or directory
2017-05-30T16:44:28.841364-07:00 ▶ [DEBU keybase out_of_date.go:20] 021 - PrintOutOfDateWarnings
2017-05-30T16:44:28.943742-07:00 ▶ [DEBU keybase globals.go:464] 022 Calling shutdown first time through
2017-05-30T16:44:28.943832-07:00 ▶ [DEBU keybase login_state.go:1070] 023 + Account "LoginState - Shutdown"
2017-05-30T16:44:28.943921-07:00 ▶ [DEBU keybase login_state.go:983] 024 - LoginState: Leaving request loop
2017-05-30T16:44:28.943938-07:00 ▶ [DEBU keybase login_state.go:1072] 025 - Account "LoginState - Shutdown"
2017-05-30T16:44:28.944012-07:00 ▶ [DEBU keybase globals.go:518] 026 exiting shutdown code=0; err=
Task (out): {
"componentResults": [
{
"name": "updater",
"status": {
"code": 1804,
"name": "ERROR",
"desc": "open /Users/default/Library/LaunchAgents/keybase.updater.plist.YGGYK3W4DUUL722ORVPVLZB572R5W5DE: permission denied",
"fields": null
}
}
],
"status": {
"code": 1804,
"name": "ERROR",
"desc": "open /Users/default/Library/LaunchAgents/keybase.updater.plist.YGGYK3W4DUUL722ORVPVLZB572R5W5DE: permission denied (updater)",
"fields": null
},
"fatal": false
}
Install complete
Privileged Helper: Installed, Bundle Version: 1.0.29
Version: 1.0.29
Updater: Install Error: open /Users/default/Library/LaunchAgents/keybase.updater.plist.YGGYK3W4DUUL722ORVPVLZB572R5W5DE: permission denied (updater)

cc: @gabriel
@Jb1230 it's some sort of permission problem

@ghost It might be that your ~/Library/LaunchAgents directory has the wrong permissions.
What is the output of:
ls -al ~/Library | grep LaunchAgents

Can you try with latest version from https://keybase.io/docs/the_app/install_macos and re-open if the issue still exists?


PyPI malware

https://blog.sonatype.com/pypi-package-secretslib-drops-fileless-linux-malware-to-mine-monero

Resolved by b317c56


zsh:1: command not found: chunkc

I am unable to get this to work on macOS Big Sur 11.4. I have tried using chunkc.c from here https://github.com/kylef/chunkwm/blob/master/src/chunkc/chunkc.c, but when invoking chunkc in the terminal, I will get chunkc: connection failed!
david@iMac Desktop % ./chunkc tiling::window --focus east
chunkc: connection failed!

I am unsure how to fix this, please help if someone can :)

How did you fix this?


Complete the work for User Story AB#4600

Change text to "Hello Excel"

Made this pull request on the main repo instead of my fork. Oops.


This is NOT an issue, it's a CSS Feature

You can create a grow up text area with this CSS snippet

.DivTextAreaWrapper {
  position: relative;
  height: 200px;
}

textarea {
  position: absolute;
  bottom: 0;
  resize: none;
}

Hope this can help others

Thanks for putting this for others searching for similar solutions - as this is not an issue I'm going to close it though. It will still be available for anyone searching through issues.


MultiBzDecoder: Fix Read trait bound

The implementation of read::MultiBzDecoder requires the use of the Read trait, but this was not enforced, leading to compile-time errors when used against Rust 1.32.0.
This PR removes the separate impl block for MultiBzDecoder so that the remaining implementation methods fall under the Read impl block.
(n.b. I realised this wasn't an issue after updating to 1.36.0, but I'd already fixed it, so I figured I might as well submit it)

Thanks! The current iteration though I think is correct in that the accessors shouldn't require extra Read bounds, so perhaps this PR isn't necessary?

Yeah, the current iteration compiles fine under 1.36.0, but fails under 1.32.0:
error[E0599]: no method named `get_ref` found for type `&std::io::BufReader<R>` in the current scope
   --> src/read.rs:191:30
    |
191 |         self.inner.get_ref().get_ref()
    |                              ^^^^^^^
    |
    = note: the method `get_ref` exists but the following trait bounds were not satisfied:
            `R : std::io::Read`
            `R : std::io::Read`

error[E0599]: no method named `get_mut` found for type `&mut std::io::BufReader<R>` in the current scope
   --> src/read.rs:199:30
    |
199 |         self.inner.get_mut().get_mut()
    |                              ^^^^^^^
    |
    = note: the method `get_mut` exists but the following trait bounds were not satisfied:
            `R : std::io::Read`
            `R : std::io::Read`

error[E0599]: no method named `into_inner` found for type `std::io::BufReader<R>` in the current scope
   --> src/read.rs:204:33
    |
204 |         self.inner.into_inner().into_inner()
    |                                 ^^^^^^^^^^
    |
    = note: the method `into_inner` exists but the following trait bounds were not satisfied:
            `R : std::io::Read`

This is probably an edge case (I only noticed because I'd forgotten to update my rustc), but it might be better to be explicit about it? The BzDecoder implementation uses Read, for reference.

Ah ok I think that's fine, just means that the crate requires 1.36 now!


[bug]:  Node mask_combine not found in graph

Is there an existing issue for this?

[X] I have searched the existing issues

OS
macOS
GPU
mps
VRAM
64gb
What version did you experience this issue on?
3.1.1
What happened?
i get an error when trying to inpaint a mask through the unified canvas with either stable-diffusion-xl-1.0-inpainting-0.1 or stable-diffusion-xl-base-1-0 together with the sdxl refiner model (stable-diffusion-xl-refiner-1-0)
raise NodeNotFoundError(f"Node {node_path} not found in graph")
invokeai.app.services.graph.NodeNotFoundError: Node mask_combine not found in graph

i have recently replaced the original sdxl-vae-fix (the one i can install using the model installer through the startup-script) with madebyollin/sdxl-vae-fp16-fix and it might be related since i noticed the issues quickly after this (but i cannot be 100% certain)
if i activate "scale before processing" it is able to complete without issues (even without any actual scaling)
Screenshots
No response
Additional context
heres the full error log:
[2023-09-18 23:47:57,277]::[uvicorn.error]::ERROR --> Exception in ASGI application

Traceback (most recent call last):
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 436, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/fastapi/applications.py", line 270, in __call__
    await super().__call__(scope, receive, send)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/starlette/applications.py", line 124, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 92, in __call__
    await self.simple_response(scope, receive, send, request_headers=headers)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 147, in simple_response
    await self.app(scope, receive, send)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/fastapi_events/middleware.py", line 43, in __call__
    await self.app(scope, receive, send)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/starlette/routing.py", line 706, in __call__
    await route.handle(scope, receive, send)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 235, in app
    raw_response = await run_endpoint_function(
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 161, in run_endpoint_function
    return await dependant.call(**values)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/invokeai/app/api/routers/sessions.py", line 263, in invoke_session
    ApiDependencies.invoker.invoke(session, invoke_all=all)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/invokeai/app/services/invoker.py", line 25, in invoke
    invocation = graph_execution_state.next()
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/invokeai/app/services/graph.py", line 766, in next
    prepared_id = self._prepare()
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/invokeai/app/services/graph.py", line 898, in _prepare
    next_node_id = next(
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/invokeai/app/services/graph.py", line 906, in <genexpr>
    isinstance(self.graph.get_node(n), IterateInvocation)  # `n` is an iterate node...
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/invokeai/app/services/graph.py", line 431, in get_node
    graph, node_id = self._get_graph_and_node(node_path)
  File "/Users/pivot/invokeai3/.venv/lib/python3.10/site-packages/invokeai/app/services/graph.py", line 259, in _get_graph_and_node
    raise NodeNotFoundError(f"Node {node_path} not found in graph")
invokeai.app.services.graph.NodeNotFoundError: Node mask_combine not found in graph

Contact Details
No response

@psychedelicious @Millu - I think the graphs for Non-Scale before processing on Canvas have some regressions that might need to be resolved.


Issue occurs in final month

Issue occurs in final month
Example:
Expression: " 0 0 17 16 * * "

Example correct result:
Expression: " 0 0 17 16 * * "
Current time: 2023-12-16 17:00:00

I cannot reproduce.

This project is no longer maintained, see its updated and extended fork in exander77/supertinycron repo, closing the issue to archive the repo.


fix bug caused by xwaylandvideobridge example configuration

The nofocus rule causes a disgusting behaviour when launching a program with rofi in the workspace where xwaylandvideobridge silently resides, causing it to launch in the last used workspace with an open window instead.

Added two more lines to get the window out of the way. Not related to the initial issue though.


Add dispose methods for everybody

Currently, deleting/creating new helpers often create memory issues if not handles carefully.
We should have a "dispose" method for all helpers that takes care of releasing the memory as needed.
dispose() {
  super.dispose(); // THREEJS call
  // do stuff
  ...
}

Fiddle to dispose Slice Helper: http://jsfiddle.net/nicolasrannou/dsxjbx0d/32/

Loaders may not release array buffers too.


DNS Migration - learn.eosnetwork.com

We want to change servers for the learn portal on learn.eosnetwork.com.
In order to do so, we need to point the DNS to the hosted zone.
I've forwarded the information to @kj4ezj in a private message, this ticket is merely for tracking purposes.
See Also

engineering issue 54 - Point DNS to ide.eosnetwork.com
engineering issue 55 - DNS Migration - docs.eosnetwork.com
engineering issue 56 - Tear Down Old Documentation Infrastructure

ENF Automation, in collaboration with Engineering, intentionally excluded learn.eosnetwork.com from the migration of Developer Relations cloud infrastructure in issue 54, issue 55, and issue 56 because the DevHub "learn portal" system was built out using modern tooling and Amazon Web Services (AWS) best-practices.
Web Hosting
Automation estimates that, based on cloud costs and website usage figures, the proposed migration destination infrastructure will cost the same amount of money as one year of the existing web hosting infrastructure in just the first 145 hours. The existing web hosting infrastructure already has a self-service CICD deployment (frontend.yml, frontend-publish.sh) that is actively being used to great affect. For these reasons, Automation and Engineering recommend against any web hosting migrations.
Database
The database hosting represents 99.98% of the cost of the DevHub "learn portal" due to the m6a.2xlarge instance type requested by Developer Relations to host Couchbase. This request was not arbitrary on DevRel's part, it was based on Couchbase hardware requirements. Automation has identified this as the greatest cost factor and recommends reducing this cost by using a managed database provider, such as DocumentDB, as @tedcahalleos initially recommended.
Firebase is a managed database provider identified by Developer Relations that would address these cost concerns, but Automation recommends against this tool due to privacy issues that could put our community at risk.
Recommendations
Automation recommends that, instead of any DNS migration, the ENF elevate Developer Relations IAM user permissions in the devhub AWS account such that they can manage all of the infrastructure in a self-service manner, if they cannot already. Such an escalation will not preclude the use of Firebase or any of the other intended implementation details shared via IM. Finally, Automation recommends the use of a managed database provider that respects user privacy.

The change will lower costs by a factor of 10 instantly. Everything is already set up on the new server.
You can elevate my IAM there, I'll handle tearing everything down and pointing the DNS.

Leadership directed Automation to close this ticket as stale because we have not heard from the customer in 35 days, so this work must not be important.


[FIXED] After search results of user the category of search should still remain 'Users' and not projects

Fixes #1667
Describe the changes you have made in this PR -
Added a script which retains the search filter applied to the search from select tag.
Screenshots of the changes (If any) -
before:
if  Users filter is selected from options (select tag) and a name is searched, the option (select tag)  in the results page reverts to default value rather than staying Users.

after:
after fixing it looks like so:

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Coverage increased (+0.1%) to 88.152% when pulling 5066307eec9a3ce9f155273c119b9423a9c74898 on DarthCucumber:master into bf414c2ae8a2251a5a75fa4bb7735a9f297c231f on CircuitVerse:master.


None of the doctests in skbio/io/fasta.py are run

Not actually sure if those comments are considered doctests, so maybe this is expected behavior, but just wanted to be sure. It would be ideal for that example code to be executed.

That code should be executed as a doctest. It is actually pretty bizarre that they aren't being run. The module doesn't even start with an underscore...

Agreed. I'll figure out what's going on.
On Tuesday, March 17, 2015, Evan Bolyen<EMAIL_ADDRESS>wrote:

That code should be executed as a doctest. It is actually pretty
bizarre that they aren't being run. The module doesn't even start with an
underscore...
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/scikit-bio/issues/876#issuecomment-82433805.

Ok well I'm not able to reproduce my results from yesterday. I can confirm that the doctests are working using both the old testing method nosetests --with-doctest -I DO_NOT_IGNORE_ANYTHING skbio/io and the new one python -c "import skbio; skbio.io.test()". I must have been doing something weird yesterday. Pretty sure we can close this as a false alarm.


[Project submission] After Me | Chainlink hackathon

Hi! In this PR you have accidentally deleted the template, and also put your project file in the templates directory. Can you update this PR or create a new one, which just creates your project file in the projects directory? Thanks!

Changed the file in the templates folder back to what it was,
Added afterme.md to the projects folder.

Content looks great, thanks for updating. However, I need you to remove the change to the template file. It might be easier to just take the final project file and create a new PR that only adds that file in the projects directory.

Ah, you did in #498, so i merged that one and am closing this one.


Subscription steps through multiple upgrades

This pulls out a subset of commits from #756 that omits the additional guards around when we attempt to update (they had farther reaching effects that will take a while to test/verify).

/test e2e-aws-olm

/retest

/test e2e-aws-olm

/lgtm


Add support for raw image files

Add support for raw image files or .img  to be able to support more operating systems

is this a qemu issue in anyway?

It is already supported. Just import the disk image and check raw image.

ok

Sorry, where is this "check raw image" ?
Not visible on my screen...

I took a while to find it too.


[Rewrite/Fix] pickx.be

Reflect new API change, by modifying both the config and tests.
Added mocking of the API version.
Tests :
TestRun "[epg] run tests: orta.vscode-jest:TestProvider:epg:4 (0)" started
 PASS  sites/pickx.be/pickx.be.test.js
  ✓ can generate valid url (3 ms)
  ✓ can generate valid request headers (1 ms)
  ✓ can parse response (13 ms)
  ✓ can handle empty guide

Test Suites: 1 passed, 1 total
Tests:       4 passed, 4 total
Snapshots:   0 total
Time:        2.826 s
Ran all test suites matching /\/workspaces\/epg\/sites\/pickx\.be\/pickx\.be\.test\.js/i.

Programs :
@BellezaEmporium ➜ /workspaces/epg (freearhey-patch1) $ npm run grab --- --site=pickx.be

> grab
> npx tsx scripts/commands/epg/grab.ts --site=pickx.be

starting...
config:
  output: guide.xml
  maxConnections: 1
  gzip: false
  site: pickx.be
loading channels...
  found 378 channel(s)
run #1:
  [1/736] pickx.be (de) - BRFernsehenNord.de - Dec 17, 2024 (53 programs)
  [2/736] pickx.be (de) - BRFernsehenNord.de - Dec 18, 2024 (52 programs)
  [3/736] pickx.be (de) - BRFernsehenNord.de - Dec 18, 2024 (52 programs)
  [4/736] pickx.be (de) - DasErste.de - Dec 18, 2024 (71 programs)
  [5/736] pickx.be (de) - ZDF.de - Dec 18, 2024 (63 programs)
  [6/736] pickx.be (en) - BBCTwo.uk - Dec 18, 2024 (46 programs)
  [7/736] pickx.be (fr) - AB3.be - Dec 18, 2024 (61 programs)
  [8/736] pickx.be (fr) - CinePlusClassicBelgium.be - Dec 18, 2024 (29 programs)
  [9/736] pickx.be (fr) - CinePlusClassicBelgium.be - Dec 17, 2024 (31 programs)
  [10/736] pickx.be (fr) - AB3.be - Dec 17, 2024 (62 programs)
  [11/736] pickx.be (fr) - CartoonNetwork.fr - Dec 18, 2024 (211 programs)
  [12/736] pickx.be (fr) - CartoonNetwork.fr - Dec 17, 2024 (213 programs)
  [13/736] pickx.be (en) - BBCTwo.uk - Dec 17, 2024 (51 programs)
  [14/736] pickx.be (fr) - 13emeRue.fr - Dec 18, 2024 (35 programs)
  [15/736] pickx.be (fr) - CanalZoom.be - Dec 18, 2024 (171 programs)
  [16/736] pickx.be (fr) - CanalZoom.be - Dec 17, 2024 (155 programs)
  [17/736] pickx.be (fr) - 13emeRue.fr - Dec 17, 2024 (40 programs)
  [18/736] pickx.be (fr) - CanalZoom.be - Dec 18, 2024 (171 programs)
  [19/736] pickx.be (fr) - CanalZoom.be - Dec 17, 2024 (155 programs)
  [20/736] pickx.be (de) - ZDF.de - Dec 17, 2024 (61 programs)
  [21/736] pickx.be (en) - BBCOne.uk - Dec 18, 2024 (49 programs)

Close #2506

My codespace seems to return the same guide over and over (with duplicate programs).
Please check and see if there's duplicate programs on your side, as I should normally have filtered them.

Unfortunately in this case it is not enough, the error has not disappeared, it just appears differently:
Jest did not exit one second after the test run has completed.

'This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.

The point is that even if you manually set apiVersion before running the test, this part of the code:
;(async () => {
  try {
    await fetchApiVersion()
    isApiVersionFetched = true
  } catch (error) {
    console.error('Error during script initialization:', error)
  }
})()

will still run and the real request will be sent.

That part of the code is now removed, and all tests are passing without an hassle on my side. Did a second test for PickX's EPG, which gives me a 35 (!) Mb file, with little to no dupes. (There's the HD and SD version of the channels registered... that brings up confusion).

#2520.


Azure Core: Poller bug fix

Fixes the cases,
when user calls blockUntil on the status Poller is already at or the poller has already completed.
When user calls block on the poller that has already completed.
Fixes #5923

/azp run java -core- ci

/azp run java - core- ci

/azp run java - core - ci

/azp run java - core - ci

This PR can now be closed.

@g2vinay I presume this PR can be closed?


Add models deployment url for microk8s

The opctl app status command should show the url to add for model deployment.

We may want to update the message to not confuse dnsmasq users. Something like this:
If using dnsmasq, add:
....
Otherwise, in /etc/hosts, add:
....


add example pdf file

... so that people like me can get some idea of what it looks like before downloading.
From a fellow Scottish Country Dancer (in Wellington, New Zealand) who is excited to see more technical tooling for SCD!
Motivated by Hacktoberfest to actually do something about it.
Feel free to ask questions and discuss things. :)

A good idea! However, before I consider the output to be basically stable, I want to at least fix #3, and also do some more extensive testing with real-world examples through the GUI I'm developing. But once the project is at that point, I'll certainly be willing to commit a compiled example to the repository.
(I'd prefer something that could be updated by a continuous-integration system, so I don't have to remember to update it if I do something that would change the way documents using my package look, but I don't expect that will happen often, and I can probably set up a CI test that will break if I do make such a change and forget to update the example's PDF.)
If there's something missing from this class that would be useful, please feel free to let me know by filing an issue. (Thank you for your interest in this! I started working on this after searching for some time and only finding one SCD-related document that mentioned it was typeset with LaTeX, but no libraries.)

Ah, that makes sense. Sorry for jumping ahead. I'll close this pull request.
I have no experience of writing LaTeX packages (or anything in Ceylon) so I'm not sure I can be of much help -- but I'm glad a LaTeX package and GUI are being written. All the best. :)


Decrypt only using Passphrase

I have only used single string passphrase to encrypt the file. How do use this library to decrypt the file?

You can with a org.c02e.jpgpj.Decryptor object, by first setting its symmetricPassphrase property to the passphrase and its verificationRequired property to false, and then calling its decrypt() method. There's an example of this in the Symmetric Decryption section of the Decrypting Files wiki page:
https://github.com/justinludwig/jpgpj/wiki/DecryptingFiles#symmetric-decryption

Thanks. It worked.


Minify Breaks Git Webhooks

With minify enabled, git says that changes were made to the web directory and wants Caddy to commit the changes before pulling.
Once the minify plugin was removed, and the contents of my web directory were deleted, the git webhooks worked perfectly.

Hey @19kestier! Are you using the version downloaded from caddyserver.com? If so, can you try building it from source with caddy-minify and try again? I've made some changes and hopefully that might be already fixed.

Closing this due to inactivity. Although, you can use the if option to exclude the webhook path 😄 Anything else, tell me.