-- 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 Dec 12, 2022


Free, Libre, and Open Source Software Leftovers

Review: OpenBSD 7.2



C++ overtakes Java in programming popularity index • The Register


↺ C++ overtakes Java in programming popularity index • The Register


> Java is no longer among the top three most popular programming languages in the TIOBE Index, one of several not particularly definitive yardsticks by which such things are measured.


> According to Paul Jansen, CEO of Netherlands-based TIOBE Software, the rising popularity of C++ has pushed Java down a notch. The index's rankings are now: Python in first place, C second, C++ third, and Java fourth. C++ stepped up to third, and Java fell to fourth.


> "C++ surpassed Java for the first time in the history of the TIOBE Index, which means that Java is at position 4 now," said Jansen in the December update for the TIOBE Index. "This is the first time that Java is not part of the top 3 since the beginning of the TIOBE Index in 2001."



Get Your Data On: The Periodogram or Something Else?


↺ Get Your Data On: The Periodogram or Something Else?


> So, which spectral estimator should you pick? The flow chart below presents a reasonable way to pick between spectral estimators. The first question you should ask is, do you want to assume a model for the data? If you don’t know anything about the data or don’t trust what you know, then move to the left side of the flow chart. If the Fourier methods have enough resolution, use the periodogram or the Blackman-Tukey spectral estimator (BTSE). If they don’t, you could try the minimum variance spectral estimator (MVSE). If the MVSE does not have enough resolution, try a high order autoregressive (AR) estimate. The AR method does assume a model for the data, but a high enough AR model can estimate any PSD.



Hypothesis Testing in R - Data Science Tutorials


↺ Hypothesis Testing in R - Data Science Tutorials


> Hypothesis Testing in R, A formal statistical test called a hypothesis test is used to confirm or disprove a statistical hypothesis.



Creating One Unified Calendar of all Data Science Events in the Netherlands - Roel's R-tefacts


↺ Creating One Unified Calendar of all Data Science Events in the Netherlands - Roel's R-tefacts



0030: lsm perf, colorblind concurrency, tracing, evacuating preimp, reading, fixing my shoulders


↺ 0030: lsm perf, colorblind concurrency, tracing, evacuating preimp, reading, fixing my shoulders


> The lsm tree is needed in tigerbeetle to reduce the time taken to recover from crashes and to reduce the cost (ram) of running large databases (vs just having a replicated log on disk and all other state in memory). It's not ready yet though - merging the lsm tree reduced the single node performance on my laptop to ~23k transfers/second (the goal is >1m transfers/second). So that's my main focus at the moment. I've identified a couple of issues so far but haven't fixed any of them yet.



Programming tool turns handwriting into computer code | Cornell Chronicle


↺ Programming tool turns handwriting into computer code | Cornell Chronicle


> A Cornell team has created an interface that allows users to handwrite and sketch within computer code – a challenge to conventional coding, which typically relies on typing.


> The pen-based interface, called Notate, lets users of computational, digital notebooks – such as Jupyter notebooks, which are web-based and interactive – to open drawing canvases and handwrite diagrams within lines of traditional, digitized computer code.



we iterate so that you can recurse -- wingolog


↺ we iterate so that you can recurse -- wingolog


> Sometimes when you see an elegant algorithm, you think "looks great, I just need it to also do X". Perhaps you are able to build X directly out of what the algorithm gives you; fantastic. Or, perhaps you can alter the algorithm a bit, and it works just as well while also doing X. Sometimes, though, you alter the algorithm and things go pear-shaped.


> Tonight's little note builds on yesterday's semi-space collector article and discusses an worse alternative to the Cheney scanning algorithm.


> To recall, we had this visit_field function that takes a edge in the object graph, as the address of a field in memory containing a struct gc_obj*. If the edge points to an object that was already copied, visit_field updates it to the forwarded address. Otherwise it copies the object, thus computing the new address, and then updates the field.



Automagically assimilating NixOS machines into your Tailnet with Terraform - Xe Iaso


↺ Automagically assimilating NixOS machines into your Tailnet with Terraform - Xe Iaso


> For the sake of argument, let's say that you want to create all of your cloud infrastructure using Terraform, but you also want to use NixOS and Nix flakes. One of the main problems you will run into is the fact that Nix flakes and Terraform are both declarative and there's no easy way to shim Terraform states and Nix flake attributes. I think I've found a way to do this and today you're going to learn how to glue these two otherwise conflicting worlds together.



Rubenerd: Goodbye Chris Seaton ♡


↺ Rubenerd: Goodbye Chris Seaton ♡


> Ruby programming language giant and lovely person Chris Seaton passed away last night.


> [...]


> His social media posts showed his struggles with mental health of late. It’s heartbreaking that we couldn’t save him.



In Memory of a Giant | Tenderlove Making


↺ In Memory of a Giant | Tenderlove Making


> The Ruby community has lost a giant. As a programmer, I always feel as if I’m standing on the shoulders of giants. Chris Seaton was one of those giants.


> I’ve been working at the same company as Chris for the past 2 years. However, I first met him through the open source world many years ago. He was working on a Ruby implementation called TruffleRuby, and got his PhD in Ruby. Can you believe that? A PhD in Ruby? I’d never heard of such a thing. My impression was that nobody in academia cared about Ruby, but here was Chris, the Ruby Doctor. I was impressed.



Day 12: RedFactory - Raku Advent Calendar


↺ Day 12: RedFactory - Raku Advent Calendar


> Since the elves started using Red (https://raku-advent.blog/2019/12/21/searching-for-a-red-gift/) they thought it was missing a better way of testing code that uses it. They tested it using several SQL files that would be used before each test to populate the database with test data. That works ok, but that’s too hard to understand what’s expected from the test not looking at those SQL files. It also added a big chunk of boilerplate at the beginning of each test file for runnig the SQL. In every file it’s the same code, changing only what file to use. So they decided to look for some better way of doing that.


> Searching for it they found a new module called RedFactory. It’s specific for Red and uses factories to make it easier to write and read tests written for code that uses Red. The idea about factories is to have a easy way of adding data to your test DB with default values making that easy to populate the test DB at the same file as the test and setting speccific values only for what is needed on the test.



[ Perl, Raku TheWeeklyChallenge] TWC 194: Bag Time!


↺ [ Perl, Raku TheWeeklyChallenge] TWC 194: Bag Time!



Foundation Is Becoming Fully Swift and Open Source [Ed: Microsoft's GitHub is the wrong place]


↺ Foundation Is Becoming Fully Swift and Open Source


> The post has the project launching on GitHub in 2023, which isn't that helpful. Still, it would be pretty cool to say I contributed to Foundation.




gemini.tuxmachines.org

-- Response ended

-- Page fetched on Fri Jun 14 08:55:20 2024