Matthew fantypants Genysys Engine Australia CTO Genysys Engine Elixium Developer Lead Developer Elixium Wallet Software Engineer WaspVM

alexdovzhanyn/AlchemyVM 182

WebAssembly Virtual Machine Built In Elixir

alexdovzhanyn/elixium_wallet 9

Official wallet implementation for the Elixium blockchain

fantypants/Music_Crypt 4

Decentralized music sharing for artists using the Elixium Block Chain

fantypants/totalwar 3

Total War is an open source ship battle game developed in Elixir

fantypants/dist_elixir 1

Redundant Node Swarming for a Smiple HTTP Server

fantypants/elixium_core 0

A decentralized application network that is fast, scalable, and anonymous.

fantypants/Exchange 0

A Simple Exchange Server

issue commentLogflare/logflare_logger_backend

batch_cache sort_by_created_asc/1 anonymous fn/3

Ah yeah, this is why. :asc was introduced later. But no reason we can't update this for backward compatibility.

have a suss at the PR I just submitted, let me know if there's anything we can do further to support


comment created time in 2 months


started time in 2 months

issue commentLogflare/logflare_logger_backend

batch_cache sort_by_created_asc/1 anonymous fn/3

Erlang/OTP 22 [erts-10.6.4] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1]

Elixir 1.9.1 (compiled with Erlang/OTP 22)

Thanks for the prompt reply!


comment created time in 2 months

PR opened Logflare/logflare_logger_backend

Fix for anon_function error for Enum.sort_by/3 within batch_cache.ex

This solves the anonymous function error received from batch_cache.ex:44 when you run the backend logger.

+1 -1

0 comment

1 changed file

pr created time in 2 months

push eventDigitalRocketMarketingGenysys/logflare_logger_backend


commit sha f0e3bacaa0252482899ffca3264cbc1281e6bde0

fixed Enum.sort_by/3

view details

push time in 2 months

issue openedLogflare/logflare_logger_backend

batch_cache sort_by_created_asc/1 anonymous fn/3

batch_cache:44 returns

:gen_event handler LogflareLogger.HttpBackend installed in Logger terminating
** (exit) an exception was raised:
    ** (BadFunctionError) expected a function, got: :asc
        (elixir) lib/enum.ex:2354: anonymous fn/3 in Enum.sort_by/3
        (stdlib) lists.erl:969: :lists.sort/2
        (elixir) lib/enum.ex:2354: Enum.sort_by/3
        (logflare_logger_backend) lib/logflare_logger/batch_cache.ex:44: LogflareLogger.BatchCache.flush/1
        (logflare_logger_backend) lib/logflare_logger/http_backend.ex:147: LogflareLogger.HttpBackend.flush!/1
        (stdlib) gen_event.erl:577: :gen_event.server_update/4
        (stdlib) gen_event.erl:559: :gen_event.server_notify/4
        (stdlib) gen_event.erl:347: :gen_event.handle_msg/6
        (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

Relevant fix: Change: Enum.sort_by(pending_events, & &, :asc) to Enum.sort_by(pending_events, &(&, &<=/2)

created time in 2 months

issue openedueberauth/guardian

:crypto.hmac/3 undefined due to being deprecated --> Need to bump Jose to 1.11

Hello, Jose deps need to be bumped to 1.11 to fix the following:

Request: POST /login ** (exit) an exception was raised: ** (UndefinedFunctionError) function :crypto.hmac/3 is undefined or private (crypto 5.0.2) :crypto.hmac(:sha512, "Salt", "Key")

I can open a PR if needed.

Current: :jose, 1.8 Solution: :jose, 1.11

created time in 3 months