@ramikrispin I think this is it. The Mega Test Scrip creates 1000 different combinations of the rchisq() data and runs it all using different approachs
Finally got my #playdate! After some serious #optimization, my #fallingsand demo now updates 8 times per frame at 50 FPS. That's >400 times per second!
The trick: Instead of iterating over each pixel (bit) individually, I'm doing a bunch of bitwise operations per byte. #indiedev#gamedev
One of my favorite hard #scifi topics that I love to work within (even if I am terrifically starved for time to do much about this at the moment) are wormhole networks.
They have interesting geometry constraints once you add real star maps, #optimization challenges when it becomes time to figure out how many connections you need to connect what places while observing construction and shape constraints…
it is the kind of #graph computer science that tickles my brain extra being scifi nerdy
Web design is a process, running our own websites is awesome, and together it means there’s always something to tweak and improve and optimize. Select things I’ve done over the last few months.
Spent the past few evenings on a very different kind of performance optimization: making my website really, really fast -- with a focus on people with slower, higher-latency connections.
I had to learn some things to pull this off, and I thought they might help others, so I've written the process up in a new blog post:
I just updated my function ckurtosis (cumulative kurtosis) from an #sapply code to a #vecorized approach, not because I don't like *apply functions but because it greatly speeds things up.
This morning, a VPS hosting a small e-commerce site (powered by WooCommerce on Ubuntu 22.04) experienced another out-of-memory issue. A colleague (one of the developers) urgently called me, asking to upgrade the VPS due to excessive load.
I pointed out (again, as has often happened in recent weeks) that a VPS with 32GB of RAM (!!!) and 16 dedicated cores (!!!) should not run out of memory with just five simultaneous visits to a small e-commerce site. We host much larger and busier websites on much smaller VPSs. There's likely a WordPress module with a leak, or some interaction between modules causing this issue.
The response: Okay, but just add more RAM and power to solve it.
The illusion of "infinite resources" in the Cloud has led to poor development habits. Sometimes I wonder how much energy and resources we waste (and pollution we generate) due to a lack of basic optimization.
I'm writing a new big book on software performance and scalability
If you'd like to see early chapter drafts from it, and potentially give me a little feedback (or answer a few simple questions I ask of you, about your impressions), in private? please let me know
🚀 Meet Audun Fauchald Strand and Truls Jørgensen, the dynamic duo of Principal Engineers at NAV (Norwegian Labour and Welfare Administration). With a joint passion for fostering sustainable organizations, they're on a mission to strike the perfect balance between effective team leadership and crafting simple, efficient code. 🌟👨💻
I'm a computer scientist working on the #MiniZinc modelling language. The perfect way to model your #optimization / #orms problems. (At least if you you were to ask me).
As an #OPTIMA research fellow at #Monash University, I generally love research into programming languages & combinatorial optimisation methods.
When I don't have anything to say about work, you may find me posting about my hobbies, such as music, birds, cycling, and cricket, instead. #introduction#introductions
"[T]he ant colony optimization #algorithm (ACO) is a #probabilistic technique for solving computational problems which can be reduced to finding good paths through #graphs. Artificial ants stand for multi-agent methods inspired by the behavior of real ants. The pheromone-based communication of biological ants is often the predominant paradigm used."