Ariane Features

Tabs

Ariane 4 introduces support for tabs. To open a tab long press a link and choose 'Open in new tab', to close a tab long press on its title in the header section. Try below:

oppen.digital

Web Links

Links in capsules that open a web browser and take you out of Geminispace are highlighted with an arrow icon:

oppen.digital

Images

Ariane has a built-in image viewer, if you click on a link to an image a new screen will display with pinch to zoom gestures. If you long-press an image link the image will display inline just like on the web. Try both features below:

Jeanne Moreau

Code Block

Example code block:

import java.math.BigInteger
 
val ZERO  = BigInteger.ZERO
val ONE   = BigInteger.ONE 
val TWO   = BigInteger.valueOf(2L)
val THREE = BigInteger.valueOf(3L)
val FOUR  = BigInteger.valueOf(4L)
val SEVEN = BigInteger.valueOf(7L)
val TEN   = BigInteger.TEN
 
fun calcPi() {
    var nn: BigInteger
    var nr: BigInteger
    var q = ONE
    var r = ZERO
    var t = ONE
    var k = ONE
    var n = THREE
    var l = THREE     
    var first = true
    while (true) {
        if (FOUR * q + r - t < n * t) {
            print(n)
            if (first) { print ("."); first = false }
            nr = TEN * (r - n * t)
            n = TEN * (THREE * q + r) / t - TEN * n
            q *= TEN
            r = nr
        }
        else {
            nr = (TWO * q + r) * l
            nn = (q * SEVEN * k + TWO + r * l) / (t * l)
            q *= k
            t *= l
            l += TWO
            k += ONE
            n = nn
            r = nr
        }
    }
}
 
fun main(args: Array<String>) = calcPi()

Quote

Example Bukowski quote:

> “Sometimes you climb out of bed in the morning and you think, I'm not going to make it, but you laugh inside — remembering all the times you've felt that way.”


© 2019 - 2021 ÖLAB
Part of a webring
view in Gemini