stevensanderson, to programming
@stevensanderson@mstdn.social avatar

Discover essential techniques to check for column existence in R data frames!

Use %in% with names() or colnames(), explore dynamic checks with exists() and within(), or identify patterns with grepl(). Experiment with these methods in your projects.

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

#R

image/png

kaiserkiwi, to Laravel
@kaiserkiwi@corteximplant.com avatar

That made me chuckle :D

#Laravel #Statamic #PHP #Coding

skybert, to Java
@skybert@emacs.ch avatar

I know I'll get more geek points if I write Java code like:

pConf.getProfiles().forEach(<br></br>    p -> mProfileURIMap.put(p.getId(), p.getURI()));<br></br>

But I still think nothing beats a good old loop:

for (ProfileConf profileConf : pConf.getProfiles()) {<br></br>  mProfileURIMap.put(profileConf.getId(), profileConf.getURI());<br></br>}<br></br>

claras_universe, to github
@claras_universe@ieji.de avatar

Im still onto my streak. Its 132 days now. There is no going back, I have to fill the whole thing xD

ajsadauskas, to fediverse in Ideas to build a federated StackExchange alternative
@ajsadauskas@aus.social avatar

@lemmyreader Here's a starting point for a fediverse StackExchange: Make sure it's interoperable with Lemmy.

Now, you may not get the full feature set on Lemmy, but you should be able to interact with it from Lemmy as if it's a group on there.

noellemitchell, to mastodon
@noellemitchell@mstdn.social avatar

Me: I should read! Or work on coding. Orrr do something musical. Maybe take some photos. 🤔

Me: continues scrolling through my Mastodon feed 😂

chiefgyk3d, to python
@chiefgyk3d@social.chiefgyk3d.com avatar

I was up late trying to figure out a stupid issue I was having with the Crowdstrike API so I didn't stream on twitch last night, hoping to do a stream tonight. I think they took a feature out my team was actually using which would allow me to contain a device and make a note that could be viewed in the dashboard.

#Coding #Crowdstrike #Python #Dev #InfoSec #Cybersecurity

noellemitchell, to Blog
@noellemitchell@mstdn.social avatar

So I just looked at my Neocities blog for the first time on mobile and...it doesn't look that bad 😆

I guess I was expecting it to look horrible 😂

#blog #coding #html #WebDev

https://noellesbookshelf.neocities.org/

leanpub, to books
@leanpub@mastodon.social avatar

Leanpub book LAUNCH! Generative AI For The Rest Of US: Your Future, Decoded by Aymen El Amri https://youtu.be/AS5rxamBeps @eon01

claras_universe, to chess
@claras_universe@ieji.de avatar

I did the first board render with my chess engine :o I'm really happy with how it turned out. And it also shows that the white kingside castling worked xD (Assets from itch.io)

swiftcraft, to programming
@swiftcraft@hachyderm.io avatar

🌐Join us at for "Experimenting in a Sociotechnical System" by @jessitron

🚀Explore innovative ways to conduct experiments in complex systems, beyond traditional methods.

https://youtu.be/Z06HJ7qLpHE

Don't miss out! https://swiftcraft.uk/register

horovits, to ai
@horovits@fosstodon.org avatar

#AI took out the fun part of #programming, the creation, leaving us to debug and test auto generated code. Not fun 😕

And it seems our software has also become worse since the #genAI #coding era.

@kevlin keynote at #devoxxuk sharing developer research and thoughts.

#devoxxuk24

dedsyn4ps3, to gaming
@dedsyn4ps3@fosstodon.org avatar

Guys, it's happening... I think I'm officially getting older.. 🫠

Gone are the nights of 24/7 parties fueled with Monster and Red Bull (though I can definitely still pound them during late night binges 🤗), and have given way to regularly having my app open to watch my investments and snag positions throughout the day/week...

Nowadays, I somehow seem to get off on data and stock charts... 🙈🙈

stevensanderson, to random
@stevensanderson@mstdn.social avatar

👍 In R, you can easily extract specific columns from a data frame by their numerical positions. For instance, to grab the second column from a data frame df, you can use df[, 2].

