This file contains 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
root@ubuntu:/mnt/test# fio --name=randwrite --ioengine=libaio --iodepth=1 --rw=randwrite --bs=4k --direct=0 --size=512M --numjobs=8 --runtime=240 --group_reporting | |
randwrite: (g=0): rw=randwrite, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=1 | |
... | |
fio-3.1 | |
Starting 8 processes | |
randwrite: Laying out IO file (1 file / 512MiB) | |
fio: native_fallocate call failed: Operation not supported | |
randwrite: Laying out IO file (1 file / 512MiB) | |
fio: native_fallocate call failed: Operation not supported | |
randwrite: Laying out IO file (1 file / 512MiB) |
This file contains 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
> Executing task: C:\Users\chris\.platformio\penv\Scripts\platformio.exe run --verbose < | |
Processing megaatmega2560 (platform: atmelavr; lib_ldf_mode: deep; board: megaatmega2560; framework: arduino) | |
----------------------------------------------------------------------------------------------------------------------------------- | |
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/megaatmega2560.html | |
PLATFORM: Atmel AVR > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560) | |
HARDWARE: ATMEGA2560 16MHz 8KB RAM (248KB Flash) | |
Library Dependency Finder -> http://bit.ly/configure-pio-ldf | |
LDF MODES: FINDER(deep) COMPATIBILITY(soft) | |
Collected 24 compatible libraries |
This file contains 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
> Executing task: C:\Users\chris\.platformio\penv\Scripts\platformio.exe run --verbose < | |
Processing megaatmega2560 (platform: atmelavr; lib_ldf_mode: deep+; board: megaatmega2560; framework: arduino) | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/megaatmega2560.html | |
PLATFORM: Atmel AVR > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560) | |
HARDWARE: ATMEGA2560 16MHz 8KB RAM (248KB Flash) | |
Library Dependency Finder -> http://bit.ly/configure-pio-ldf | |
LDF MODES: FINDER(deep+) COMPATIBILITY(soft) | |
Collected 24 compatible libraries |
This file contains 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
$ nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command | |
unpacking 'https://github.com/obsidiansystems/obelisk/archive/master.tar.gz'... | |
building '/nix/store/dlyn7wzl825ks2h0wpk19mg8qf0kkv8v-cabal2nix-obelisk-command.drv'... | |
installing | |
replacing old 'obelisk-command-0.1' | |
installing 'obelisk-command-0.1' | |
these derivations will be built: | |
/nix/store/lx03y7g388cg1zdfal3qvv3v7riz1ssi-optparse-applicative-0.14.0.0.drv | |
/nix/store/51pzlz7b2s9nh3afcwpmk2r341dymfr3-tasty-0.11.2.5.drv | |
/nix/store/d67ip5wfchmw2jdx81z48235aa2yhk2i-tasty-hunit-0.9.2.drv |
This file contains 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
$ ob run | |
warning: in configuration file '/etc/nix/nix.conf': unknown setting 'trusted-public-keys' | |
building '/nix/store/d5pnf3knrd73kvr1zz0ydm4k8rkpwcs0-source.drv'... | |
trying https://github.com/obsidiansystems/obelisk/archive/ffce7c5f17e164f64cdae15895b30cefebbd7095.tar.gz | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 165 0 165 0 0 632 0 --:--:-- --:--:-- --:--:-- 632 | |
100 130k 0 130k 0 0 216k 0 --:--:-- --:--:-- --:--:-- 216k | |
unpacking source archive /private/tmp/nix-build-source.drv-0/ffce7c5f17e164f64cdae15895b30cefebbd7095.tar.gz |
This file contains 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
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE TypeOperators #-} | |
{-# LANGUAGE GADTs #-} | |
module TestInline (modified, modified_field2, with_field2, get_field2, get_nolens) where | |
import Data.Vinyl | |
import Data.Functor.Identity | |
-- compile with | |
-- cabal build --ghc-option=-ddump-simpl --ghc-option=-dsuppress-all --ghc-option=-O2 | |
type Field1 = "Field1" ::: String |
This file contains 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
{-# LANGUAGE StandaloneDeriving, FlexibleInstances, FlexibleContexts, UndecidableInstances, DeriveFunctor, GADTs, DataKinds, KindSignatures, TypeFamilies, PolyKinds, RankNTypes, ConstraintKinds, MultiParamTypeClasses, TypeOperators, ScopedTypeVariables, RecursiveDo, OverlappingInstances #-} | |
module Main where | |
import Data.Functor.Identity | |
import Data.Functor.Compose | |
import Data.Functor.Constant | |
import Data.Functor.Product | |
import Control.Applicative | |
import Data.Vinyl |
This file contains 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
{-# LANGUAGE GeneralizedNewtypeDeriving, FlexibleInstances #-} | |
{-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies #-} | |
module SeerA (SeerA, runSeerA, see, send, contact) where | |
import Control.Applicative | |
import Control.Applicative.Trans | |
import Data.Functor.Constant | |
import Data.Functor.Product | |
import Data.Monoid (Monoid, mempty, (<>), Sum(..)) |
This file contains 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
#r @"Casemap.dll" // Generated from casemap.exe with tlbimp.exe | |
#r @"StdVCL.dll" | |
open System.Runtime.InteropServices | |
let getFieldRows (data : Casemap.IDataSet) (field : Casemap.IDataField2) = | |
let userLocation = data.BookmarkCreate() | |
data.MoveFirst () | |
[ yield field.Value | |
while data.MoveNext() do | |
yield field.Value |
This file contains 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
-- Initial buildtools-test.cabal generated by cabal init. For further | |
-- documentation, see http://haskell.org/cabal/users-guide/ | |
name: buildtools-test | |
version: 0.1.0.0 | |
-- synopsis: | |
-- description: | |
-- license: | |
license-file: LICENSE | |
author: Christian Conkle |
NewerOlder