profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/qiulang/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

qiulang/BitArray 1

A simple bit array in Objective C for Bitwise operation

qiulang/docker 1

练习docker我的node项目

qiulang/notes-app 1

Comparing Frontend Approaches by Peter Jang

emicnet/test-jssip-emic 0

演示如何使用易米电话工具条api接口

qiulang/AZDropdownMenu 0

A simple dropdown menu component for iOS written in Swift

qiulang/chat.io 0

A Real Time Chat Application built using Node.js, Express, Mongoose, Socket.io, Passport, & Redis.

qiulang/dotflowTest 0

issue for dotflow

qiulang/es6-tutorial 0

ECMAScript 6 Tutorial

qiulang/IE11 0

demo how babel fails to polyfill IE11 for debug module

qiulang/iOS-6-Advanced-Cookbook 0

Recipes for working with the advanced features of iOS 6

Pull request review commentAliyunContainerService/k8s-for-docker-desktop

release k8s v1.21.1

-k8s.gcr.io/pause:3.2=registry.cn-hangzhou.aliyuncs.com/google_containers/pause:3.2-k8s.gcr.io/kube-controller-manager:v1.19.7=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-controller-manager:v1.19.7-k8s.gcr.io/kube-scheduler:v1.19.7=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-scheduler:v1.19.7-k8s.gcr.io/kube-proxy:v1.19.7=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-proxy:v1.19.7-k8s.gcr.io/kube-apiserver:v1.19.7=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver:v1.19.7+k8s.gcr.io/pause:3.4.1=registry.cn-hangzhou.aliyuncs.com/google_containers/pause:3.4.1+k8s.gcr.io/kube-controller-manager:v1.21.1=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-controller-manager:v1.21.1+k8s.gcr.io/kube-scheduler:v1.21.1=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-scheduler:v1.21.1+k8s.gcr.io/kube-proxy:v1.21.1=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-proxy:v1.21.1+k8s.gcr.io/kube-apiserver:v1.21.1=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver:v1.21.1 k8s.gcr.io/etcd:3.4.13-0=registry.cn-hangzhou.aliyuncs.com/google_containers/etcd:3.4.13-0-k8s.gcr.io/coredns:1.7.0=registry.cn-hangzhou.aliyuncs.com/google_containers/coredns:1.7.0+k8s.gcr.io/coredns:1.8.0=registry.cn-hangzhou.aliyuncs.com/google_containers/coredns:1.8.0

重新安装的Docker Desktop 3.4.0(65384) Kubernetes版本: v1.21.1

以这个pr的脚本执行拉取及修改tag,启用kubernetes后会一直卡在starting状态 在命令行中执行kubectl get pods -A后,获知coredns无法拉取image

NAMESPACE     NAME                                     READY   STATUS             RESTARTS   AGE  
kube-system   coredns-558bd4d5db-b87rh                 0/1     ImagePullBackOff   0          2m54s
kube-system   coredns-558bd4d5db-w6l5j                 0/1     ImagePullBackOff   0          2m54s
kube-system   etcd-docker-desktop                      1/1     Running            0          2m56s
kube-system   kube-apiserver-docker-desktop            1/1     Running            0          3m1s 
kube-system   kube-controller-manager-docker-desktop   1/1     Running            0          2m52s
kube-system   kube-proxy-pxjsg                         1/1     Running            0          2m54s
kube-system   kube-scheduler-docker-desktop            1/1     Running            0          2m51s

执行kubectl describe deployment coredns -n kube-system后,Image显示的repostory:tag为k8s.gcr.io/coredns/coredns:v1.8.0

