cyanescent

Results 14 comments of cyanescent

I understand the Wayland headache is not that easily overcome. Indeed, the animation to visualize / confirm the gesture is a really nice feature. Thank you for your reply!

Giving up the "antic" definition of the gcd for rationals for the sake of a "universal" definition, designed for more abstract objects without ordering that are not implemented in base...

> Why do you want to make `lcm` and `gcd` throw for empty arrays? I think the current behavior for empty input is fine. It agrees with the Fricas CAS,...

> The multiplicative identity is the `lcm` identity, but _not_ the `gcd` identity. That is true for integers, but not for Rationals: ```julia julia> lcm(1//2,1) 1//1 julia> gcd(1//2,1) 1//2 ```...

> What should the methods return when the input array is empty? Currently, > > ```julia > julia> gcd(Int[]) > 0 > > julia> lcm(Int[]) > 1 > ``` For...

Here is a correction draft, that would make `gcd(Int[])` and `lcm(Int[])` error (~~perhaps not in the most elegant way though~~ better now): #56113. This is not breaking since the Array...

I get your point, the inversion symmetry between `gcd` and `lcm` is broken anyway since there is no `Inf` in type `Int`. But then shouldn't `gcd()` also return `0` instead...

> (also, I don't know any reason for choosing this value rather than `NaN`, my reasoning above was only deductive) Answering this question (what are $\text{gcd}$ and $\text{lcm}$ for empty...

Some more thoughts on this charmingly elusive topic: > all elements of the range are multiples of every element of the array (this is true vacuously) I have troubles following...

After updating today to the latest version of GLMakie (v0.10.14), the workaround  `alpha=false` does not work anymore (the square root and fraction bars do not disappear). Moreover, something else has...