I hereby claim:
- I am rehno-lindeque on github.
- I am rehno (https://keybase.io/rehno) on keybase.
- I have a public key ASC43w0YSIlWS1zqbAVodwZF-SohWmPkl9-iws4w2Nx43go
To claim this, I am signing this object:
let | |
makeDeferredBuildService = package: | |
let | |
drvPath = builtins.unsafeDiscardOutputDependency package.drvPath; | |
outPath = builtins.unsafeDiscardStringContext package.outPath; | |
drvName = package.name; | |
gcrootDir = "/nix/var/nix/gcroots/deferred-builds"; | |
deferredBuildScript = | |
with pkgs; |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# reload-browser - A cross-platform wrapper for reloading the current | |
# browser tab | |
# Eric Radman, 2014 | |
# http://entrproject.org/ | |
# The original script is at http://entrproject.org/scripts/reload-browser | |
usage() { | |
case `uname` in |
ifdef VERBOSE | |
Q = | |
E = @true | |
else | |
Q = @ | |
E = @echo | |
endif | |
CFILES := $(shell find src -mindepth 1 -maxdepth 4 -name "*.c") | |
CXXFILES := $(shell find src -mindepth 1 -maxdepth 4 -name "*.cpp") |
(TLDR; This is a super naive list, just a few quick thoughts)
I was thinking that perhaps having some kind of % coverage for things that people will need in practice in order to use Elm for rapidly creating nice GUIs. However, I also think there needs to be some kind of (mental, at a minimum) framework for people to work inside so that new controls are easily extensible, styling agnostic, work uniformly with other form controls + validation etc before it can really become mainstream. I'll start adding some thoughts here over time (not much time now) - however, this doesn't cover the second point and I think people still need to get into that before things can really progress very far.
__/__/__
, __:__:__
formatting)module Bootstrap.StandardForm where | |
import Signal exposing (Address) | |
import Html exposing (Html, text) | |
import Html.Shorthand exposing (..) | |
import Bootstrap.Html exposing (..) | |
import List | |
import Maybe | |
saveButton : BtnParam |
This is pretty out of date now... you may want to look elsewhere
Newer guides than mine (mine is a bit dated and has a lot of rough edges):
Have you looked at these?
Lately I've been annoyed that Haskell has tuples with more than 2 elements. It seems to me like a great deal of boilerplate in Haskell comes from writing code like Data.Profunctor.Product. One can find many, many more examples like this in Haskell libraries.
That is to say, suppose you could define types like this:
type alias A = (x,(x,x))
// Not mine, politely stolen from http://pastebin.com/cwY9jz7T | |
// screen-capture-ubuntu.c | |
// gcc screen-capture-ubuntu.c -o screen-capture-ubuntu `pkg-config --libs --cflags gtk+-2.0` | |
// http://www.bravegnu.org/gtktext/x498.html | |
// http://www.cs.dartmouth.edu/~campbell/cs50/project/gtk.html | |
// http://stackoverflow.com/questions/3124229/taking-a-screenshot-with-c-gtk | |
// http://stackoverflow.com/questions/11963561/screen-capture-in-haskell?lq=1 | |
// http://askubuntu.com/questions/5847/how-to-resolve-gdk-pixbuf-gdk-pixbuf-h-no-such-file-or-directory | |
// https://developer.gnome.org/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html |
:set -i.:config:dist/build/autogen | |
:set -XCPP -XTemplateHaskell -XQuasiQuotes -XTypeFamilies -XFlexibleContexts -XGADTs -XOverloadedStrings -XMultiParamTypeClasses -XGeneralizedNewtypeDeriving -XEmptyDataDecls -XDeriveDataTypeable | |
import Prelude | |
import Control.Applicative | |
import Data.Char | |
import Data.List | |
import qualified Data.Text as T | |
import Data.Text (Text) |