Skip to content

Instantly share code, notes, and snippets.

Testing file reading...
   Testing annie_oakley.ogg...

signal (11): Segmentation fault
in expression starting at /home/rdeits/.julia/packages/VideoIO/PIgWQ/test/avio.jl:20
__libc_free at /build/glibc-OTsEL5/glibc-2.27/malloc/malloc.c:3123
av_buffer_unref at /usr/lib/x86_64-linux-gnu/libavutil.so.55 (unknown line)
av_frame_unref at /usr/lib/x86_64-linux-gnu/libavutil.so.55 (unknown line)
avcodec_receive_frame at /usr/lib/x86_64-linux-gnu/libavcodec.so.57 (unknown line)
@rdeits
rdeits / Manifest.toml
Created October 3, 2018 20:41
Revise tracker failure manifest
[[AssetRegistry]]
deps = ["Distributed", "JSON", "Pidfile", "Pkg", "SHA", "Test"]
git-tree-sha1 = "b25e88db7944f98789130d7b503276bc34bc098e"
uuid = "bf4720bc-e11a-5d0c-854e-bdca1663c893"
version = "0.1.0"
[[AxisAlgorithms]]
deps = ["Compat", "WoodburyMatrices"]
git-tree-sha1 = "99dabbe853e4f641ab21a676131f2cf9fb29937e"
uuid = "13072b0f-2c55-5437-9ae7-d433b7a33950"
Internal error: encountered unexpected error in runtime:
TypeError(func=:<:, context="", expected=Type{T} where T, got=_)
rec_backtrace at /buildworker/worker/package_linux64/build/src/stackwalk.c:94
record_backtrace at /buildworker/worker/package_linux64/build/src/task.c:246
jl_throw at /buildworker/worker/package_linux64/build/src/task.c:577
jl_type_error_rt at /buildworker/worker/package_linux64/build/src/rtutils.c:118
jl_type_error at /buildworker/worker/package_linux64/build/src/rtutils.c:124
jl_f_issubtype at /buildworker/worker/package_linux64/build/src/builtins.c:414
tuplemerge at ./compiler/typelimits.jl:434
tmerge at ./compiler/typelimits.jl:375
if VERSION >= v"0.7-alpha"
using Statistics
using Test
using Random
else
using Base.Test
end
using BenchmarkTools
<?xml version="1.0"?>
<robot name="hopper">
<link name="floor">
<visual>
<geometry>
<box size="2 2 0.05"/>
</geometry>
<origin xyz="0 0 -0.025"/>
<material name="green">
<color rgba="0 0.8 .8 1"/>
using OSQP.MathOptInterfaceOSQP
using SimpleQP
using StaticArrays
using RigidBodyDynamics
using MomentumBasedControl: ContactPoint
using MathOptInterface
const MOI = MathOptInterface
function defaultoptimizer()
optimizer = OSQPOptimizer()
@rdeits
rdeits / pack_int32.jl
Created June 24, 2018 21:54
Converting an Int64 vector into a C-compatibile Int32 array in-place
# Let's say we have a vector of Int64s, and we need to pass it to a C
# function which expects a vector of Int32s. We could just convert
# every element, but that would allocate an entire new copy of the
# vector, which could be expensive. Instead, we can just shuffle the
# data around in-place, relying on the fact that we can fit two
# Int32s into a single Int64.
function pack_as_int32!(v::Vector{Int64})
p = convert(Ptr{Int32}, pointer(v))
using BenchmarkTools
using Optim, NLSolversBase
function datagen(n=5500,k=13)
b = rand(k)
l = rand(2)
x = randn(n,k)
abil = randn(n,1)
vabil = randn(n,1)
sector = 1.0.*(rand(n,1).>0.8)
diff --git a/dsdt.dsl b/dsdt.patched.dsl
index ce4ffdd..67f2bf7 100644
--- a/dsdt.dsl
+++ b/dsdt.patched.dsl
@@ -18,9 +18,8 @@
* Compiler ID "INTL"
* Compiler Version 0x20160527 (538314023)
*/
-DefinitionBlock ("", "DSDT", 2, "LENOVO", "SKL ", 0x00000000)
+DefinitionBlock ("", "DSDT", 2, "LENOVO", "SKL ", 0x00000001)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.