Chipay

u/Chipay


r/Kotlin•

I was toying with the different ktor targets added recently, and I've gotten all of them to run without much issue, except for wasmJs, here's a minimal example:

import io.ktor.server.cio.*
import io.ktor.server.engine.*
import io.ktor.server.response.*
import io.ktor.server.routing.*

suspend fun main() {
    embeddedServer(CIO, port = 8080, host = "0.0.0.0") {
        routing {
            get("/") {
                call.respondText(text = "hello world")
            }
        }
    }.startSuspend(wait = true)
}

Running .\gradlew wasmJsNodeDevelopmentRun builds and runs flawlessly, giving the following output:

Application star
15


r/techsupport•

In September 2015 i build this computer:

  • mobo: ASRock H81M-ITX/WiFi
  • PSU: Corsair RM650i
  • CPU: i5 4460
  • GPU: R9 380x
  • RAM: Crucial Ballistix Sport 8GB DDR3-1600 CL9 kit
  • SSD: Crucial BX100 250GB
  • HHD: Seagate Barracuda 7200.14 2TB
  • OS: Windows 10

For 3 months the system ran perfectly fine but since january problems have started to come up.

Basically, the system will randomly lose video output while the hdd still spins, the power LED still shines and the fans still turn (including the GPU), this can happen when the system is not being used, is in sleep mode or being used intensively while gaming for example.

Without a display to work with i hold the power button until the syste

51