@jrosell@mastodon.social
@jrosell@mastodon.social avatar

jrosell

@jrosell@mastodon.social

Technical data analyst working to make users & businesses like yours happier. Follow me for #RStats #PyData #CROtips in CA|EN|ES|DE|VN. https://www.thediar.com CTO
Aiguafreda, Barcelona, Catalunya

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

jrosell, to random
@jrosell@mastodon.social avatar

.@gaborcsardi hi, what do you think is the recommended way to assert params in roxygen2 now that argufy is "read only"? https://github.com/gaborcsardi/argufy

jrosell,
@jrosell@mastodon.social avatar

@gaborcsardi thanks. I really like the "code generation from documentation" approach of your package.

brodriguesco, to opensource
@brodriguesco@fosstodon.org avatar

Curious, please complete the sentence "I'm a developer, and contribute code on my free time. I use a permissive open source license (MIT, BSD) because..."

jrosell,
@jrosell@mastodon.social avatar

@jonasgeiler @brodriguesco I like MIT-0 licence because is very simple https://opensource.org/license/mit-0/

brodriguesco, to random
@brodriguesco@fosstodon.org avatar

Say want you want about the , nothing beats its expressiveness!

jrosell,
@jrosell@mastodon.social avatar

@brodriguesco ok, but I don't like those [[1]][[1]] etc there.

jrosell,
@jrosell@mastodon.social avatar

@brodriguesco

Why don't you like somethink like this?
x2013 <- target_tables %>% pluck(1, 1) %>% clean_names() %>% clean_it()

BTW, I'm quite fine with this too
x2013 <- target_tables[[1]][[1]] %>% clean_names() %>% clean_it()

brodriguesco, to random
@brodriguesco@fosstodon.org avatar

"Don't repeat yourself by writing functions, but not loops, repeat yourself when it comes to loops, don't use map and reduce that's just silly" why are programmers like this?

jrosell,
@jrosell@mastodon.social avatar

@brodriguesco Let me guess.

Not being able to easy chain operations in std python and knowing that lambda must be oneliner...

Not an R or Rust programmer.

jrosell,
@jrosell@mastodon.social avatar

@rabaath @brodriguesco BTW, ChatGPT says...

jrosell,
@jrosell@mastodon.social avatar

@rabaath @brodriguesco BTW, ibis is quite cool as you get used to "s." and "_."
https://ibis-project.org/tutorials/ibis-for-dplyr-users

ramikrispin, to github
@ramikrispin@mstdn.social avatar

(1/2) Deploy a Shinylive App ✨ to Github Pages tutorial 👇🏼

I created this tutorial a day after the announcement of the shinylive R version at the Posit conference, using a dev version of the shinylive and httpuv packages. It was on my TODO list for quite a while to update the tutorial with the stable version of the core packages. Thanks to a PR from Ronak Shah 🙏🏼, I updated the tutorial and the supporting Docker 🐳.

video/mp4

jrosell,
@jrosell@mastodon.social avatar

@ramikrispin ~40s?

jrosell,
@jrosell@mastodon.social avatar

@ramikrispin for me it loads now in 40 seconds aproximately, is that what it's expected?

jrosell,
@jrosell@mastodon.social avatar

@ramikrispin thanks. I tried on my mobile phone, I will latter try in my desktop. Less than 10s should be ok in UX terms.

jrosell,
@jrosell@mastodon.social avatar

@ramikrispin @leoni from my desktop 40s the first time and 20s the second time.

zkamvar, to ubuntu
@zkamvar@hachyderm.io avatar

Finally got my kitty terminal emulator on to take CJK input via the ibus IM. It took me an embarrassingly long time because I didn't fully understand the difference between .bashrc and .bash_profile, or that .profile exists.

I thought I had to set export GLFW_IM_MODULE=ibus in my .bashrc, but what I did not realise is that those variables only get read after the teminal emulator is launched. Once I put that envvar in .profile it worked!

https://sw.kovidgoyal.net/kitty/glossary/#envvar-GLFW_IM_MODULE

jrosell,
@jrosell@mastodon.social avatar

@hrbrmstr @zkamvar what I do sometimes is set them at the start of the crontab file, but source seems a very nice trick

