52 karma · joined Aug 10, 2025 (1y ago) · 25 submissions
comment 2w ago · link · parent
> Source, in order of preference: (a) the implementation disagreeing with itself (C vs Python twin, fast vs slow path, method vs equivalent method, round-trips, str vs bytes); (b) undisputed invariants (no crash, no internal error leaking, results in range, no hang); (c) explicit doc sentences read in context.[...]
https://github.com/Broyojo/python-formalization/blob/main/AG...
comment 2w ago · link · parent
https://github.com/Broyojo/python-formalization/blob/main/AG...
comment 2w ago · link · parent
For the domain I am working in, a model is considered deterministic if for a set of input it always provide the same output and the input are assumed to be perfectly known. A model become probabilistic, once the input or the model itself are considered as uncertain. As an example: previously weather models always provided singe prediction for tomorrow, for example rain or no rain. But now, such models are probabilistic in the sense that an ensemble of model forecast are made (with slightly different input representing our uncertainties) to provide an estimate of the probabilities. Indeed such probabilistic model is not the simplest, but to most complete and so far the only practical way to handle with uncertainty for system like the weather as far as I am aware of.
comment 2w ago · link · parent
comment 2w ago · link · parent
Why the "simplest" model? Is a probabilistic model not the only model able to deal with uncertainty? What other kind of models are possible to represent uncertainty and inherent ambiguity that are not probabilistic?
comment 1mo ago · link · parent
https://eu.usatoday.com/story/money/2016/12/02/us-blocks-chi...
comment 3mo ago · link · parent
4.14.3 Camera Image Optimization
The camera image optimization AI algorithm is mainly used in the following camera features: Super Moon, AI Camera, Document Mode, Front Portrait Mode with Background Blurring, and Beautify.
https://trust.mi.com/docs/miui-privacy-white-paper-global/4/...
comment 3mo ago · link · parent
comment 3mo ago · link · parent
https://codeberg.org/Alexander-Barth/FCI-MTG-0
While doing that, I learned that it is not so trivial to produce a true colour RGB image from these FCI [1]. I think there is also a WMS server for rendered images but I don't have the link on my phone.
comment 5mo ago · link · parent
If you want to change an element of such an array you need to create a new immutable struct which in practice it is quite fast, but a bit verbose to write.
comment 5mo ago · link · parent
Specifically, we discard documents shorter than 200 characters (Xue et al., 2021a), and any page containing the phrase “lorem ipsum,” the word “javascript,” or curly brackets (Raffel et al., 2023)....
It is quite surprising/funny to see all documents with javascript removed.
comment 9mo ago · link · parent
https://github.com/JuliaParallel/rodinia/tree/master/julia_m...
It was touched 9 years ago, but maybe you have ported it to current standards. I don't think we had multithreading at that time, only multiprocessing.
Is your Julia implementations available somewhere? (Sorry if it is in your paper but I missed it). I vaguely remembered in the past that working with threads leaded to some additional allocations (compared to the serial code). Maybe this is also biting us here?
comment 9mo ago · link · parent
https://pypi.org/project/eumdac/
(If you do not want to use python, the --debug option is quite useful to see exactly the request made. The output is either some JSON metadata or a large zip with the netcdf data)
comment 11mo ago · link · parent
Unfortunately, mathworks is a quite litigious company. I guess you are aware of mathworks versus AccelerEyes (now makers of ArrayFire) or Comsol.
For our department, we mostly stop to use MATLAB about 7 years ago, migrating to python, R or Julia. Julia fits the "executable math" quite well for me.
comment 11mo ago · link · parent
comment 1y ago · link · parent
As an experiment, I would be interested to see if somebody would make a 1-based python list-like data structure (or a 0-based R array), to check how many 3rd party (or standard library) function would no longer work.
comment 1y ago · link · parent
https://cuda.juliagpu.org/stable/tutorials/introduction/#Wri...
With KernelAbstractions.jl you can actually target CUDA and ROCm:
https://juliagpu.github.io/KernelAbstractions.jl/stable/kern...
For python (or rather python-like), there is also triton (and probably others):
comment 1y ago · link · parent