-- Leo's gemini proxy

-- Connecting to gemini.tuxmachines.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

Tux Machines


Programming Leftovers


Posted by Roy Schestowitz on Sep 11, 2022


Haiku Activity Report and BSDs Catchup

Games: Doom, Quake, and More


↺ CPAN


Not Your Grandfather’s Perl


↺ Not Your Grandfather’s Perl


> What I do appreciate that's missing from many other languages and systems is the extreme committment to backwards compatibility. The knowledge that the next minor release won't break existing scripts is underrated, IMO.



[Old] CoRecursive #079: CPAN: This Day In History


↺ CoRecursive #079: CPAN: This Day In History


> CPAN was the first open-source software module repository. And on this day, Aug 1st, in 1995, CPAN was first announced to a private group of PERL users.



How Classes and Objects Work in Python


↺ How Classes and Objects Work in Python


> If you’re a developer looking to level up your Python skills, adding OOP to your Python box can be helpful. This tutorial will help you get started with object-oriented programming in Python.


> Python is one of the most-loved programming languages that supports procedural, functional, and object-oriented programming paradigms.


> Procedural programming works fine for simple and smaller projects. But as you start working on larger applications, it’s important to organize code better. Object-oriented programming lets you group related data and functions logically. It also facilitates code reuse and lets you add functionality on top of existing code.



Update: translate.py Version 2.5.12 | Didier Stevens


↺ Update: translate.py Version 2.5.12 | Didier Stevens


> A small update for my translate.py program.



Update: oledump.py Version 0.0.70


↺ Update: oledump.py Version 0.0.70


> This is an update to plugin plugin_vba_dco.py, improving generalization and adding option -p.


> You can watch this maldoc analysis video to learn how to use the generalization feature of this plugin...



Learn C Programming with Richard Stallman on Linux!


↺ Learn C Programming with Richard Stallman on Linux!



SQLite Doesn't Use Git


↺ SQLite Doesn't Use Git


> SQLite as a database – Fossil uses SQLite as a database instead of Git's object model. This makes it easy to back up and store repositories.



How to Avoid Overfitting?


↺ How to Avoid Overfitting?


> How to Avoid Overfitting?, Overfitting is a frequent error committed by Data Scientists. Your many hours of coding may be wasted if this happens.


> Your model’s outputs could be inaccurate, which would complicate the decision-making process even more.


> Let’s first discuss what overfitting is before moving on to how to avoid overfitting.



shikokuchuo{net}: nanonext - a web toolkit


↺ shikokuchuo{net}: nanonext - a web toolkit



Oh, I'm sure it's probably nothing | Emily Riederer


↺ Oh, I'm sure it's probably nothing | Emily Riederer


> As a general matter, these are all exciting advances with great potential to aid in different workflows when used judiciously. However, it also poses the question: what cognitive burdens do we alleviate and which do we add when our projects begin to leverage multiple languages?


> Despite common data analysis tools like SQL, R, and python being high-level languages with declarative interfaces (in the case of R’s tidyverse and python’s pandas), successful usage still requires understanding the underlying assumptions and operations of each tool. There is not such thing as a truly declarative language; only those that generally make decisions that the user likes well-enough to ask for the “what” and delegate the “how”. These differences can emerge at many different levels: such as foundational issues like whether data structures are copied or modified in-place or broader design choices like default hyperparameters in machine learning libraries (e.g. python’s scikitlearn notoriously uses regularized logistic regression as the default for logistic regression.) Somewhere along that spectrum lies the fickle issue of handling null values.



Exploring OMPR with HiGHS solver


↺ Exploring OMPR with HiGHS solver


> There is a class of software for modeling optimization problems referred to as algebraic modeling systems which provide a unified interface to formulate optimization problems in a manner that is close to mathematical depiction and have the ability to link to different types of solvers (sparing the user from solver specific ways of formulating the problem). Both commercial and open source options are available. GAMS and AMPL are examples of commercial options. The popular open source options are JuMP in Julia and Pyomo in python. I have typically used Pyomo in Python but have explored using it from R. I recently became aware of algebraic modeling system in R provided by OMPR package.



Getting Familiar with the R Studio Source Pane | by Trevor French | Trevor French | Sep, 2022 | Medium


↺ Getting Familiar with the R Studio Source Pane | by Trevor French | Trevor French | Sep, 2022 | Medium


> You may have been using R Studio for years without realizing what all of those buttons do. This graphic and corresponding annotations will walk you through how everything works.


> a. Show in New Window- This allows you to pop the source pane into a new window by itself.


> b. Save Current Document- This saves the file contained in the tab you currently have active.



WASI vs. WASM