ChristosArgyrop, to php
@ChristosArgyrop@mstdn.science avatar

I think I am 50% done finding a quadrafecta : a simultaneous hit piece against & .

This one only manages to trash talk and , so it has some ways to go.

https://stefanoborini.com/why-r-is-the-new-perl/

PS 1Gotta admit that the point about the object systems in R is somewhat spot on
PS 2 gets a dishonorable mention
PS3 I will continue to find ways to continue using all 4 of the aforementioned languages, as they are all performant and deliver in complementary ways.

jrosell,
@jrosell@mastodon.social avatar

@Mehrad @Osunderdog @ChristosArgyrop locally could be less than 5min. You only need a DESCRIPTION file and devtools package. I create internal private packages for each analysis project so I can autoload of functions in R folder, run unit tests and create documentation from comments.

andrew, to random
@andrew@fediscience.org avatar

I've been using Make.com to run automated stuff for a while, but didn't realize that it can work with branches, so now my Goodreads RSS feed magically gets fed to a Google sheet and gets autoposted to Mastodon

It's like modern version of Yahoo! Pipes!

jrosell,
@jrosell@mastodon.social avatar

@andrew @smach how much make cost? I did't know that you can run R scripts or have plumber apis on it.

jrosell,
@jrosell@mastodon.social avatar

@andrew @smach sorry, I've just seen that you use a docker container in DO.

brodriguesco, to random
@brodriguesco@fosstodon.org avatar

No but unironically this slaps

I get more than enough battery with the external battery I use, it's light, it's comfortable... no more laptops for me!

jrosell,
@jrosell@mastodon.social avatar

@brodriguesco 🤔 if you need to train some model, do you do locally or on external server or cloud service?

brodriguesco, to python
@brodriguesco@fosstodon.org avatar

One can run in the browser with , and with : what languages can run in the browser thanks to ?

jrosell,
@jrosell@mastodon.social avatar

@brodriguesco One that I want to check is F#

jrosell,
@jrosell@mastodon.social avatar

@brodriguesco BTW...

Jedigirl, to random
jrosell,
@jrosell@mastodon.social avatar

@Jedigirl being lazy is an attribute of the human nature.

jrosell, to random
@jrosell@mastodon.social avatar

What is the most underrated package and why is dbplyr?

jrosell, (edited )
@jrosell@mastodon.social avatar

@stevensanderson @rdnielsen I don't know, I'm not fully convinced. It's like me saying Peugeot is the most underrated car brand and people saying it's PSA group because of its components. However, maybe I'm wrong, I see your point.

brodriguesco, to python
@brodriguesco@fosstodon.org avatar

Found on X, RT @El_Stats_

5 ways you can make your spreadsheets more accessible this International Spreadsheet day:

  1. Read the spreadsheet guidance on the analysis function guidance hub - https://analysisfunction.civilservice.gov.uk/policy-store/releasing-statistics-in-spreadsheets/

  2. Watch the Analysis Function YouTube video on making spreadsheets accessible -
    https://www.youtube.com/watch?v=RlihILhpXoE

3.Automate the creation of accessible spreadsheets in the coding process using the gptables package for or a11ytables package for -
https://analysisfunction.civilservice.gov.uk/policy-store/further-resources-for-releasing-statistics-in-spreadsheets/#section-6

1/2

jrosell,
@jrosell@mastodon.social avatar

@brodriguesco I don't know how to explain why I prefer .csv with columns description.

hrbrmstr, to random
@hrbrmstr@mastodon.social avatar

Delete “X” from your devices and stop using networks made for Nazis.

https://mastodon.social/@andrewstroehlein/111165072336117420

jrosell,
@jrosell@mastodon.social avatar

@hrbrmstr the problem is the same we have with whatsapp. I hate whatsapp and use Telegram, but it's what other people use. For X/Twitter what I did is to set up an app to limit daily usage and only use the website version.

brodriguesco, to random
@brodriguesco@fosstodon.org avatar

"doing science"

jrosell,
@jrosell@mastodon.social avatar

@brodriguesco adjusted R-squared 0.46 should be highlighted too xD

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