profile
viewpoint

startedRinnegatamante/DaedalusX64-vitaGL

started time in 15 hours

delete branch kiendang/brew

delete branch : cask-upgrade-error

delete time in 2 days

push eventkiendang/brew

Kien Dang

commit sha 69189721dbb29822b8d30fbe79d6f3f07e77f5d9

Prepend cask name to cask upgrade error message

view details

push time in 3 days

PR opened Homebrew/brew

Prepend cask name to cask upgrade error message
  • [x] Have you followed the guidelines in our Contributing document?
  • [x] Have you checked to ensure there aren't other open Pull Requests for the same change?
  • [x] Have you added an explanation of what your changes do and why you'd like us to include them?
  • [ ] Have you written new tests for your changes? Here's an example.
  • [x] Have you successfully run brew style with your changes locally?
  • [x] Have you successfully run brew tests with your changes locally?

When upgrading casks all exceptions are aggregated and displayed at the end. When multiple casks are upgraded, this makes it sometimes not obvious which cask the exception belongs to.

Solution: prepend the cask name to the error message.

Before

Error: pkg source file not found: 'gfortran-6.3-Sierra/gfortran.pkg'

After

Error: gfortran 6.3: pkg source file not found: 'gfortran-6.3-Sierra/gfortran.pkg'

(In this example the original error message contains gfortran. However in some cases the error message does not contain reference to the cask being upgraded at all.)

+1 -1

0 comment

1 changed file

pr created time in 4 days

create barnchkiendang/brew

branch : cask-upgrade-error

created branch time in 4 days

push eventkiendang/brew

Kien Dang

commit sha 6e2551ea8485bc523655b3f666c1b7b34c0abc9c

Prepend cask name to cask upgrade error message

view details

push time in 4 days

startedpython-trio/trio

started time in 5 days

startedodashi/latexify_py

started time in 9 days

startedikashnitsky/dataviz-mpidr

started time in 16 days

startedtortoise/tortoise-orm

started time in 17 days

create barnchkiendang/sinatra.github.com

branch : intro-syntax-highlight

created branch time in 18 days

startedRyujinx/Ryujinx

started time in 22 days

startedkrassowski/jupyterlab-lsp

started time in 23 days

startedseanmonstar/warp

started time in 25 days

push eventjshap70/aur-nvidia-container-toolkit

Kien Dang

commit sha c082aff23214237cb114465abaf35aab7be56bee

v1.2.0

view details

push time in 25 days

push eventkiendang/aur-libnvidia-container-bin

Kien Dang

commit sha e854f5d7425e5c8fca2211dc85d8db5668173578

v1.2.0

view details

push time in 25 days

push eventjshap70/aur-libnvidia-container

Kien Dang

commit sha 83a378e07acc900f63597c9248000f2fce502f36

v1.2.0

view details

push time in 25 days

startedn4ru/1vyrain

started time in a month

delete branch kiendang/aur-nvidia-container-runtime-bin

delete branch : v3.3.0

delete time in a month

delete branch kiendang/aur-nvidia-container-runtime

delete branch : v3.3.0

delete time in a month

push eventkiendang/aur-nvidia-container-runtime

Kien Dang

commit sha d48ec691449b1bdcd7d5b336ce3e0b8a29e856fe

v3.3.0

view details

push time in a month

create barnchkiendang/aur-nvidia-container-runtime

branch : v3.3.0

created branch time in a month

push eventkiendang/aur-nvidia-container-runtime-bin

Kien Dang

commit sha 3759967f963e6a1a010e4e05f35a0072e4ece5b6

v3.3.0

view details

push time in a month

create barnchkiendang/aur-nvidia-container-runtime-bin

branch : v3.3.0

created branch time in a month

push eventjshap70/aur-nvidia-docker

Kien Dang

commit sha 40ee4c7ac8fc1dbb934ea7579067ab73d031c598

v2.4.0

view details

push time in a month

startedfastai/fastbook

started time in a month

push eventkiendang/haskell-miso-skeleton

Dang Trung Kien

commit sha 31516cf4e887485d6c8a083612e5fb8eccbe364f

Update README.md

view details

push time in a month

startedtdhopper/Data-Science-Conference-Bingo

started time in a month

startedjontaylor/DDC-CI-Tools-for-OS-X

started time in a month

startedstanfordmlgroup/ngboost

started time in 2 months

startedisciences/exactextractr

started time in 2 months

startedsnoyberg/conduit

started time in 2 months

startedobsidiansystems/obelisk

started time in 2 months

startedtweag/ormolu

started time in 2 months

