Programming Leftovers
-
Context SDK - Introducing the most intelligent way to know how and when to monetize your user
Today, whether your app is opened when your user is taking the bus to work, in bed about to go to sleep, or when out for drinks with friends, your product experience is the same. However, apps of the future will perfectly fit into the context of their users’ environment.
As app usage has exploded over the past decade, personalization and user context are becoming increasingly important to grow and retain your userbase. Context SDK enables you to create intelligent products that adapt to users’ preferences and needs, all while preserving the user’s privacy and battery life using only on-device processing.
-
Health of the KDE community (2023 Update)
These stats include all the extragear, plasma, frameworks and release service repository as well as most of the KDE websites and a few KDE playground projects I had on my hard drive. For example, it doesn’t includes most of the unmaintained projects (e.g. kdepimlibs, koffice, plasma-mediacenter, …). Also important to note, is that this doesn’t include translations at all, since they are stored in SVN and added in the tarballs during the releasing process.
I also removed manually all the scripted commits and I merged the contributions from “Laurent Montel” with “Montel Laurent” as well as the one from various contributors whose name changed.
-
Give Your App a Cross-Functional Future with Qt
Hey, you! Looking to build a high-performing and future-proof application that you can extend to desktop, mobile, and web? Want to cut down on development time, and make use of a tech ecosystem that offers a lot more beyond the initial development and design tools?
-
Kids’ coding languages
Explore kids' coding languages like ScratchJr, Scratch and Python. Start kids on graphical languages to help them grasp the basics of programming.
-
A high-performance Rust implementation of interval-censored Cox regression
hpstat intcox is a Rust implementation of interval-censored Cox regression using an iterative convex minorant-based approach described by Huang & Wellner [1], incorporating a damped iterative convex minorant algorithm for the baseline cumulative hazard as described by Aragón & Eberly [2] and Pan [3]. This contrasts with the expectation–maximisation algorithm used by IntCens and Stata. Standard errors are estimated in a computationally efficient manner using a profile likelihood-based method advanced by Zeng, Gao & Lin [4]. This contrasts with the bootstrap-based approach used by icenReg.
-
Lesser Known IRB Features
While poking around in IRB and looking at the autocompletion results, I found some functions that I didn't recognize and decided to take a look at what they do. I found some pretty interesting stuff. It looks like some of these commands have been added recently to come up to par with pry, and others have been kicking around for a while and just flying under the radar.
-
Testing Rails Components That Require Cache
If you're in the default testing environment your rails cache is ActiveSupport::Cache::NullStore which will always succeed but it doesn't actually store or return anything. There's an almost completely undocumented method called with_local_cache on NullStore that lets you run a block with a MemoryStore instead of a NullStore for the duration of the block. This happens because it prepends the ActiveSupport::Cache::Strategy::LocalCache class. This lets you test one or two things that require caching without enabling it on all tests and slowing everything down.
-
ChatGPT versus Facts
A friend asked ChatGPT about me. It provided something that looks like an answer, but is not an answer.
This illustrates how these large language models produce things that LOOK like answers, but are not actual answers. I’m a public figure with a fair amount of information in public, but it can’t get the details correct.
I thought of going through this and highlighting everything incorrect, but I have no interest in helping train ChatGPT or in making more details of my life available. Every paragraph has multiple glaring inaccuracies.