akop, to Java
@akop@mastodon.akop.online avatar

Code-Smells caused by "history" are sometimes funny. In one project, we have often this:

variable = otherValue == null ? null : otherValue

instead it can be just this:

variable = otherValue

(Some months ago, the null-check was important because the code was like this:

variable = otherValue == null ? null : otherValue.longValue())

stevensanderson, to programming
@stevensanderson@mstdn.social avatar
publicvoit, to ai
@publicvoit@graz.social avatar

CEO Eric Yuan wants clones in
https://www.theverge.com/2024/6/3/24168733/zoom-ceo-ai-clones-digital-twins-videoconferencing-decoder-interview

"Not only Zoom calls but also all other we’re doing every day. Chat and , , , , , tasks, tasks, — all of those things together with AI help and new applications. That’s the direction. That’s part of our [platform]. It’s our 2.0 journey."

🤦

Watch https://en.wikipedia.org/wiki/Robots_(2023_film) (nice but no must-see) for a variant of this idea. 😉

kubikpixel, to rust
@kubikpixel@chaos.social avatar

«Methods Should Be Object Safe»
– by @noracodes

🤔 https://nora.codes/post/methods-should-be-object-safe/


#rust #rustlang #safe #security #coding

tjventurini, to Laravel
@tjventurini@mastodon.social avatar

Hi 👋 I'm looking to with people who are interest in

🌐 Web
🎨 Web Design
🧑‍💻
🧰
👀
🔵
🐧
🚀 Self Improvement
🌱 Growing on X

ErikJonker, to ai
@ErikJonker@mastodon.social avatar

Any european competiton to OpenAI is welcome , good to see Mistral coming with a new model for programming, Codestral.
https://mistral.ai/news/codestral/

stevensanderson, to datascience
@stevensanderson@mstdn.social avatar

🚀 TidyDensity's New AIC Functions! 🚀

The TidyDensity package now includes new functions to calculate the Akaike Information Criterion (AIC) for various distributions, streamlining model quality assessment. Use functions like util_negative_binomial_aic() to automate AIC calculations, ensuring precise model evaluation.

Happy coding!

#RStats #DataScience #TidyDensity #Programming #RProgramming #Coding

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

codewiz, to rust
@codewiz@mstdn.io avatar

Got #DeepSeek Coder 33B running on my desktop's #AMDGPU card with #ollama.

First off, I tested its ability to generate and understand #Rust code. Unfortunately, it falls into the same confusion of the smaller 6.7B model.

https://gist.github.com/codewiz/c6bd627ec38c9bc0f615f4a32da0490e
#ollama #llm #deepseek

codewiz,
@codewiz@mstdn.io avatar

To be completely fair, thread safety and atomics are advanced topics.

Several humans I have interviewed for engineering positions would also have a lot of trouble answering these questions. I couldn't write this code on a whiteboard without looking at the Rust library docs.

The main problem here is that the model is making up poor excuses to justify Arc<AtomicUsize>, showing poor reasoning skills.

Larger models like #GPT4 should do better with my #Rust #coding questions (haven't tried yet).

codewiz,
@codewiz@mstdn.io avatar

Today I tried running Codestral, a 22B parameter LLM tuned for coding by Mistral AI.

With my Rust mock interview questions, it performed better than all other offline models I tried so far.

https://paste.benpro.fr/?4eb8f2e15841672d#DGnLh3dCp7UdzvWoJgev58EPmre19ij31KSbbq8c85Gm

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 .

stevensanderson, (edited ) to datascience
@stevensanderson@mstdn.social avatar

I'm thrilled to announce some fantastic new features and improvements in the latest update of the TidyDensity package! 📈

What's New?
39 New functions for estimating parameters, calculating distribution statistics and AIC

Minor Improvements

  • Optimized Parameter Estimation
  • Improved Data Handling

📰 News: https://lnkd.in/ea7mX_Xg

#Rstats #DataScience #TidyDensity #Analytics #DataAnalysis #RProgramming #Update #Coding #Statistics #StatisticalDistributions #Programming

metin, to blender
@metin@graphics.social avatar
stevensanderson, to Excel
@stevensanderson@mstdn.social avatar

📊 Enhance Your Excel Skills with R! 📊 I wrote an R function using RDCOMClient to count sheets in an Excel workbook.

This tool automates Excel tasks, boosting productivity. Learn more techniques like this in my new book co-authored with David Kun: "Extending Excel with Python and R." Discover practical tips to enhance your data analysis skills. Get your copy here: https://packt.link/oTyZJ

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

🚀 New in healthyR.data: get_cms_meta_data()!

Easily retrieve and analyze CMS metadata with customizable searches using .title, .keyword, and .modified_date. Choose data versions ("current", "archive", "all") and filter by media type ("all", "csv", "API", "other"). It returns a tidy tibble with essential metadata.

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

#R

image/png

tjventurini, to Laravel
@tjventurini@mastodon.social avatar

Hi 👋 I'm looking to #connect with people who are interest in

🌐 Web Development
🎨 Web Design
🧑‍💻 #Coding
🧰 #Laravel
👀 #Vue
💼 #Freelancing

#letsconnect

javedAB, to javascript

want fast-loading pages

one way to achieve this is by loading only the necessary initially

load the rest on hover or button click for a smoother experience

kubikpixel, to rust
@kubikpixel@chaos.social avatar

»Prusti is an automated program verifier for Rust, based on the Viper infrastructure. It leverages Rust's strong type guarantees to simplify the specification and verification of Rust programs.«

Do any of you know this and use it or are there "better" or even integrated tools for this, if such a thing is needed at all?

🦀 https://www.pm.inf.ethz.ch/research/prusti.html


mischavandenburg, to NixOS
@mischavandenburg@toot.community avatar
noellemitchell, to webdev
@noellemitchell@mstdn.social avatar

I don't know why or how my #Neocities blog has 17K views, it's not that great looking lol 😂

#html #coding #blog

https://noellesbookshelf.neocities.org

stevensanderson, to programming
@stevensanderson@mstdn.social avatar
kaiserkiwi, to workersrights
@kaiserkiwi@corteximplant.com avatar

Trying to work on my couch for the day. See how it goes.

I usually have two 4K monitors attached to the MacBook and have the MacBook open to use the additional space. But I usually have to manage a dev team. On Friday it’s usually much quieter and I can focus on my dev stuff.

If I work on private projects I do it often from the couch so I know it's doable in theory.

I always have the option to switch to my desk so I guess it's fine.

But the goal is to find a good workflow to only work on one screen from time to time to be more flexible with where I work. For example: I never worked in a café and would like to try this one day.

#Coding #Work

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.

#R

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

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