This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[deps] | |
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" | |
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(base) ➜ ~ julia --project=/Users/ifiske/projects/irdot/IntegratedDipatchSimulation/examples /Users/ifiske/projects/irdot/IntegratedDipatchSimulation/examples/autodiff_mwe.jl | |
after simplification : | |
define nonnull {} addrspace(10)* @preprocess_julia_f_1787({} addrspace(10)* nonnull align 16 dereferenceable(40) %0) local_unnamed_addr #2 !dbg !14 { | |
entry: | |
%1 = call {}*** @julia.get_pgcstack() | |
%2 = load atomic {} addrspace(10)*, {} addrspace(10)** inttoptr (i64 4586392936 to {} addrspace(10)**) unordered, align 8, !dbg !15, !tbaa !9 | |
%3 = call cc37 nonnull {} addrspace(10)* bitcast ({} addrspace(10)* ({} addrspace(10)*, {} addrspace(10)**, i32)* @jl_apply_generic to {} addrspace(10)* ({} addrspace(10)*, {} addrspace(10)*)*)({} addrspace(10)* %2, {} addrspace(10)* nonnull %0), !dbg !15 | |
%4 = call cc37 nonnull {} addrspace(10)* bitcast ({} addrspace(10)* ({} addrspace(10)*, {} addrspace(10)**, i32)* @jl_apply_generic to {} addrspace(10)* ({} addrspace(10)*, {} addrspace(10)*)*)({} addrspace(10)* addrspacecas |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ | |
_ _ _(_)_ | Documentation: https://docs.julialang.org | |
(_) | (_) (_) | | |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | |
| | | | | | |/ _` | | | |
| | |_| | | | (_| | | Version 1.7.1 (2021-12-22) | |
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release | |
|__/ | | |
julia> include("/Users/ifiske/projects/irdot/IntegratedDipatchSimulation/examples/autodiff.jl") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julia> reval("library(sf)") | |
signal (11): Segmentation fault: 11 | |
in expression starting at REPL[7]:1 | |
_platform_strlen at /usr/lib/system/libsystem_platform.dylib (unknown line) | |
Allocations: 20613870 (Pool: 20606437; Big: 7433); GC: 24 | |
Process 61545 stopped | |
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) | |
frame #0: 0x00007fff20467552 libsystem_platform.dylib`_platform_strlen + 18 | |
libsystem_platform.dylib`_platform_strlen: |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ Info: Starting the Julia Language Server | |
[ Info: Received new data from Julia Symbol Server. | |
signal (15): Terminated: 15 | |
in expression starting at /Users/ifiske/.vscode/extensions/julialang.language-julia-0.14.0-beta.3/scripts/languageserver/main.jl:11 | |
sweep_page at /Users/julia/buildbot/worker/package_macos64/build/src/gc.c:1209 [inlined] | |
sweep_pool_page at /Users/julia/buildbot/worker/package_macos64/build/src/gc.c:1277 [inlined] | |
sweep_pool_pagetable0 at /Users/julia/buildbot/worker/package_macos64/build/src/gc.c:1297 [inlined] | |
sweep_pool_pagetable1 at /Users/julia/buildbot/worker/package_macos64/build/src/gc.c:1317 [inlined] | |
sweep_pool_pagetable at /Users/julia/buildbot/worker/package_macos64/build/src/gc.c:1347 [inlined] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module TestParametron | |
# create a MathOptInterface optimizer instance | |
using OSQP | |
optimizer = OSQP.Optimizer() | |
# create a Parametron.Model, which holds problem information | |
using Parametron | |
using Random, LinearAlgebra |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Copyright 2015 Google Inc. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#require "Onewire.class.nut:1.0.0" | |
ow <- Onewire(hardware.uart12); | |
power <- hardware.pin8; | |
power.configure(ANALOG_IN); | |
local success = ow.init(); | |
if (!success) { | |
// Report error. Note if the Onewire object instantiated in | |
// debug mode, the object will report errors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cPickle | |
import rocksdb | |
class KeyValDB(object): | |
@staticmethod | |
def get_database(db_type, path): | |
if db_type == 'shelve': | |
return ShelveDB(path) | |
elif db_type == 'rocksdb': |