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
#with import <nixpkgs> {}; | |
let | |
overlay = self: super: | |
{ | |
haskell = super.haskell // { | |
packages = super.haskell.packages // { | |
ghcjs = super.haskell.packages.ghcjs.extend (hself: hsuper: { | |
# Doctest fails to build with a strange error. | |
doctest = null; |
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
Configuring generics-sop-0.3.2.0... | |
CallStack (from HasCallStack): | |
die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:950:20 in Cabal-2.4.0.1:Distribution.Simple.Configure | |
configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:460:12 in Cabal-2.4.0.1:Distribution.Simple.Configure | |
configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:596:20 in Cabal-2.4.0.1:Distribution.Simple | |
confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-2.4.0.1:Distribution.Simple.UserHooks | |
configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:178:19 in Cabal-2.4.0.1:Distribution.Simple | |
defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:115:27 in Cabal-2.4.0.1:Distribution.Simple | |
defaultMain, called at Setup.hs:2:8 in main:Main | |
Setup: Encountered missing dependencies: |
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
let | |
overlay = self: super: | |
{ | |
haskell = super.haskell // { | |
packages = super.haskell.packages // { | |
ghcjs = super.haskell.packages.ghcjs.extend (hself: hsuper: { | |
# Doctest fails to build with a strange error. | |
doctest = null; | |
# These require doctest to run their tests. |
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
<no location info>: error: | |
ghcjs: panic! (the 'impossible' happened) | |
(GHC version 8.4.2.20180420 for x86_64-unknown-linux): | |
getClassPredTys | |
K1 i_ilY5 c_ilY6 a_ilY7 | |
Call stack: | |
CallStack (from HasCallStack): | |
callStackDoc, called at compiler/utils/Outputable.hs:1150:37 in ghc-api-ghcjs-8.4.0-9saUAIyLdpcrJpkUuwAkh:Outputable | |
pprPanic, called at compiler/types/Type.hs:1766:29 in ghc-api-ghcjs-8.4.0-9saUAIyLdpcrJpkUuwAkh:Type |
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
name: MatchRex | |
version: 0.1.0.0 | |
synopsis: A new game | |
category: Web | |
build-type: Simple | |
license: BSD3 | |
license-file: LICENSE | |
cabal-version: >=1.10 | |
executable app |
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
Order: FF Tachyon, Termination Bunker, "one hero may use a power now" (there are 25 of them) | |
Steady State: | |
FF Tachyon Start of Turn: | |
Tableau: [Pushing the Limits, HUD Goggles] | |
Hand: Quick Insight | |
Deck: [Quick Insight, Sucker Punch, Sucker Punch, Fleet of Foot, Nimble Strike, Nimble Strike, Fleet of Foot, Fleet of Foot, Lightspeed Barrage] | |
Trash: [...Everything...] | |
Pushing the Limits activates: Tachyon takes 2 damage | |
Play 1: | |
Quick Insight {Draw 3 cards. Discard 2 Cards}: |
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
~; sudo su | |
sh-3.2# nix search | |
sh-3.2# echo $NIX_PATH | |
sh-3.2# nix search | |
warning: using cached results; pass '-u' to update the cache | |
sh-3.2# nix-channel --list | |
nixpkgs https://nixos.org/channels/nixpkgs-unstable |
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
Can't locate WebService/MusicBrainz/Release.pm in @INC (you may need to install the WebService::MusicBrainz::Release module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.26.1/x86_64-linux /usr/local/lib64/perl5/5.26.1 /usr/lib64/perl5/vendor_perl/5.26.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.26.1 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.24.0 /usr/lib64/perl5/vendor_perl/5.22.1 /usr/lib64/perl5/vendor_perl/5.20.2 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.26.1/x86_64-linux /usr/lib64/perl5/5.26.1) at /usr/bin/abcde-musicbrainz-tool line 19. |
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
NAME STATE READ WRITE CKSUM | |
store DEGRADED 0 0 0 | |
raidz2-0 ONLINE 0 0 0 | |
da24 ONLINE 0 0 0 | |
da0 ONLINE 0 0 0 | |
da1 ONLINE 0 0 0 | |
da25 ONLINE 0 0 0 | |
da3 ONLINE 0 0 0 | |
da31 ONLINE 0 0 0 | |
da4 ONLINE 0 0 0 |
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
import random | |
def Q(xs): | |
return [gauss(x,1) for x in xs] | |
def next(F, x): | |
x_ = Q(x) | |
Fx_ = F(x_) | |
Fx = F(x) | |
if Fx_ > Fx: | |
return x_ |
NewerOlder