Automatic Bang! Function Generation in Elixir
I just published unsafe which aids in generation of bang functions based on easy module attributes.
Short blog post here, if you feel like reading why: https://whitfin.io/generating-bang-functions-in-elixir/
assert_value - ExUnit's assert on steroids that writes and updates tests for you
We are releasing assert_value. assert_value is ExUnit’s assert on steroids that writes and updates tests for you.
You can use assert_value instead of ExUnit’s assert. It makes Elixir tests interactive and lets you to create and update expected values with a single key press.
json_stream_encoder v0.1.1
I’ve published a new version of json_stream_encoder with updated (less typo-ridden) documentation.
If you are looking for a way to stream out JSON incrementally without fitting the whole data structure in memory, check out the source.
IntelliJ Elixir v6.5.1
-
Fix
MockProjectExbeing a runtime dependency instead of just a test dependency.
ExUnit Quick Reference
ExUnit is the testing framework that ships with Elixir. I wrote a quick reference guide for our team and wanted to share with anyone else that found it helpful.
https://littlelines.com/blog/2017/11/06/exunit-quick-reference
Cheers!
Nerves Project Update and Training Schedule
See what the Nerves team has been working on recently and where you can learn more at upcoming training events - http://embedded-elixir.com/post/2017-11-02-nerves-update/
IntelliJ Elixir v6.5.0
-
Elixir 1.5 grammar
-
not in -
Precedence of
@numericand unary numeric prefix operators
-
-
Make binary infix vs unary prefix
+/-handling more robust to supportone(two, - three) -
Call
withCharSet(Charsets.UTF_8)on allGeneralCommandLinesto prevent encoding errors on Windows.
Live coded chat app in 45 minutes
http://crowdhailer.me/talks/2017-10-31/live-coded-chat-app-in-45-minutes/
Several important areas for Elixir development today are covered. Using Docker for local development as well production deployment. Managing configuration for multiple services. Testing and documenting APIs.
Authex - a simple JWT alternative.
Many of our app API’s use the same process for JWT authentication and authorization. I finally had time to extract things into releasable libraries. A simple alternative to some of the other options available out there. Includes authentication, authorization, as well as blacklisting.
Hope someone can find it useful.
Grokking the Y Combinator with Elixir
Trying to understand the Y combinator has always left me with a throbbing headache and a craving for pretzels. But recently, while reading through The Little Schemer, I had a moment of clarity which left me with a much deeper understanding of how the whole thing works.
Check out Grokking the Y Combinator with Elixir for a step by step breakdown of what the Y combinator is, why it’s interesting, and how it can be derived through plain old Elixir code.
Announcing Bootleg: Simple deployment and server automation for Elixir.
Many in the community are already aware of Bootleg, but I just published a quick “official” announcement over on the Lab Zero blog with a very quick guide to getting started.
Elite #judges at @spawnfest this year (@joeerl, @mononcqc, @cmeik)!
Check the lineup at https://spawnfest.github.io/judges / #erlang #elixirlang
Drab 0.6.1 is out, with better living assigns and shared commanders
Drab is an extension to Phoenix, designed to remote (from the server side) control the user interface.
The library has completely redesigned custom EEx engine, so it is not putting its <span> in every corner of your template anymore.
Also, this version introduces shared commander, allowing you to create components of Drab’s template + commander.
Check out the demo page, install, test, develop and enjoy!
Using PostgreSQL Jsonb columns in Ecto
How to query jsonb columns in Ecto using fragment: http://www.ubazu.com/using-postgres-jsonb-columns-in-ecto
Elixir Formatter Preview
Heard about the new formatter coming to Elixir? We take a look in our latest episode: https://elixircasts.io/elixir-formatter-preview
Swoosh 0.11.0 is out! With AmazonSES & inline attachments
Here are the two highlights of this new version:
- One of our most requested adapter is now available out-of-the-box: AmazonSES.
- Inline attachments are now supported by all built-in adapters.
Please give it a try and feel free to open an issue in the Swoosh repo if you run into any trouble.
New book: Phoenix for Rails developers
You invested thousands of hours learning Rails and how to master its features to build web applications. This book will help you to learn Phoenix, using the knowledge you already have.
Elixir on Docker
Quickly get started developing clustered Elixir applications for cloud environments.
CaptainFact.io - Looking for Elixir/Phoenix developers (open source)
The project
CaptainFact is a collaborative, real-time fact checking platform. Its goal is to help us improve the way we consume medias on the Internet by collectively sourcing and debating about the content we see.
Think Wikipedia (sourcing) + StackOverflow (reputation, achievements) applied to our day-to-day information.
The project currently offers two linked tools:
-
A real-time debate platform that allows us to have rich and focused discussions on a video by working point by point, argument by argument - instead of taking the content as a whole like almost all today’s comment systems do: https://www.youtube.com/watch?v=IJrmHU13lWY
-
A browser extension that is bringing this information directly on the content you’re watching: https://www.youtube.com/watch?v=LsRkg2hRTiI
In the future we’d like to extends these functionalities to be able to work on news articles (text) as well. For more details about the reasons of the project, its philosophy and its goals, you can check this article.
Contribute
Though frontend’s and extension’s code are already available on our Github, we’d like to have some volunteer Elixir / Phoenix developers checking the API code before we release it.
There will also be a lot of other stuff to work on in a near future, like:
- Migrating some parts of our -or maybe the entire- API to GraphQL
- Implementing a notification system
- Password-less authentication
You can contact us on Facebook or by email (contact@captainfact.io) if you’re interested in participating!
Elixir with Love Conference - Standard Ticket Prices Expire 11/2
Go to https://ti.to/elixir-with-love/2017 for your last chance to get tickets at standard rates. We have an amazing speaker line up! Learn more at elixir-with-love.com
