cenotaph
Finger, a verification library to prove hommaannnnnness of a user
Finger achieves this by showing pictures of N hands holding up random fingers and asking users to verify how many fingers am I holding up, which is a task our machine friends suck at!
This is my first package for elixir, hex, some things are not quite right. Please be gentle ![]()


This version has imagemagick dependency.
I have added a TODO to address asset loading from a package. I came across Joses post from 4 years ago on this forum so I followed that route. It is not as clean as I would like it to be though.
https://github.com/ykurtbas/elixir-finger/
If you want to see it in action you can always visit the registration page on my website.
Code and finger contributions are more than welcome ![]()
Trending in Announcing
You may know https://ui.shadcn.com/, a UI component library for React. I really love it’s design style and components. I’ve built some co...
New
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
The Chelekom project is a library of Phoenix and LiveView components generated via Mix tasks to fit developer needs seamlessly.
One of i...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
There are three potential reasons for members of this forum to have a look at https://vutuv.de
You are tired or annoyed of LinkedIn.
Yo...
New
Other Trending Topics
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
We want to introduce a new native datatype to Erlang: native records. Although replacing all tuple records with native records is not our...
New
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog
It says that Fly is going all-in on sprites, which is a worry ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #performance










First 10 of 27 Posts
OvermindDL1
How do you handle different cultures counting their fingers differently? Like in the first image it could be read as 2025, or it could be read as 1001215, or a couple of other ways. Saying ‘count’ of fingers might be better, but still not helpful if english is not their native language.
EDIT: Fixed miscount, lol
cenotaph
Honestly, I did not account for variance in the counting of fingers.
Which cultures would count as 18 and how do they reach there? do closed fingers mean 10 or 5 to different cultures?
The library only provides the image and answer, the text and hints to require input are in your control so could use the appropriate instructions and wording for the culture and language.
Thank you for a great point regardless, I will do some research on it and update the assets to be more clear as necessary.
OvermindDL1
I’ve personally met people that count with fingers in base-2 starting with the thumb as 1, and people who count using their thumb placed on the parts of the fingers between the joints (starting with pinky near hand, so 3 per finger, 4 fingers, so they count to 12 on each hand), and I’ve seen other popular methods online as well.
cenotaph
From UI perspective:
Library:
NobbZ
In the first picture there are 4144. Obviously.
Nothing is said about them need to be stretched or folded, so you see 4 fingers and one thumb on 3 of them, one finger and a thumb on one.
cenotaph
You guys are more literal than the robots
joking aside addressing the clear instructions issue as we speak
NobbZ
We are developers.
It’s our job to recognize important edge cases before they hot production.
cenotaph
I am only joking, I appreciate the help!
with 0.1.4
Now time to update the elxsy and clear the instructions with help
eksperimental
eksperimental
If culturally it is too complex to make a solution that suits them all I am wondering if you could use pictures of random objects, like coins, pencils, forks, spoons, bottles, etc. for the same purpose. It may even be harder for AI engines to break.