profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/jeregrine/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.
Jason S. jeregrine RokkinCat Milwaukee, WI

getsentry/sentry-elixir 500

The official Elixir SDK for Sentry (sentry.io)

jeregrine/jsonapi 405

JSON:API Serializer and Query Handler for Elixir

chadnickbok/librtcdcpp 150

A simple WebRTC DataChannels library

jeregrine/awesome-elixir 3

A curated list of amazingly awesome Elixir and Erlang libraries, resources and shiny things.

jeregrine/elixir-rethinkdb 1

A Elixir client driver for RethinkDB.

jeregrine/88nine 0

A node library for interacting with 88nine Radio Milwaukee.

jeregrine/aframe-boilerplate 0

A-Frame Starter Kit: Create your first "Hello World" WebVR scene

PullRequestReviewEvent

issue commentevanw/esbuild

[bug?] when using --watch, it continuously rebuild even though entry file is not modified

Just to confirm: this bug remains in 0.12.17

MD-IS

comment created time in 2 months

issue commentjeregrine/jsonapi

Migrating to BEAM Community org

You’ve done a ton of good work here and I don’t want to slow you down or get in your way. This repo is as much(if not more) yours than mine at this point :)

On Jul 28, 2021, at 7:43 PM, Sean Callan ***@***.***> wrote:

Now that I've figured out how to handle releases with GitHub Actions we can do that here or there now 🎉 See an example here: https://github.com/beam-community/scrivener_headers https://github.com/beam-community/scrivener_headers (I haven't yet got releases or tagging in there but this allows for easier release which was my goal)

doomspork

comment created time in 2 months

issue commentscoutapp/scout_apm_elixir

ScoutAPM.Core.AgentManager steadily jumping in memory usage

@teejae So the one solution we know that works right now is to kill the process if it grows too large.. The main bottlneck is that the scout agent thing that you install is single threaded and I don't have a ton of control over that.

Unfortunately this is not an ideal solution.

begedin

comment created time in 2 months

pull request commentjeregrine/jsonapi

Refactor JSONAPI.View to Behaviour

@lucacorti please handle the merge conflicts.

lucacorti

comment created time in 2 months

push eventjeregrine/jsonapi

chang

commit sha c42b21f106f37d507257faaea7f891b08c345a66

Run transform function only when the value is string or atom (#250) * Run transform function only when the value is string or atom * Add test to pass when the value is integer * Fix bug when camelizing an empty string Co-authored-by: chang <chang@credo.io>

view details

push time in 2 months

PR merged jeregrine/jsonapi

Reviewers
Run transform function only when the value is string or atom bug

Found that it raises an error when the value is integer array.

iex> alias JSONAPI.Utils.String, as: JString
iex> JString.expand_fields([12], &JString.camelize/1)
** (FunctionClauseError) no function clause matching in JSONAPI.Utils.String.camelize/1    
...

This PR is to fix this error by only running transform function when it is atom or string.

+15 -2

7 comments

1 changed file

aproxacs

pr closed time in 2 months

issue commentjeregrine/jsonapi

Migrating to BEAM Community org

@doomspork if you think changing the org will make it easier to manage for you than we should do it.

@lucacorti I do appreciate effort in adding features and helping but this is a volunteer effort. It is not appropriate to pressure volunteers into meeting your deadlines and expectations. Nor is it alright to directly mention maintainers and asking for essentially free labour.

doomspork

comment created time in 2 months

pull request commentjeregrine/jsonapi

Run transform function only when the value is string or atom

doomspork can we merge this?

Please do not do this. This is a volunteer effort.

aproxacs

comment created time in 2 months

push eventjeregrine/jsonapi

Luca Corti

commit sha c3b27870555973099d13d92ab021c0aaf79a6f64

Delegate path generation (#253) * Add path_for and delegate path generation to it * Leave id logic in url_for

view details

push time in 2 months

PR merged jeregrine/jsonapi

Delegate path generation

Hi,

If you want to have a url for you resources which is not equal to your type (e.g. type blog path /blogs), you are currently forced to override url_for and the whole logic for connection / no connection cases and single vs many resources.

To simplify this this PR:

  • Delegates resource path resolution to path_for, a new overridable callback for JSONAPI.View
  • Makes url_for call path_for to determine resource path
  • Add a path argument to JSONAPI.View using macro, to allow compile time declaration like type and namespace
  • Default to returning type as the default path in case path is missing

It also uses Elixir standard library module URI to handle URI generation.

Example usage:

defmodule MyView do
  use JSONAPI.View, type: "blog" # path "/blog"
  use JSONAPI.View, type: "blog", namespace: "api" # path "/api/blog", "/api/blog/1", ...
  use JSONAPI.View, type: "blog", path: "blogs" # Defaults to "/blogs", "/blogs/1", ...
  use JSONAPI.View, type: "blog", namespace: "api", path: "blogs" # Defaults to "/api/blogs", "/api/blogs/1", ...

  # or by overriding path_for
  def path_for(_data), do: "blogs"
end

Since we are basically not changing the interface, this is fully backwards compatible if anyone is currently overriding url_for.

+21 -6

0 comment

1 changed file

lucacorti

pr closed time in 2 months

PullRequestReviewEvent
PullRequestReviewEvent

issue commentevanw/esbuild

[bug?] when using --watch, it continuously rebuild even though entry file is not modified

m1 macbook air esbuild 0.12.15 I also confirmed this on AMD/Linux, same test.

MD-IS

comment created time in 2 months

issue commentevanw/esbuild

[bug?] when using --watch, it continuously rebuild even though entry file is not modified

Hrm I get this as well and can reproduce it simply:

term1: esbuild app.js --watch term2: cd .. && touch hello

term1: [watch] build started (change: "..") ...

term2: cd .. && touch hello

term1: [watch] build started (change: "../..")

m1 macbook air esbuild 0.12.15

MD-IS

comment created time in 2 months

PullRequestReviewEvent