startedvic/laminar_cycle

started time in 2 months

pull request commentsunpy/sunpy

Update zenodo.json for 2.0

Trung Kien Dang 0000-0001-7562-6495 Saw Swee Hock School of Public Health, National University of Singapore, Singapore

dstansby

comment created time in 2 months

startedb12consulting/Laminar-Play-Slick-ZIO

started time in 2 months

issue closedkiendang/elhmc

Issue with ELHMC

Here, I have a simple linear regression example below.

library(elhmc)
#true regression coefficients
beta0 <- 5
beta1 <- -1
#Generate random data
set.seed(1)
z <- rnorm(500,0,1)
y <- beta0 + beta1 * z + rt(500,5)
#ALL NECESSARY FUNCTIONS ARE WRITTEN HERE
f <- function(params,x){
  resid.x <- x[2] - params[1] - params[2]*x[1]
  return(c(resid.x, resid.x*x[1]))
}

df <- function(params,x){
  rbind(c(-1,-x[1]),c(-x[1], -x[1]^2))
}

normal_prior <- function(x) {
  exp(-0.5 * x[1] ^ 2) / sqrt(2 * pi) * exp(-0.5 * x[2] ^ 2) / sqrt(2 * pi)
  
}

normal_prior_log_gradient <- function(x) {
  -x
}
#Run HMC
set.seed(1234)
ms <- ELHMC(initial = c(3, -2), data = cbind(z,y), fun = f, dfun = df,
n.samples = 100, prior = normal_prior, dprior = normal_prior_log_gradient,epsilon=0.01)
#I ended up getting warnings at the previous command

closed time in 2 months

weichangyu10

push eventjshap70/aur-nvidia-container-toolkit

Kien Dang

commit sha 490799cef32d147be88beef4b3c6690eb857ea14

Remove docker dependency

view details

push time in 2 months

push eventkiendang/elhmc

Kien Dang

commit sha 3cfc914944300aeaa5af666dfb4ce659fc437360

Reformat authors

view details

push time in 2 months

issue commentkiendang/elhmc

Issue with ELHMC

Hi, just did a check and that warning is harmless. It was caused by the aaply function in plyr. Probably something related to the dimnames of data.

The warning is harmless but if you want to suppress it pass data = unname(cbind(z,y)) instead of data = cbind(z,y).

weichangyu10

comment created time in 2 months

issue commentOSGeo/homebrew-osgeo4mac

Rebuild bottles when dependencies are outdated

I'm pretty sure for the formulae in homebrew-core, bottles are rebuilt whenever a dependency is upgraded

https://jonathanchang.org/blog/maintain-your-own-homebrew-repository-with-binary-bottles/

You’ll need to update your bottles in a few situations. If you release a new version of your software, update the url and sha256 in your formula and, if needed, the version field. See brew bump-formula-pr for a quick way to do this. When a library your formula depends_on has breaking changes (e.g., Boost), you’ll need to increment the revision number; if this isn’t already present in your formula, just add revision 1. You can remove this when your software gets a new version.

I could look into how homebrew set up their CI to automate this.

kiendang

comment created time in 2 months

issue commentOSGeo/homebrew-osgeo4mac

Postgresql linking requirement unclear

However, you could unlinking it after the GDAL installation and link again your desired version, whether core or osgeo.

Yes that's what I did. But considering 1. the package works fine without linking osgeo-postgres and 2. homebrew-core/postgresql is one of the most commonly installed formulae is it better to not require linking? Or at least change the caveat message which implies linking is not required

https://github.com/OSGeo/homebrew-osgeo4mac/blob/77e7c268577f4f0895e4a0dcda6c81ab8c07514a/Formula/osgeo-postgresql%4011.rb#L234-L245

kiendang

comment created time in 2 months

issue openedOSGeo/homebrew-osgeo4mac

Rebuild bottles when dependencies are outdated

Is your feature request related to a problem? Please describe.

<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->

The osgeo-gdal 3.1.0 bottle is currently broken since it was built against cfitsio 3.470 and cfitsio has been upgraded to 3.480. I discovered this when compiling the R package rgdal linking against the bottled osgeo-gdal 3.1.0. Building osgeo-gdal from source works fine.

Error: package or namespace load failed for ‘rgdal’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Users/kien/.R/library/00LOCK-rgdal/00new/rgdal/libs/rgdal.so':
  dlopen(/Users/kien/.R/library/00LOCK-rgdal/00new/rgdal/libs/rgdal.so, 6): Library not loaded: /usr/local/opt/cfitsio/lib/libcfitsio.8.dylib
  Referenced from: /usr/local/opt/osgeo-gdal/lib/libgdal.27.dylib
  Reason: image not found
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Users/kien/.R/library/rgdal’
* restoring previous ‘/Users/kien/.R/library/rgdal’

