BluThaitanium

BluThaitanium

Member Since 2 years ago

Experience Points
0
follower
Lessons Completed
0
follow
Best Reply Awards
10
repos

37 contributions in the last year

Pinned
⚡ Imaging, analysis, and simulation software for radio interferometry
⚡ JavaScript 3D Library.
Activity
Oct
27
1 month ago
pull request

BluThaitanium merge to machine-learning-exchange/mlx

BluThaitanium
BluThaitanium

Sed for linux

Fixes updating licensing by running the correct sed command corresponding to Linux and MacOS For readability- Sed commands are in separate functions, called by each xxxx_comment() function in add_license_headers.sh during execution. Throws error statement without exit code, indicating the command isn't working due to OS limitations of sed (i.e. user is using Windows)

@ckadner

push

BluThaitanium push BluThaitanium/mlx

BluThaitanium
BluThaitanium

Runs corresponding sed command for Linux and MacOS

Signed-off-by: Phu Thai [email protected]

macos syntax fix

BluThaitanium
BluThaitanium

Update licensing for outdated files

Signed-off-by: Phu Thai [email protected]

commit sha: a17ce00dc1c0d9bd60d195dd15b0507873131d4a

push time in 1 month ago
push

BluThaitanium push BluThaitanium/mlx

BluThaitanium
BluThaitanium

Runs corresponding sed command for Linux and MacOS

Signed-off-by: Phu Thai [email protected]

BluThaitanium
BluThaitanium

Update licensing for outdated files

Signed-off-by: Phu Thai [email protected]

commit sha: ecc8cf597c0988e0e54674d8983cb4e666577f18

push time in 1 month ago
pull request

BluThaitanium pull request machine-learning-exchange/mlx

BluThaitanium
BluThaitanium

Sed for linux

Fixes updating licensing by running the correct sed command corresponding to Linux and MacOS For readability- Sed commands are in separate functions, called by each xxxx_comment() function in add_license_headers.sh during execution. Throws error statement without exit code, indicating the command isn't working due to OS limitations of sed (i.e. user is using Windows)

@ckadner

Activity icon
created branch

BluThaitanium in BluThaitanium/mlx create branch sed_for_linux_

createdAt 1 month ago
Activity icon
issue

BluThaitanium issue comment machine-learning-exchange/mlx

BluThaitanium
BluThaitanium

Generating Licensing Headers do not work on Ubuntu Linux

Describe the bug Running ./hack/add_license_headers.sh returns:

sed: can't read 1i\
    // Copyright 2021 The MLX Contributors\
    //\
    // SPDX-License-Identifier: Apache-2.0\
    : No such file or directory

@ckadner

BluThaitanium
BluThaitanium

I tried this on my machine and it works:

hash_comment () {
  echo "$1"
  if ! grep -q "SPDX-License-Identifier" "$1"
  then
    if [[ "$OSTYPE" == "linux-gnu"* ]]; then
      sed -i '1i\
      # Copyright 2021 The MLX Contributors\
      #\
      # SPDX-License-Identifier: Apache-2.0\
      ' "$1"
    elif [[ "$OSTYPE" == "darwin"* ]]; then
      sed -i '' '1i\
      # Copyright 2021 The MLX Contributors\
      #\
      # SPDX-License-Identifier: Apache-2.0\
      ' "$1"
    fi
  fi
}
Activity icon
issue

BluThaitanium issue comment machine-learning-exchange/mlx

BluThaitanium
BluThaitanium

Generating Licensing Headers do not work on Ubuntu Linux

Describe the bug Running ./hack/add_license_headers.sh returns:

sed: can't read 1i\
    // Copyright 2021 The MLX Contributors\
    //\
    // SPDX-License-Identifier: Apache-2.0\
    : No such file or directory

@ckadner

BluThaitanium
BluThaitanium

From StackOverflow: Command for sed in Linux sed -i 's/STRING_TO_REPLACE/STRING_TO_REPLACE_IT/g' filename Command for sed in MacOS sed -i '' 's/STRING_TO_REPLACE/STRING_TO_REPLACE_IT/g' filename

push

BluThaitanium push BluThaitanium/mlx

BluThaitanium
BluThaitanium

Two seperate commands for identifying and updating outdated packages

Signed-off-by: Phu Thai [email protected]

commit sha: 41b830fe2919f38e87b133c2765366e75d45e85f

push time in 1 month ago
Activity icon
issue

BluThaitanium issue machine-learning-exchange/mlx

BluThaitanium
BluThaitanium

Generating Licensing Headers do not work on Ubuntu Linux

Describe the bug Running ./hack/add_license_headers.sh returns:

sed: can't read 1i\
    // Copyright 2021 The MLX Contributors\
    //\
    // SPDX-License-Identifier: Apache-2.0\
    : No such file or directory

@ckadner

push

BluThaitanium push BluThaitanium/mlx

BluThaitanium
BluThaitanium

Two seperate commands for identifying and updating outdated packages

Signed-off-by: Phu Thai [email protected]

commit sha: d24d5f1de6c06ccea84b34c6a5dda41355d8dad4

push time in 1 month ago
push

BluThaitanium push BluThaitanium/mlx

BluThaitanium
BluThaitanium

UI development with Docker Compose (#230)

  • UI development with Docker Compose

Signed-off-by: Christian Kadner [email protected]

  • Update export statements

Co-authored-by: BluThaitanium [email protected]

  • Clarify UI development setup instructions

Signed-off-by: Christian Kadner [email protected]

  • Fix formatting of code blocks

Signed-off-by: Christian Kadner [email protected]

Co-authored-by: BluThaitanium [email protected]

BluThaitanium
BluThaitanium

Move Copyright notice to bottom of page, Issue #215 (#231)

  • moves the copyright notice as a sticky footer

  • Removed debugging css changes

  • Removed unused imports

BluThaitanium
BluThaitanium

API development with Docker Compose (#229)

  • API development with Docker Compose

Signed-off-by: Christian Kadner [email protected]

  • Clarify working directories

Signed-off-by: Christian Kadner [email protected]

  • Add note about virtualenv

Signed-off-by: Christian Kadner [email protected]

  • Clarify that 3 terminals are running in parallel

Signed-off-by: Christian Kadner [email protected]

BluThaitanium
BluThaitanium

add the announcement blog post (#232)

BluThaitanium
BluThaitanium

Add readme backup for models and datasets (#228)

Signed-off-by: Andrew-Butler [email protected]

BluThaitanium
BluThaitanium

Add upload page scroll and fix security issue (#223)

Signed-off-by: Andrew-Butler [email protected]

BluThaitanium
BluThaitanium

Fix sidebar on very small screens (#221)

Signed-off-by: Andrew-Butler [email protected]

BluThaitanium
BluThaitanium

Convert to SDPX license headers (#210)

  • Replace license headers with SPDX license ID
  • Replace Copyright by "IBM" with "MLX Contributors"
  • Update add_license_headers.sh script
  • Add missing license headers
  • Add Makefile target to validate license headers
  • Add license header check to Travis CI

Related: #89

Signed-off-by: Christian Kadner [email protected]

BluThaitanium
BluThaitanium
BluThaitanium
BluThaitanium
BluThaitanium
BluThaitanium

[API] Update to elyra-server package 3.2.1 (#246)

  • Move from kfp-notebook to elyra-server==3.2.1 to run notebooks
  • Use ExecuteFileOp instead of NotebookOp
  • Update Dockerfile with new build dependencies since cryptography now requires Rust, which requires cargo
  • Enable anonymous read access to notebook requirements file, since Elyra pulls the requirements.txt file from Minio

Resolves #244

Signed-off-by: Christian Kadner [email protected]

BluThaitanium
BluThaitanium

Two seperate commands for identifying and updating outdated packages

Signed-off-by: Phu Thai [email protected]

commit sha: 39d3da223ac9acc0e0c006132b3469f30a8ac1ce

push time in 1 month ago
push

BluThaitanium push BluThaitanium/mlx

BluThaitanium
BluThaitanium

UI development with Docker Compose (#230)

  • UI development with Docker Compose

Signed-off-by: Christian Kadner [email protected]

  • Update export statements

Co-authored-by: BluThaitanium [email protected]

  • Clarify UI development setup instructions

Signed-off-by: Christian Kadner [email protected]

  • Fix formatting of code blocks

Signed-off-by: Christian Kadner [email protected]

Co-authored-by: BluThaitanium [email protected]

BluThaitanium
BluThaitanium

Move Copyright notice to bottom of page, Issue #215 (#231)

  • moves the copyright notice as a sticky footer

  • Removed debugging css changes

  • Removed unused imports

BluThaitanium
BluThaitanium

API development with Docker Compose (#229)

  • API development with Docker Compose

Signed-off-by: Christian Kadner [email protected]

  • Clarify working directories

Signed-off-by: Christian Kadner [email protected]

  • Add note about virtualenv

Signed-off-by: Christian Kadner [email protected]

  • Clarify that 3 terminals are running in parallel

Signed-off-by: Christian Kadner [email protected]

BluThaitanium
BluThaitanium

add the announcement blog post (#232)

BluThaitanium
BluThaitanium

Add readme backup for models and datasets (#228)

Signed-off-by: Andrew-Butler [email protected]

BluThaitanium
BluThaitanium

Add upload page scroll and fix security issue (#223)

Signed-off-by: Andrew-Butler [email protected]

BluThaitanium
BluThaitanium

Fix sidebar on very small screens (#221)

Signed-off-by: Andrew-Butler [email protected]

BluThaitanium
BluThaitanium

Convert to SDPX license headers (#210)

  • Replace license headers with SPDX license ID
  • Replace Copyright by "IBM" with "MLX Contributors"
  • Update add_license_headers.sh script
  • Add missing license headers
  • Add Makefile target to validate license headers
  • Add license header check to Travis CI

Related: #89

Signed-off-by: Christian Kadner [email protected]

BluThaitanium
BluThaitanium
BluThaitanium
BluThaitanium
BluThaitanium
BluThaitanium

[API] Update to elyra-server package 3.2.1 (#246)

  • Move from kfp-notebook to elyra-server==3.2.1 to run notebooks
  • Use ExecuteFileOp instead of NotebookOp
  • Update Dockerfile with new build dependencies since cryptography now requires Rust, which requires cargo
  • Enable anonymous read access to notebook requirements file, since Elyra pulls the requirements.txt file from Minio

Resolves #244

Signed-off-by: Christian Kadner [email protected]

commit sha: 2d1a2c6d7ce2635b5237dd00e2547c1455b5ee04

push time in 1 month ago
push

BluThaitanium push BluThaitanium/mlx

BluThaitanium
BluThaitanium

Two seperate commands for identifying and updating outdated packages

Signed-off-by: Phu Thai [email protected]

commit sha: a51c6e55eaee35a598a9cb1ae02d89754f5c34ed

push time in 1 month ago
push

BluThaitanium push BluThaitanium/mlx

BluThaitanium
BluThaitanium

rebased, Two seperate commands for updating vs identifying outdated packages

Signed-off-by: Phu Thai [email protected]

commit sha: 608e30d5e16f17dac1221694108745c742cd175b

push time in 1 month ago
Oct
22
1 month ago
open pull request

BluThaitanium wants to merge machine-learning-exchange/mlx

BluThaitanium
BluThaitanium

Npm update packages

Updates the npm packages through the make check_docs_links command.

Phase 1: Finds outdated npm packages If outdated npm packages are found, asks to audit

Phase 2: If auditing, runs npm audit to attempt to update non-breaking changes Checks if there are outdated packages again

Phase 3: If there are still outdated packages, manual inspection is needed Gives steps on how to manually determine which packages are breaking

BluThaitanium
BluThaitanium

There are now two commands: check_npm_packages to check npm packages are outdated verify_npm_packages to attempt an update for outdated npm packages

pull request

BluThaitanium merge to machine-learning-exchange/mlx

BluThaitanium
BluThaitanium

Npm update packages

Updates the npm packages through the make check_docs_links command.

Phase 1: Finds outdated npm packages If outdated npm packages are found, asks to audit

Phase 2: If auditing, runs npm audit to attempt to update non-breaking changes Checks if there are outdated packages again

Phase 3: If there are still outdated packages, manual inspection is needed Gives steps on how to manually determine which packages are breaking

push

BluThaitanium push BluThaitanium/mlx

BluThaitanium
BluThaitanium

rebased, Two seperate commands for updating vs identifying outdated packages

commit sha: c5f5e247674a23db26e05c364be9a16bd13e2833

push time in 1 month ago
push

BluThaitanium push BluThaitanium/mlx

BluThaitanium
BluThaitanium

Two seperate commands for updating vs identifying outdated packages, rebase + squash

commit sha: 5c48a067ddaa0b5a106a8718cbea841259163754

push time in 1 month ago
push

BluThaitanium push BluThaitanium/mlx

BluThaitanium
BluThaitanium

entire logic behind updating npm packages

BluThaitanium
BluThaitanium
BluThaitanium
BluThaitanium

Two seperate commands for updating vs identifying outdated packages

BluThaitanium
BluThaitanium
BluThaitanium
BluThaitanium

commit sha: fb4728bfba68795cf3ec3ef1549664213b608259

push time in 1 month ago
Oct
19
1 month ago
push

BluThaitanium push BluThaitanium/mlx

BluThaitanium
BluThaitanium

Two seperate commands for updating vs identifying outdated packages

BluThaitanium
BluThaitanium

linter formatting, resolve merge conflicts

commit sha: e044ec2517915329e5b21a9cc442cf2fabc3a20b

push time in 1 month ago
Oct
13
1 month ago
Activity icon
fork

BluThaitanium forked microsoft/CBL-Mariner

⚡ Linux OS for Azure 1P services and edge appliances
BluThaitanium MIT License Updated
fork time in 1 month ago
Oct
11
1 month ago
pull request

BluThaitanium pull request machine-learning-exchange/mlx

BluThaitanium
BluThaitanium

Npm update packages

Updates the npm packages through the make check_docs_links command.

Phase 1: Finds outdated npm packages If outdated npm packages are found, asks to audit

Phase 2: If auditing, runs npm audit to attempt to update non-breaking changes Checks if there are outdated packages again

Phase 3: If there are still outdated packages, manual inspection is needed Gives steps on how to manually determine which packages are breaking

Activity icon
created branch

BluThaitanium in BluThaitanium/mlx create branch npm_update_packages

createdAt 1 month ago
push

BluThaitanium push BluThaitanium/mlx

BluThaitanium
BluThaitanium

entire logic behind updating npm

commit sha: 77a3cf108342c9ade11c9dbe3719076e06c82821

push time in 1 month ago
Oct
9
1 month ago
Activity icon
created branch

BluThaitanium in BluThaitanium/mlx create branch make_npm_update_packages

createdAt 1 month ago
Sep
29
2 months ago
Activity icon
issue

BluThaitanium issue comment machine-learning-exchange/mlx

BluThaitanium
BluThaitanium

Keep npm dependencies up to date

Many of our npm dependencies get pinned to a certain version (see package-lock.json) which become outdated quickly. Those outdated version often have security vulnerabilities that get fixed in more recent versions. However the MLX UI keeps using the pinned outdated versions.

We should try using tools like npm-upgrade and build that into a Makefile target and integrate a check for outdated (minor) versions in our CI/CD checks.

This is the first blog post I hit after googling this topic, but there are plenty more: https://hudochenkov.com/posts/up-to-date-dependencies/

@drewbutlerbb4 -- could you take this on?

BluThaitanium
BluThaitanium
open pull request

BluThaitanium wants to merge machine-learning-exchange/mlx

BluThaitanium
BluThaitanium

Move Copyright notice to bottom of page, Issue #215

Resolves #215

Moves the copyright notice to the bottom of the page by increasing container's top margin.

While fixing a separate issue to get npm up and running, had to delete old repo and therefore old pr

BluThaitanium
BluThaitanium

Awesome catch, I removed the import