↺ WASI vs. WASM


> WebAssembly (WASM) modules have no conception of the filesystem, the network, or much else outside the browser sandbox. Many are experimenting with using the format outside the browser for server-side applications. How can it be used both serverside and clientside?



GSoC '22 final report


↺ GSoC '22 final report


> Well, this is rather easy for me to talk about, I’ll be on X.org’s Developers Conference soon, and full of motivations behind the work I’ve done.


> Not just me, though! Me, Maíra and Magali (who might be familiar names to you already) will be there as well, and unfortunately Tales didn’t manage to get a visa due to bureaucracy layers no one dares to understand.


> Looking retrospectively, the project’s motivation actually boils down to a dogfight between AMD engineers and the weird code they have to manage. As I’ve talked about previously, GPU code can be quite intense, the DML module being a particularly fun example.


> [...]


> KW (for the intimate) is a much needed and very interesting project, whom I tried my best to contribute to: I spent about a month and a half at the beginning of GSoC pushing it, to the point where I simply had no will to make my commit messages pretty or to respond maintainers.


> Lucky me the owner of the project is also my GSoC mentor, and he completely understood where I was at and that I’d not be able to accomplish the (optional) goals I had set for KW in my proposal.


> I really think this situation helped me understand better what is it that we’re doing when we contribute to free software, and that was the lesson I took.



Announcing the glorious advent of XeDN - Xe


↺ Announcing the glorious advent of XeDN - Xe


> So I made a mistake with how the CDN for my website works. I use a CDN for all the static images on my blog, such as the conversation snippet images and the AI generated "hero" images. This CDN is set up to be a caching layer on top of Backblaze B2, an object storage thing for the cloud.


> There's only one major problem though: every time someone loads a page on the website, assets get routed to the CDN. I thought the CDN was configured to cache things. Guess what it hasn't been doing.



Version controlling your .Rprofile, .gitconfig and other dotfiles. | Dr. Rick Tankard


↺ Version controlling your .Rprofile, .gitconfig and other dotfiles. | Dr. Rick Tankard


> Dotfiles are an important part of coding on Linux and macOS. In my work, I find myself not only working on my macOS laptop but on several Linux servers. Each of these requires dotfiles to configure my R (.Rprofile), git (.gitconfig and .gitignore_global), ssh (.ssh/config but not key files), vim (.vimrc) and shell (.zshrc, .bashrc, .bash_profile, etc.).



Purchase Flower For Just Because Occasion. How `R` you doing it? | Everyday Is A School Day


↺ Purchase Flower For Just Because Occasion. How `R` you doing it? | Everyday Is A School Day


> Randomness can be difficult to simulate because we are biased. Not that thinking of buying your spouse flowers is a bad thing. What if you can preserve that idea and actualization by coding that! But how?



Cosplaying as a Sysadmin


↺ Cosplaying as a Sysadmin


> As a software developer, I never was a true sysadmin. I never pulled a server to replace a failed drive at 3 a.m. I never got to roll my little maintenance cart through a cold aisle, with hearing protection to keep my fragile eardrums from rupturing amidst a sea of 100+ dB screaming server fans...


> That is, until I built my homelab. Now I can act like a sysadmin as I make sure my kids never have a moment of downtime while they're streaming their favorite episode of Odd Squad.



Parallelizing Programs on the Blockchain


↺ Parallelizing Programs on the Blockchain


> EVM-based blockchains are often too difficult to scale past 1,000 transactions per second. Transactions can reference shared states and dynamically call into other contracts. This means that transactions must be executed in serial. On the other hand, program writers don't need to declaratively enumerate their dependencies (e.g., state or other programs).


> The first way to gain parallelization is to do away with dynamic function calling. Both Solana's Sealevel runtime and Move (Aptos/Sui) use static dispatch rather than dynamic. Sealevel enforces this at the "operating system" level, while Move does it as a domain-specific language (DSL).



Kushal Das: khata, under WASI


↺ Kushal Das: khata, under WASI


> While I am learning about WebAssembly slowly, I was also trying to figure out where all I can use it. That is the way I general learn all new things. So, as a start, I thought of compiling my static blogging tool khata into WASM and then run it under WASI.



The Sheer Terror of PAM - Xe


↺ The Sheer Terror of PAM - Xe


> Hey all, this is my RustConf 2022 for 2022! I'm super excited to finally be able to share this page publicly. Enjoy the talk! I've included a video of it, my script and slides embedded below and finally a link to the slides PDF at the bottom of the page. Choose how you want to enjoy this talk. All the options are vaild.




gemini.tuxmachines.org

-- Response ended

-- Page fetched on Sat Jun 1 09:49:20 2024