@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

Was @sharon000 on Twitter (no longer active)

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

drewscanlon, to random
@drewscanlon@mastodon.gamedev.place avatar

Hi Internet! I'm Drew and THIS IS MY FACE.

If this GIF has ever brought you joy in the past, I humbly ask you to consider making a donation to the National MS Society. It would mean a lot to me and to those I know affected by the disease!

Donate at http://BlinkingGuy.com

video/mp4

smach,
@smach@masto.machlis.com avatar

@drewscanlon ✅ done

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.

augieray, to random
@augieray@mastodon.social avatar

A five-minute #COVID19 update 🧵:

  • COVID is still rising in the US, but it appears to be doing so at a slower rate. It is very uneven across the nation, however. I predicted six weeks ago this surge would be worst in the South due to heat and time indoors in air conditioning. Currently, the 10 counties with the highest COVID hospital admission rate are in Alabama, Mississippi, Georgia, Texas, and Louisiana. The next ten are almost all in the Plains and Texas. https://www.usnews.com/news/health-news/articles/these-are-the-top-covid-hot-spots-in-the-u-s?src=usn_tw
smach,
@smach@masto.machlis.com avatar

@augieray FYI almost half were infected any time prior, not at that one event. “This study did not involve any SARS-CoV-2 screening or test results from the event.” “We asked about previous SARS-CoV-2 infection(s), including their course and severity. Athletes were asked to identify the time of their infection(s) within six-month periods.”
Athletes with severe current (as of 2022) Long Covid could not have been included, because they wouldn’t have been competing.

underdarkGIS, to opensource
@underdarkGIS@fosstodon.org avatar

Looks like the #foss4g2023 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 #opensource #gis developments

#gischat #geospatial #mapping #maps

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." 🤣

hrbrmstr, to random
@hrbrmstr@mastodon.social avatar
smach,
@smach@masto.machlis.com avatar

@hrbrmstr @thevowel
OMG. I'm impressed by the fact that one of these still works at all, let alone does generative AI.

MikeMahoney218, to random
@MikeMahoney218@fosstodon.org avatar

I somehow didn't notice R-Weekly no longer arriving to my inbox! Added it to my RSS reader instead a few weeks ago and have been really happy to be getting these roundups again

https://rweekly.org/2023-W34.html

smach,
@smach@masto.machlis.com avatar

@MikeMahoney218 Good idea! I just recently started setting up my RSS reader again and added R-Weekly, useful suggestion.

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

The drag-and-drop Shiny {shinyuieditor} 📦 is moving out of alpha into beta. New capabilities including an RStudio add-in and a bit of functionality to help with server code as well as UI, @nstrayer tells
More info on the package: https://rstudio.github.io/shinyuieditor/
@rstats

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
🎉 🎉 🎉

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 {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

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

Want to see the different percent-formatting options for dates in R, such as "%b %e, %Y" to get Aug 26, 2023? In run
?strptime
and scroll down a bit
@rstats

smach,
@smach@masto.machlis.com avatar

@jasonpott @rstats I actually have an RStudio code snippet of

Rdates

which turns into

?strptime

so I can remember to look at the help file for date formatting instead of googling it 😅

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

The {litr} 📦 “lets you write a complete R package in a single R markdown document. This enables a workflow for writing R packages that is probably very different from what you are used to.” By Jacob Bien and Patrick Vossler.
https://jacobbien.github.io/litr-project/

(I haven’t tried this yet but it looks quite interesting!)
@rstats

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

100% agree with this. Generative AI technology will absolutely transform the way people consume and share information. It will cause fundamental shifts in the workplace, and not all in ways we can predict. But don’t expect it all to happen this year or next!
Transformative technologies take time to work their way through society (and the economy). They always have.
Article “gift link” (no paywall):
https://www.nytimes.com/2023/08/29/technology/ai-revolution-time.html?unlocked_article_code=yVfBRfRUY9TV9syKGM3zks4Rjt46hcxE2Aj9oBYgmAqAvvgDgU_z9rJaq_ILdIfC6N1T5E0u6M60ElEIjVmXVEiAQnrgn7oRPcdggz_tBK9lROaZQ6U31s_ufkFYN_cd9HGdJ82yZ_SQiSJE0ysZo87fVJ4-uyJby-QvRRwVpw-ozQSIz8bRFzKbE6I7xwEgnm1TX-hsk1q9Z5Vw8M3TUmpwnguLNi5g4wSlcfcnoVNg3Vf5bWCOuiSBRWvTi9S_1FeKRGtTg55-Hhv38LWAtHHPluDHlVWVfM74Kx71aoSypvYWW2xpBuCGoI3rZntn4HqUX9v3jm8fx6B7&smid=nytcore-ios-share&referringSource=articleShare
by Steve Lohr

smach,
@smach@masto.machlis.com avatar

@kellogh Implementing transformative technology is not trivial!
I'm getting annoyed at the "clever contrarian" articles with takes like "Traffic to ChatGPT's website was down last month! That proves the whole LLM thing is overhyped!" That shows an incomplete understanding of the technology's potential impact.
It's not just one website and the chatbot UI. It's a LOT more.
(Crypto and web 3 were overhyped. Don't put this in the same category.)

smach,
@smach@masto.machlis.com avatar

@kellogh I think of it more as gen AI being improperly hyped. 😀 Some predictions and forecasts have indeed been silly, and some will be wrong. But people can confuse that with “generative AI is not worth this level of attention”, and I disagree. Drawing conclusions based on monthly ChatGPT website usage isn’t helping people understand the field.

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

Why @kirill likes working with {dplyr} syntax vs SQL, he tells 😂
The new {duckplyr} 📦 aims to be a "drop-in" replacement if you want to use dplyr syntax and the speedy duckdb database.
https://duckdblabs.github.io/duckplyr/
With dbplyr, some dplyr syntax doesn't work.
@rstats

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

Pandas Tutor lets you write Python pandas code in your browser and see how it transforms your data step-by-step.
https://pandastutor.com/
There's also a version for R, Tidy Data Tutor
https://tidydatatutor.com/

Pandas Tutor by Sam Lau & @pg Tidy Data Tutor by @sean and @pg

@rstats @python

coolbutuseless, to random
@coolbutuseless@fosstodon.org avatar

It has come to this:

All blog posts will now be R packages hosted on GitHub because I don't know if I have the patience to figure out how to upgrade my hugo/blogdown franken-blog to whatever the new hotness is (Quarto?) so I'll just make a new package and a README.Rmd for everything.

smach,
@smach@masto.machlis.com avatar

@gaborcsardi @almenal99 @coolbutuseless Or do what I did: Start new and include a link to a static version of the old site 🤣
Agree with @gaborcsardi , Quarto is a better interface for blogging. I post more now because sysadmin is easier.
I migrated some old posts, but there were hundreds and I didn’t want or need them all. It's a neighborhood blog, some R local data analysis and lots of ”there's a free outdoor concert tomorrow.”

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

ramikrispin, to datascience
@ramikrispin@mstdn.social avatar

My R Shinylive app is now on Github Pages. It was simple and straightforward to deploy the app on Pages, a tutorial to follow...

Please be patient while loading 😝

Pros:

  • Serverless
  • Easy to deploy as a website on Github Pages (and similar)

Cons:

  • Slow load time
  • Still experimental

https://ramikrispin.github.io/shinylive-r/

smach,
@smach@masto.machlis.com avatar

@ramikrispin Joe Cheng did say at that the slow R Shinylive download times should speed up some in the next few weeks.

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

@mpanhans @rstats I think I need to use it more!

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!

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