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

axelson/atom-exunit 4

Prototype Atom Exunit runner package

axelson/ack.vim 2

Vim plugin for the Perl module / CLI script 'ack'

axelson/absinthe 0

The GraphQL toolkit for Elixir

axelson/absinthe_plug 0

Plug support for Absinthe, the GraphQL toolkit for Elixir

axelson/alchemist.el 0

Elixir Tooling Integration Into Emacs

axelson/ale 0

Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support

axelson/appsignal-docs 0

The AppSignal documentation website!

axelson/art 0

Experiments while learning Scenic.

issue commenterlang/sourcer

Using "sourcer" as a command line application?

Hi! Currently, no, there is no command line wrapper that allows you to do that. It is relatively easy to write an utility that reads a file into a string, calls sourcer_indent:all() on it and writes the result in another file.

Note that I haven't been working on this in a while, so I can't guarantee it works with newer Erlang versions, nor that it matches recent versions of the Emacs formatter (which it did when it was written).

jacksonbenete

comment created time in an hour

pull request commentdanielo515/tiddlypouch

Dockerfile and scripts for development

Got integration tests running, ran yarn run nodemon ./node_modules/tiddlywiki/tiddlywiki.js ./wiki --build (is this the right way?) to populate ./output. The png diff indicates that installing some fonts might get that test green too...

schnittchen

comment created time in an hour

issue openederlang/sourcer

Using "sourcer" as a command line application?

Hello there,

Sorry if my question doesn't makes sense, I'm new to Erlang and even newer to rebar3.

I've been looking for a "code formatter", I've tried rebar3_format and rebar3_steamroller, but seems like they need to be called as "rebar3 <plugin_name>" from the project root, and they format the entire project. If I enter in the apps/src/ directory and try to call it in there it fails, because it doesn't find the command.

In README, sourcer says "The actual work is done by this application. It is meant to be LSP-agnostic so that it can be used in other contexts and tools.".

Does being used in other context and tools means that it can be somehow compiled and used without calling "rebar3"?

What I'm looking for is to be able to call sourcer file_name.erl in command line and it returns an indented file as output. As I've said, I'm new to rebar3, I don't know if it can be compiled and called in command line like this.

created time in 2 hours

issue openedelixir-lsp/elixir-ls

Hover document still show documentation when assign value to variable that is the same name in built-in function

Environment

  • Elixir & Erlang versions (elixir --version): 1.12.1
  • Operating system: Windows 10 64-bit
  • Editor or IDE name (e.g. Emacs/VSCode): VSCode
  • Editor Plugin/LSP Client name:

Description

Consider the example code below:

defmodule Vector do
  @spec magnitude(Vec2.t()) :: number()
  def magnitude(%Vec2{} = v), do: :math.sqrt(:math.pow(v.x, 2) + :math.pow(v.y, 2))

  @spec normalize(Vec2.t()) :: Vec2.t()
  def normalize(%Vec2{} = v) do
    length = magnitude(v)
    %{v | x: v.x / length, y: v.y / length}
  end
end

When I hover mouse on length in function normalize, the hover document will show length built-in document. But since magnitude function has type spec. I expected the hover should show it as a number or not show when hover on length variable.

created time in 2 hours

issue openednerves-project/toolchains

Bump Linux kernel headers to 4.19

They're currently on Linux 4.14. As systems move to 5.4 and 5.10, Linux 4.14 is seeming old and it feels like time to bump them to the next LTS release.

I don't believe this affects any official Nerves systems.

created time in 3 hours

PR opened erlang-ls/erlang_ls

Add support for hover on record expression.

With this change you can hover over a record expression, and get a definition of the record.

+67 -5

0 comment

7 changed files

pr created time in 6 hours

pull request commentfhunleth/muontrap

MuonTrap.Daemon new features

After thinking about it the past two weeks, my opinion on adding additional callbacks (non-telemetry ones) to the daemon options is not something I want. Part of this is due to a desire to keep the Daemon module as short and simple as possible and this was starting to add a decent amount of code (especially the start/exit callback one). I think that if you want to do something custom with callbacks that the code will be less subtle if you make your own Daemon GenServer. They also invite adding additional options. For example, if I could rewind to when I first wrote this, I could have chosen an :on_output callback and made a logging callback be the default. Since Daemon breaks output up based on lines, then if you don't what that, that's another option PR. And is stdout the best way for a long running program to communicate anyway? I keep on thinking of issues. Admittedly they might be small, but the line for where to stop adding options and encourage writing a new module needs to be drawn somewhere.

As for :telemetry, I'm still learning on a different project so my opinions aren't set yet. It does seem useful to define a :telemetry API that sends events when the daemon starts and exits and on line output. I'm pretty sure that I'd be interested in monitoring these events if they existed in my own programs. Since I haven't formed strong opinions on :telemetry, I'm going to wait on adding this myself, but if someone wants to start a PR to experiment with an API, then I'd be for that.

