stevensanderson, to datascience
@stevensanderson@mstdn.social avatar

Learn how to handle rows in R containing specific strings using base R's grep() and dplyr's filter() with str_detect(). Select or drop rows efficiently and enhance your data manipulation skills. Give it a try with your datasets for better data cleaning and organization.

#DataScience #RProgramming #Coding #R #RStats #Programming #Data #Strings

Post: https://www.spsanderson.com/steveondata/posts/2024-05-23/

ErikJonker, to Software
@ErikJonker@mastodon.social avatar

Amazing resource on software evolution, maintenance, migration and improvement.
#software #aim42 #IT #ICT #coding #architecture
https://aim42.github.io/

morix, to shitposting
@morix@loci.onl avatar

So with the upcoming UK general election I got inspired to make a fun little toy:

https://github.com/twitchy-ears/2024-uk-general-election-bingo

Basically its some PHP that generates very simple/awful web pages with a CSV file as a data source (yeah it should be an SQLite DB or just statically generated data - I know) to act as random bingo cards to play along with the election, cross them off as they lose their seats :)

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

Want to split numbers up, because why not? I go over this in todays post using gsub() and strsplit() functions from base R.

Post: https://www.spsanderson.com/steveondata/posts/2024-05-22/

#R

image/png

davidbisset, to programming
@davidbisset@phpc.social avatar

"Clever code is probably the worst code you could write... and clear, readable code is probably the hardest to write."

https://read.engineerscodex.com/p/clever-code-is-probably-the-worst

Lumpbucket, to demoscene
@Lumpbucket@mastodon.social avatar

Yesss! Decent progress on my demo for Nova today. Feels good 👍

aral, to SmallWeb
@aral@mastodon.ar.al avatar

Code drunk, debug sober. Bah! Just fixed three bugs after a pint of Tundra.

(This is in no way meant to be role model behaviour. There just happens to be a lovely pub by the seashore in Bray where you can sit outside and it’s a nice distraction in the evenings when the weather is good and I don’t feel I’ve done enough in the day* and need a change of scene.)

  • It doesn’t help that I never think I’ve done enough in the day. 🤷‍♂️

metin, to demoscene
@metin@graphics.social avatar

This demo from 2016 is less than 4 kilobytes (❗), and made my jaw drop… 😮

https://www.youtube.com/watch?v=SFoyJED5A4s

Love the soundtrack too. 🤘😎

#demoscene #demo #demonstration #computing #graphics #synth #ElectronicMusic #coding #development #3D

reillypascal, to Blog
@reillypascal@hachyderm.io avatar

I did a write up of setting up Webmentions on my site! I had mentioned it earlier, but there was one stumbling block that took me longer to figure out.

Webmentions let me get notified when people share my posts, respond to my comments on other sites, etc., and lets me use my site for a lot of the kinds of interactions I'd otherwise have to do on social media.

https://reillyspitzfaden.com/blog/05-21-2024

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

I will be updating my healthyR.data package soon as well as my TidyDensity. Here is some news of new functions for healthyR.data:

https://www.spsanderson.com/healthyR.data/news/index.html#new-function-development-version

#R #RProgramming #RStats #Data #Coding #Programming #Healthcare #HealthcareData #healthdata

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

Need to split your data into groups based upon some vector in R? Well I got you covered today!

I go over base R, dplyr and data.table :)

Post: https://www.spsanderson.com/steveondata/posts/2024-05-21/

#R

image/png
image/png
image/png

halildeniz, to python
@halildeniz@mastodon.social avatar

hello everyone.

In today's article, we learn data types with Python at beginner level.

https://denizhalil.com/2024/05/21/learning-basic-data-types-in-python/

#python #pythonprogramming #datatyes #pythonbasics #pythontutoriol #coding

kubikpixel, to rust
@kubikpixel@chaos.social avatar
Mawoka, to 3DPrinting
@Mawoka@mastodon.online avatar

I don't have enough time to keep up with all my projects: , , , , , and . I'd really appreciate having a helping hand regarding @classquiz who can take on some small(ish) issues I've been aware of for months, but at the time, I am focused on other projects (also in the regard of coding): There's @homeassistant and .

lefebvre, to programming
@lefebvre@hachyderm.io avatar
rochacbruno, to python
@rochacbruno@social.rochacbruno.com avatar

I wish I could stay on the GOOD line only, but my coworkers decided that we are crossing the EVIL line.
Maybe I am the only one who doesn't own a wide screen display, and maybe I am the only one using font-size 18.

#python #coding
#tt

javajuggler, to programming

hello my username is JavaJuggler i am a programmer and i love to create things that help people in their daily lives. i am the creator and developer of https://chat-to.dev which is a site where programmers of all levels can create chat rooms to talk, share, teach and learn things related to programming. with this i decided to invite you to visit my site and enjoy all the features it contains. give me feedback if you visit my site. thanks

noellemitchell, to webdev
@noellemitchell@mstdn.social avatar

I really should be learning CSS faster 😅 :blobcatfearful:

My Neocities blog looks really plain at the moment. :blobcatamused:

64bithero, to python
@64bithero@mstdn.games avatar

Finally solved the python highlighting issue in Zed :D . Great way to spend a Saturday I know ..

iammannyj, to programming
@iammannyj@fosstodon.org avatar

Basic programming language celebrates its 60th birthday

The first Basic interpreter went live in May 1964. This was intended to make it easier to learn programming. However, the computers to go with it were not available until much later.

Basic is the abbreviation for "Beginner's All-Purpose Symbolic Instruction Code". In other words, it is a general-purpose programming language for beginners.

https://www.digitec.ch/en/page/basic-programming-language-celebrates-its-60th-birthday-32957

stevensanderson, to Excel
@stevensanderson@mstdn.social avatar

This VBA macro saves an Excel worksheet as a PDF. It sets and sorts the data, creates a temporary sheet with headers, formats and aligns the data, and adjusts column widths. The macro defines the PDF path, deletes any existing file, sets page orientation and footer, exports the sheet to PDF, deletes the temporary sheet, and shows a message with the PDF path. Modify to your needs if you find it useful.

#VBA #Excel #PDF #Programming #Coding

noellemitchell, to Blog
@noellemitchell@mstdn.social avatar

Might work on my today 😄 :apusheencomputer:

https://noellesbookshelf.neocities.org

stvfrnzl, to Blog
@stvfrnzl@mastodon.online avatar

Five years ago was my graduation from on this very day.

I looked back and wrote a GIANT post: https://stevefrenzel.dev/posts/from-boot-camp-to-blog-five-years-in-the-tech-industry/

Sit back, relax and enjoy the ride.

swiftcraft, to iOS
@swiftcraft@hachyderm.io avatar

🌟Don't miss @dimsumthinking keynote session at !

Explore the intersection of mathematics and Swift development, and gain insights into Macros, Models, and ML.

https://youtu.be/sr1l3Ke6Uao

Secure your spot now! https://swiftcraft.uk/tickets 🚀

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

🎉 New Post Alert! 🎉

Counting words in a string is a fundamental task in data analysis.

  1. Base R: Use strsplit(), a straightforward method to split strings and count words.

  2. stringr: The str_split() function from the stringr package makes the code more readable.

  3. stringi: For powerful and efficient string manipulation, stri_split_regex() from the stringi package is your go-to.

Happy coding! 🚀

#R #RStats #RProgramming #Programming #regex #Coding #strings

Post: https://www.spsanderson.com/steveondata/posts/2024-05-16/

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