Programming

Programming

1474 bookmarks
Custom sorting
Shipping Logs
Shipping Logs
Centralizing your application logs
·fly.io·
Shipping Logs
Adding XML feeds to Phoenix
Adding XML feeds to Phoenix
How I set up generic XML document rendering used for an Atom XML feed with NimblePublisher.
·danschultzer.com·
Adding XML feeds to Phoenix
Dynamic image generation with Elixir
Dynamic image generation with Elixir
How I use the Image library to dynamically generate Open Graph PNG images for my blog posts from SVG.
·danschultzer.com·
Dynamic image generation with Elixir
Baby Steps
Baby Steps
·smallcultfollowing.com·
Baby Steps
Shun keeps your HTTP secrets safe · Code Code Ship
Shun keeps your HTTP secrets safe · Code Code Ship
Evadne Wu (whom many of you know from her talks at ElixirConf and PC builds on Twitter), released shun to the world in April 2022. Judging by the number of stars on the repository and the download stats on Hex, shun has gone mostly unnoticed by the Elixir community. Shun is the library that you didn't know you needed. So what is it?
·codecodeship.com·
Shun keeps your HTTP secrets safe · Code Code Ship
Elixir for JavaScript developers: first impressions
Elixir for JavaScript developers: first impressions
What I genuinely value at my workplace is that I can easily explore new languages through internal mobility. Throughout my career within…
·medium.com·
Elixir for JavaScript developers: first impressions
Listen to Database Changes with Postgres Triggers and Elixir
Listen to Database Changes with Postgres Triggers and Elixir
Postgres Notifications allow you to subscribe to any changes in your database, even if they weren't made by your Elixir application! Let's learn how to set them up!
·peterullrich.com·
Listen to Database Changes with Postgres Triggers and Elixir
Probuild Ex Extra
Probuild Ex Extra
Probuild Ex front started to be unresponsive. My journey about debugging and optimizing queries.
·mrdotb.com·
Probuild Ex Extra
Learn Tcl by writing a simple game
Learn Tcl by writing a simple game
Explore the basic language constructs of Tcl, which include user input, output, variables, conditional evaluation, looping, and simple functions.
·opensource.com·
Learn Tcl by writing a simple game
Phoenix 1.7's verified routes
Phoenix 1.7's verified routes
Phoenix 1.7 is dropping path helpers in favor of a new concept called verified routes. Let's see how it handles typos, missing paths, arguments, and query params.
·germanvelasco.com·
Phoenix 1.7's verified routes
Undefined behavior, and the Sledgehammer Principle
Undefined behavior, and the Sledgehammer Principle
Previously, an article made the rounds concerning Undefined behavior that made the usual Rust crowd go nuts and the usual C and C++ people get grumpy that someone Did Not Understand the Finer Points and Nuance of Their Brilliant Language. So, as usual, it’s time for me to do what I do best
·thephd.dev·
Undefined behavior, and the Sledgehammer Principle
Move or copy your strings? Possible performance impacts
Move or copy your strings? Possible performance impacts
You sometimes want to add a string to an existing data structure. For example, the C++17 template ‘std::optional’ may be used to represent a possible string value. You may copy it there, as this code would often do… std::string mystring; std::optionalstd::string myoption; myoption = mystring; Or you can move it: std::string mystring; std::optionalstd::string myoption; myoption … Continue reading Move or copy your strings? Possible performance impacts
·lemire.me·
Move or copy your strings? Possible performance impacts
Tag All the Things!
Tag All the Things!
Add tagging with no extra tables using Postgres array fields and Ecto for an easy an simple solution.
·fly.io·
Tag All the Things!
How to debug
How to debug
As engineers we spend a lot of our time debugging problems, yet it's rarely taught as a skill in its own right. Some bugs are difficult enough that they can seem borderline impossible to solve, especially for devs toward the junior end of the spectrum. There's no worse feeling than being stuck on a hard problem, not knowing how to proceed. Of course, the right thing to do if you're stuck like that is ask for help; from your team, from other engineers in your org or social circle, from random strangers on the internet. As a random stranger on the internet then, this post is my attempt to help get you unstuck if you find yourself in that situation.
·philbooth.me·
How to debug