@smach@masto.machlis.com
@smach@masto.machlis.com avatar

smach

@smach@masto.machlis.com

Director, editorial data & analytics at Foundry (an IDG company). Author of Practical R for Mass Communication & Journalism. A bit obsessed with both #RStats and #genAI. Learning #Python.

Write about R & #GenAI for #InfoWorld. She.

First joined Mastodon (at Fosstodon) on Oct 27, 2022.

Website: https://www.machlis.com
Apps: https://apps.machlis.com

Other interests: #Photography #DigitialDarkroom #Running #Bicycling #Crochet
Learning #ASL & #Python

Was @sharon000 on Twitter (no longer active)

This profile is from a federated server and may be incomplete. Browse more on the original instance.

simon, to random
@simon@simonwillison.net avatar

Just sent out my latest Substack newsletter - https://simonw.substack.com/p/datasette-cloud-datasette-10a3-llm - and it genuinely took me less than a minute to compose and send it

Copy and paste is the most under-rated API!

Here's how my newsletter flow works: https://simonwillison.net/2023/Apr/4/substack-observable/ - all of the work is done by this Observable Notebook: https://observablehq.com/@simonw/blog-to-newsletter

smach,
@smach@masto.machlis.com avatar

@simon Adding embeddings to llm would be great if possible!! 🔥🔥

smach, to rstats
@smach@masto.machlis.com avatar

The {document} 📦 creates roxygen2-style documentation for functions that aren't (yet) part of an R package.

In the screenshot below, top left shows a test.R file with a function called test_function , including roxygen definitions. After running

d <- document("test.R")

I can use

?test_function

to read the help file as if it were part of a package.

By Andreas Dominik Cullmann

https://cran.r-project.org/web/packages/document/vignettes/Introduction_to_document.html

@rstats

smach,
@smach@masto.machlis.com avatar

@jromanowska @rstats {document} will generate a PDF; as far as I know, {docstring} doesn't.
Also, the CRAN version of docstring hasn't been updated since 2017, and some people prefer code that's a bit more recent given the many changes in the R ecosphere in the last 6 years. But docstring is likely a fine option too. One thing about R - many choices!

smach, to rstats
@smach@masto.machlis.com avatar

The {duckdbfs} 📦 is “a simple wrapper around the duckdb package to facilitate working with the construction of a single lazy table (SQL connection) from a set of file paths, URLs, or S3 URIs.”
It creates a duckdb connection, ensures httpfs is installed if needed, and creates a VIEW using duckdb’s parquet_scan() or read_csv_auto(). “It then returns a dplyr::tbl() for the resulting view.” By @cboettig
https://cboettig.github.io/duckdbfs/
@rstats

smach, to rstats
@smach@masto.machlis.com avatar

The {dietaryindex} 📦 “provides user-friendly, streamlined methods for standardizing the compilation of dietary intake data into index-based dietary patterns,” allowing researchers to analyze how well subjects have adhered to various nutritional guidelines. Designed for epidemiologic and clinical studies, “promoting precision nutrition.” By James Jiada Zhan, PhD Student at Emory University, Nutrition and Health Sciences.
https://jamesjiadazhan.github.io/dietaryindex/
@rstats

augieray, to random
@augieray@mastodon.social avatar

Is something broken with @Mastodon lately? I keep seeing replies in my Notifications feed, but I can't see to what they are replying. Frustrating not to be able to see threads of conversations.

smach,
@smach@masto.machlis.com avatar

@augieray @Mastodon If no one on your Mastodon server is following an account, you won't see that account's posts - unless someone you follow boosts the post. Because you are on a huge server, that probably hasn’t happened to you much. It will happen if people you follow are responding to new accounts with small followings. Hard to explain in a toot. I wrote about the general issue of not seeing all public posts here

https://www.infoworld.com/article/3701292/6-ways-to-find-better-content-on-mastodon.html

jeffjarvis, to random
@jeffjarvis@mastodon.social avatar

Growling at my TV: The problem is not loneliness among American young men--and not phones or games. It is racism among them. Let us not invent another trope to avoid talking about the actual pathology in our society.
Next Haass and Goldberg talk about getting people off phones and into houses of worship: the essence of conservative wishful nostalgia that ignores the role of the evangelical church as a major force of the fascism and racism in America today.

smach,
@smach@masto.machlis.com avatar

@jeffjarvis Were they not alive during the genocides in Bosnia and Rwanda? Did anyone think the problem was loneliness among Serb nationalist extremists? Were people in Rwanda lonely before hacking their neighbors to death?

