Ben Lovy

Ben Lovy @deciduously

About: Just this guy, you know?

Location:
Boston, MA, USA
Joined:
Mar 19, 2018

Ben Lovy
articles - 114 total

Oops, I Did It Again...I Made A Rust Web API And It Was Not That Difficult

Over two years ago (oof), I posted a walkthrough of my Rust implementation of todo-mvp by...

Learn More 107 13Nov 21 '21

Prepare your Rust API docs for Github Pages

Rust comes with a built-in documentation system, rustdoc. It's great, use it. Github comes with a...

Learn More 41 5Nov 9 '21

Workstation Management With Nix Flakes: Build a Cmake C++ Package

Last time, we looked at how to produce a development shell using Nix Flakes that contained the Python...

Learn More 16 1Oct 31 '21

Workstation Management With Nix Flakes: Jupyter Notebook Example

What? If you're reading DEV, your computer is probably your primary productivity tool. ...

Learn More 18 1Oct 30 '21

Pretend You're Using A Different Linux Distribution With One Docker Command

The Why Lots of developers use Linux, but "Linux" is a vast category. There are a lot of...

Learn More 67 2Oct 25 '21

Quickly Grab Stuff From Your Git History

While working through a problem, my colleague remembered a prior version of our application had a...

Learn More 22 0Oct 22 '21

Rust Function Pointers Across FFI Boundary

Hi DEV - it's been ages! I'm stumped on a problem, and remembered my old adage: "ask DEV stuff, they...

Learn More 13 2Sep 10 '21

Using Bitwise Operators: Why Waste Space Use Many Bits When Few Bits Do Trick?

These days, we live in the future. Memory is very cheap. When we need to store an integer, in most...

Learn More 60 4Aug 9 '20

Prime Sieve in (Hopefully) Idiomatic Ruby (And Some Books You Should Read)

Hey y'all. Been awhile. Books are at the bottom. Earlier this week, I got my first "star" on an ex...

Learn More 31 6Aug 6 '20

Share Your Conway's Game Of Life

Sadly, John Horton Conway has passed away. While Conway's contributions to computational mathematics...

Learn More 47 22Apr 12 '20

Quick And Dirty Java Makefile

I'm not a Java user and know next to nothing about it. Today was my first time ever running a line o...

Learn More 23 10Apr 8 '20

Setting Up A Fresh Ruby Project

To start up a Ruby project, you don't need to do anything other than put some Ruby code in a file and...

Learn More 112 7Mar 19 '20

Old post surging?

EDIT: Aha: Mark Aiken...

Learn More 33 17Mar 17 '20

Learning German

This is pretty off-topic for DEV, but I think some of y'all might have something to say anyway. As I...

Learn More 79 32Mar 11 '20

Getting Cozy with Ruby

When I first approached Ruby, I basically looked at it like "dynamic C++", because that was the best...

Learn More 107 11Mar 7 '20

Ben++

Much to not-too-far-past-Ben's surprise, I accepted an offer this morning for my first full-time soft...

Learn More 81 42Mar 5 '20

How did YOU learn Ruby?

So, there's a chance I might need to get myself up to speed with Ruby (for real, and for quick), and...

Learn More 45 26Mar 4 '20

Google released a Lighthouse extension for Firefox!

Get it while it's hot. No devtools version yet (real or planned), that's a more significant rewrite....

Learn More 143 5Feb 24 '20

What were some quirks and gotchas about working with Python 1?

Python 2 was released in October 2000, but Python 1 was released to the world six years earlier, in 1...

Learn More 16 8Feb 21 '20

Hyper Webapp Template

Like many of us, I'm quite lazy. When making a wep application, lots of the core functionality will...

Learn More 103 10Feb 20 '20

How many of y'all are using DEV Connect?

I think DEV's chat feature is super cool, but I'm coming up on my two-year badge in a few weeks and I...

Learn More 51 41Feb 13 '20

Get Started Writing Scheme

TL;DR: Download Racket, run plt-r6rs my-file.scm. Bookmark this book and check it when you have ques...

Learn More 106 26Feb 11 '20

Steam Proton Is Great

My (awesome) fiancé picked me up a copy of Disco Elysium for my birthday recently (she's really aweso...

Learn More 72 12Feb 8 '20

Automatically Generate Rust Modules With Cargo Build Scripts

I just learned how to use Cargo build scripts. They're pretty cool. The Context If you d...

Learn More 61 1Feb 7 '20

Do you merge branches locally or create pull requests for personal projects?

I'm not sure if this is #help. Is there a correct, universally accepted better practice? In that ca...

Learn More 83 48Feb 6 '20

Thirty Green Squares

I just got my 30th consecutive GitHub square! While it doesn't mean much in the grand scheme of thin...

Learn More 52 10Feb 5 '20

Use Multi-Stage Docker Builds For Statically-Linked Rust Binaries

I'm making a static website in Rust. Last time I did this, I used Docker to automate the deployment....

Learn More 62 22Jan 29 '20

C++ Template Specialization - Syntax Note

I sat down yesterday with @codemouse92 via Visual Studio Live Share for VS Code -- which is an awesom...

Learn More 22 5Jan 24 '20

How dependent are you on your development environment configuration?

How much would it slow you down if you were required to get work done on a clean install of your OS,...

Learn More 18 28Jan 23 '20

Phabricator is Phabulous

A tour of the Phabricator collaboration tool.

Learn More 54 13Jan 21 '20