Describe the solution you'd like

<!-- A clear and concise description of what you want to happen. -->

The bottles in homebrew-core are rebuilt whenever a dependency is upgraded. Maybe we should do this here as well? I'm not sure this is a feasible solution but willing to help out.

Describe alternatives you've considered

<!-- A clear and concise description of any alternative solutions or features you've considered. -->

Additional context

<!-- Add any other context or screenshots about the feature request here. -->

created time in 2 months

issue openedOSGeo/homebrew-osgeo4mac

Postgresql linking requirement unclear

Please answers the following

I've...

  • I read
  • [x] I checked the documentation and found no answer
  • [x] I tried to install after following the suggestions
  • [x] I am running the latest version (brew update twice?)
  • [x] I checked to make sure that this issue has not already been filed
  • [ ] I uploaded logs: brew gist-logs formula

Describe the bug

<!-- A clear and concise description of what the bug is. -->

I've been using the osgeo-gdal formula for a while now. osgeo-gdal depends on osgeo-postgresql. However as my usecase does not involve postgres integration I was already using the postgresql from homebrew-core and didn't want to change that I instead installed osgeo-postgresql@11 keg-only. Everything was fine until I upgraded to 3.1.0 version, failed and realized now all osgeo-postgresql formulas, including @10 and @11 require linking and my setup of linked homebrew-core/postgresql + keg-only osgeo-postgresql@11 doesn't work anymore. May I ask what prompted the change and is it possible to revert it so that keg-only installation of osgeo-postgresql@10/@11 is enough because if I'm not wrong originally that was the intended behavior as seen in the caveat section of these formulas

https://github.com/OSGeo/homebrew-osgeo4mac/blob/77e7c268577f4f0895e4a0dcda6c81ab8c07514a/Formula/osgeo-postgresql%4011.rb#L234-L245

created time in 2 months

issue commentjshap70/aur-nvidia-container-toolkit

New version

that would be great. thanks!

kiendang

comment created time in 2 months

issue closedjshap70/aur-nvidia-container-toolkit

New version

Looks like there are new version for toolkit (1.1.1), runtime (3.2.0) and nvidia-docker (2.3.0). The new versions are available for Ubuntu etc but not made into a release on github. Could you ask the guy again? Thanks!

closed time in 2 months

kiendang

issue commentjshap70/aur-nvidia-container-toolkit

New version

yah good thing you didn't have to touch libnvidia-container this time lol. thanks for merging.

kiendang

comment created time in 2 months

Pull request review commentjshap70/aur-libnvidia-container

v1.1.1

 pkgbase = libnvidia-container 	pkgdesc = NVIDIA container runtime library-	pkgver = 1.0.6-	pkgrel = 1+	pkgver = 1.1.1+	pkgrel = 2

hmm prolly typo on my side. thanks.

kiendang

comment created time in 2 months

Pull request review commentkiendang/aur-nvidia-container-runtime-bin

v3.2.0

 pkgname=nvidia-container-runtime-bin _pkgname=nvidia-container-runtime -pkgver=3.1.4-pkgrel=1+pkgver=3.2.0 +pkgrel=1 pkgdesc='NVIDIA container runtime' arch=('x86_64') url='https://github.com/NVIDIA/nvidia-container-runtime' license=('BSD')  depends=('libseccomp' 'nvidia-container-toolkit<2.0.0')-provides=('nvidia-container-runtime=3.1.2')+provides=('nvidia-container-runtime=3.1.0')

good catch. thanks!

kiendang

comment created time in 2 months

push eventkiendang/aur-nvidia-container-runtime-bin

Kien Dang

commit sha 9a8778a9348d3e89fc3e4b200ea90799231f7741

v3.2.0

view details

push time in 2 months

issue commentjshap70/aur-nvidia-container-toolkit

New version

Looks like they've made all the releases available. I've updated the packages but not pushed yet. Everything's straightforward except they moved nvidia-container-toolkit to a separate repo from runtime and use go module to build.

kiendang

comment created time in 2 months

PR opened jshap70/aur-libnvidia-container

v1.1.1
+6 -6

0 comment

2 changed files

pr created time in 2 months

create barnchkiendang/aur-nvidia-container-runtime-bin

branch : v3.2.0

created branch time in 2 months

delete branch kiendang/aur-nvidia-container-runtime-bin

delete branch : v3.2.0