Pod Template:
  Labels:           k8s-app=kube-dns
  Service Account:  coredns
  Containers:
   coredns:
    Image:       k8s.gcr.io/coredns/coredns:v1.8.0
    Ports:       53/UDP, 53/TCP, 9153/TCP
    Host Ports:  0/UDP, 0/TCP, 0/TCP
    Args:
      -conf
      /etc/coredns/Corefile
    Limits:
      memory:  170Mi
    Requests:
      cpu:        100m
      memory:     70Mi
    Liveness:     http-get http://:8080/health delay=60s timeout=5s period=10s #success=1 #failure=5
    Readiness:    http-get http://:8181/ready delay=0s timeout=1s period=10s #success=1 #failure=3
    Environment:  <none>
    Mounts:
      /etc/coredns from config-volume (ro)
  Volumes:
   config-volume:
    Type:               ConfigMap (a volume populated by a ConfigMap)
    Name:               coredns
    Optional:           false
  Priority Class Name:  system-cluster-critical

这也是为什么我在最上面评论k8s.gcr.io/coredns:1.8.0应该改为k8s.gcr.io/coredns/coredns:v1.8.0

以上操作我刚刚又重试了一遍,确认k8s.gcr.io/coredns/coredns:v1.8.0才是正确的

zxyle

comment created time in an hour

PR opened github/gitignore

Create Hugo.gitignore

Hugo is a popular static website generator written in Go.
https://github.com/gohugoio/hugo (50k stars) https://gohugo.io/

This proposal includes two common rules:

  1. The public folder (rooted) is for build output
  2. The resource cache folder (rooted) (which, as noted, is generated but can be included in a repo as an optimization)

Reasons for making this change:

TODO

Links to documentation supporting these rule changes:

TODO

If this is a new template:

  • Link to application or project’s homepage: TODO
+16 -0

0 comment

1 changed file

pr created time in 4 hours

issue commentwebpack/webpack

Failure to load loader from a scoped package when using pnpm

Based on the above discussion and suggestion, updated the loadLoader.js file, @snitin315 Please review 57 and let me know incase if any modification required.

Kiskae

comment created time in 4 hours

pull request commentwebpack/webpack

doc: add wasm examples to ToC

<!-- identifier: ci-result -->

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

gthb

comment created time in 5 hours

issue closedwebpack/webpack

Can't use `[name]` in `webassemblyModuleFilename`

<!-- Please don't delete this template because we'll close your issue --> <!-- Before creating an issue please make sure you are using the latest version of webpack. -->

Bug report

<!-- Please ask questions on StackOverflow or the webpack Gitter. --> <!-- https://stackoverflow.com/questions/ask?tags=webpack --> <!-- https://gitter.im/webpack/webpack --> <!-- Issues which contain questions or support requests will be closed. -->

What is the current behavior?

Trying to use [name] in output.webassemblyModuleFilename config leads to:

ChunkRenderError: Path variable [name] not implemented in this context: 

<!-- A great way to do this is to provide your configuration via a GitHub repository --> <!-- The most helpful is a minimal reproduction with instructions on how to reproduce --> <!-- Repositories with too many files or large webpack.config.js files are not suitable --> <!-- Please only add small code snippets directly into this issue --> <!-- https://gist.github.com is a good place for longer code snippets --> <!-- If your issue is caused by a plugin or loader, please create an issue on the loader/plugin repository instead -->

What is the expected behavior?

[name] should be accepted and replaced with a basename of the Wasm file, like WebPack does in filename and chunkFilename contexts.

Other relevant information: webpack version: 4.28.0 Node.js version: 12.7.0 Operating System: Windows 10 Additional tools:

closed time in 5 hours

RReverser

issue commentwebpack/webpack

Failure to load loader from a scoped package when using pnpm

@sidverma32 Yes, feel free to send a PR.

Kiskae

comment created time in 5 hours

pull request commentwebpack/webpack

cleanup: gitignore examples/node_modules

<!-- identifier: ci-result -->

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

gthb

comment created time in 5 hours

push eventgroue/GRDB.swift

Gwendal Roué

commit sha edde38837ec1471622e5f1af226ebca4bb5b911d

TODO

view details

Gwendal Roué

