xorn, to programming
@xorn@mastodon.social avatar

The great thing about writing software is that after you spend 3 days figuring out a simple solution to a complex problem you're left with no evidence as to what you did with the rest of your week.

"You wrote 15 lines of code?"

"No, I wrote 4500 lines of code. Those 15 were the ones worth keeping."

leanpub, to programming
@leanpub@mastodon.social avatar

The Ruby On Rails Interview Bible 2023: A Comprehensive Guide with 500+ Essential Questions and Answers! https://leanpub.com/therubyonrailsinterviewbible #ebooks #programming #career #jobs

jesus, to javascript
@jesus@mastodon.gamedev.place avatar
LGUG2Z, to rust
@LGUG2Z@hachyderm.io avatar
TheIdOfAlan, to Mac
@TheIdOfAlan@hachyderm.io avatar

Watch out if you use iTerm2 on a mac. The latest version (3.5.x) integrates OpenAI/ChatGPT. It looks like you have to set keys to use it, but I don't want it even in the mix so I'm sticking with the 3.4.x release.

#mac #programming #cli

nicola, to dotnet
@nicola@fosstodon.org avatar

Today, I learned how to handle custom claims in an Open ID Connect-authenticated ASP.NET Core app.

https://nicolaiarocci.com/how-to-handle-custom-claims-in-an-oidc-authenticated-aspnet-core-app/

#dotnet #csharp #programming

pixel, to SwiftUI
@pixel@social.pixels.pizza avatar
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/

hankg, to programming

Last night I experimented with KVM and VirtManager. With the exception of not being able to figure out resizeable drive images without the CLI I think I'm most of the way to being able to replace VirtualBox as my emulation environment. #programming

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/

joachim, to programming
@joachim@drupal.community avatar

I've just seen a #programming pattern in #PHP where a method could return two lists of things. Instead of doing that, it takes as a parameter a callable, and passes the two lists to the callable. Instead of:

[$a, $b] = getLists($param);
// Act on both lists.

we have:

$callable = function($a, $b) {
// Act on both lists
}
actOnLists($param, $callable);

Is that a #FunctionalProgramming pattern?

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

Google's Gemini Pro performs even worse than the opensource models running on my modest Linux desktop:

https://g.co/gemini/share/cdec7f5a6c5c

Missing from the chat log, is the last response in the image below 🤦‍♂️

I don't have Gemini Advanced / Ultra. Is it a bit smarter than this?

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

danvolchek, to privacy
@danvolchek@mastodon.social avatar

I'm trying out ProtonMail!

The price is super reasonable, and I'm happy to pay rather than be surveiled.

Migrating my emails from gmail and configuring my custom domain was easy.

I missed having separate sections for unread and read emails, so I wrote a tampermonkey script to add that! It's available at https://codeberg.org/danvolchek/browser-scripts 😎

Next up is importing my calendar!

I'm excited to see this goes 😄 Thanks @protonprivacy !

LukasBrausch, to opensource
@LukasBrausch@mastodontech.de avatar

What's the best alternative to ?

SergKoren, to programming
@SergKoren@writing.exchange avatar

When you isolate a function that causes problems and can’t deduce the problem, rewrite the function differently. At least you’ll have different problems.

ericsedge, to programming
@ericsedge@bitbang.social avatar

I’ll livestream again this Saturday morning at 9 am Eastern. The question is what topic?

I could go over more of my Adventure game. Perhaps describe the funky game file format and query code for retrieving information.

Or I could jump into some 64 in .

Or answer questions about HyperCard authoring?

What say you?

pixel, to programming
@pixel@social.pixels.pizza avatar
faassen, to programming
@faassen@fosstodon.org avatar

A new blog post.

Tool maven versus language maven. Do modern development environments enable you to be both? How does this affect languages?

https://blog.startifact.com/posts/the-tooling-shift/

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

mjgardner, to retrocomputing
@mjgardner@social.sdf.org avatar

A nerd nostalgia thread of possible interest:

From 1993-1994, I was a “technical assistant” in the RF Engineering department of . Back then, Comcast was a scrappy regional cable operator making its first foray into telephony, not the multinational and media behemoth we know today. (1/6)

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

I had previously whipped up an for Applications () Erlang B function to calculate tower quality of service (), so my other big project was modeling Cellular’s network call capacity for an overdue upgrade from the (analog!) -era Advanced Phone System (AMPS).

My first corporate lesson: toy code will be expanded regardless of scalability. (4/6)

preslavrachev, to Java
@preslavrachev@mastodon.social avatar

Java’s records are a bit like Go’s interfaces. You think you’d be using them for everything, while in reality, they’re good for like 2-3 cases. Indeed, in those 2-3 cases, they’re really saving the day, but using them everywhere “just because” will result in an incomprehensible mess.


nebyoolae, to Podcast
@nebyoolae@masto.neb.host avatar

New Hacking the Grepson podcast episode is out!

Hacking the Grepson 068: APIs

Matt (@messerman) and Mike (@nebyoolae) discuss Application Programming Interfaces and how you're using them all the time (most likely) without evening knowing (probably).

Episode Link: https://www.podbean.com/eas/pb-nqvrn-1617da3
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com

#HackingTheGrepson #podcast #programming #development #api

treyhunner, to python
@treyhunner@mastodon.social avatar

The next time you find an if-else in your code where both the "if" and the "else" return from the function that you're in, you could think of that "else" as unnecessary.

Read more 👉 https://trey.io/FlSco3

adanskana, to RSS
@adanskana@mastodon.social avatar

Can anyone recommend some good programming blogs (in the realm of lisps, emacs, guix, technical deep dives) that offer RSS feeds? I've already got https://wingolog.org/ from @wingo which is pretty much the exact genre of blog I'm looking for. https://ianthehenry.com/posts/ from @ianthehenry is also a good one (although the RSS feed doesn't seem to work with GFeeds :).
I just think it would be cute to have a selection of RSS feeds to browse through :)

[#rss #programming #blogs #lisp #emacs #guix

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