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

bobmagicii,
@bobmagicii@phpc.social avatar

@davidbisset one thing i found that can convince a lot of developers to stop doing those one liners "because its fewer vars and faster" is if the language can stop being compiled at an assembly stage.

the compilers of most languages will end up making ::temp# variables to assign the results of each call to, ergo being the same as if you had declared them yourself.

Lumpbucket, to demoscene
@Lumpbucket@mastodon.social avatar

Yesss! Decent progress on my demo for Nova today. Feels good šŸ‘

jtruk,
@jtruk@mastodon.social avatar

@Lumpbucket Oric Oric Oric! Oi oi oi!

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. šŸ¤·ā€ā™‚ļø

aral,
@aral@mastodon.ar.al avatar

@JohannaMakesGames Haha, indeed. (Or is it worse if youā€™re ok the day after?) :)

Yeah, I know. And I think Iā€™m way better than I was. Iā€™ve convinced myself that some day you do a little, some days more, and the most important thing is to keep making progress. Harder when sometimes it feels like absolutely no one on the planet gives a single damn what youā€™re making but, hey, itā€™s the road Iā€™ve chosen apparently. Better than being applauded from all sides for mediocrity, thatā€™s for sure :)

aral,
@aral@mastodon.ar.al avatar

@JohannaMakesGames * some days, even (yeah, I know) :)

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

metin,
@metin@graphics.social avatar

@sedincore Thanks! šŸ‘

metin,
@metin@graphics.social avatar

@f4grx Just about everything must have been generated at the start of the demo, including the synth sounds and textures on the 3D models.

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

halildeniz,
@halildeniz@mastodon.social avatar

@tshirtman I really thank you for your valuable contributions.

and also can you invite you to our discord server?
https://discord.gg/productionbrain

tshirtman,
@tshirtman@mas.to avatar

@halildeniz thank you but no, iā€™m distracted from work enough already šŸ˜†.

kubikpixel, to rust
@kubikpixel@chaos.social avatar

Ā«100 Exercises To Learn RustĀ»
ā€“ by @mainmatter

šŸ¦€ https://rust-exercises.com

ā€”

Mawoka, to 3DPrinting
@Mawoka@mastodon.online avatar

I don't have enough time to keep up with all my projects: #3dprinting, #coding, #ClassQuiz, #smarthome, #school, #gaming and #tabletennis. 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 #FediPrint.

Mawoka,
@Mawoka@mastodon.online avatar

So, if anyone would be interested, I am here to help and would really appreciate some help for ClassQuiz. It has also gotten way more popular than I've ever expected: I am averaging at ~7k unique visitors per month on classquiz.de alone. There are people everywhere contacting me (okay not everywhere, but I'd say it's 5 per week on average). I mean, all are friendly, but that all takes time. But I also can't just turn them down. I just can't, as it's also a great feeling helping those people.

Mawoka,
@Mawoka@mastodon.online avatar

Now, I wanted to ask: Anyone out there interested in assisting me with #ClassQuiz? Preferrably in bug fixes, dependency updates, etc or just in assisting with communication?

lefebvre, to programming
@lefebvre@hachyderm.io avatar
jimfl,
@jimfl@hachyderm.io avatar

@lefebvre I learned Modula-2 at university in the 80s. I still recall sitting in the coffee house reviewing printouts of Modula-2 coding assignments.

Never seen or heard of it used in anger.

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

rochacbruno,
@rochacbruno@social.rochacbruno.com avatar

@anze3db we are using Black, but they decided to configure it to 160, that is my problem, I need to read code more often than writing it.

So I would actually need to unformat when reading, then format again when committing, and that would mess with my git tracking.

The accessibility is very bad for me, I really need to use big font sizes so I have to scroll the editor a lot.

anze3db,
@anze3db@fosstodon.org avatar

@rochacbruno if you are using Black than you can add an extra comma after the last parameter and it's going to force Black to split the line into multiple lines.

Also changing Black's line width setting sounds crazy to me. Why Would anyone do this?

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:

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