HNHacker News
TopNewBestAskShowJobs

tuvistavie

325 karma · joined May 3, 2015

Sotware engineer interested in programming languages and functional programming

https://daniel.perez.sh

my public key: https://keybase.io/tuvistavie; my proof: https://keybase.io/tuvistavie/sigs/oBOnOhiTkwy1TZdg0sNlOyU02V0cDPt2IV-E8YSZti8

submissionscomments
tuvistavie··on What's coming in Elixir 1.3
I would say the usual way to do it is as you said, to use functions and pattern matching, but there are some cases where it makes sense to have multiple things that could failed grouped in the same function, which is where `with` helps to keep things clean. For example, If I want to find a header from a request and then to extract some info from it, I think it makes more sense to keep everything in a single function.
tuvistavie··on What's coming in Elixir 1.3
Yes, both the language and the ecosystem are getting better and better!
tuvistavie··on Use Atom to edit in Chrome
It is xmonad[1] running on Arch Linux[2].

[1] http://xmonad.org/

[2] https://www.archlinux.org/

tuvistavie··on Use Atom to edit in Chrome
Atom is a full featured text editor, like vim or emacs. The editing experience is therefore way superior to Firefox or Chrome textarea, and you can use all the shortcuts, plugins and goodies you are used to. For a short comment, a basic textarea is of course enough, but when you write something a little longer, I think it is a real gain of time to be able to edit in a real editor.
tuvistavie··on Use Atom to edit in Chrome
This is also what is used to do, and I found it added some unneeded overhead, so I thought it would be easier to simply sync it.
tuvistavie··on Use Atom to edit in Chrome
Take a look at my comment, for my actual use case. https://news.ycombinator.com/item?id=11022768
tuvistavie··on Use Atom to edit in Chrome
Totally agree. I am going to give it a try. Thank you for the idea.
tuvistavie··on Use Atom to edit in Chrome
Thanks for the proposal. This would indeed be nice to have. I am going to give it a try and if the result is good enough I will add this feature.
tuvistavie··on Use Atom to edit in Chrome
To answer the questions of the use case, here is mine. I spend quite a lot of time editing in Chrome, especially Github and StackOverflow, and found myself doing the following:

* Start editing in Chrome

* It becomes long so copy-paste to Atom and edit there

* Copy-paste back to Chrome

To avoid this, I have then be using https://chrome.google.com/webstore/detail/wasavi/dgogifpkoil... to edit directly in Chrome but thought that it would be better to use a real editor rather than a subset, which is why I created this package.

I have an editor opened almost all the time, so pressing a shortcut and being able to edit directly there without copy-pasting around is actually saving me some time compared to my previous workflows.

tuvistavie··on Fundle: A minimalist package manager for fish shell
Thanks for the links!

What I meant was not a post-fetch (which if I understand, runs only once) step but rather an init script that would load the scripts at each shell startup, what pathogen would do for vim, for example.

I looked a little at peru docs and the links you gave me, and that is pretty much the point I gave in my other comment:

> I would rather manage my packages using a simple fish shell script rather than making the setup more complex with something too general.

I know there are plenty of powerful tools that can manage pretty much anything, I do use Ansible locally to setup my machine and could easily have it download my fish packages as well. However, when it comes to a particular software, especially when loading the downloaded resources is neither automatic nor obvious (e.g. vim, emacs, fish), I find a simple and specialized tool in the target much more pleasant to use, which was my motivation for this one.

tuvistavie··on Fundle: A minimalist package manager for fish shell
Correct me if I am wrong, but for fish, I think that would do half of the work: fetching the packages. You still need to update `fish_function_path` and `fish_complete_path`, then source the relevant files from the packages. If you forget about the `install` command of fundle, you can just use peru or whatever tool you like to fetch the packages and let fundle initialize everything.
tuvistavie··on Fundle: A minimalist package manager for fish shell
I would say that it is because it integrates much better in the workflow. If I am writing my fish shell configuration, I would rather manage my packages using a simple fish shell script rather than making the setup more complex with something too general.
tuvistavie··on Simple but powerful serializer for Go
Just added the license file.
tuvistavie··on Simple but powerful serializer for Go
Hi, Sure, I will add the LICENSE file as soon as I get home. It will be an MIT license, so feel free to use it!
← PreviousPage 2 of 2