Page 5 of 126 (2518 total posts)

August 2024

30-08-2024
Dokku: my favorite personal serverless platform – Hamel’s Blog

Dokku: my favorite personal serverless platform – Hamel’s Blog

Source: hamel.dev

Like Heroku, but you own it.

Notes:

Linked is an article about #dokku which is software that lets you run the equivalent (more or less) of #heroku on your own server, including a server instance from a service like #digitalocean. Very nice. Good offering to remember!dokku

Tags: how-to heroku cloud deploy dokku
25-08-2024
Visual Data Structures Cheat-Sheet

Visual Data Structures Cheat-Sheet

Source: photonlines.substack.com

A visual overview of some of the key data-structures used in the real world.

Notes:

Linked is a very comprehensive collection of brief explanations of numerous computer science-y data structures. I put it that way because when I think of a data structure and designing a data structure it is to represent some domain data in a way that is most convenient for the algorithm or requirements.

The linked article gets into advanced data structures seem mostly about efficiently storing, accessing, searching and updating very large collections of information. I say very large because the structures and associated algorithms are nuanced and ingenious in order to achieve efficiency when subjected to very large collections. When you need one, you really need it and it can save your application. But you won’t need most of them every day. IMHO of course.

Tags: data-structure performance big-o design data scale
21-08-2024
GitHub - sinaatalay/rendercv: A LaTeX CV/Resume Framework

GitHub - sinaatalay/rendercv: A LaTeX CV/Resume Framework

Source: github.com

A LaTeX CV/Resume Framework. Contribute to sinaatalay/rendercv development by creating an account on GitHub.

Notes:

Kinda cool. Linked is a simple tool which formats a cv in one of several styles. But the trick is that the input is a yaml file which contains all the content as a structured text file that you can edit with vscode and version track with GitHub. Nice!

Tags: cv resume beautiful formatting json automation
19-08-2024
Leaving Neovim for Zed

Leaving Neovim for Zed

Source: stevedylan.dev

A journey through text editors and how I landed on Zed after years of Neovim

Notes:

Linked is an article about Zed, a new programmers editor, trying to take the place of vscode. I love articles like this because they follow the kind of crazed thought process that I often have: is there something better than what I am using now?

Tags: zed vscode programming programmers-editor vim comparison
17-08-2024
Sonic Pi: Ruby as a Composition Tool

Sonic Pi: Ruby as a Composition Tool

Source: bhmt.dev

Sonic Pi: Ruby as a Composition Tool URL: https://bhmt.dev/blog/sonic_pi/ Type: article Domain: bhmt.dev Notes: Linked is a neat article about sonic pi, a less known music synthesizer software. It is so cool and interesting even if you’re not a musician or composer. It builds a world of musical abstractions allowing you to make very interesting music. What is news from this article is that the whole thing is built on top of Ruby, as a DSL!

Notes:

Linked is a neat article about sonic pi, a less known music synthesizer software. It is so cool and interesting even if you’re not a musician or composer. It builds a world of musical abstractions allowing you to make very interesting music. What is news from this article is that the whole thing is built on top of Ruby, as a DSL!

Tags: Ruby sonic_pi music composing synthesizer
17-08-2024

What About Static Typing in Ruby? – Noel Rappin Writes Here

Source: noelrappin.com

I just write here

Notes:

Linked is a subtle and really interesting article about static vs dynamic typing. I’ve been a fan of python type hints and annoyed with how Ruby, so far has approached the political pressure to have an answer. For the first time for me, this article articulates how type hints may be great for sample code or fairly simple real code, but can become a burden for “real” code. I’ve experienced this myself but did not realize what was going on. He also builds an interesting distinction between type checking and data validation. Maybe Ruby needs an equivalent to pedantic?

Tags: ruby type-checking type-hints duck-typing
11-08-2024
WireViz: Easily document cables and wiring harnesses.

WireViz: Easily document cables and wiring harnesses.

Source: github.com

Easily document cables and wiring harnesses. Contribute to wireviz/WireViz development by creating an account on GitHub.

Notes:

For you hardware hackers and builders out there.. linked is a very cool tool to docutment wiring in your robots and other devices as well as generate pretty pictures and even a BOM!

Tags: hardware graphviz diy maker diagram visualization
07-08-2024
An Introduction to Nix for Ruby Developers

An Introduction to Nix for Ruby Developers

Source: blog.appsignal.com

Learn how to build and share reproducible Rails development environments.

Notes:

Wow, I've heard about Nix from time to time. I still don't understand it. But the linked article is the first fairly comprehensive one with a detailed tutorial. Of course I am still too scared to try typing in the commands. They seem to claim that it will be totally isolated but still. Mainly I am not sure what benefit I will get in trying it. You can see though, that someone's have put a ton of effort into getting it to this point.

Tags: nix docker howto explainer
03-08-2024
LearnDjango | LearnDjango.com

LearnDjango | LearnDjango.com

Source: learndjango.com

Learn web development with Python and the Django Web Framework. Tutorials on Django REST Framework, Docker, React, and Vue.

Notes:

Linked is a good review of Python Flask and Django. I came from a Ruby world, that’s like comparing Sinatra to Rails. Very different and very related.

