See issue filed here duckdb/duckdb#7665
[beasont@tc-hm003 algos]$ duckdb testing.db
v0.8.0 e8e4cea
Enter ".help" for usage hints.
D .timer onET th
reads TO 8;
D .maxrows 100
D SET threads TO 8;
Run Time (s): real 0.002 user 0.000990 sys 0.005505
See issue filed here duckdb/duckdb#7665
[beasont@tc-hm003 algos]$ duckdb testing.db
v0.8.0 e8e4cea
Enter ".help" for usage hints.
D .timer onET th
reads TO 8;
D .maxrows 100
D SET threads TO 8;
Run Time (s): real 0.002 user 0.000990 sys 0.005505
# Makefile | |
# | |
# Converts Markdown to other formats (HTML, PDF, DOCX, RTF, ODT, EPUB) using Pandoc | |
# <http://johnmacfarlane.net/pandoc/> | |
# | |
# Run "make" (or "make all") to convert to all other formats | |
# | |
# Run "make clean" to delete converted files | |
# Convert all files in this directory that have a .md suffix |
#!/bin/sh | |
# @author: Alexandre Plennevaux | |
# @description: MIRROR DISTANT FOLDER TO LOCAL FOLDER VIA FTP | |
# | |
# FTP LOGIN | |
HOST='sftp://ftp.domain.com' | |
USER='ftpusername' | |
PASSWORD='ftppassword' | |
# DISTANT DIRECTORY |
# first save new julia version to Downloads folder | |
# now unpack to proper spot | |
# I store my julia versions in /usr/local/julia | |
cd Downloads | |
sudo tar xvzf julia-1.1.0-linux-x86_64.tar.gz -C /usr/local/julia | |
# remove the old link, make the new one | |
sudo rm /usr/local/bin/julia | |
sudo ln -s /usr/local/julia/julia-1.1.0/bin/julia /usr/local/bin/julia |
# This code is a simple Endogenous Grid Method (EGM) port in Julia of the CGM code. | |
# I tried to make it as similar as possible. | |
# No optimizations for speed are introduced in this version (but it is still quite fast compared to VFI). | |
# In particular, this is a terrible way to write Julia code (should introduce function barriers and proper scoping). | |
# Tyler Beason 2018 | |
using Interpolations | |
# utility functions and related |
using LatexPrint | |
function fulltabular(A::AbstractArray{T,2}; placement::String="htb",rounding::Int=0, colnames::Vector{String}=Vector{String}(), frontmatter::String="" , caption::String="", title::String="", label::String="", strfirstcol::Bool=false,arraystretch=1) where {T<:Any} | |
(r,c) = size(A) | |
println("\\begin{table}[", placement, "] \\centering") | |
println("\\renewcommand{\\arraystretch}{",arraystretch ,"}") | |
println(frontmatter) | |
if !isempty(title) | |
println("\\caption{", title, "}") |
using BenchmarkTools | |
struct MyType | |
x::Vector{Float64} | |
y::Vector{Float64} | |
_n::UInt16 | |
delta::Vector{Float64} | |
function (::Type{MyType})(x::Vector{Float64}, y::Vector{Float64}) |