delete time in 2 months

PR opened jshap70/aur-nvidia-docker

v2.3.0
+5 -5

0 comment

2 changed files

pr created time in 2 months

create barnchjshap70/aur-nvidia-docker

branch : v2.3.0

created branch time in 2 months

create barnchkiendang/aur-nvidia-container-runtime

branch : v3.2.0

created branch time in 2 months

create barnchkiendang/aur-nvidia-container-runtime-bin

branch : v3.2.0

created branch time in 2 months

create barnchjshap70/aur-nvidia-container-toolkit

branch : v1.1.1

created branch time in 2 months

create barnchkiendang/aur-libnvidia-container-bin

branch : v1.1.1

created branch time in 2 months

create barnchjshap70/aur-libnvidia-container

branch : v1.1.1

created branch time in 2 months

delete branch kiendang/brew

delete branch : reinstall-completion

delete time in 2 months

PR opened Homebrew/brew

Update zsh completion
  • [x] Have you followed the guidelines in our Contributing document?
  • [x] Have you checked to ensure there aren't other open Pull Requests for the same change?
  • [x] Have you added an explanation of what your changes do and why you'd like us to include them?
  • [ ] Have you written new tests for your changes? Here's an example.
  • [x] Have you successfully run brew style with your changes locally?
  • [x] Have you successfully run brew tests with your changes locally?

Update zsh completion for brew install, upgrade, fetch and reinstall.

+33 -15

0 comment

1 changed file

pr created time in 2 months

create barnchkiendang/brew

branch : reinstall-completion

created branch time in 2 months

issue openedjshap70/aur-nvidia-container-toolkit

New version

Looks like there are new version for toolkit (1.1.1), runtime (3.2.0) and nvidia-docker (2.3.0). The new versions are available for Ubuntu etc but not made into a release on github. Could you ask the guy again? Thanks!

created time in 2 months

startedathityakumar/colorls

started time in 3 months

startedsourcerer-io/sourcerer-app

started time in 3 months

startedrspatial/raster

started time in 3 months

push eventkiendang/haskell-miso-skeleton

Kien Dang

commit sha b89c7f2cfa323cb9c0887050c3e1d23c86c15032

First commit

view details

push time in 3 months

create barnchkiendang/haskell-miso-skeleton

branch : master

created branch time in 3 months

created repositorykiendang/haskell-miso-skeleton

created time in 3 months

push eventkiendang/haskell-miso-skeleton

Kien Dang

commit sha 62b56cb0bff0cda9fe8203d1c230d841010eda0c

Add readme

view details

push time in 3 months

push eventkiendang/haskell-miso-skeleton

Kien Dang

commit sha 1ed373c1ffe5ba2363b5314bd6de1d36b4518def

Add readme

view details

push time in 3 months

push eventkiendang/haskell-miso-skeleton

Kien Dang

commit sha e21c74e19b0f0687d7119081b8efe4b9711dbcca

Add readme

view details

push time in 3 months

push eventkiendang/haskell-miso-skeleton

Kien Dang

commit sha 47a1245376f94aac40f96a33a6d7afaf36c3e217

Refactor nix some more

view details

push time in 3 months

push eventkiendang/haskell-miso-skeleton

Kien Dang

commit sha 8d85b185198d3ecd42f909dfe20ec194323d951a

Make ghci happy Get rid of ghci's "parse error in input '-- | ...'" error due to documentation annotation before import

view details

push time in 3 months

push eventkiendang/haskell-miso-skeleton

Kien Dang

commit sha 0ed6305141c9cf4021093084b50f386941fd2373

Make ghci happy

view details

push time in 3 months

push eventkiendang/haskell-miso-skeleton

Kien Dang

commit sha 40d91441b153a6eae204586bf0155a958cd68490

Refactor nix

view details

push time in 3 months

push eventkiendang/haskell-miso-skeleton

Kien Dang

commit sha 928cc7e5814c8ead525bdb2c9b51abc10be813bb

First commit

view details

push time in 3 months

create barnchkiendang/haskell-miso-skeleton

branch : master

created branch time in 3 months

created repositorykiendang/haskell-miso-skeleton

created time in 3 months

starteddramforever/vscode-ghc-simple

started time in 3 months

startedraquo/Laminar

started time in 3 months

startedr-spatial/sf

started time in 3 months

startedpsolymos/pbapply

started time in 3 months

starteducsd-progsys/liquidhaskell

started time in 3 months

fork kiendang/PySyft

A library for encrypted, privacy preserving machine learning

https://www.openmined.org/

fork in 3 months

more