Tags: python django learning flask compare
03-08-2024
Python Protocols: Leveraging Structural Subtyping – Real Python

Python Protocols: Leveraging Structural Subtyping – Real Python

Source: realpython.com

In this tutorial, you'll learn about Python's protocols and how they can help you get the most out of using Python's type hint system and static type checkers.

Notes:

I didn’t understand Protocols in Python. Linked is an excellent tutorial that explains not just Protocols, but also contrasts them with duck typing, abstract base classes, talks about use cases and non-use cases. It’s an advanced tutorial.

Tags: python abc duck-typing protocols type-checking

July 2024

31-07-2024
Cargo Cult Science annotated/explained version.

Cargo Cult Science annotated/explained version.

Source: fermatslibrary.com

Richard Feynman

Notes:

I think Richard Feynman coined the term “cargo cult” in the 70’s! More important is his description of the scientific process, and his high standard and description of integrity in doing science. Computer Scientists, does your research achieve Feynman’s standard?

Tags: feynman cargo-cult history science scientific-method
30-07-2024
A few words on Ruby's type annotations state

A few words on Ruby's type annotations state

Source: zverok.substack.com

…that were written in a military training camp and accidentally grew to 5k words

Notes:

Linked is a deep article about type hints in Ruby. When I say deep, I mean it! Requires an in depth understanding to appreciate or follow. And it illustrates how incredibly tough it is to add a major new low level feature to Ruby or any other mature language.

Tags: ruby types hints language-design
29-07-2024
Understanding Hash Value Omission in Ruby

Understanding Hash Value Omission in Ruby

Source: allaboutcoding.ghinda.com

Learn about hash value omission in Ruby, their benefits, examples, and implementation guidelines for more concise code

Notes:

Linked is an article about a feature in Ruby that I didn’t know about. I still think Ruby is superior to python in many ways. Unfortunately circumstances and “the world” and “time” has gotten me leaning more and more into python. Still when I next need to create a web based app, I can’t see using Django over rails.

Tags: ruby hash features explainer
29-07-2024
Annotated area charts with plotnine | Nicola Rennie

Annotated area charts with plotnine | Nicola Rennie

Source: nrennie.rbind.io

The plotnine visualisation library brings the Grammar of Graphics to Python. This blog post walks through the process of creating a customised, annotated area chart of coal production data.

Notes:

Linked is an article about plotline, a python graphing package that I was not familiar with. Along the way the example shows how to take your raw data and extract from it the various series you will need building the graph. Excellent examples. But I wonder what gap this new package was filling among the multiple existing, popular and excellent graphing packages.

Tags: python plotting graphing matplotlib seaborn package
29-07-2024
Mastering Ruby Code Navigation: Major Ruby LSP Enhancements in the First Half of 2024

Mastering Ruby Code Navigation: Major Ruby LSP Enhancements in the First Half of 2024

Source: railsatscale.com

In the first half of 2024, Ruby LSP has seen significant enhancements, particularly in the area of code navigation, thanks to the advancement of its indexer. In this post, we’ll dive into the major code navigation enhancements that have been made to Ruby LSP. We’ll also touch on some experimental features that are on the horizon.

Notes:

Linked is a comprehensive explanation of the Ruby LSP. RUBY,I had to look up what the P stood for. Actually the correct usage is either “LSP server” because LSP stands for “Language server protocol”… or just language server. Maybe the name LSP is morphing from a pure acronym to just the name of the feature, detached from the initials. Yes programmers are so pedantic, don’t you agree?

Tags: ruby coding tool lsp vscode
29-07-2024
Exercise: Minesweeper in 100 lines of clean Ruby

Exercise: Minesweeper in 100 lines of clean Ruby

Source: radanskoric.com

Ruby is such an expressive language. You can often do surprisingly much with just a few lines of code. It’s why I find it so satisfying to think about how to accomplish the same thing in fewer lines of Ruby1. If we accept the claim that that number of bugs correlates with number of lines of code this is not just a fun exercise. There’s real business value in accomplishing a feature with less lines of code. ↩

Notes:

Reading well written, idiomatic code is the best way to improve your code. Linked is a nice example.

Tags: ruby idiomatic example coding development
23-07-2024
The biggest-ever global outage: lessons for software engineers

The biggest-ever global outage: lessons for software engineers

Source: newsletter.pragmaticengineer.com

Cybersecurity vendor CrowdStrike shipped a routine rule definition change to all customers, and chaos followed as 8.5M machines crashed, worldwide. There are plenty of learnings for developers.

Notes:

Linked is a great analysis of what might have gone wrong to cause the crowdstrike global outage of windows computers. Also software engineering and operations techniques and principles which could have avoided the terrible event.

Tags: engineering sysadmin windows methods
20-07-2024
Hypernatural

Hypernatural

Source: app.hypernatural.ai

Amazing ai generated videos

Notes:

Linked is a service that generates quite respectable short promotional videos. I tried it on the syllabus to my course and it created something fairly amazing. I mean it’s still obviously ai generated. After your amazement subsides you may still not want to use it but it’s worth checking out. Maybe if you have to generate many short videos. It’s definitely worth checking out.

Tags: ai video llm marketing