File tree Expand file tree Collapse file tree 6 files changed +17
-21
lines changed
Expand file tree Collapse file tree 6 files changed +17
-21
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/sh
22
3- VERSION=dev-2022-05
4- FILE_NAME=ubuntu_amd64_ $VERSION .zip
3+ VERSION=dev-2022-06
4+ FILE_NAME=odin-ubuntu-amd64- $VERSION .zip
55
66mkdir /tmp/odin
77cd /tmp/odin
88wget https://github.com/odin-lang/Odin/releases/download/$VERSION /$FILE_NAME
99unzip -o $FILE_NAME
10- sudo chmod +x odin
11- sudo ln -sf $PWD /odin /usr/bin/odin
10+ sudo chmod +x ubuntu_artifacts/ odin
11+ sudo ln -sf $PWD /ubuntu_artifacts/ odin /usr/bin/odin
1212odin version
Original file line number Diff line number Diff line change 4242 odin,
4343 perl,
4444 php,
45- pony,
45+ # pony,
4646 python,
4747 # racket,
4848 ruby,
Original file line number Diff line number Diff line change @@ -86,16 +86,12 @@ public static void main(String[] args) throws Exception {
8686 }
8787
8888 byte [] data = new byte [N * chunkSize ];
89- IntStream .range (0 , N )
90- .forEach (
91- y -> {
92- var ci = y * inv - 1.0 ;
93- IntStream .range (0 , chunkSize )
94- .forEach (
95- x -> {
96- data [y * chunkSize + x ] = mbrot8 (xloc [x ], ci );
97- });
98- });
89+ for (var y = 0 ; y < N ; y ++) {
90+ final var ci = y * inv - 1.0 ;
91+ for (var x = 0 ; x < chunkSize ; x ++) {
92+ data [y * chunkSize + x ] = mbrot8 (xloc [x ], ci );
93+ }
94+ }
9995 System .out .println ("P4\n " + N + " " + N );
10096 // System.out.println(toHexString(data));
10197 MessageDigest hasher = MessageDigest .getInstance ("md5" );
@@ -105,7 +101,7 @@ public static void main(String[] args) throws Exception {
105101 }
106102
107103 static final byte mbrot8 (final F64x8 cr , final double civ ) {
108- var ci = new F64x8 (civ );
104+ final var ci = new F64x8 (civ );
109105 var zr = new F64x8 (0.0 );
110106 var zi = new F64x8 (0.0 );
111107 var tr = new F64x8 (0.0 );
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ application {
2929dependencies {
3030 // implementation(kotlin("stdlib"))
3131 // implementation("org.slf4j:slf4j-api:1.7.36")
32- implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1 " )
32+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.2 " )
3333 implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3" )
34- val ktor_version = " 2.0.1 "
34+ val ktor_version = " 2.0.2 "
3535 implementation(" io.ktor:ktor-server-core:$ktor_version " )
3636 // implementation("io.ktor:ktor-server-netty:$ktor_version")
3737 implementation(" io.ktor:ktor-server-cio:$ktor_version " )
@@ -40,7 +40,7 @@ dependencies {
4040 // implementation("io.ktor:ktor-client-java:$ktor_version")
4141 // implementation("io.ktor:ktor-client-jetty:$ktor_version")
4242 // implementation("io.ktor:ktor-client-okhttp:$ktor_version")
43- val jooby_version = " 2.15.0 "
43+ val jooby_version = " 2.15.1 "
4444 implementation(" io.jooby:jooby-jackson:$jooby_version " )
4545 implementation(" io.jooby:jooby-netty:$jooby_version " )
4646}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ kotlin {
2424 implementation(libs.bignum)
2525 implementation(libs.kbignum)
2626 // implementation("com.ionspin.kotlin:bignum:0.3.1")
27- implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1 " )
27+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.2 " )
2828 implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3" )
2929 }
3030 }
Original file line number Diff line number Diff line change 11[versions ]
22
33[libraries ]
4- bignum = {module = " com.ionspin.kotlin:bignum" , version = " 0.3.4 " }
4+ bignum = {module = " com.ionspin.kotlin:bignum" , version = " 0.3.6 " }
55kbignum = {module = " com.soywiz.korlibs.kbignum:kbignum" , version = " 2.5.0" }
66
77[bundles ]
You can’t perform that action at this time.
0 commit comments