It"s usually demonizing the "other", and blaming the "other" for taking what they've decided should be rightfully theirs.

underdarkGIS, to opensource
@underdarkGIS@fosstodon.org avatar

Looks like the recordings are now starting to become available 🥳

Check out @foss4g's channel https://youtube.com/@FOSS4G if you want to catch up with the latest developments

smach,
@smach@masto.machlis.com avatar

Free and Open Source Software 4 Geospatial conference videos ⤴️⤴️⤴️
https://youtube.com/playlist?list=PLqa06jy1NEM2Kna9Gt_LDKZHv1dl4xUoZ

hrbrmstr, to random
@hrbrmstr@mastodon.social avatar

ZOMGOSH Colin Fay (I dunno Colin's 🐘 handle) is doing an EPIC series on WebR!!!

https://colinfay.me/calling-webr-from-expressjs/

https://colinfay.me/old-faithful-express-bootstrap-webr/

These are MUST READS if you do or want to do anything with WebR.

smach,
@smach@masto.machlis.com avatar

@hrbrmstr "But if like a normal person you don’t read the doc, let’s sum up what webR is." 🤣

Private
smach,
@smach@masto.machlis.com avatar

@mbojan @klmr @rstats The {box} 📦 is another great option! (I posted about it from my old Mastodon account a few months ago) https://fosstodon.org/users/smach/statuses/110039413383361078

hdkarlsen, to random

The birdplace seems to stagnate, so I'm jumping ship. A short to me: I'm an associate professor of psychology in 🇳🇴 and work on personality psychology and psychometrics. Really just as an excuse to nerd out about R.

smach,
@smach@masto.machlis.com avatar

@hdkarlsen Welcome! I keep an automated list of accounts recently posting about if you want to take a look https://apps.machlis.com/shiny/rstats/
You may also want to follow the @rstats group, and tag them when you have interesting R posts. This helps make sure you see more R posts by people with small followings - I explain here https://www.infoworld.com/article/3701292/6-ways-to-find-better-content-on-mastodon.html
Finally, FYI unlike that Other Site, URLs here on profiles & posts aren’t clickable unless you include https://

smach, to random
@smach@masto.machlis.com avatar

Sorry for the 'political' post, but there are times (like now) where I feel it's a moral imperitave to go on public record.

  • Ordering officers to push children seeking safety into a river is a crime and should be prosecuted.
  • Enslaving Black Americans did not teach them useful personal skills. That was a crime against humanity.

For those outside the US not up on news from Texas and Florida:

https://www.houstonchronicle.com/politics/texas/article/border-trooper-migrants-wire-18205076.php

https://www.nbcnews.com/news/us-news/new-florida-standards-teach-black-people-benefited-slavery-taught-usef-rcna95418

smach,
@smach@masto.machlis.com avatar

@hrbrmstr It is very very disheartening to say the least :(

DToher, to random

This is a piece with great tips on finding mastodon (or other Fediverse) content, especially if you are on a smaller, or even self-hosted instance.
https://www.infoworld.com/article/3701292/6-ways-to-find-better-content-on-mastodon.html

@smach giving lots of practical advice!

smach,
@smach@masto.machlis.com avatar

@mlanger @DToher People have different tastes on whether they do or don't like accounts that boost frequently. Which is exactly why Mastodon lets you follow accounts yet choose not see the posts they boost but only their original posts.
@hrbrmstr 's boosts, this image is just an example]

All users probably don't enjoy consuming information the exact same way. Flexibility FTW.

.

hadleywickham, to random
@hadleywickham@fosstodon.org avatar

If you're interested in the health of the community, a few stats for you: in the last week, RStudio was opened 3.5 million times (i.e. we logged that many checks for an update); in the last month, ~650k people visited a tidyverse website and ~65k people used posit.cloud; in the last year, >2 billion packages were downloaded.

smach,
@smach@masto.machlis.com avatar

@datamaps @jimbob @hadleywickham Tesla has a market cap of $824 billion and produced a grand total of 1.4 million EVs. Former business editor here. Market cap does not correlate with current market share.

smach, to mastodon
@smach@masto.machlis.com avatar

6 tips on how you - and everyone else - can see more interesting posts on Mastodon.

For ex., did you know you're probably not seeing all public posts with hashtags when you search? There are ways to see more!
https://www.infoworld.com/article/3701292/6-ways-to-find-better-content-on-mastodon.html


@feditips @mastodonmigration @feditips

caseynewton, to random
@caseynewton@mastodon.social avatar

I realize this won't be a popular opinion around here. But of all the Twitter clones so far, Threads has the most juice. I wrote about why ➡️ https://www.platformer.news/p/five-reasons-threads-could-still

smach,
@smach@masto.machlis.com avatar

@caseynewton It's a new Instagram feature that got a ton of hype, and around 7% of the IG installed base decided to try it. Because of IG's scale, 7% as a raw number is impressive.
However, since no Threads users can leave without also nuking their IG accounts, I will become increasingly skeptical of Threads "user numbers" the more time passes.
Remember how pre-IPO Facebook counted as "active users" anyone whose mobile app was polling FB in background? Does Threads do that?

smach, (edited ) to rstats
@smach@masto.machlis.com avatar

The {progressr} 📦 “provides a minimal API for reporting progress updates in R. . . .What type of progress to signal is controlled by the developer. How these progress updates are rendered is controlled by the end user. For instance, some users may prefer visual feedback such as a horizontal progress bar in the terminal, whereas others may prefer auditory feedback.”
By @henrikbengtsson
https://progressr.futureverse.org/
@rstats

smach,
@smach@masto.machlis.com avatar

@henrikbengtsson ACK Thanks. As I say in the newsroom, everyone needs an editor. Sigh.

smach,
@smach@masto.machlis.com avatar

@hrbrmstr @henrikbengtsson 🤣 If only!

mekkaokereke, (edited ) to random
@mekkaokereke@hachyderm.io avatar

The fastest growing app will have the worst retention rates.

Imagine a world where all users are the same, regardless of social network. Imagine that if 1000 users start using a social app on day 1, that only:

  • 900 of them will be using it on day 2
  • 800 of them on day 7
  • 600 of them on day 30
  • 500 of them on day 365

Now imagine if network A hasn't grown in 5 years, but has 100MM users. Network B is doubling every 2 days, and is currently at 100MM users.

Which will have worse retention?

smach,
@smach@masto.machlis.com avatar

@mekkaokereke It's no accident that once people sign up for Threads, they can’t leave without also deleting their Instagram accounts. That’s an obvious attempt to inflate user numbers. Anyone who reports Threads user data without mentioning this is contributing to a well-laid trap.
Pre-IPO, Facebook reported counting as “active” anyone whose app was polling FB in background, whether or not users were opening the app. Is Threads also doing this? Has anyone asked?

hrbrmstr, to random
@hrbrmstr@mastodon.social avatar

Looks like there's going to be a rewrite of many "Data Science 101" courses. (images are all screen caps of chatgpt's new thingamabob). a cpl more in a reply to this post.

image/png
image/png
image/png

smach,
@smach@masto.machlis.com avatar

@hrbrmstr Well clearly I'm not getting any more work done this afternoon. . . .

hrbrmstr, to python
@hrbrmstr@mastodon.social avatar

Before I go too far down the rabbit hole with this, I'm considering re-upping my "21 Recipes" Twitter book (https://rud.is/books/21-recipes/) for Bluesky.

This is the start: https://rud.is/books/21-recipes-bsky/

It uses R. but the R part just uses the Python {atproto} module, so it should be grokable by both Python & R folk.

Worth spending cycles on?

smach,
@smach@masto.machlis.com avatar

@hrbrmstr One vote here for Mastodon and the rtoot 📦 instead 😀

smach, to rstats
@smach@masto.machlis.com avatar

The {theft} 📦 provides “user-friendly access to a structured analytical workflow for the extraction, analysis, and visualisation of time-series features.” By PhD student Trent Henderson.
https://hendersontrent.github.io/theft/articles/theft.html

@rstats

smach, to rstats
@smach@masto.machlis.com avatar

If you use RStudio to write R code but aren’t using code snippets, you may want to check them out. They can be a big timesaver!
I did a tutorial article & video a few years ago: https://www.infoworld.com/article/3396616/how-to-use-rstudio-code-snippets.html

@rstats

smach,
@smach@masto.machlis.com avatar

@DataAngler Glad you find them useful too!! They've saved me a lot of time.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • magazineikmin
  • Youngstown
  • osvaldo12
  • khanakhh
  • slotface
  • tacticalgear
  • mdbf
  • InstantRegret
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • everett
  • rosin
  • anitta
  • Durango
  • GTA5RPClips
  • ethstaker
  • modclub
  • cisconetworking
  • ngwrru68w68
  • tester
  • normalnudes
  • cubers
  • Leos
  • megavids
  • provamag3
  • lostlight
  • All magazines