Skip to content

Instantly share code, notes, and snippets.

open System
open System.ComponentModel.DataAnnotations.Schema
open Microsoft.ML.Data
open Microsoft.ML
open Microsoft.Data.DataView
type IrisData() =
[<LoadColumn(0);DefaultValue>]
val mutable public SepalLength: float32
/** @file
@brief Example program that uses the OSVR direct-to-display interface
and D3D to render a scene with low latency.
@date 2015
@author
Russ Taylor working through ReliaSolve.com for Sensics, Inc.
<http://sensics.com/osvr>
*/
@JeroMiya
JeroMiya / gist:470f392c017dc32bdebc
Created September 18, 2015 19:07
LOGCAT output from user reporting black screen in OSVR Android sample
09-18 09:42:50.873 D 3329 NetworkController.WifiSignalController Change in state from: connected=true,enabled=true,level=3,inetCondition=1,iconGroup=IconGroup(SECURITY AP Wi-Fi Icons),activityIn=false,activityOut=false,rssi=-41,lastModified=09-18 09:42:49,ssid="NGEAR_5GHz"
09-18 09:42:50.873 D 3329 NetworkController.WifiSignalController to: connected=true,enabled=true,level=3,inetCondition=1,iconGroup=IconGroup(SECURITY AP Wi-Fi Icons),activityIn=true,activityOut=false,rssi=-41,lastModified=09-18 09:42:49,ssid="NGEAR_5GHz"
09-18 09:42:51.353 V 1175 WifiServerServiceExt checkPollTimer Cnt= 0 rssi =-43 threshold=-100
09-18 09:42:51.763 D 1175 InputDispatcher notifyMotion - action=ACTION_DOWN, eventTime=51081262562000, downTime=51081262562000
09-18 09:42:51.763 D 1175 InputTransport channel '2907c3b8 com.lge.launcher2/com.lge.launcher2.Launcher (server)' : action=ACTION_DOWN, downTime=51081262562000, eventTime=51081262562000, pointerCount=1
09-18 09:42:51.763 I 4219 ViewRootImpl ViewRoot's Touch Event : ACTION_D
@JeroMiya
JeroMiya / gist:a4bc7096e67feb615d26
Created September 5, 2014 07:41
hifi startup crash console output
Creating buckyballs...
NodeList getInstance called before call to createInstance. Returning NULL pointe
r.
QObject::connect: invalid null parameter
[Info] Cara Face Tracker Socket: QAbstractSocket::BoundState
[Info] DDE Face Tracker Socket: QAbstractSocket::BoundState
[VERSION] Build sequence:
Node's local address is 10.0.0.2
[2014-09-05T03:36:44] First call to Menu::getInstance() - initing menu.
[2014-09-05T03:36:44] QFileSystemWatcher::addPath: path is empty
@JeroMiya
JeroMiya / gist:0e9581c9039a9301d4d3
Created September 5, 2014 07:40
hifi startup crash TRACE output
'interface.exe' (Win32): Loaded 'C:\Users\JeremyBell\Downloads\hifi\build\interface\Debug\interface.exe'. Symbols loaded.
'interface.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols loaded.
'interface.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Symbols loaded.
'interface.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Symbols loaded.
'interface.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Symbols loaded.
'interface.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Symbols loaded.
'interface.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Symbols loaded.
'interface.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Symbols loaded.
'interface.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Symbols loaded.
'interface.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Symbols loaded.
@JeroMiya
JeroMiya / gist:84835379e932e013d5f7
Created September 5, 2014 07:39
hifi startup crash stacktrace
ntdll.dll!_RtlpBreakPointHeap@4() Unknown
ntdll.dll!_RtlpValidateHeapEntry@12() Unknown
ntdll.dll!_RtlValidateHeap@12() Unknown
KernelBase.dll!_HeapValidate@12() Unknown
msvcr120d.dll!_CrtIsValidHeapPointer(const void * pUserData) Line 2034 C++
msvcr120d.dll!_free_dbg_nolock(void * pUserData, int nBlockUse) Line 1322 C++
msvcr120d.dll!_free_dbg(void * pUserData, int nBlockUse) Line 1265 C++
msvcr120d.dll!operator delete(void * pUserData) Line 54 C++
interface.exe!QAudioDeviceInfo::`scalar deleting destructor'(unsigned int) C++
> interface.exe!QList<QAudioDeviceInfo>::node_destruct(QList<QAudioDeviceInfo>::Node * from, QList<QAudioDeviceInfo>::Node * to) Line 425 C++
@JeroMiya
JeroMiya / Scala Activity
Created July 19, 2014 03:14
Android Studio Scala Gradle config
package com.example.jeremybell.myapplication
import android.app.Activity
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
class MyActivity extends Activity {
override def onCreate(savedInstanceState: Bundle): Unit = {
super.onCreate(savedInstanceState)
@JeroMiya
JeroMiya / gist:bf626acea43910ef430e
Created June 23, 2014 15:07
Project file reproducing the WE 'not compiled to disk' issue
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>
</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
@JeroMiya
JeroMiya / gist:5981105
Created July 12, 2013 03:05
A template for defining an angular controller in TypeScript, which allows for minimization and does not require explicit field declarations for injected constructor arguments.
/// <reference path="Scripts/typings/underscore/underscore-typed.d.ts" />
/// <reference path="Scripts/typings/angularjs/angular.d.ts" />
module ts {
export class Base {
// you can have a static $inject here, but it will get ignored.
// only define it if you plan on using your base class as a
// controller directly
constructor(private $http: ng.IHttpService) { }