Open in app

Sign In

Write

Sign In

Robert Boscacci
Robert Boscacci

386 Followers

Home

About

Pinned

Why and How to make a Requirements.txt

Using a Virtual Environment to Avoid Seeming like a Sadist — TL;DR: $ pip freeze > requirements.txt Why not just write pretty code and push it to GitHub like a happy little clam, and not worry about making a requirements.txt? If my code runs on my computer, why should I give a care about my python environment? What even is a…

Python

7 min read

Why and How to make a Requirements.txt
Why and How to make a Requirements.txt
Python

7 min read


Jun 30, 2022

Eject-All-Disks Shortcut for macOS

For quick un-docking of a laptop from a stationary desk setup — The Problem I have several hard drives connected to my laptop’s dock. When I dock my laptop, it connects to all 2 or 3 hard drives. I want to be able to eject them all at once so that my Mac doesn’t yell at me when I un-tether from my dock. The Fix I…

Macos

3 min read

Eject-All-Disks Shortcut for macOS
Eject-All-Disks Shortcut for macOS
Macos

3 min read


Feb 8, 2022

Don’t Repeat My Ergo Mistakes

Avoid this handful of ergo pitfalls for a longer, healthier career — Avoiding long hours at the desk is the best way to prevent mouse-and-keyboard-related repetitive stress injury. If you’re like me, however, that’s just not realistic. I code furiously for a living, I’m writing a book, I’ve been diagnosed with bilateral tendinopathy, and I’ve had to take unplanned time away from…

Ergonomics

7 min read

Don’t Repeat My Ergo Mistakes
Don’t Repeat My Ergo Mistakes
Ergonomics

7 min read


May 7, 2021

Make Your Own MTA Subway Train Arrival Countdown Clock

Using Arduino, Python, and AWS Click to go straight to the GitHub repo with explicit DIY instructions The year is ~2018. I take a class at my local hackerspace, NYC Resistor. They give a little presentation about the history of IoT devices. They guide us through breadboarding our own little MTA train time arrival clocks, which behave like the ones on the…

Arduino

2 min read

Make Your Own MTA Subway Train Arrival Countdown Clock
Make Your Own MTA Subway Train Arrival Countdown Clock
Arduino

2 min read


Apr 20, 2021

Everything worked out of the box for me
3
1

Giuliano

Love to hear it! What is everything, for you?

Love to hear it! What is everything, for you?

1 min read

1 min read


Published in Towards Data Science

·Apr 8, 2021

Setting Up a New M1 MacBook for Data Science

A Python/Pandas guy sets up shop on Apple Silicon — In April 2021 I was granted the privilege of unboxing a brand new 2020 M1 Apple MacBook Air. Tl;dr If you’re hoping to run Python libraries natively (i.e. without Rosetta 2 translation) on your new M1 MacBook, save yourself a lot of hassle: Use miniforge. …

Data Science

6 min read

Setting Up a New M1 MacBook for Data Science
Setting Up a New M1 MacBook for Data Science
Data Science

6 min read


Mar 29, 2021

Apple M1, Python, Pandas, and Homebrew
148
2

Alex Slobodnik

Is it really that simple?

Is it really that simple? I am seeing folks frustrated with lack of native support for data science libraries: https://www.betterdatascience.com/why-i-sold-m1-mac/ https://stackoverflow.com/questions/65095614/macbook-m1-and-python-libraries

1 min read

1 min read


Published in Towards Data Science

·Dec 14, 2020

Setting Up Jupyter Notebook on OSX Catalina

with brew Python 3.8.x, in a regular virtual environment — Intro I try to avoid (ana)conda when I can. I prefer PyEnv. Lately, I’ve found myself repeatedly fumbling trying to get Jupyter up and running and packages like pandas importing properly. Maybe this had to do with recent upgrades to my OS (to Catalina) or switching from bash to zsh as…

Jupyter

5 min read

Setting Up Jupyter Notebook on OSX Catalina
Setting Up Jupyter Notebook on OSX Catalina
Jupyter

5 min read


Published in Towards Data Science

·Sep 21, 2020

Ditching the AWS GUI Console

Serverless Infrastructure as Code via AWS CloudFormation — GitHub Repo / Source Code Here! 2020–09–10 Backstory: When I used to work at a Data Analytics firm in Times Square, I’d frequently enjoy lunch on the beautiful Bryant Park Lawn. I could check https://bryantpark.org/ to see if the lawn was currently open, but the org page loaded somewhat slowly; it was full of images I didn’t care…

AWS

10 min read

Ditching the AWS GUI Console
Ditching the AWS GUI Console
AWS

10 min read


Published in IoT For All

·Mar 29, 2020

Motion-Sensing LED Hallway

Home Automation // My First Arduino Project — Tl;dr: I covered the perimeter of my apartment hallway in fancy LED strips. I installed motion sensors above all the doorways. I wrote a bunch of Arduino code. Now when you trip one of the motion sensors, the hallway lights up from that point outward, creating a “runway” effect. …

Home Automation

11 min read

Motion-Sensing LED Hallway
Motion-Sensing LED Hallway
Home Automation

11 min read

Robert Boscacci

Robert Boscacci

386 Followers

Author of “The Spring of Sight”, expected publication late 2022

Following
  • Jim Clyde Monge

    Jim Clyde Monge

  • Kavika Roy

    Kavika Roy

  • Cory Doctorow

    Cory Doctorow

  • Cassie Kozyrkov

    Cassie Kozyrkov

  • Blaise Aguera y Arcas

    Blaise Aguera y Arcas

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech