deep_merge 0.1.0 - deeply (recursively) merge maps, keywords and more!
deep_merge is a ew library to deep (recursive) merge maps and keyword lists and your own structs/types through protocols or you can modify merging behavior through an optional function as an argument.
You can find it on github, hex and hexdocs. I also wrote a small release blog post detailing how the library came to be after trying to get deep_merge into elixir.
ElixirStatus tweeted 1,000 times
This post triggered ElixirStatus’ 1000th tweet. Shortly, we - as a community - will reach 3,000 followers on Twitter alone and ElixirWeekly, our newsletter, is growing double digits as well.
These are amazing times to be an Alchemist :D
html_sanitize_ex v1.1.0 released
I just released v1.1.0 of html_sanitize_ex, which includes a new scrubber. Use HtmlSanitizeEx.markdown_html/1 to sanitize HTML generated by a Markdown parser.
This was tested on elixirstatus.com for the last two weeks by depending on v1.1.0-rc1. Please report any bugs I might have overlooked!
NoSQL Injection in Phoenix Applications
Using MongoDB with Elixir/Phoenix? Watch out for NoSQL injection vulnerabilities!
Shield OAuth2 Provider / Swagger Documentation
Added swagger documentation for shield oauth2 provider package. https://github.com/mustafaturan/shield/blob/master/swagger.yml
Custom types in Elixir
Custom types are very nice feature of Elixir. So, I wrote short post how to work with it.
Post is in Polish language, but you could use Google Translate button.
HTTP unit tests using ExVCR
ExVCR is an HTTP request/response recorder for Elixir. It supports rapid test-driven development when accessing external web services.
For an Elixir library I authored, the execution time for the test suite reduced by a factor of ten when using ExVCR’s recorded fixture data. From 44 seconds down to 4 seconds.
Livecoding a FizzBuzz implementation in Elixir
Last week I gave a lightning talk on Elixir to a local tech meetup. I thought it’d be a good, quick introduction for people to see the power of Elixir and a few of my favorite language features. It turned out to be only 6 minutes long and 7 lines of code.
Short post with embedded video: http://geoffreylessel.com/2016/livecoding-fizzbuzz-in-elixir-lightning-talk/
How to link your Java application to Elixir/Erlang
So you are developing an Elixir/Erlang application and you discovered a use case where you need to use so Java code in your app. This, as many other use cases, is easily donable in BEAM.
To connect our Java code with Elixir/Erlang we’ll use JInterface package. Read more http://nsomar.com/p/1571936b-cc83-4233-998d-802fc5098969/
Counting Nucleotides with Elixir (a first learner's perspective)
It’s my first contact with Elixir and Functional Programming. Explaining a bit of recursion and Elixir’s beautiful pattern matching on function’s signature. http://codebikeandmore.com/code/2016/11/06/the-beauty-of-elixirs-pattern-matching.html
Javascript-style Destructuring for Elixir
A simple enhancement for Elixir’s already excellent pattern matching, to make it a little less verbose:
Using mocks and explicit contracts to test remote dependencies
How we use mocks and explicit contracts to manage remote dependencies and associated tests in our Elixir projects.
http://engineering.spreedly.com/blog/mocks-and-explicit-contracts-in-practice.html
Strategies for Migrating a Phoenix App on Heroku
For those of you who have deployed to Heroku and are sick of running heroku run mix ecto.migrate
https://blog.learnphoenix.io/strategies-for-migrating-a-phoenix-app-on-heroku-ed0ea3aee4e5
EctoAutoslugField: Added Ecto 2 support
We have released a new version of ecto_autoslug_field. We now support Ecto version 2.
ecto_autoslug_field automatically creates slugs for your Ecto models.
Check it out: https://github.com/sobolevn/ecto_autoslug_field
ExNrel - API client for NREL
Just finished initial version of ExNrel to interact with API from @NRELdev
