449 Followers
92 Following
13 Posts
senior software engineer @netflix | ex @rstudio #tidyverse | ex @bioconductor | interests #rstats + #nba 👨‍👩‍👧‍👧 + 🐕 | He/him

wake up #rstats new object system just dropped

https://cran.r-project.org/package=S7

S7: An Object Oriented System Meant to Become a Successor to S3 and S4

A new object oriented programming system designed to be a successor to S3 and S4. It includes formal class, generic, and method specification, and a limited form of multiple dispatch. It has been designed and implemented collaboratively by the R Consortium Object-Oriented Programming Working Group, which includes representatives from R-Core, 'Bioconductor', 'Posit'/'tidyverse', and the wider R community.

While I dig knowing some base R, I do increasingly find myself using {fs} for anything to do with file manipulation.

The fact that filenames in the console display in different colours according to whether they are directories / files /different file types is a real boon.

It offers fine grained control over the detail you can determine about your files, and if you want to purrrr::walk() over them and modify properties, you can do that too.

Working with files?
For less {ffs}, use {fs}

RcppSimdJson: 'Rcpp' Bindings for the 'simdjson' Header-Only Library for 'JSON' Parsing

The 'JSON' format is ubiquitous for data interchange, and the 'simdjson' library written by Daniel Lemire (and many contributors) provides a high-performance parser for these files which by relying on parallel 'SIMD' instruction manages to parse these files as faster than disk speed. See the <<a href="https://arxiv.org/abs/1902.08318" target="_top">arXiv:1902.08318</a>> paper for more details about 'simdjson'. This package parses 'JSON' from string, file, or remote URLs under a variety of settings.

@hrbrmstr it would be nice if someone was working on a proper dplyr backend to polars. e.g. in the style of dtplyr or the arrow dplyr backend.

I have used polars in python and it should map pretty well to the dplyr apis

Polars hit the big time! https://www.pola.rs/posts/company-announcement/

The #RStats pkg is pretty slick: https://rpolars.github.io/

And, if you're in the {tidyverse} tribe, {tidypolars} has your back: https://github.com/etiennebacher/tidypolars

Company announcement

We are excited to announce the start of company that will build around Polars, enabling data processing at any scale.

This thread (https://discuss.python.org/t/formalize-the-concept-of-soft-deprecation-dont-schedule-removal-in-pep-387-backwards-compatibility-policy/27957/84 ) discussing the new “soft depreciation” in python is an interesting read after having conversations about very similar ideas and coming up with ‘superseded’ a few years ago in the tidyverse (this is eventually brought up and linked in the discussion)
Formalize the concept of "soft deprecation" (don't schedule removal) in PEP 387 "Backwards Compatibility Policy"

Over the last years, IMO the quality of instructions to get rid of deprecated and removed functions improved in What’s New In Python documents. Sure, there is always room for enhancement, and contributions are welcomed 🙂 Recently, I enhanced imp removal docs (Python 3.12) to provide recipes to replace removed APIs. The most difficult part is to provide a solution working on old and new Python versions. If possible, a solution for that should always be provided.

Discussions on Python.org

@robjhyndman In the ten years since have you found something that keeps the positive aspects of religion, e.g. communities promoting empathy and selflessness, without the supernatural trappings?

I haven’t really found something that fits perfectly myself, but I am curious if others may have.

@inundata opening the dark sky app this morning and just seeing all 0s made me feel bad for it 😞

They couldn’t even bury it with proper respect, RIP dark sky, we will miss you

@rmflight haha, I just deleted the one from you 😄

It is actually not very many, maybe 10 a year or so

Check out this cool elevation map of the contiguous US

https://www.reddit.com/r/dataisbeautiful/comments/jslbn9/us_elevation_tiles_oc/
Fourteenth in a 🧵 of #2022TopToots

US Elevation Tiles [OC]

Posted in r/dataisbeautiful by u/newishtodc • 88,031 points and 2,149 comments

reddit