profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/davydog187/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.
Dave Lucia davydog187 Simplebet NYC https://simplebet.io VP, Engineering at Simplebet

brisket/brisket 782

Brisket JavaScript application framework

crflynn/redisgraph-ex 9

RedisGraph client implementation in Elixir

cogini/avro_schema 7

Elixir convenience library for handling Avro schemas, useful for Kafka

davydog187/baseball 4

A example NIF for my Code BEAM SF 2020 presentation

cogini/confluent_schema_registry 2

Elixir client for the Confluent Schema Registry API https://www.confluent.io/confluent-schema-registry

davydog187/advent_of_code 0

Advent of Code 2018 in Elixir and Rust

davydog187/amqp 0

Idiomatic Elixir client for RabbitMQ

davydog187/augo-reacts 0

http://augoreacts.nyc

davydog187/avro_schema 0

Elixir convenience library for handling Avro schemas

davydog187/b64.c 0

Base64 encode/decode

create barnchdavydog187/surface_talk

branch : main

created branch time in 20 hours

created repositorydavydog187/surface_talk

Surface: A bridge to the Javascript community - ElixirConf 2021

created time in 21 hours

starteddashbitco/broadway_dashboard

started time in 20 days

startedkornelski/dssim

started time in 20 days

PR opened surface-ui/surface_catalogue

POC - Visual Testing

This PR is some throwaway code for grabbing screenshots of all examples in the project. For expediency, it pulls in Wallaby to interact with ChromeDriver, iterate through all the examples, and take screenshots of them.

To try it out

  1. Install chromedriver
  2. Run mix run screenshot.exs

This is the most basic of first steps. It would be amazing if Surface could have a Visual Component testing suite as comprehensive as https://www.chromatic.com/features/test

Next steps

  • [ ] Pull in some sort of image diffing tool that can capture differences between a baseline image and a test image
  • [ ] Add a mix task for capture baselines of each component
  • [ ] Add a mix task or an integration with ExUnit that can run the image diffing tool against the baseline image and a new screengrab. Fail if diff exceeds threshold
  • [ ] Stretch Add a UI for viewing screengrabs and test runs?
+73 -1

0 comment

4 changed files

pr created time in 20 days

create barnchdavydog187/surface_catalogue

branch : visual-testing

created branch time in 20 days

PR opened Datastillery/divo

Fix invalid docker-compose file example
+2 -2

0 comment

1 changed file

pr created time in a month

push eventdavydog187/divo

Dave Lucia

commit sha 78ab875d9b7bf7f42fe31da37e516a8debb79542

Fix invalid docker-compose file example

view details

push time in a month

fork davydog187/divo

Docker Integration and Validation Orchestrator for Elixir with Mix

https://hexdocs.pm/divo/readme.html

fork in a month

PullRequestReviewEvent

Pull request review commentelixir-lang/elixir

More examples for foldl/3 and foldr/3 + link to accumulator doc

 defmodule List do    @doc """   Folds (reduces) the given list from the right with-  a function. Requires an accumulator.+  a function. Requires an [accumulator](https://hexdocs.pm/elixir/Enum.html#t:acc/0).    ## Examples        iex> List.foldr([1, 2, 3, 4], 0, fn x, acc -> x - acc end)       -2+      +      iex> List.foldr([1, 2, 3, 4], %{:sum => 0, :product => 1}, fn x, %{sum: a1, product: a2} -> %{sum: a1 + x, product: a2 * x} end)
      iex> List.foldr([1, 2, 3, 4], %{sum: 0, product: 1}, fn x, %{sum: a1, product: a2} -> %{sum: a1 + x, product: a2 * x} end)
aar2dee2

comment created time in 2 months

issue openededgurgel/tentacat

Tentacat implements Jason.Encoder for tuples

Hello 👋🏼

I was taking a look at the source of tentacat, and noticed a (recent) issue.

Tentacat implements the Jason.Encoder protocol for tuples. This is problematic, as this will modify the behavior of the consuming application's Jason encoding outside of tentacat, which may not be desirable.

As a recommendation, users should either precompute their data, implement Jason.Encoder to the outer structure containing the tuple, or provide a hook for encoding.

created time in 2 months

push eventSimpleBet/opentelemetry_commanded

Santiago Cabrera

commit sha 7a8b6390c0ba1b096f445fd45766888218f6a205

Update dependencies

view details

Santiago Cabrera

commit sha ce4a52db7fb40c93ac3ce2e05770a3f177adf2a4

Fix functions

view details

Santiago Cabrera

commit sha 6ddabc2caaa6ef149d3c2b23ee047031792d6803

Use otel propagator

view details

Santiago Cabrera

commit sha 080475daabf405749799d43b9827ba8de8c107e3

Encode the context with the propagator

view details

Santiago Cabrera

commit sha 5391de885869d5b62ce48cc0da0c836e461d2600

Kind all lower case

view details

Santiago Cabrera

commit sha 2fc0d352dbe7c8f8375838eebca9c19ee0d8d2a9

Updated handling of exceptions and errors

view details

Dave Lucia

commit sha 31b2b3e72d84b555263a4eccdaa3200c1c0c96fa

Merge pull request #6 from SimpleBet/upgrade_to_otel_1_0 Upgrade to otel 1 0

view details

push time in 2 months

PR merged SimpleBet/opentelemetry_commanded

Upgrade to otel 1 0

Upgrade open telemetry to version 1.0-rc

+60 -45

0 comment

9 changed files

Cabrafull

pr closed time in 2 months

PullRequestReviewEvent
PullRequestReviewEvent

pull request commenttoniqsystems/ecto_hlclock

Pull in latest ecto, use hlcid, implement callbacks

Thanks @NeilMenne !!!

davydog187

comment created time in 2 months

startedphoenixframework/esbuild

started time in 2 months

Pull request review commentsurface-ui/surface

Better error message for misplaced closing delimiter

 defmodule Surface.Compiler.Tokenizer do   end    ## handle_attr_name+  defp handle_attr_name(<<"/", _rest::binary>>, _column, []) do+    {:error, "unexpected closing tag delimiter `/`"}+  end -  defp handle_attr_name(<<c::utf8, _rest::binary>>, _column, []) when c in @name_stop_chars do-    {:error, "expected attribute name"}+  defp handle_attr_name(<<c::utf8, _rest::binary>> = text, _column, []) when c in @name_stop_chars do+    {:error, "expected attribute name, got: `#{text}`"}

walked it back to your suggestion @msaraiva

davydog187

comment created time in 2 months

PullRequestReviewEvent

push eventdavydog187/surface

Dave Lucia

commit sha 5977b7ac102a255017d4d23ea20492d350f2b28a

simplify fallback

view details

push time in 2 months

Pull request review commentsurface-ui/surface

Better error message for misplaced closing delimiter

 defmodule Surface.Compiler.Tokenizer do   end    ## handle_attr_name+  defp handle_attr_name(<<"/", _rest::binary>>, _column, []) do+    {:error, "unexpected closing tag delimiter `/`"}+  end -  defp handle_attr_name(<<c::utf8, _rest::binary>>, _column, []) when c in @name_stop_chars do-    {:error, "expected attribute name"}+  defp handle_attr_name(<<c::utf8, _rest::binary>> = text, _column, []) when c in @name_stop_chars do+    {:error, "expected attribute name, got: `#{text}`"}

We definitely could, but it would always be a single character, in this case "=". I'm happy to change to that.

Btw I'll also need to convert from the ascii code to a string

davydog187

comment created time in 2 months

PullRequestReviewEvent

push eventdavydog187/surface

Dave Lucia

commit sha a320bd608a953f2ec5c0de0c62f0c5254f37ddbe

closing delimiter

view details

push time in 2 months

PR opened surface-ui/surface

Cleanup usage of `{{ ... }}`

Its a shame that we can't doctest components, otherwise we would have caught all these. Maybe I can pair with @wojtekmach on a creative solution ;)

+41 -41

0 comment

31 changed files

pr created time in 2 months

create barnchdavydog187/surface

branch : fix-examples

created branch time in 2 months

pull request commentsurface-ui/surface

Better error message for misplaced closing delimiter

Thanks @msaraiva, I pushed up a better message for those as well :)

davydog187

comment created time in 2 months

push eventdavydog187/surface

Dave Lucia

commit sha 6c2e2f9b4dc221f639c5de9656aa5f9b2a648598

Improve fallback case

view details

push time in 2 months

PR opened wojtekmach/erl_doc_chunks

Spelling
+1 -1

0 comment

1 changed file

pr created time in 2 months