adammokan

adammokan

I needed a reliable way to process human names and found a handy crate (crates.io: Rust Package Registry) and decided to whip up a NIF using Rustler.

Hex: hex.pm/packages/human_name
Github: github.com/amokan/human_name
Docs: hexdocs.pm/human_name/readme.html

A couple caveats:

  • I am quite rusty (no pun intended) with Rust, so if anyone feels the need to DRY up that code and wants to submit a PR - please do!
  • This has not been tested off of my Apple M1-based machine. I will be using this in a actual production data pipeline next week, but until then - test it out before you push to production and turn off your alerts :slight_smile:

Showing Posts 1 to 4

adammokan

adammokan OP

If anyone gave this a shot earlier today, you likely had no luck via hex - since I failed to include the rust files in the package bundle.

Try again with v0.1.2 as this should be resolved. Last resort, just link to the git repo in your deps.

Anyone bundling up a rustler-based package - do not forget to adjust your :files and :exclude_patterns attributes in your mix.exs.

Qqwy

Qqwy

TypeCheck Core Team

Let me hereby confirm that the package builds and runs fine on my x86-64 Linux machine :+1: .
Great work on this library! :confetti_ball:

adammokan

adammokan OP

Great! Thank you for the feedback.

kamidev

kamidev

Works just fine on an Intel Mac with 10.15.7 (Catalina), too. Built and executed the sample code from README without issues.

— All posts loaded —

Where Next? Top

Trending in Announcing Top

woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
MRdotB
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
woylie
I released Doggo, a collection of unstyled Phoenix components. https://github.com/woylie/doggo Features Unstyled Phoenix components....
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
anuaralfetahe
Hello Published a new library - ProcessHub! ProcessHub is a library designed to manage process distribution within the Elixir cluster. ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
sergio
It’s not that it’s vocabulary is too advanced. It’s something worse. I get lost trying to follow even a paragraph written by Claude. It’...
New
AstonJ
This showed up on my feed.. anyone heard of it? Just hype? Ox Alpha is a reasoning model designed for coding, sustained ag...
New
bartblast
Hey folks, I just published a post about Hologram’s funding and where the project goes next - the short version: Curiosum as Main Spons...
New

Latest on Elixir Forum

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews