@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.

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

What happens when you mandate masks at a conference now that most people no longer wear them but medically vulnerable people are still at risk because ? In the case of , the conference sells out.

Why a masking policy? “Many of us and our fellow community members can’t attend without health and safety guidelines in place. We want PyCon US to be an event that everyone feels safe attending,” organizers explained.

Well done @pycon https://fosstodon.org/@pycon/112445571644276379

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

File import/export in R is simple and elegant with the {rio} 📦. It uses just 2 main functions for dozens of file types: import() and export(). Whether .zip, .xlsx, Google sheets, json, .rds, .csv or more, rio handles file-extension checks and selecting the right functions.
http://gesistsa.github.io/rio/
There's also a convert() function.
One of my favorite R packages!
By Thomas J. Leeper, Chung-hong Chan, David Schoch & Jason Becker
@rstats

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

threat not often discussed:
“Pound for pound, gallon for gallon, hour-for-hour, the two-stroke gas powered engines in leaf blowers and similar equipment are vastly the dirtiest and most polluting kind of machinery still in legal use.

“According to the California Air Resources Board (CARB), the two-stroke leaf blowers and similar equipment in the state produce more ozone pollution than all of California’s tens of millions of cars, combined.”

  • James Fallows

https://fallows.substack.com/p/gas-powered-leaf-blowers-the-end

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

Former Amazon VP Ben Smith on admitting he was wrong to push for workers to return to the office several days a week: “As someone once asked me, ‘Have you ever noticed the only people in favor of RTO are people with large admin staffs and grown children?’ I had not, because that was me. Touche.”

https://www.linkedin.com/feed/update/urn:li:activity:7127027218362335232/

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 #RStudio #InfoWorld @rstats

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

Massachusetts State Senate President Karen Spilka: “With Elon Musk’s endorsement of a monstrous and dangerous antisemitic lie, I can no longer justify using the X platform for any reason.I can be found on Facebook, Instagram, Threads and LinkedIn, as can the Massachusetts State Senate. I hope you will follow me, and the Senate, on these platforms, and join us in leaving X.”
But not on Mastodon. Sigh. I'll try contacting her office next week to see if I might persuade them 😃
#MaPoli

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

The TinyChart-3B LLM answers questions about data visualizations. It can also generate underlying data from a dataviz and Python code to re-create a similar chart.

Demo on Hugging Face: https://huggingface.co/spaces/mPLUG/TinyChart-3B

Code: https://github.com/X-PLUG/mPLUG-DocOwl/tree/main/TinyChart

Paper: https://arxiv.org/abs/2404.16635 8 authors from the Alibaba Group and Renmin University of China

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

I cannot overstress how envious I am of democracies that have election campaigns of 6 weeks instead of 2 years

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

The {progressr} #rstats 📦 “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, 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, 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, to rstats
@smach@masto.machlis.com avatar

“It is sometimes useful to perform a computation in a separate R process, without affecting the current R process at all.” The {callr} #rstats 📦 “does exactly that.” By @gaborcsardi & others
https://callr.r-lib.org/
@rstats

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

“Let’s be honest – all of your R Shiny app logic is contained in a single app.R file, and it’s probably several hundreds of lines long.” 😅 (Not always, but more often than I’d like to admit)
How to Create Your First R Shiny Module, by Dario Radečić on the @appsilon blog
https://appsilon.com/r-shiny-modules/
@rstats

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

#Mastodon #Fediverse #MastodonMigration #FediTips #InfoWorld
@feditips @mastodonmigration @feditips

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

Wondering who's here on Mastodon posting about R? I made myself a tool to see who's posted multiple times with the hashtag in the past month or so, and I'm happy to share it:

https://apps.machlis.com/shiny/rstats/

Any accounts with nobot or nobots in their profiles have been removed, as have people on instances where the admin has asked me not to scrape. If you otherwise want off, let me know.
cc @rstats

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

Shiny for Python Deploy: How to Host Your App For Free on GitHub Pages. By Dario Radečić at @appsilon

https://appsilon.com/shiny-for-python-deploy-github-pages/

#Shiny #Python #GitHub @python

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

“If you last checked in on AI a few months ago, you might be surprised at how much the quality of the output has improved. While there are still errors and hallucinations, they are increasingly subtle and rare, and the quality of even first draft output has improved tremendously. It isn’t as good as good human work, but it is surprisingly capable.AI use is becoming normalized. And I think many people are not ready for what happens next.” - Ethan Mollick
https://open.substack.com/pub/oneusefulthing/p/what-can-be-done-in-59-seconds-an
#GenAI #LLMs #AI

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

WHY DO PEOPLE PUT SPACES IN FILE NAMES

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

Of course the airline is liable if a chatbot gives customers bad information - the same as if an employee sticks a lower price on an item by mistake, or a sale sign is posted too early, or a price scanner makes an error. Arguing otherwise is ridiculous.
Better testing pre-deployment might have helped prevent this, but there's no guarantee. LLMs may not be human, but they can be unpredictable and imperfect.
https://wapo.st/49m97Ta
#chatbot #chatbots #LLM #LLMs #GenAI

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

The {explore} #rstats 📦 aims to offer “faster insights with less code for experienced R users.” It features interactive data exploration, automated reports, and a few key functions like describe, explain & abtest.
“Exploring a fresh new dataset is exciting. Instead of searching for syntax, use all your attention searching for interesting patterns in your data, using just a handful easy to remember functions.” By Roland Krasser
https://rolkra.github.io/explore/
#EDA @rstats

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

Ari Lamstein says his "Visualizing the Impact of Covid-19 on US Counties" blog post may be of interest if you want to "learn how to build data apps in Python, as the entire project is released under a permissive license (MIT), and is publicly available on GitHub."
Post: https://arilamstein.com/blog/2024/05/04/visualizing-the-impact-of-covid-19-on-us-counties/
Streamlit app: https://census-explorer.streamlit.app/
GitHub repo: https://github.com/arilamstein/censusdis-streamlit/tree/main

@python

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

“The general problem of mixing data with commands is at the root of many of our computer security vulnerabilities.” Great explainer by security researcher Bruce Schneier on why large language models may not be a great choice for tasks like processing your emails.
https://cacm.acm.org/opinion/llms-data-control-path-insecurity/

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

“A new computer model to predict the weather built by Google and powered by artificial intelligence consistently outperforms and is many times faster than government models that have existed for decades and involved hundreds of millions of dollars in investment, according to a study published Tuesday.” - Dan Stillman, Washington Post

Article (no paywall) https://wapo.st/3MIVK6p
Study https://www.science.org/doi/10.1126/science.adi2336

ArtificialIntelligence

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

“If you would like to access Copernicus Data Space Ecosystem from R, check out the new CDSE package. With CDSE, you can easily connect your R environment to the vast satellite imagery collection from Sentinel missions. The best part is that you no longer need to download the complete image tiles distributed by Copernicus (100 x 100 km), but you can instead retrieve satellite data limited to your area of interest.” - Zivan Karaman @Karaman
https://cran.r-project.org/web/packages/CDSE/index.html
#rstats @rstats

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