🙅‍♂️ You can also exclude columns by using negative indexing, such as df[, -2] to exclude the second column.

Keep exploring and happy coding!

#R

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

image/png

devleader, to dotnet
@devleader@hachyderm.io avatar

Check out my C# course that will guide you through more advance topics including things like OOP and asynchronous programming!

Perfect for advancing your C# skills beyond the basics!
https://dometrain.com/course/deep-dive-csharp?affcode=1115529_nl-teyzg

kentbrew, to opensource
@kentbrew@xoxo.zone avatar

This from @nzakas has me wondering whether the bad guys are already using large language models to analyze GitHub histories in search of single unpaid maintainers who can be pressured to open commit access. https://ckarchive.com/b/d0ueh0h4gn08duk4xx64otmx96444hl #coding #opensource

jake4480, to indiegames
@jake4480@c.im avatar

Back in the days of Twitter, @platformalist did Tweet Tweet Jam, a challenge where you would submit games coded with 500 characters or under.

Now I'm here, and he's still hosting it - this year is Tweet Tweet Jam 9, and you have 6 more days to submit your 500 character games:
https://itch.io/jam/tweettweetjam-9

#IndieGames #PICO8 #TweetTweetJam #GameDev #IndieDev #coding #TweetTweetJam

pablolarah, to javascript
@pablolarah@mastodon.social avatar

🟪🟥 JavaScript var, let, and const explained
by Kevin Powell @KevinJPowell
Feat.: Chris Ferdinandi @ChrisFerdinandi @cferdinandi

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

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

Counting NA's across columns in #R sure you can do that!!

My post today uses #BaseR #dplyr and #datatable to accomplish this

#R #Rstats #RProgramming #Coding #Programming #Data #DataScience

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

image/png
image/png
image/png

codappix, to php German
@codappix@phpc.social avatar

Keine Hürde zu hoch, keine Herausforderung zu schwer. Zudem sind Probleme nunmal erfunden worden, um sie zu lösen 😉. Bei Anfragen rund um individuelle Webentwicklungen aller Art, gerne wenden an hallo@codappix.com ✅. Wir freuen uns auf deine Herausforderung.

ErikJonker, to OpenAI Dutch
@ErikJonker@mastodon.social avatar

Personally I thought all their data was already harvested by but apparently not...

davidbisset, to mastodon
@davidbisset@phpc.social avatar

From time to time I stumble onto a modern Tweet worth adding to my https://davidbisset.social collection (via #mastodon).


About #coding / #tech industry:

"Early in my career, I joined a project that used a lot of #SQL.

I was new to SQL so I found an “intro to SQL” book on the company bookshelf, and read it over a weekend.

From that point on, I was seen as an SQL expert amongst colleagues.

It was a revelation about our industry."

Also: #books still very useful.

https://twitter.com/steveofmcleod/status/1787173200121532632

stevensanderson, to random
@stevensanderson@mstdn.social avatar

Today I am writing on the AIC functions available in my hashtag#R hashtag#Package TidyDensity.

There are many of them, with many more on the way. Some of them are a little temperamental but not to worry it will all be addressed.

My approach is different then that of fitdistrplus which is an amazing package. I am trying to forgo the necessity of supplying a start list where it may at times be required.

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

#R

claras_universe, to rust
@claras_universe@ieji.de avatar

I am now working on my own chess API and it’s actually pretty fun. I learned that using bitboards is apparently very efficient. So I now use 8 64bit bitboards, 2 for the color and 6 for the pieces (I thought about just using 7 because you COULD theoretically represent the colors in one bitboard, but using 2 makes it faster at the expense of an extra 64 bit, which is neglegible). Gonna continue on this in the upcoming days :3

kubikpixel, to webdev
@kubikpixel@chaos.social avatar
kubikpixel,
@kubikpixel@chaos.social avatar

Modern current code should run asynchronously if possible and useful. Slowly but steadily, it is being implemented in almost all popular programming languages, including WebDev.

»New Disposable APIs in Javascript«

🔧 https://jonathan-frere.com/posts/disposables-in-javascript/


#webdev #javascript #api #disposable #js #async #asynchrone #programming #code #moderncode #coding

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