My further experiments with KVM have been great. VM Performance, especially Windows VMs, seems way better than VirtualBox. There are some UX quirks with setting up shared folders in general. I still haven't gotten them working on Windows VMs. But with half my VMs converted and all working concurrently I think I may be switching over in production soon. #programming#VirtualBox#KVM
🚀 PyCon AU 2024 is on the horizon! Get ready to submit your talks for Australia's top Python conference. Whether you're a seasoned speaker or a first-timer, we want to hear your unique voice. Check out our guide on crafting a compelling proposal and submit by July 21st.
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."
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.
Any european competiton to OpenAI is welcome , good to see Mistral coming with a new model for programming, Codestral. https://mistral.ai/news/codestral/
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
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.
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);
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.
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.