Skip to content

Instantly share code, notes, and snippets.

View neomatrix369's full-sized avatar
🎯
Focusing

mani neomatrix369

🎯
Focusing
View GitHub Profile
@neomatrix369
neomatrix369 / graalvm-Slf4jLogger-silent-exception.stacktrace-1-of-2
Last active October 2, 2019 15:49
HotSpotConstantPool<org.bytedeco.javacpp.tools.Slf4jLogger> silent exception 1 of 2
Values in the frame
-------------------
ex = {InvocationTargetException@80812} "java.lang.reflect.InvocationTargetException"
root = {HotSpotConstantPool@80811} "HotSpotConstantPool<org.bytedeco.javacpp.tools.Slf4jLogger>"
initialize = false
opcode = 184
cpi = 1
Stacktrace
@neomatrix369
neomatrix369 / valohai.yaml
Created September 21, 2019 19:06
How to do deep learning for java on the Valohai platform? -blog | Valohai
---
- step:
name: Build-dl4j-mnist-single-layer-java-app
image: neomatrix369/dl4j-mnist-single-layer:v0.5
command:
- cd ${VH_REPOSITORY_DIR}
- ./buildUberJar.sh
- echo "~~~ Copying the build jar file into ${VH_OUTPUTS_DIR}"
- cp target/MLPMnist-1.0.0-bin.jar ${VH_OUTPUTS_DIR}/MLPMnist-1.0.0.jar
@neomatrix369
neomatrix369 / choose-project.sh
Last active September 2, 2019 12:30
How to do deep learning for java on the Valohai platform? -blog | Valohai
[ 1] mlpmnist-single-layer
...
Which project would you like to link with /path/to/mlpmnist-dl4j-example?
Enter [n] to create a new project.:
@neomatrix369
neomatrix369 / link-to-project.sh
Created September 2, 2019 12:26
How to do deep learning for java on the Valohai platform? -blog | Valohai
@neomatrix369
neomatrix369 / Grakn_graql_bazel_build.logs
Last active July 18, 2019 20:14
Build errors when using bazel to build benchmark for Grakn/Graql
Starting local Bazel server and connecting to it...
... still trying to connect to local Bazel server after 10 seconds ...
Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
currently loading: @graknlabs_build_tools//bazel
Analyzing: target @graknlabs_build_tools//bazel:bazel-deps (1 packages loaded, 0 targets configured)
Analyzing: target @graknlabs_build_tools//bazel:bazel-deps (2 packages loaded, 2 targets configured)
Analyzing: target @graknlabs_build_tools//bazel:bazel-deps (3 packages loaded, 16 targets configured)
@neomatrix369
neomatrix369 / createDiffs.sh
Last active July 5, 2019 16:53
createDiffs.sh bash script to show differences in files between two folders using the *nix command diff
#!/bin/bash
set -e
set -u
set -o pipefail
SOURCE_PATH=$1
DESTINATION_PATH=$2
sourceFiles=$(ls -l ${SOURCE_PATH}/ | wc -l)
@neomatrix369
neomatrix369 / Before and after changes to mx.py
Last active July 5, 2019 22:21
Before and after changes to mx.py (between master and PR branch: https://github.com/graalvm/mx/pull/197)
diff -u before-changes-mx.py_cut/BinaryVC after-changes-mx.py_cut/BinaryVC
--- before-changes-mx.py_cut/BinaryVC 2019-07-05 16:40:11.000000000 +0100
+++ after-changes-mx.py_cut/BinaryVC 2019-07-05 16:40:31.000000000 +0100
@@ -206,4 +206,6 @@
if abortOnError:
abort("A binary VC has no branch")
-### ~~~~~~~~~~~~~ _private
+
+### Maven, _private
@neomatrix369
neomatrix369 / know-your-gpus.md
Last active December 14, 2023 02:44
Know your GPUs

Commands on Linux to gather information related to GPUs

Below is a list of commands and resources that work on Linux (some need installation of packages), would love to welcome contributions for the same for MacOSX and Windows platforms too. Please share and contribute back.

Please run the below in both vagrant, docker and other container environments and share your experiences with us!

About me: http://neomatrix369.wordpress.com/about, my blogs: http://neomatrix369.wordpress.com/

Get Hardware Details
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "schedule"
},
"apps": [
{
"root": ".",
"outDir": "dist",
"assets": [
@neomatrix369
neomatrix369 / openjdk9-configure.txt
Created December 15, 2017 01:13
OpenJDK9 - configure - usage text
Running generated-configure.sh
`configure' configures OpenJDK jdk9 to adapt to many kinds of systems.
Usage: /home/xxxxx/sources/jdk9/configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.