Better HN
topnewbestaskshowjobs
Log inSign up

Alexander-Barth

52 karma · joined Aug 10, 2025 (1y ago) · 25 submissions

Submissions

comment 2w ago · link · parent

yes, one can say it is "guessing" but taking in these into account:

> 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

Interesting also the prompt of the python formalization (and the blog post) mentions the julia-in-lean:

https://github.com/Broyojo/python-formalization/blob/main/AG...

comment 2w ago · link · parent

To me uncertainty on a given quantity, is represented by a probability distribution function giving how probable the value of a given quantity is. Loosely, it can also be represented by a confidence interval. It is not intrinsic to the quantity, but how much we know about this quantity.

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

That is true, but to me it seems like ternary logic is like probabilities in disguise (false, true and unknown would be probability of 0, 1, and "between 0 and 1"). For most application, the unknown class is too broad, thus we need actual probabilities. But indeed, ternary logic is simpler than working with probabilities.

comment 2w ago · link · parent

> But the vast majority of people who study interpretation tasks (such as speech recognition) quickly see that interpretation is an inherently probabilistic problem: given a stream of noisy input to my ears, what did the speaker most likely mean? Einstein said to make everything as simple as possible, but no simpler. Many phenomena in science are stochastic, and the simplest model of them is a probabilistic model

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

Apparently the system was not protected by 2FA.

comment 1mo ago · link · parent

I can confirm. That is basically what I did for my father-in-law. The laptop is quite ancient by now (more than 10 years old) but still good enough for running current version of Ubuntu.

comment 1mo ago · link · parent

In equation 9 (and later) for example: Dans ce développement, le terme qui en a i avant lui, a pour expression...

comment 1mo ago · link · parent

Posted November 16, 2020.

comment 1mo ago · link · parent

For context, the US once prevented that a German company AIXTRON was sold to a Chinese investor in 2016 (perhaps for good reasons). To me it would sound like a good deal for the Netherlands and Luxembourg/Germany if Netherlands would uses SUSE and the Luxembourg/Germany would step in to keep in in the EU.

https://eu.usatoday.com/story/money/2016/12/02/us-blocks-chi...

comment 2mo ago · link · parent

For most of them it says "real position" and some show a delay.

comment 3mo ago · link · parent

You enable parental control on the phone before you give it to your kid. Then you can easily manage allowed applications/web sites and screen time.

comment 3mo ago · link · parent

Interestingly, one of their AI filters is actually called "Super Moon":

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

I am wondering if the AI enhancement should be opt-in rather than the default and saving the original as well. Even if you want AI enhancement, future models are likely to be better.

comment 3mo ago · link · parent

Julia is actually quite nice for this. If you prefer a python-like approach consider Triton from openai, numba (https://numba.pydata.org/) or CuTe DSL from Nvidia.

comment 3mo ago · link · parent

I use the Eumetsat FCI (Flexible Combined Imager) full disc images on board of geostationary satellite MTG centered at 0 degree longitude. A single image (distributed as netcdf file) is pretty large in fact much larger than my screen resolution. If you are interested, the Julia code for downloading and creating the PNG image is here:

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.

[1] https://doi.org/10.1175/BAMS-D-15-00154.1

comment 5mo ago · link · parent

I think this is quite similar to julia's handling of a struct. An array of mutable structs is just an array of pointers, where every pointer directs to the underlying structure. However with an array of structs (immutable is the default), there is no such indirection. The value of all fields are stored as array element (unless you have an array of heterogeneous elements).

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

I did not know about EuroLLM. I had a look to the paper (https://arxiv.org/abs/2602.05879) describing it:

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

Are you using this code for Julia?

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

For the datasets, I tried to access (like the full disc image in visible wavelength, MTG 0 degree), it is sufficient to register at eumetsat to get a username and password. The eumdac python tool is probably the easiest way to access the data:

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

I wish you all the best luck with your product!

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

I use the command line tool arduino-cli (with plain Makefile) to compile and upload the code (obviously usable in any editor). It has also a --verbose mode to show exactly what is getting executed. But I heard a lot about platformio, so I am wondering what is its benefits (beside the integration in vscode; as an emacs user vscode is not working for me)

comment 1y ago · link · parent

The incorrect example of julia's documentation was fixed 2021: https://github.com/JuliaLang/julia/commit/f31ef767ef9cb0eb1d...

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

Actually in julia you can write kernels with a subset of the julia language:

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):

https://pytorch.org/blog/triton-kernel-compilation-stages/

comment 1y ago · link · parent

I guess that the interoperability with Python is a bit better. But on the other hand, the PythonCall.jl (allowing calling python from julia) is quite good and stable. In Julia, you have quite good ML frameworks (Lux.jl and Flux.jl). I am not sure that you have mojo-native ML frameworks which are similarly usable.