Programming

Programming

1474 bookmarks
Custom sorting
Implicit try in Elixir | Curiosum tils
Implicit try in Elixir | Curiosum tils
Uncover Elixir's hidden gem - the 'implicit try'. Enhance error handling and code readability. Dive into this elegant feature's benefits in our exploration.
·curiosum.com·
Implicit try in Elixir | Curiosum tils
Slugify (slight return)
Slugify (slight return)
A Python function for turning a title into a slug for blog publishing.
·leancrew.com·
Slugify (slight return)
5 Tips for Elixir Beginners
5 Tips for Elixir Beginners
I first started looking into Elixir upon the recommendation of a friend of mine about the wonders of the language. My first foray into the language was over a year ago as I dipped my toe into the Phoenix Framework to see how it compared to something like ReactJS, the
·thestackcanary.com·
5 Tips for Elixir Beginners
Elixir For Fun
Elixir For Fun
The ECSpanse
·iacobson.medium.com·
Elixir For Fun
From Python to Elixir Machine Learning
From Python to Elixir Machine Learning
Moving on from Python Machine Learning might seem impossible. Let me break down why and how you can do it.
·thestackcanary.com·
From Python to Elixir Machine Learning
An Opinionated Way of Organizing GraphQL APIs using Absinthe and Phoenix
An Opinionated Way of Organizing GraphQL APIs using Absinthe and Phoenix
REST has been the predominant architectural choice for API development on the web. GraphQL being the new kid in town has been continually gaining traction over the last few years as an alternative way to build APIs. GraphQL is - "A query language for...
·meraj-gearhead.ca·
An Opinionated Way of Organizing GraphQL APIs using Absinthe and Phoenix
Metaprogramming in Elixir with macros
Metaprogramming in Elixir with macros
Macros are one of the most powerful concepts in Elixir. Its what differentiates the language from the underlying Erlang BEAM…
·medium.com·
Metaprogramming in Elixir with macros
MoonBit
MoonBit
·moonbitlang.com·
MoonBit
Blog
Blog
·moonbitlang.com·
Blog
The Phoenix LiveView LifeCycle Illustrated
The Phoenix LiveView LifeCycle Illustrated
A picture's worth a thousand words. It can be confusing to explain to a LiveView newbie just what the lifecycle of a LiveView process looks like. I made a flow chart to help visualize how an HTTP Request becomes a stateful LiveView
·johnelmlabs.com·
The Phoenix LiveView LifeCycle Illustrated
How can I measure the similarity between two images?
How can I measure the similarity between two images?
I would like to compare a screenshot of one application (could be a Web page) with a previously taken screenshot to determine whether the application is displaying itself correctly. I don't want an...
·stackoverflow.com·
How can I measure the similarity between two images?
How-To: Python Compare Two Images - PyImageSearch
How-To: Python Compare Two Images - PyImageSearch
Learn how to compare two images for similarity using Mean Squared Error and Structural Similarity Index (SSIM) with Python. Code included.
·pyimagesearch.com·
How-To: Python Compare Two Images - PyImageSearch
Programmer's Guide To Theory - The Algorithm of Choice
Programmer's Guide To Theory - The Algorithm of Choice
Programming book reviews, programming tutorials,programming news, C#, Ruby, Python,C, C++, PHP, Visual Basic, Computer book reviews, computer history, programming history, joomla, theory, spreadsheets and more.
·i-programmer.info·
Programmer's Guide To Theory - The Algorithm of Choice
How accurate is the birthday’s paradox formula?
How accurate is the birthday’s paradox formula?
Given a set of r random values from a large set (of size N), I have been using the formula 1-exp(-r**2/(2N)) to approximate the probability of a collision. It assumes that r is much smaller than N. The formula suggests that if you have hundreds of millions of random 64-bit numbers, you will start getting … Continue reading How accurate is the birthday’s paradox formula?
·lemire.me·
How accurate is the birthday’s paradox formula?
Building Self-referential Associations in Elixir/Phoenix
Building Self-referential Associations in Elixir/Phoenix
Self-referential association is used to associate a model with itself. It's pretty common to have this kind of association to build relationships in today's social media applications - Twitter, Mastodon, Facebook, etc. However, the association model ...
·meraj-gearhead.ca·
Building Self-referential Associations in Elixir/Phoenix
blog_post
blog_post
·victorbjorklund.com·
blog_post
Symmetric Properties
Symmetric Properties
If you take a square and rotate it 90 degrees, you get back an identical square. We say the square is rotationally symmetric. Similarly, if you reflect it...
·buttondown.email·
Symmetric Properties