commit sha c9c652dddc423f29b1bb274f350ea7bc1069cdec

DatabaseMigrator async migrations

view details

Gwendal Roué

commit sha 50cec3fce7e3db8b8b3e190788bbe18c28e82f5e

Asynchronous migrations tests

view details

Gwendal Roué

commit sha 8ad880e20dad4fea25629ed385c24ad338124b91

DatabaseMigrator publisher

view details

Gwendal Roué

commit sha f38c2ff754188abd202f8f726b6b989938665971

Test DatabasePublishers.Migrate

view details

Gwendal Roué

commit sha 21a220644396ec42412af2efc6dacc32835289c1

Remove asynchronous migration to target identifier Migrating up to a specific identifier is a test-oriented use case: it does not need any async version.

view details

Gwendal Roué

commit sha e44dc8486a341780ef843fe219960e1ef9de648d

Documentation for asynchronous migrations

view details

Gwendal Roué

commit sha 3113e20f69b89fe9ff622a9ef04e92e430ad0567

CHANGELOG

view details

Gwendal Roué

commit sha 8a7ab17349f4d42fd89c8989dbaefffc123e1abd

TODO

view details

Gwendal Roué

commit sha 659e6a53bb57e8a56b44af14e42adc5073ac2263

Documentation

view details

Gwendal Roué

commit sha 8ba05a011da43110d7a824e1cfd6983a7139b10d

EXISTS expression

view details

Gwendal Roué

commit sha 989a0e82eb3859a757ee671422be8fa057ccd783

Test for EXISTS expression

view details

Gwendal Roué

commit sha 63448fb0bc52a3063d934cab2be02de2fb1898a6

Documentation for EXISTS

view details

Gwendal Roué

commit sha 4f709e8e4f0f24e0c3590c70bf84b93d2f6bd135

CHANGELOG

view details

Gwendal Roué

commit sha 5b39494125fad6b1d23c74963586b41d66c6795f

TODO

view details

Gwendal Roué

commit sha e355af35848fd1cf97eaa2cdec7302c3032a67be

Decode NSNumber from textual database values

view details

Gwendal Roué

commit sha d9083a7bf5ecaa0bb6995cc2a1a5e459bc3928e9

Support for Foundation.Decimal

view details

Gwendal Roué

commit sha 791a8ed41b13822a2dd8865e631eb9f0050c1956

Update documentation for NSNumber, NSDecimalNumber, and Decimal

view details

Gwendal Roué

commit sha 178727fd5b915edb62009a6c7edef1fbd2f2a116

CHANGELOG

view details

Gwendal Roué

commit sha 64f5e6bdca5d05f2d70d8e5e164e7d631665f5b0

Always use Decimal(string:) when decoding strings

view details

push time in 6 hours

issue commentwebpack/webpack

Failure to load loader from a scoped package when using pnpm

@alexander-akait Hi, If this is still pending ,then can i pick this and raise a PR?

Kiskae

comment created time in 6 hours

Pull request review commentAliyunContainerService/k8s-for-docker-desktop

release k8s v1.21.1

-k8s.gcr.io/pause:3.2=registry.cn-hangzhou.aliyuncs.com/google_containers/pause:3.2-k8s.gcr.io/kube-controller-manager:v1.19.7=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-controller-manager:v1.19.7-k8s.gcr.io/kube-scheduler:v1.19.7=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-scheduler:v1.19.7-k8s.gcr.io/kube-proxy:v1.19.7=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-proxy:v1.19.7-k8s.gcr.io/kube-apiserver:v1.19.7=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver:v1.19.7+k8s.gcr.io/pause:3.4.1=registry.cn-hangzhou.aliyuncs.com/google_containers/pause:3.4.1+k8s.gcr.io/kube-controller-manager:v1.21.1=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-controller-manager:v1.21.1+k8s.gcr.io/kube-scheduler:v1.21.1=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-scheduler:v1.21.1+k8s.gcr.io/kube-proxy:v1.21.1=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-proxy:v1.21.1+k8s.gcr.io/kube-apiserver:v1.21.1=registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver:v1.21.1 k8s.gcr.io/etcd:3.4.13-0=registry.cn-hangzhou.aliyuncs.com/google_containers/etcd:3.4.13-0-k8s.gcr.io/coredns:1.7.0=registry.cn-hangzhou.aliyuncs.com/google_containers/coredns:1.7.0+k8s.gcr.io/coredns:1.8.0=registry.cn-hangzhou.aliyuncs.com/google_containers/coredns:1.8.0

@denverdino 测试完毕, 可以合并

zxyle

comment created time in 6 hours

PR opened jamiebuilds/the-super-tiny-compiler

Update to use ES Modules

Updates code to use modern import / export syntax, as well as removing 'use-strict' as strict mode is enabled automatically for ES Modules.

+4 -6

0 comment

2 changed files

pr created time in 9 hours

push eventgroue/GRDB.swift

Gwendal Roué

commit sha 220d221ea69272768f7f37a54d0d8fd3587db4bf

CHANGELOG

view details

push time in 9 hours

issue commentgroue/GRDB.swift

Create DatabaseValueConvertible from list of values

But I forgot to add SQL interpolation support to cached statements 🤦

This will ship in next GRDB version. You will be able to write:

let statement = try db.cachedSelectStatement(literal: """
   select * from user where firstName in \(firstNames)
   """)
Jasperav

comment created time in 9 hours

push eventgroue/GRDB.swift

Gwendal Roué

commit sha 2ce588ad7688c33a708abc0d041a59fde5a1b20f

Cached statements from a `SQL` literal Addresses https://github.com/groue/GRDB.swift/issues/985#issuecomment-859570434

view details

push time in 9 hours

issue commentgroue/GRDB.swift

5.7.4 performance regression?

Next GRDB version will ship with a naive fix. Maybe you'll tell me, @gverdouw, how it enhances your setup.

gverdouw

comment created time in 10 hours

pull request commentwebpack/webpack

doc: add wasm examples to ToC

<!-- identifier: ci-result -->

@gthb The most important CI builds failed. This way your PR can't be merged.

Please take a look at the CI results from azure (2 errors / 0 warnings) and appveyor (success) and fix these issues.

gthb

comment created time in 10 hours

push eventgroue/GRDB.swift

Gwendal Roué

commit sha 7050e3cc4835ca60740ba755eda489e5e054911b

Naive fix for #983

view details

push time in 10 hours

issue closedgroue/GRDB.swift

Enhancement: Select the primary key

An idea from @pakko972 (❤️):

extension QueryInterfaceRequest where RowDecoder: Identifiable & TableRecord {
    // Return a requests that selects the primary key
    func selectID() -> QueryInterfaceRequest<RowDecoder.ID> {
        select { db in
            let pk = try db.primaryKey(self.databaseTableName)
            guard let column = pk.columns.first,
                  pk.columns.count == 1
            else {
                fatalError("Not a single-column primary key")
            }
            return [Column(column)]
        }.asRequest(of: RowDecoder.ID.self)
    }
}

Usage:

struct Player: TableRecord, Identifiable {
    var id: Int64 // String, ...
}

let playersIDs /*: [Int64] */ = try dbQueue.read {
    try Player.all().selectID().fetchAll(db)
}

closed time in 10 hours

groue

issue commentgroue/GRDB.swift

Enhancement: Select the primary key

Will ship in next version.

groue

comment created time in 10 hours

push eventgroue/GRDB.swift

Gwendal Roué

commit sha fed0b6b136bd2519cb32464a827826e9359fab9a

CHANGELOG

view details

push time in 10 hours

push eventgroue/GRDB.swift

Gwendal Roué

commit sha e3674ccdf290df68263549156f00f403abfad13e

Documentation for selectID()

view details

push time in 10 hours

