BiologiaIngleseHugo

Recology

Recent content on Recology
Pagina inizialeRSS Foraggio
language
Scienze informatiche e dell'informazioneInglese
Pubblicato
Autore Scott Chamberlain

I recently opened an issue in a repository for a package I’m working on to think about potential footguns and how to avoid them. That word “footguns” got me thinking;

Scienze informatiche e dell'informazioneInglese
Pubblicato
Autore Scott Chamberlain

My parents just found this email they had printed out from me from May 19, 2006, when I was 26. I chatted about some family stuff, then had this rambling string of weird thoughts below. I thought others might appreciate a good cringe - or cringy laugh - at my expense. It’s especially funny because I’m most def an atheist. I don’t know, those Tucson sunsets really are transformative.

JobsScienze informatiche e dell'informazioneInglese
Pubblicato
Autore Scott Chamberlain

notes to self for next job hunt (some of which may be generally useful): don’t apply to general tech companies anymore for many reasons. heard back from very very few but that may be b/c I don’t know many people at general tech companies never been able to get through interviews; they’re presumably looking for computer science grads (not me) most of their missions are probably not stuff I’d be happy about at the end of the day.

PythonRScienze informatiche e dell'informazioneInglese
Pubblicato
Autore Scott Chamberlain

Soooo, my last job at Deck was amazing. I loved it. I was doing data engineer stuff there, mostly maintaining infrastructure for data pipelines. Everyone was great and the mission was amazing: helping Democrats win. Yet the company was shut down about a month ago, sending me on another job search, the 3rd since early/mid 2021.

PythonProgrammingAstScienze informatiche e dell'informazioneInglese
Pubblicato
Autore Scott Chamberlain

I recently had a use case at work where I wanted to check that file paths given in a Python script actually existed. These paths were in various GitHub repositories, so all I had to do was pull out the paths and check if they exist on GitHub. There were a few catches though.

RCranScienze informatiche e dell'informazioneInglese
Pubblicato
Autore Scott Chamberlain

TL;DR In 6 months (end of November 2022) the CRAN Checks API https://cranchecks.info/ will be gone You can still get badges at https://badges.cranchecks.info You can use the new badges like: [![cran checks](https://badges.cranchecks.info/worst/dplyr.svg)](https://cran.r-project.org/web/checks/check_results_dplyr.html) Find more details at https://github.com/sckott/cchecksbadges Sunsetting the CRAN Checks API If you contribute an R package to

PythonScienze informatiche e dell'informazioneInglese
Pubblicato
Autore Scott Chamberlain

I was working on a work task last week, and needed to filter out one instance of a class from a list of class instances. No matter how you do this speed doesn’t matter too much if you’re doing this operation once or a few times. However, I this operation needs to be done about 100K times each time the script runs - so speed definitely does matter in this case.

PythonScienze informatiche e dell'informazioneInglese
Pubblicato
Autore Scott Chamberlain

It’s been interesting switching jobs with respect to programming languages. I used to write 95% R - now I write 95% Python. I have been using Python for many years, but not seriously or getting paid either. I’ve learned alot in the first 6 months. Some Python things learned: Functions and methods I used to think functions and methods were the same thing. But during the last 6 months I learned that functions and methods are not the same.

RHttpAPIScienze informatiche e dell'informazioneInglese
Pubblicato
Autore Scott Chamberlain

You’ve experienced an HTTP redirect (or URL redirect, or URL forwarding) even if you haven’t noticed. We all use browsers (I assume, since you are reading this), either on a phone or laptop/desktop computer. Browsers don’t show all the HTTP requests going on in the background, some of which are redirects.

RProgrammingBuilder-patternScienze informatiche e dell'informazioneInglese
Pubblicato
Autore Scott Chamberlain

In February this year I wroute about how many parameters functions should have, looking at some other languages, with a detailed look at R. On a related topic … As I work on many R packages that are API clients for various web services, I began wondering: What is the best way to deal with API routes that have a lot of parameters?

RTaxonomyDatabaseScienze informatiche e dell'informazioneInglese
Pubblicato
Autore Scott Chamberlain

\ Code is often arranged in packages for any given language. Packages are often cataloged in a package registry of some kind: NPM for node, crates.io for Rust, etc. For R, that registry is either CRAN or Bioconductor (for the most part). CRAN has the concept of an archived package.