So in summary, I'd like to push forward on getting experience with :telemetry. It seems promising. If no one sends a PR up in the next month or so, I'll start one.

I hope this makes sense and thanks for hanging through this as we figure it out together.

alde103

comment created time in a day

push eventandyl/rfx

andyl

commit sha d40616053031cdebd8ddbd1201eae6cf11dca52b

Add content

view details

push time in a day

issue openedboydm/scenic

Basic demos don't work due to font_metrics error

When you try to run either

mix scenic.new my_app
cd my_app
mix do deps.get, scenic.run

or

mix scenic.new.example my_app_example
cd my_app_example
mix do deps.get, scenic.run

They will crash due to missing function in font_metrics library (there is no longer a function called from_binary). The issue was that scenic didn't specify using 0.3.0, which is fixed now. But the release version has this bug. So until a new release is pushed to out, this is the fix.

Simple fix is update mix.exs to use the GitHub repo:

defp deps do
    [
      # {:scenic, "~> 0.10"},
      # get scenic from GitHub...
      {:scenic, git: "https://github.com/boydm/scenic.git", override: true},
      {:scenic_driver_glfw, "~> 0.10", targets: :host},

      # These deps are optional and are included as they are often used.
      # If your app doesn't need them, they are safe to remove.
      {:scenic_sensor, "~> 0.7"},
      {:scenic_clock, "~> 0.10"}
    ]
  end

created time in a day

issue closedpatrick-steele-idem/morphdom

IHP seems to be using morphdom

See this reference here https://ihp.digitallyinduced.com/Guide/your-first-project.html#1-project-setup

Not sure if that's enough for inclusion in the readme

closed time in a day

Razzeee

pull request commentelixir-lsp/elixir_sense

Fix for getting the typespec of `any()`

@ashton314 please add a testcase. Also do not change version

ashton314

comment created time in a day

issue commentpatrick-steele-idem/morphdom

IHP seems to be using morphdom

I believe this is closed by 79d3a3cf585fa75e993f77957e8f4966b01f67e1.

Razzeee

comment created time in a day

push eventandyl/rfx

andyl

commit sha 591719c4b15e4af89b34f8e0fab3a65475973fa7

Update documentation

view details

andyl

commit sha d4acaa9b418de743813b951fa79b5f3ba511ada7

Merge branch 'dev'

view details

push time in 2 days

push eventandyl/rfx

andyl

commit sha 591719c4b15e4af89b34f8e0fab3a65475973fa7

Update documentation

view details

push time in 2 days

push eventandyl/rfx

andyl

commit sha df36d29eb6e398d9bf2968b98a9991719bcce5e4

Add reference to Filesys operations

view details

andyl

commit sha 87c825cb41738273a5a0dcb17d440924d0ab94ba

Add documentation

view details

andyl

commit sha 39277319d6f4cfe3d47fc1e44b0163eabfc558c9

Add RenameModule

view details

andyl

commit sha 9fb41f51f97c45265a0d87c0ff82fa16a57bc31e

Tweak behavior

view details

andyl

commit sha dc734ccace348b72c519c3a3e432d30ccf38b5fc

Reformat

view details

andyl

commit sha 840f811a5464626409c2610e04f589961285fda9

Rename Change.Req modules

view details

andyl

commit sha 99976827afb475e0a0adcdf4d75bae03b740b18e

Add placeholder modules for Filesys operations

view details

andyl

commit sha 3c5ef6dbd09d6c699554ed409b8bc7c1d2511818

Add dummy tests

view details

andyl

commit sha 7c238f36469e158b01b26310a599de2225158606

Apply Dorgan escape fix

view details

andyl

commit sha cdd0b51f1e2cee90708215a4fec073aec6e6d53b

Add @impl directives

view details

andyl

commit sha 7eb9b8b825b7b8f685f1ca094ba8b9a4a72e9497

Add FileReq and TextReq

view details

andyl

commit sha a9533d0a6fc4cf05fe2343d910c97c01a2718925

Remove pending tags

view details

andyl

commit sha ac93161f8602a52a143bba73b26fb9812c226b4b

Update to Sourceror master

view details

andyl

commit sha 92ab818d685a0bbb6ebe1a4a26a47ecbf8f1d5ab

Update documentation

view details

andyl

commit sha 6c4385b7dfe6333e8cd24db968db0cc9423152ff

Merge branch 'dev'

view details

push time in 2 days

push eventandyl/rfx

andyl

commit sha 92ab818d685a0bbb6ebe1a4a26a47ecbf8f1d5ab

Update documentation

view details

push time in 2 days

startedaduros/webuxn

started time in 2 days

push eventandyl/rfx

andyl

commit sha a9533d0a6fc4cf05fe2343d910c97c01a2718925

Remove pending tags

view details

andyl

commit sha ac93161f8602a52a143bba73b26fb9812c226b4b

Update to Sourceror master

view details

push time in 2 days

push eventandyl/rfx

andyl

commit sha 7eb9b8b825b7b8f685f1ca094ba8b9a4a72e9497

Add FileReq and TextReq

view details

push time in 2 days

PR opened elixir-lsp/elixir_sense

Fix for getting the typespec of `any()`

Hi there!

Every time when I was creating a typespec with any() in some part of it, the lang server would error out with the following message:

LSP :: Error from the Language Server: an exception was raised:
    ** (CaseClauseError) no case clause matching: %{doc: "The top type, the set of all terms", params: []}
        (elixir_sense 2.0.0) lib/elixir_sense/core/type_info.ex:113: anonymous fn/3 in ElixirSense.Core.TypeInfo.get_signatures/3
        (elixir 1.12.0) lib/enum.ex:2356: Enum."-reduce/3-lists^foldl/2-0-"/3
        (elixir_sense 2.0.0) lib/elixir_sense/core/type_info.ex:106: ElixirSense.Core.TypeInfo.get_signatures/3
        (elixir_sense 2.0.0) lib/elixir_sense/providers/signature.ex:55: ElixirSense.Providers.Signature.find_signatures/5
        (elixir_sense 2.0.0) lib/elixir_sense/providers/signature.ex:42: ElixirSense.Providers.Signature.find/3
        (language_server 0.7.0) lib/language_server/providers/signature_help.ex:8: ElixirLS.LanguageServer.Providers.SignatureHelp.signature/3
        (language_server 0.7.0) lib/language_server/server.ex:779: anonymous fn/3 in ElixirLS.LanguageServer.Server.handle_request_async/2 (Server End Error)

Seemed easy enough; I tracked down the function where the clause was blowing up and added a clause to handle the information coming back from any.

I'm running Elixir 1.12.0, Erlang 24.0.1

This seems to have fixed the issue. I'm not particularly familiar with this project; I wouldn't be surprised if there's a better way to fix this problem. :)

+2 -1

0 comment

2 changed files

pr created time in 2 days

issue commentelixir-lsp/elixir-ls

open source funding available from Gitpod

That is fantastic news, thank you! We'll get back to you soon.

ghuntley

comment created time in 2 days

issue commentddvk/remarkable2-framebuffer

rm2fb possibly not working on 2.8x

Just a warning, but the EULA for the beta has stated in the past that you wont install third party software. You might want to review it to make sure you aren't in breach of that agreement.

myfoxit

comment created time in 2 days

issue openedddvk/remarkable2-framebuffer

rm2fb possibly not working on 2.8x

rm2f installed via opgk does not work on 2.8 Beta. I opened therefore a issue here. So that we maybe can be ahead.

Journalctl only returns xochitl.service: Start request repeated too quickly. Trying to find out more and edit/update the thread

created time in 2 days

startedryangjchandler/alpine-tooltip

started time in 2 days

push eventandyl/rfx

andyl

commit sha cdd0b51f1e2cee90708215a4fec073aec6e6d53b

Add @impl directives

view details

push time in 2 days

push eventandyl/rfx

andyl

commit sha 99976827afb475e0a0adcdf4d75bae03b740b18e

Add placeholder modules for Filesys operations

view details

andyl

commit sha 3c5ef6dbd09d6c699554ed409b8bc7c1d2511818

Add dummy tests

view details

andyl

commit sha 7c238f36469e158b01b26310a599de2225158606

Apply Dorgan escape fix

view details

push time in 2 days

push eventandyl/rfx

andyl

commit sha df36d29eb6e398d9bf2968b98a9991719bcce5e4

Add reference to Filesys operations

view details

andyl

commit sha 87c825cb41738273a5a0dcb17d440924d0ab94ba

Add documentation

view details

andyl

commit sha 39277319d6f4cfe3d47fc1e44b0163eabfc558c9

Add RenameModule

view details

andyl

commit sha 9fb41f51f97c45265a0d87c0ff82fa16a57bc31e

Tweak behavior

view details

andyl

commit sha dc734ccace348b72c519c3a3e432d30ccf38b5fc

Reformat

view details

andyl

commit sha 840f811a5464626409c2610e04f589961285fda9

Rename Change.Req modules

view details

push time in 2 days

push eventHashNuke/heroku-buildpack-elixir

Stanley Stuart

commit sha 69681aa36abe64cd93e1168ad64a2a433683a69c

ensure bash exits with non-zero status code if build fails fixes #195 https://github.com/HashNuke/heroku-buildpack-elixir/issues/195

view details

Jesse Shieh

commit sha cef283128f50511ba3d44156229234652ba8106b

Merge pull request #199 from fivetanley/fix-195-exit-on-error ensure bash exits with non-zero status code if build fails

view details

push time in 2 days