Code Monkey home page Code Monkey logo

triad's Introduction

I am Umang Majumder. I am a Math Major from the Indian Institute of Science. I will be graduating with a BS degree in 2026.

My website is here

My list of most used emojis are here: πŸ‹πŸ³πŸ—ΏπŸͺ‘

Stuff I've worked on:

Pravega 2023 front-end (work in progress)

Pixirain

tRiad (GSoC 2022)

more stuff in the works:

iGEM IISc 2023 website

YSHTOLA(Your Study Helping Tool using OpenAI's LLM Assistance)

triad's People

Contributors

dicook avatar harriet-mason avatar zerodawn0d avatar

Watchers

 avatar  avatar

triad's Issues

401 error while implementing github actions

Instructions from r-pkgs chapter 19

Code that I am running

usethis::use_github_action_check_standard()

Error Message

Error in gh_process_response(raw) : 
GitHub API error (401): 
Message: Bad credentials
Read more at https://docs.github.com/rest
Type .Last.error.trace to see where the error occurred

.Last.error.trace

$calls
$calls[[1]]
usethis::use_github_action_check_standard()

$calls[[2]]
use_github_action("check-standard.yaml", ref = ref, save_as = save_as, 
    ignore = ignore, open = open)

$calls[[3]]
ref %||% latest_release()

$calls[[4]]
latest_release()

$calls[[5]]
gh::gh("/repos/{owner}/{repo}/releases", owner = spec_owner(parsed$repo_spec), 
    repo = spec_repo(parsed$repo_spec), .api_url = parsed$host, 
    .limit = Inf)

$calls[[6]]
gh_process_response(raw)

$calls[[7]]
gh_error(response)

$calls[[8]]
throw(cond)


$parents
[1] 0 1 2 2 4 5 6 7

$envs
$envs[[1]]
[1] "0x0000024bd954ebb0"

$envs[[2]]
[1] "0x0000024bd954b128"

$envs[[3]]
[1] "0x0000024bd9519b70"

$envs[[4]]
[1] "0x0000024bd9519c18"

$envs[[5]]
[1] "0x0000024bd9434fc0"

$envs[[6]]
[1] "0x0000024bd605ce98"

$envs[[7]]
[1] "0x0000024bd605dc28"

$envs[[8]]
[1] "0x0000024bdbf6a4f0"


$topenvs
$topenvs[[1]]
[1] "namespace:usethis"

$topenvs[[2]]
[1] "namespace:usethis"

$topenvs[[3]]
[1] "namespace:rlang"

$topenvs[[4]]
[1] "namespace:usethis"

$topenvs[[5]]
[1] "namespace:gh"

$topenvs[[6]]
[1] "namespace:gh"

$topenvs[[7]]
[1] "namespace:gh"

$topenvs[[8]]
[1] "0x0000024bd9e0cd18"


$indices
[1] 1 2 3 4 5 6 7 8

$nframes
[1] 8

$messages
$messages[[1]]
[1] "\nGitHub API error (401): \nMessage: Bad credentials\nRead more at https://docs.github.com/rest"


$ignore
NULL

$classes
[1] "github_error"   "http_error_401" "error"         
[4] "condition"     

$pids
[1] 8396 8396 8396 8396 8396 8396 8396 8396

attr(,"class")
[1] "rlib_trace"

Collection of Minor Issues

Hi Umang,

I have been testing the tRiad package to see how it compares to interp and noticed a couple of small changes that you might want to make. I have listed them in decreasing order of importance.

  • tRiad::Deltri() seems to take an infinitely long time if there are duplicate points. I didn't check tRiad::del.tri(). I haven't made 100% sure that it is duplicate points, but interp::tri.mesh() and tripack::tri.mesh() gave an error about duplicate points on the same scatter plot. The function should either return an error for duplicate points, or check and remove duplicate points.
  • It might be beneficial to allow tRiad::Deltri() to take a list as input because that is how alphahull calls interp::tri.mesh(). Every other version of the function including tRiad::del.tri() allow a list as input, so I am not sure why tRiad::Deltri() doesn't.
  • GSOC article doesn't work if you try and run the code because it has "triad" instead of "tRiad" since it was written before the name change.
  • There are a lot of functions in the tRiad reference. Do all the functions need to be exported? A lot of them look like behind-the-scenes calculations and having them all listed makes it a little difficult to tell which functions should be common use for the user.
  • The readme loads the package with library("triad"). There is nothing wrong with it and it works fine, it is just odd because every other time you load a package you don't use the quotations.

(p.s. I hope your new semester of uni is going well!)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.