When DKMS uses clang
to compile the nvidia
kernel driver, you're boned.
sudo modprobe nvidia
modprobe: ERROR: could not insert 'nvidia': Exec format error
Unfortunately, dkms
doesn't take CC
and CXX
settings from the environment.
When DKMS uses clang
to compile the nvidia
kernel driver, you're boned.
sudo modprobe nvidia
modprobe: ERROR: could not insert 'nvidia': Exec format error
Unfortunately, dkms
doesn't take CC
and CXX
settings from the environment.
mkdir build; cd build; | |
cmake .. -DCMAKE_PREFIX_PATH=/usr/local/cuda-9.0 -DCUDA_HOST_COMPILER=/usr/bin/g++-6 -DDLIB_USE_CUDA=1 | |
cmake --build . | |
python3 setup.py bdist_wheel --set CMAKE_PREFIX_PATH=/usr/local/cuda-9.0 --set CUDA_HOST_COMPILER=/usr/bin/g++-6 --set DLIB_USE_CUDA=1 --set PYTHON_EXECUTABLE=/usr/bin/python3 | |
pip3 install --user dist/dlib-19.13.99-cp36-cp36m-linux_x86_64.whl |
# Ubuntu 18.04 and various Docker images such as openjdk:9-jdk throw exceptions when | |
# Java applications use SSL and HTTPS, because Java 9 changed a file format, if you | |
# create that file from scratch, like Debian / Ubuntu do. | |
# | |
# Before applying, run your application with the Java command line parameter | |
# java -Djavax.net.ssl.trustStorePassword=changeit ... | |
# to verify that this workaround is relevant to your particular issue. | |
# | |
# The parameter by itself can be used as a workaround, as well. |
<!-- This work is licensed under a Creative Commons Attribution 4.0 International License. --> | |
<speak> | |
<p> | |
<s> | |
<emphasis>Friends, Romans, countrymen,</emphasis> | |
lend me your ears. | |
</s> | |
</p> |
package io.mikael.poc | |
import org.slf4j.LoggerFactory | |
import org.springframework.boot.SpringApplication | |
import org.springframework.boot.autoconfigure.SpringBootApplication | |
import org.springframework.context.annotation.Bean | |
import org.springframework.context.annotation.Configuration | |
import org.springframework.scheduling.annotation.EnableScheduling | |
import org.springframework.scheduling.annotation.Scheduled | |
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler |
package io.mikael.poc.ser; | |
import com.fasterxml.jackson.annotation.JsonInclude; | |
import com.fasterxml.jackson.core.JsonGenerator; | |
import com.fasterxml.jackson.databind.ObjectMapper; | |
import com.fasterxml.jackson.databind.SerializationConfig; | |
import com.fasterxml.jackson.databind.ser.DefaultSerializerProvider; | |
import com.fasterxml.jackson.databind.ser.SerializerFactory; | |
import com.fasterxml.jackson.databind.type.TypeFactory; | |
import com.fasterxml.jackson.dataformat.xml.XmlMapper; |
mikael@gumibook:~/devel/temp/RainEffect$ yarn install | |
yarn install v0.27.5 | |
info No lockfile found. | |
[1/4] Resolving packages... | |
warning babelify > babel-core > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue | |
warning browserify > glob > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue | |
warning gulp-connect > [email protected]: connect 2.x series is deprecated | |
warning glslify > static-module > through2 > xtend > [email protected]: | |
warning gulp > vinyl-fs > glob-watcher > gaze > globule > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue | |
warning gulp > vinyl-fs > glob-watcher > gaze > globule > glob > [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. |
modelVersion: 4.0.0 | |
groupId: io.mikael | |
artifactId: ksoup | |
name: ksoup | |
version: 1.0-SNAPSHOT | |
packaging: jar | |
parent: {groupId: org.sonatype.oss, artifactId: oss-parent, version: 9} |