profile
viewpoint

haifengkao/CHScrollView 11

An open source implementation of UIScrollView

haifengkao/AltHanekeSwift 1

an alternative HanekeSwift which provides flexibility

haifengkao/AlwaysOpenWorkspace 1

Automatically open VSCode workspace by finding the project root (identified by presence of known directory or file).

haifengkao/fast-sourcekit-lsp 1

sourcekit-lsp with server side prefix matching to avoid loading thousands of symbols

haifengkao/a.vim 0

Alternate Files quickly (.c --> .h etc)

haifengkao/ansible-workshop 0

Ansible Workshop - Hands-On Materials.

haifengkao/argcomplete 0

Python and tab completion, better together.

haifengkao/BowLite 0

unofficial mirror

haifengkao/BowLiteCore 0

unofficial mirror

startedamueller/introduction_to_ml_with_python

started time in 15 hours

startedEpistasisLab/tpot

started time in 15 hours

issue commentvknabel/vscode-swift-development-environment

Assumption about .build

I think .build is generated by swift package manager. how do you get spm to generate .build-macos and .build-linux? My spm generates macos codes to .build/x86_64-apple-macosx, not .build-macos

fappelman

comment created time in 8 days

startedmonikkinom/TensorFlow-Examples

started time in 9 days

startedsatyaSK/LSTM-Sequence-Counter

started time in 9 days

startedethen8181/news-networks

started time in 9 days

startedujjwalkarn/Machine-Learning-Tutorials

started time in 9 days

startedethen8181/machine-learning

started time in 9 days

startedaws/amazon-sagemaker-examples

started time in 9 days

startedh2oai/h2o-3

started time in 9 days

startedlyswhut/lx-music-desktop

started time in 11 days

startedwangriyu/books

started time in 11 days

startedintegeruser/FP-growth

started time in 11 days

startedtotoroyyw/USTC.Courses.Resource

started time in 11 days

startedRaiMan/SikuliX1

started time in 11 days

starteddmytro-anokhin/remote-content-view

started time in 12 days

issue openedSwiftRex/SwiftRex

When to release EffectMiddleware?

EffectMiddleware has been stayed in develop for 2 months. Are you going to release it anytime soon?

created time in 14 days

issue commentVSCodeVim/Vim

README needs more information about Multi-Cursor mode for Vim users

@Hubro might also be SHIFT + ALT + I https://nickjanetakis.com/blog/insert-multiple-cursors-at-the-start-of-every-line-with-vscode

Search for "Add Cursors to Line Ends" in your settings

I have to disable VSCodeVim for SHIFT + ALT + I to work

Hubro

comment created time in 17 days

startedzbzhu99/Constrained-Decision-Making-Paper-List

started time in 22 days

issue commentmicrosoft/vscode

Possible to disable?: 'Save as Workspace?' prompt, upon closing a window

I have updated my extension to quit vscode when all editors are closed https://marketplace.visualstudio.com/items?itemName=Hai.AlwaysOpenWorkspace

The trick is to call vscode.commands.executeCommand('workbench.action.quit'); when all editors are closed. workbench.action.quit will quit vscode without any prompts

haifengkao

comment created time in 22 days

startedhaifengkao/AlwaysOpenWorkspace

started time in 22 days

push eventhaifengkao/AlwaysOpenWorkspace

Hai Feng Kao

commit sha 88c5a45c4df695bc0b161e8a8631fa708f92aa47

Update README.md

view details

push time in 22 days

push eventhaifengkao/AlwaysOpenWorkspace

Hai Feng Kao

commit sha 8a2a8eb0df8a507c1bfb831e1b60e48dd01a0b4b

Update README.md

view details

push time in 22 days

push eventhaifengkao/AlwaysOpenWorkspace

Hai Feng Kao

commit sha 4fddb6c42ae9b57222b91d278053883412aab29b

Update README.md

view details

push time in 22 days

push eventhaifengkao/AlwaysOpenWorkspace

dependabot[bot]

commit sha b28675fd5bb6e08e026f79e8b6a197450e3cdb2c

Bump lodash from 4.17.15 to 4.17.19 Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19) Signed-off-by: dependabot[bot] <support@github.com>

view details

Hai Feng Kao

commit sha 733aa661fa2c8241f7e60980bc1c380c3fa2c9bc

Merge branch 'master' into dependabot/npm_and_yarn/lodash-4.17.19

view details

Hai Feng Kao

commit sha 2bd69f08e59478d99fcc5a232eb68c84cce1e8b1

Merge pull request #1 from haifengkao/dependabot/npm_and_yarn/lodash-4.17.19 Bump lodash from 4.17.15 to 4.17.19

view details

push time in 22 days

PR merged haifengkao/AlwaysOpenWorkspace

Bump lodash from 4.17.15 to 4.17.19 dependencies

Bumps lodash from 4.17.15 to 4.17.19. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lodash/lodash/releases">lodash's releases</a>.</em></p> <blockquote> <h2>4.17.16</h2> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lodash/lodash/commit/d7fbc52ee0466a6d248f047b5d5c3e6d1e099056"><code>d7fbc52</code></a> Bump to v4.17.19</li> <li><a href="https://github.com/lodash/lodash/commit/2e1c0f22f425e9c013815b2cd7c2ebd51f49a8d6"><code>2e1c0f2</code></a> Add npm-package</li> <li><a href="https://github.com/lodash/lodash/commit/1b6c282299f4e0271f932b466c67f0f822aa308e"><code>1b6c282</code></a> Bump to v4.17.18</li> <li><a href="https://github.com/lodash/lodash/commit/a370ac81408de2da77a82b3c4b61a01a3b9c2fac"><code>a370ac8</code></a> Bump to v4.17.17</li> <li><a href="https://github.com/lodash/lodash/commit/1144918f3578a84fcc4986da9b806e63a6175cbb"><code>1144918</code></a> Rebuild lodash and docs</li> <li><a href="https://github.com/lodash/lodash/commit/3a3b0fd339c2109563f7e8167dc95265ed82ef3e"><code>3a3b0fd</code></a> Bump to v4.17.16</li> <li><a href="https://github.com/lodash/lodash/commit/c84fe82760fb2d3e03a63379b297a1cc1a2fce12"><code>c84fe82</code></a> fix(zipObjectDeep): prototype pollution (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4759">#4759</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/e7b28ea6cb17b4ca021e7c9d66218c8c89782f32"><code>e7b28ea</code></a> Sanitize sourceURL so it cannot affect evaled code (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4518">#4518</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/0cec225778d4ac26c2bac95031ecc92a94f08bbb"><code>0cec225</code></a> Fix lodash.isEqual for circular references (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4320">#4320</a>) (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4515">#4515</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/94c3a8133cb4fcdb50db72b4fd14dd884b195cd5"><code>94c3a81</code></a> Document matches* shorthands for over* methods (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4510">#4510</a>) (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4514">#4514</a>)</li> <li>Additional commits viewable in <a href="https://github.com/lodash/lodash/compare/4.17.15...4.17.19">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~mathias">mathias</a>, a new releaser for lodash since your current version.</p> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+4 -3

1 comment

1 changed file

dependabot[bot]

pr closed time in 22 days

push eventhaifengkao/AlwaysOpenWorkspace

Hai Feng Kao

commit sha d0592b8e82a5ec51b0a43911f66dac24b48636ce

Update README.md

view details

Hai Feng Kao

commit sha a751111fdfbff2e60cade9cbe1fdf01e737b3e9a

support autoclose vscode

view details

Hai Feng Kao

commit sha 2b8b28d814546b44d72be31a100a7a6a96c85391

0.0.4

view details

Hai Feng Kao

commit sha dc78756b04611010a1d2d99edd78b6d8f2ef49d9

0.0.5

view details

Hai Feng Kao

commit sha 42d62ba3df4beb8a4fa29aa5220bd3705d4697d4

0.0.6

view details

Hai Feng Kao

commit sha 1f7dabe4ab1ff0d8d274084843c26687e6e833d1

update readme

view details

Hai Feng Kao

commit sha ef9619446afd24ed4e65286c089e7fa693550ce1

0.0.7

view details

Hai Feng Kao

commit sha 733aa661fa2c8241f7e60980bc1c380c3fa2c9bc

Merge branch 'master' into dependabot/npm_and_yarn/lodash-4.17.19

view details

push time in 22 days

push eventhaifengkao/AlwaysOpenWorkspace

Hai Feng Kao

commit sha a751111fdfbff2e60cade9cbe1fdf01e737b3e9a

support autoclose vscode

view details

Hai Feng Kao

commit sha 2b8b28d814546b44d72be31a100a7a6a96c85391

0.0.4

view details

Hai Feng Kao

commit sha dc78756b04611010a1d2d99edd78b6d8f2ef49d9

0.0.5

view details

Hai Feng Kao

commit sha 42d62ba3df4beb8a4fa29aa5220bd3705d4697d4

0.0.6

view details

Hai Feng Kao

commit sha 1f7dabe4ab1ff0d8d274084843c26687e6e833d1

update readme

view details

Hai Feng Kao

commit sha ef9619446afd24ed4e65286c089e7fa693550ce1

0.0.7

view details

push time in 22 days

PR opened SwiftRex/SwiftRex

Fix leak

close #77

+40 -6

0 comment

2 changed files

pr created time in 23 days

create barnchhaifengkao/SwiftRex

branch : FixLeak

created branch time in 23 days

issue openedohmyzsh/ohmyzsh

af-magic: how to remove username@computer from prompt?

<!-- Fill this out before posting. You can delete irrelevant sections, but an issue where no sections have been filled will be deleted without comment. -->

Is your feature request related to a particular plugin or theme? If so, specify it. af-magic

Is your feature request related to a problem? Please describe. I don't want the right prompt

Describe the solution you'd like Something like agnoster. Hide the right prompt when "$USER" == "$DEFAULT_USER" https://github.com/ohmyzsh/ohmyzsh/blob/6ebf27b8d34c760e25749790ea78dcb0c220d76b/themes/agnoster.zsh-theme#L91

Related Issues https://github.com/ohmyzsh/ohmyzsh/issues/5581 agnoster: how to remove username@computer from prompt?

created time in 23 days

fork haifengkao/SwiftRex

Swift + Redux + (Combine|RxSwift|ReactiveSwift) -> SwiftRex

fork in 23 days

created taghaifengkao/BowLite

tag0.8.0

unofficial mirror

created time in 23 days

push eventhaifengkao/BowLite

Hai Feng Kao

commit sha de6d1b4fdfd643e03fe87babb6e45b753656a89b

fix incorrect name

view details

Hai Feng Kao

commit sha d603088ac4bc26d61e9d57a25ea79d130e29e437

bump 0.8.0

view details

push time in 23 days

created taghaifengkao/BowLite

tag0.6.0

unofficial mirror

created time in 23 days

created taghaifengkao/BowLite

tag0.7.0

unofficial mirror

created time in 23 days

push eventhaifengkao/BowLite

Hai Feng Kao

commit sha 589a0a3b5cfca17c89d28318ad9fe26c648c83f5

update pods

view details

Hai Feng Kao

commit sha 22c5f23835d01fe1899b68eec164678bd38cddd9

bump 0.5.0

view details

Hai Feng Kao

commit sha 177b6e190751fb12f6ba33e486fc5fe4c74a2694

bump 0.6.0

view details

Hai Feng Kao

commit sha 1a80dda06725d8b91298901f3d1cdc10fbb582cf

bump 0.7.0

view details

push time in 23 days

issue commentSwiftRex/SwiftRex

possible retain cycle?

Yes, it works 👏👏👏

haifengkao

comment created time in 23 days

issue commentSwiftRex/SwiftRex

possible retain cycle?

weakly receive context function is not easy, because middleware is a protocol.

I think it's possible to weakify onAction: (ActionType, ActionSource)

haifengkao

comment created time in 23 days

issue openedmicrosoft/vscode

Possible to disable?: 'Save as Workspace?' prompt, upon closing a window

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

The issue remains unsolved after 2 years (previous one: https://github.com/microsoft/vscode/issues/42657) There is a recent question on stack overflow (https://stackoverflow.com/questions/60671567/disable-vscode-prompt-do-you-want-to-save-your-workspace-configuration)

I think we need an option to disable this prompt. It's really annoying

截圖 2020-10-07 上午2 31 46

created time in 23 days

push eventhaifengkao/specleaks

Hai Feng Kao

commit sha 22e21baf58c87b566a92e6692af5917cbe669d49

Update SpecLeaks.podspec

view details

push time in 25 days

fork haifengkao/specleaks

Unit Tests Memory Leaks in Swift. Write readable tests for mem leaks easily with these Quick and Nimble extensions.

fork in 25 days

issue commentSwiftRex/SwiftRex

possible retain cycle?

Do you need any help? I can change all middleware to class type and send you a pull request :)

haifengkao

comment created time in 25 days

startedyuwchen/CITISEN

started time in a month

startedxdworks/naval

started time in a month

startedapple/swift-nio

started time in a month

startedapple/swift-system

started time in a month

startednick6969/Refactor-Talk

started time in a month

issue commenthaifengkao/YWebView

Clear previous cookies before of adding the new ones

sure. please send me a PR. I think it should be a public method.

asam139

comment created time in a month

startedtensorflow/addons

started time in a month

issue commenttensorflow/transform

Obtaining inverse transform values from tft.transform

Ok, now I understand your point. The problem is I don't know how to apply TFT output in the form of a SavedModel to TensorflowLite.
Do you have any tutorial or doc on this topic?

agonojo

comment created time in a month

created taghaifengkao/BowLite

tag0.4.0

unofficial mirror

created time in a month

push eventhaifengkao/BowLite

Hai Feng Kao

commit sha 78262c1dec28ece3854abdc7aea0dd0ea22baee7

bump 0.4.0

view details

push time in a month

startedjrosebr1/imutils

started time in a month

startedch-tseng/report_BackgroundSubtractor

started time in a month

startedpichillilorenzo/flutter_inappwebview

started time in a month

issue commenttensorflow/transform

Obtaining inverse transform values from tft.transform

Sure. From the doc, it says AnalyzeAndTransformDataset can "may be more efficient since it avoids multiple passes over the data".
No, it won't be more efficient because

Option 1. it wastes spaces to store duplicated data if we want to preprocess the data in a single pass Option2. it wastes time because we need 2 passes over the data in order to get the statistics

We could be more efficient because the mean and var are stored in the computation graph. We just don't have any API to get them.

https://www.tensorflow.org/tfx/transform/api_docs/python/tft_beam/AnalyzeAndTransformDataset 截圖 2020-09-25 上午8 58 34

agonojo

comment created time in a month

issue commentSwiftRex/SwiftRex

possible retain cycle?

Ok, then we will have a bigger problem. IdentityMiddleware, LiftMiddleware, ComposedMiddleware, AnyMiddleware are all struct type. Do you want to patch all of them?

haifengkao

comment created time in a month

issue commentSwiftRex/SwiftRex

possible retain cycle?

The problem is that middleware might be a structure, so it cannot be weak. Do you want to make middleware class only?

haifengkao

comment created time in a month

issue commentSwiftRex/SwiftRex

possible retain cycle?

I have uploaded a test to show this issue.

https://github.com/haifengkao/CoreLocationMiddleware/blob/main/Tests/CoreLocationMiddlewareTests/SpecLeakTests.swift

The result is here. CoreLocationMiddleware stores the output, so it got the same problem. If I don't add the subject to the store or remove self.output = output, the leak will disappear. 截圖 2020-09-24 下午5 54 14

haifengkao

comment created time in a month

push eventhaifengkao/CoreLocationMiddleware

Hai Feng

commit sha 6f384ce7114b26b632acb3fe4bf10d50867b2108

add leak test case

view details

push time in a month

fork haifengkao/CoreLocationMiddleware

CoreLocation Middleware, Reducer and state management for SwiftRex

fork in a month

startednpvisual/MenuNav-Redux

started time in a month

issue commenttensorflow/transform

Obtaining inverse transform values from tft.transform

So I have two options:

  1. store the same mean and same var in every row of my data
  2. run the preprocessing_fn twice, the first pass for data standardization, and the second pass to compute mean and var (which are already computed in the first one, just no way to get the values). I think it defeats the purpose of preprocessing_fn. preprocessing_fn should compute the whole stuff in a single pass.
agonojo

comment created time in a month

issue openedSwiftRex/SwiftRex

possible retain cycle?

OnStateChangeMiddleware will never be released if I add it to a store I found that if I remove self.output = output, it won't leak anymore. I tried to change the output type to weak to solve the retain cycle, but it's not possible because AnyActionHandler is struct type. Is this design intentional?

public class OnStateChangeMiddleware: Middleware {
        var getState: GetState<StateType>!
        var output: AnyActionHandler<OutputActionType>!

        public func receiveContext(getState: @escaping GetState<State>, output: AnyActionHandler<MainAction>) {
            self.getState = getState
            self.output = output // remove this line will solve the leak
        }
}

created time in a month

issue closedSwiftRex/SwiftRex

how to run multiple effects for a single action?

the current EffectMiddleware takes single action and returns single effect how could I run multiple effects for a single action?

    public static func promise<H: Hashable>(
        token: H,
        from dispatcher: ActionSource = .here(),
        perform: @escaping (Context, (OutputAction) -> Void) -> Void
    ) -> Effect {
        Effect<Dependencies, OutputAction> { context in
            Deferred<Future<DispatchedAction<OutputAction>, Never>> {
                Future { completion in
                    perform(context) { outputAction in
                        completion(.success(DispatchedAction(outputAction, dispatcher: dispatcher)))
                    }
                }
            }
        }
    }

closed time in a month

haifengkao

startedAliSoftware/Dip

started time in a month

startedAliSoftware/SourceryTemplates

started time in a month

issue closedSwiftRex/SwiftRex

How to detect state change in middleware?

I have a middleware which will dispatch new actions when the state changes.

e.g. action1 arrive reducer changes the state to state1 middleware detects the state change and dispatch a new action2

How to implement such middleware in CombineRex?

closed time in a month

haifengkao

startedClean-Swift/CleanStore

started time in a month

startedinfinitered/ignite-bowser

started time in a month

issue openedSwiftRex/SwiftRex

How to detect state change in middleware?

I have a middleware which will dispatch new actions when the state changes.

e.g. action1 arrive reducer changes the state to state1 middleware detects the state change and dispatch a new action2

How to implement such middleware in CombineRex?

created time in a month

startedthoughtbot/CombineViewModel

started time in a month

startedfantasyland/fantasy-land

started time in a month

created taghaifengkao/BowLite

tag0.3.0

unofficial mirror

created time in a month

push eventhaifengkao/BowLite

Hai Feng Kao

commit sha 9ccdf13780ebc6348f190e7b62369eba5e11d9e3

bump 0.3.0

view details

push time in a month

created taghaifengkao/BowLite

tag0.2.0

unofficial mirror

created time in a month

create barnchhaifengkao/BowLite

branch : master

created branch time in a month

created taghaifengkao/BowLiteOptics

tag0.2.0

unofficial mirror

created time in a month

create barnchhaifengkao/BowLiteOptics

branch : master

created branch time in a month

created taghaifengkao/BowLiteEffects

tag0.2.0

unofficial mirror

created time in a month

create barnchhaifengkao/BowLiteEffects

branch : master

created branch time in a month

startedethyreal/mostly-adequate-guide-swift

started time in a month

startedRag0n/QuNotes

started time in a month

startedbuscarini/glasses

started time in a month

startedtruizlop/pure-swift-ui

started time in a month

created taghaifengkao/BowLiteCore

tag0.5.0

unofficial mirror

created time in a month

push eventhaifengkao/BowLiteCore

Hai Feng Kao

commit sha 239b8f4fe5846deda22aa72835d9f69adc542ed9

update podspec

view details

Hai Feng Kao

commit sha 662437f1f576cdb502be617fe076c429c1c9d856

bump 0.5.0

view details

push time in a month

created repositoryhaifengkao/BowLite

unofficial mirror

created time in a month

created repositoryhaifengkao/BowLiteEffects

unofficial mirror

created time in a month

created repositoryhaifengkao/BowLiteOptics

unofficial mirror

created time in a month

created taghaifengkao/BowLiteCore

tag0.4.0

unofficial mirror

created time in a month

push eventhaifengkao/BowLiteCore

Hai Feng Kao

commit sha 2c1a6d9762e31fb675ced5a9d087386c18561619

update podspec

view details

Hai Feng Kao

commit sha 686b77625e1a66c0d0883627999822a4d1812099

bump 0.4.0

view details

push time in a month

created taghaifengkao/BowLiteCore

tag0.3.0

unofficial mirror

created time in a month

created taghaifengkao/BowLiteCore

tag0.2.0

unofficial mirror

created time in a month

create barnchhaifengkao/BowLiteCore

branch : master

created branch time in a month

created repositoryhaifengkao/BowLiteCore

unofficial mirror

created time in a month

startedhmemcpy/milewski-ctfp-pdf

started time in a month

startedbow-swift/Category-Theory-for-Programmers

started time in a month

startedpointfreeco/swift-composable-architecture

started time in a month

more