issue commentAliyunContainerService/k8s-for-docker-desktop

有1.21.1吗

@dmpx 这些镜像是MAc上的吗

h0730303779

comment created time in 10 hours

push eventgroue/GRDB.swift

Gwendal Roué

commit sha 046564dab6d64f9ab3724e6d88103f627a94e414

Fix #991

view details

push time in 10 hours

issue commentAliyunContainerService/k8s-for-docker-desktop

有1.21.1吗

@GDongYang 步骤和官方文档一样,只是镜像更换了一下

h0730303779

comment created time in 10 hours

issue closedgroue/GRDB.swift

Crashed at Assert at DataBase.swift

<!-- ℹ We use Github issues for bug reports, feature requests, general support, and questions about the library.

Please fill out this template when filing an issue. -->

What did you do?

<!-- Please replace this with what you did. -->

What did you expect to happen?

Find the root cause of the crash issue.

What happened instead?

When i launch the app. Crash happens occasionally at file: DataBase.swift on line 418, assert method

    /// This method must be called before database deallocation
    func close() {
        SchedulingWatchdog.preconditionValidQueue(self)
        assert(!isClosed)
        
        ...
    }

Environment

GRDB flavor(s): GRDB GRDB.swift (= 4.14.0):
Installation method: CocoaPods Xcode version: Xcode 12.2 Swift version: 5.0 Platform(s) running GRDB: iOS macOS version running Xcode:

Demo Project

<!-- Please link to or upload a project we can download that reproduces the issue. -->

closed time in 11 hours

glve1027

pull request commentgroue/GRDB.swift

FTS: add support of ifNotExists in synchronize()

All right, let's just ship this 👍

pp5x

comment created time in 11 hours

push eventgroue/GRDB.swift

Gwendal Roué

commit sha a9ea79dba99208c0bef930c9ea1f18508f0cc39b

CHANGELOG

view details

Gwendal Roué

commit sha d6069888b8299186d8a66d98ee35699dc2845af2

Update thank you notice

view details

push time in 11 hours

push eventgroue/GRDB.swift

Pierre Pagnoux

commit sha d8cb3066a1529d0a10414b7041f320728f122749

synchronize: failing test for ifNotExists support

view details

Gwendal Roué

commit sha 1a2de126cec8d1456fcfe5356c90bf580efdcfd0

Fix #988

view details

Gwendal Roué

commit sha 1aeb10439f1a136edbe7d3bd701783e5e4cab561

synchronize: failing test for FTS5 ifNotExists support

view details

Gwendal Roué

commit sha 18083165a162d57711226af606a33e92fc6af5b2

Merge pull request #989 from pp5x/pp5x/fts-synchronize-if-not-exists FTS: add support of ifNotExists in synchronize()

view details

push time in 11 hours

PR merged groue/GRDB.swift

FTS: add support of ifNotExists in synchronize() bug

As mentioned in #988 , synchronize() does not take the ifNotExists flag from the table. Which may result in trigger creation errors, but they could already exists.

Attempt is made to extend the current protocol by adding another that add support of VirtualTableModule metadata. Which allows classes that implements it to read them when they are provided.

Draft PR: I am not fluent in Swift enough to figure out how to make the protocol VirtualTableModuleWithMetadata to dispatch and call the appropriate method the makeTableDefinition.

Pull Request Checklist

  • [x] This pull request is submitted against the development branch.
  • [ ] Inline documentation has been updated.
  • [ ] README.md or another dedicated guide has been updated.
  • [x] Changes are tested.
+127 -11

3 comments

6 changed files

pp5x

pr closed time in 11 hours

pull request commentwebpack/webpack

assign class property keys to the correct top level symbol

<!-- identifier: ci-result -->

@sokra The most important CI builds failed. This way your PR can't be merged.

Please take a look at the CI results from azure (9 errors / 1 warnings) and appveyor (failure) and fix these issues.

sokra

comment created time in 11 hours