conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Move require to fix compile error\n" }, { "from": "human", "value": "(set-env!\n :source-paths #{\"src\"}\n :resource-paths #{\"resources\"}\n :dependencies '[[org.clojure/clojure \"1.7.0\"]\n [prismatic/schema \"0.4.3\"]])\n\n(require\n '[net.s...
clojure
chosen
[ { "from": "system", "value": "Add descriptions to database tests\n" }, { "from": "human", "value": "(ns comic-reader.database-test\n (:require [clojure.test :refer :all]\n [com.stuartsierra.component :as component]\n [comic-reader.database :as sut]\n [datomic.ap...
clojure
chosen
[ { "from": "system", "value": "Fix warning in cljs.tet reporter\n" }, { "from": "human", "value": "(ns flare.cljs-test\n (:require [flare.report :as report]\n [flare.diff :as diff]\n [cljs.test :as ct]))\n\n(defn render-diff [m]\n (try\n (let [[pred & values] (second (:...
clojure
chosen
[ { "from": "system", "value": "Change default HTTP_IP to 0.0.0.0\n\nThis allows us to connect to Qu from anywhere in development.\n" }, { "from": "human", "value": "(ns cfpb.qu.env\n (:require [clojure.string :as str]\n [clojure.java.io :as io]\n [environ.core :as environ])...
clojure
chosen
[ { "from": "system", "value": "Introduce serialization/serialize-attribute for use in init-model expansion.\n" }, { "from": "human", "value": "(ns clj-record.test.serialization-test\n (:require\n [clj-record.serialization :as serialization]\n [clj-record.callbacks :as callbacks]\n [clj-...
clojure
chosen
[ { "from": "system", "value": "Move upgrade manners to first release.\n" }, { "from": "human", "value": "(defproject incise \"0.1.0-SNAPSHOT\"\n :description \"A hopefully simplified static site generator in Clojure.\"\n :url \"https://github.com/RyanMcG/incise\"\n :license {:name \"Eclipse Pu...
clojure
chosen
[ { "from": "system", "value": "Set default clojure version to 1.7.0\n" }, { "from": "human", "value": "(defproject buddy/buddy-sign \"0.6.0\"\n :description \"High level message signing for Clojure\"\n :url \"https://github.com/funcool/buddy-sign\"\n :license {:name \"Apache 2.0\"\n ...
clojure
chosen
[ { "from": "system", "value": "Update dependency clj-http:clj-http to v3.12.1\n" }, { "from": "human", "value": "(defproject strava-activity-graphs \"0.1.0-SNAPSHOT\"\n :description \"Generate statistical charts for Strava activities\"\n :url \"https://github.com/nicokosi/strava-activity-graphs...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.10.0.0-beta8\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"MIT Licen...
clojure
chosen
[ { "from": "system", "value": "Exclude some of the stranger dependencies.\n" }, { "from": "human", "value": "(defproject soy-clj \"0.2.10-SNAPSHOT\"\n :description \"An idiomatic Clojure wrapper for Google's Closure templating system.\"\n :url \"https://github.com/codahale/soy-clj\"\n :license...
clojure
chosen
[ { "from": "system", "value": "Add test.check as dev dependency\n" }, { "from": "human", "value": "(defproject pinpointer \"0.1.0-SNAPSHOT\"\n :description \"Pinpointer makes it easy to grasp which part of data is causing the spec error\"\n :url \"https://github.com/athos/Pinpointer\"\n :licen...
clojure
chosen
[ { "from": "system", "value": "Reformat cljsbuild & fighwheel config and specify more\n" }, { "from": "human", "value": "(defproject tile-game \"1.0.0-SNAPSHOT\"\n :description \"A Tile Puzzle Game and Solver\"\n :min-lein-version \"2.0.0\"\n :main tile-game.core\n :dependencies [[org.clojure...
clojure
chosen
[ { "from": "system", "value": "Remove unused utility functions in editor\n" }, { "from": "human", "value": "(ns editor.helpers.utils\n (:require [om-tools.dom :as dom]))\n\n(defn model->json [model]\n (.stringify js/JSON (clj->js model) nil 2))\n\n(defn json->model [json]\n (let [obj (.parse j...
clojure
chosen
[ { "from": "system", "value": "Deploy to clojars by default.\n" }, { "from": "human", "value": "(defproject com.lemondronor/turboshrimp-h264j \"0.2.0\"\n :description (str \"An AR.Drone video deocder for the turboshrimp library \"\n \"that uses h264j.\")\n :url \"https://gith...
clojure
chosen
[ { "from": "system", "value": "Update and configure codox 0.9.0.\n" }, { "from": "human", "value": "(defproject simple \"0.1.0-SNAPSHOT\"\n :description \"A very simple CI server for individual projects.\"\n :url \"https://github.com/fhofherr/simple\"\n :license {:name \"MIT\"\n :ur...
clojure
chosen
[ { "from": "system", "value": "Prepare for next development iteration (0.2.0-SNAPSHOT)\n" }, { "from": "human", "value": "(defproject jungerer \"0.1.4\"\n :description \"Clojure network/graph library wrapping JUNG\"\n :url \"https://github.com/totakke/jungerer\"\n :license {:name \"The BSD 3-C...
clojure
chosen
[ { "from": "system", "value": "Update Codox plugin to 0.8.11\n" }, { "from": "human", "value": "(defproject ring \"1.4.0-beta1\"\n :description \"A Clojure web applications library.\"\n :url \"https://github.com/ring-clojure/ring\"\n :license {:name \"The MIT License\"\n :url \"http...
clojure
chosen
[ { "from": "system", "value": "Revert back to snapshot version.\n" }, { "from": "human", "value": "(defproject cli4clj \"1.2.5\"\n;(defproject cli4clj \"1.2.6-SNAPSHOT\"\n :description \"Create simple interactive CLIs for Clojure applications.\"\n :url \"https://github.com/ruedigergad/cli4clj\"...
clojure
chosen
[ { "from": "system", "value": "Bump version to v1.2.0 .\n" }, { "from": "human", "value": "(defproject mtrx9 \"1.1.0\"\n :description \"MTRX9 is a 3-dimensional simple monitoring tool using Clojure and Websockets. The live MTRX9 service is provided by mtrx9.com (http://www.mtrx9.com). If\nyou're...
clojure
chosen
[ { "from": "system", "value": "Update Clojure 1.7 profile to full release\n" }, { "from": "human", "value": "(defproject compojure \"1.3.4\"\n :description \"A concise routing library for Ring\"\n :url \"https://github.com/weavejester/compojure\"\n :license {:name \"Eclipse Public License\"\n ...
clojure
chosen
[ { "from": "system", "value": "Move deps around (for depending libs in dev mode).\n" }, { "from": "human", "value": "(defn get-prompt\n [ns]\n (str \"\\u001B[35m[\\u001B[34m\"\n ns\n \"\\u001B[35m]\\u001B[33m λ\\u001B[m=> \"))\n\n(defproject gov.nasa.earthdata/cmr-sample-data \"0.1....
clojure
chosen
[ { "from": "system", "value": "Update to snapshot version of io.aviso:pretty\n" }, { "from": "human", "value": "(defproject io.aviso/twixt \"0.1.10-SNAPSHOT\"\n :description \"An extensible asset pipeline for Clojure web applications\"\n :url \"https://github.com/AvisoNovate/twixt\"\n :license...
clojure
chosen
[ { "from": "system", "value": "Update lein eastwood plugin (0.1.4 -> 0.1.5)\n" }, { "from": "human", "value": "(defproject lein-jslint \"0.1.6-SNAPSHOT\"\n :description \"A Leiningen plugin for running JS code through JSLint.\"\n :url \"https://github.com/vbauer/lein-jslint\"\n :license {:name...
clojure
chosen
[ { "from": "system", "value": "Add private repo for grafter, and bump version to 0.1.0\n" }, { "from": "human", "value": "(defproject grafter \"0.1.0-SNAPSHOT\"\n :description \"RDFization tools\"\n :url \"http://example.com/FIXME\"\n :license {:name \"TODO\"\n :url \"http://example...
clojure
chosen
[ { "from": "system", "value": "Include the servlet API for deploys.\n" }, { "from": "human", "value": "(defproject shale \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"http://example.com/FIXME\"\n :dependencies [[org.clojure/clojure \"1.6.0\"]\n [ring \...
clojure
chosen
[ { "from": "system", "value": "Add h2 and postgresql dependencies.\n" }, { "from": "human", "value": "(defproject funcool/continuo \"0.1.0-SNAPSHOT\"\n :description \"A continuous transaction log persistence for Clojure.\"\n :url \"https://github.com/funcool/continuo\"\n :license {:name \"Apac...
clojure
chosen
[ { "from": "system", "value": "Use Flense snapshots during development\n" }, { "from": "human", "value": "(defproject mkremins/flense-nw \"0.0-SNAPSHOT\"\n :dependencies\n [[org.clojure/clojure \"1.6.0\"]\n [org.clojure/clojurescript \"0.0-2322\"]\n [org.clojure/core.async \"0.1.338.0-5c501...
clojure
chosen
[ { "from": "system", "value": "Update compojure from 1.3.2 to 1.3.3.\n" }, { "from": "human", "value": "(defproject statuses \"1.0.0-SNAPSHOT\"\n :description \"Statuses app for innoQ\"\n :url \"https://github.com/innoq/statuses\"\n :license {:name \"Apache License, Version 2.0\"\n ...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.12.0.0-alpha4\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"MIT Lice...
clojure
chosen
[ { "from": "system", "value": "Update version number to 0.1.2-SNAPSHOT\n" }, { "from": "human", "value": "(defproject puppetlabs/kitchensink \"0.1.1\"\n :description \"Clojure utility functions\"\n :license {:name \"Apache License, Version 2.0\"\n :url \"http://www.apache.org/license...
clojure
chosen
[ { "from": "system", "value": "Switch back to snapshot version.\n" }, { "from": "human", "value": "(defproject clj-record \"1.1.0\"\n :description \"A pseudo-port of ActiveRecord to the Clojure programming language\"\n :url \"http://github.com/duelinmarkers/clj-record\"\n :dependencies [[org.c...
clojure
chosen
[ { "from": "system", "value": "Switch to Clojure version 1.6.0-RC1.\n" }, { "from": "human", "value": "(defproject viewer \"0.1.0-SNAPSHOT\"\n :description \"EVE Online Data Dump Viewer\"\n :url \"http://example.com/FIXME\"\n :license {:name \"Eclipse Public License\"\n :url \"http:...
clojure
chosen
[ { "from": "system", "value": "Update Clout dependency for Instaparse 1.4.0\n" }, { "from": "human", "value": "(defproject compojure \"1.3.3\"\n :description \"A concise routing library for Ring\"\n :url \"https://github.com/weavejester/compojure\"\n :license {:name \"Eclipse Public License\"\...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.11.0.0\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"MIT License\"\n...
clojure
chosen
[ { "from": "system", "value": "Update dependency org.clojure:data.json to v2\n" }, { "from": "human", "value": "(defproject strava-activity-graphs \"0.1.0-SNAPSHOT\"\n :description \"Generate statistical charts for Strava activities\"\n :url \"https://github.com/nicokosi/strava-activity-graphs\...
clojure
chosen
[ { "from": "system", "value": "Update Clojure dependency to 1.6.0\n" }, { "from": "human", "value": "(defproject sqls \"0.1.0-SNAPSHOT\"\n :description \"SQLS\"\n :url \"https://bitbucket.org/mpietrzak/sqls\"\n :license {:name \"Eclipse Public License\"\n :url \"http://www.eclipse.o...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.12.7.0\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"MIT License\"\n...
clojure
chosen
[ { "from": "system", "value": "Update dependency org.onyxplatform/onyx to version 0.11.0-alpha4.\n\nAutomatic commit by lein-unison.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-peer-http-query \"0.11.0.0-SNAPSHOT\"\n :description \"An Onyx health and query HTTP server\"\...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-datomic \"0.7.3-beta7\"\n :description \"Onyx plugin for Datomic\"\n :url \"https://github.com/MichaelDrogalis/onyx-datomic\"\n :license {:name \"Eclipse Public L...
clojure
chosen
[ { "from": "system", "value": "Update dependency org.clojure:data.json to v1\n" }, { "from": "human", "value": "(defproject strava-activity-graphs \"0.1.0-SNAPSHOT\"\n :description \"Generate statistical charts for Strava activities\"\n :url \"https://github.com/nicokosi/strava-activity-graphs\...
clojure
chosen
[ { "from": "system", "value": "Rename oph repositories to default names\n" }, { "from": "human", "value": "(defproject oph/clj-parent \"0.1.0\"\n :url \"http://example.com/FIXME\"\n :license {:name \"EUPL\"\n :url \"http://www.osor.eu/eupl/\"}\n :plugins [[lein-modules \"0.3.11\"]]...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-metrics \"0.8.0.1\"\n :description \"Instrument Onyx workflows\"\n :url \"https://github.com/MichaelDrogalis/onyx\"\n :license {:name \"Eclipse Public License\"\n...
clojure
chosen
[ { "from": "system", "value": "Put links to source in the generated docs.\n" }, { "from": "human", "value": "(defproject org.flatland/useful \"0.11.1\"\n :description \"A collection of generally-useful Clojure utility functions\"\n :license {:name \"Eclipse Public License - v 1.0\"\n ...
clojure
chosen
[ { "from": "system", "value": "Update plugins and remove unused ones\n" }, { "from": "human", "value": "{:user\n {:plugins\n [[lein-midje \"3.1.3\"]\n [com.palletops/pallet-lein \"0.6.0-beta.9\"]\n [lein-marginalia \"0.7.1\"]\n [lein-difftest \"2.0.0\"]\n [cider/cider-nrepl \"...
clojure
chosen
[ { "from": "system", "value": "Add support for yet another mysql adapter. Fixes a problem with soundcloud\n" }, { "from": "human", "value": "(ns circle.backend.build.inference.gems-map)\n\n(def gem-package-map\n ;; this is a map of rubygems to the ubuntu packages necessary for this gem to instal...
clojure
chosen
[ { "from": "system", "value": "Add rsp type that properly implements catacumba protocols.\n\nThis is a compatibility layer for future support of\ncontent negotiation on catacumba.\n" }, { "from": "human", "value": ";; This Source Code Form is subject to the terms of the Mozilla Public\n;; License...
clojure
chosen
[ { "from": "system", "value": "Add dedupe on state persistence stream.\n" }, { "from": "human", "value": "(ns uxbox.core\n (:require [beicon.core :as rx]\n [cats.labs.lens :as l]\n [uxbox.state :as st]\n [uxbox.router :as rt]\n [uxbox.rstore :as rs]\n ...
clojure
chosen
[ { "from": "system", "value": "Change format of infrastructure data, update if already registered.\n" }, { "from": "human", "value": "(ns pz-discover.util\n (:require [clojure.tools.logging :as log]\n [zookeeper :as zk]\n [pz-discover.models.services :as sm]))\n\n(defn setu...
clojure
chosen
[ { "from": "system", "value": "Remove references to old widget\n" }, { "from": "human", "value": "(ns frontend.intercom\n (:require [frontend.utils :as utils :include-macros true]))\n\n(defn intercom-jquery []\n (aget js/window \"intercomJQuery\"))\n\n(defn intercom-v1-new-message [jq message]\...
clojure
chosen
[ { "from": "system", "value": "Add quickie test runner to plugins.\n" }, { "from": "human", "value": "{:user {:dependencies [[clj-stacktrace \"0.2.5\"]\n [org.clojure/tools.trace \"0.7.6\"]\n [org.clojure/tools.namespace \"0.2.4\"]\n ...
clojure
chosen
[ { "from": "system", "value": "Move JVM debug only to dev profile\n" }, { "from": "human", "value": "(defproject domain \"0.1.0-SNAPSHOT\"\n :description \"CV + RTB\"\n :url \"http://example.com/OMGLOL\"\n :license {:name \"Eclipse Public License\"\n :url \"http://www.eclipse.org/le...
clojure
chosen
[ { "from": "system", "value": "Add a timeout when loading markers.\n\nIt works fine with chromium, but there is still something wrong\nwith recent version of Firefox.\n" }, { "from": "human", "value": "(ns wlmmap.map\n (:require [mrhyde.extend-js]\n [blade :refer [L]]\n [cl...
clojure
chosen
[ { "from": "system", "value": "Fix inconsistent textarea font-size on Firefox\n" }, { "from": "human", "value": "(ns braid.ui.styles.body)\n\n(def body\n [:body\n {:margin 0\n :padding 0\n :font-family \"\\\"Open Sans\\\", Helvetica, Arial, sans-serif\"\n :font-size \"12px\"\n :bac...
clojure
chosen
[ { "from": "system", "value": "Update sample project for changes in neko\n\nThe do-ui macro was moved to the neko.threading namespace and renamed to\non-ui.\n" }, { "from": "human", "value": "(ns test.leindroid.sample.main\n (:use [neko.activity :only [defactivity do-ui set-content-view!]]\n ...
clojure
chosen
[ { "from": "system", "value": "Add concise system record class.\n" }, { "from": "human", "value": "(ns pfrt.core)\n\n(defprotocol Lifecycle\n (init [_ system] \"Initialize method\")\n (start [_ system] \"Start service\")\n (stop [_ system] \"Stop service\"))\n\n" }, { "from": "gpt", ...
clojure
chosen
[ { "from": "system", "value": "Use cover image in serials list\n" }, { "from": "human", "value": "(ns teach-by-friends.shared.components.row\n (:require [teach-by-friends.shared.ui :as ui]\n [clojure.string :refer [capitalize]]))\n\n(defn row [data press-handler]\n (let [data-to-clj ...
clojure
chosen
[ { "from": "system", "value": "Add core.matrix and vectorz-clj, and switch to boot-alt-test.\n" }, { "from": "human", "value": "; vi: ft=clojure\n\n(set-env!\n :source-paths #{\"src\", \"test\"}\n :resource-paths #{\"resources\"}\n :dependencies '[[org.clojure/clojure \"1.8.0\"]\n ...
clojure
chosen
[ { "from": "system", "value": "Update namespace name in :require.\n" }, { "from": "human", "value": "(ns kixi.hecuba.weather\n (:require [kixi.hecuba.weather.metofficeapi :as ma]))\n\n\n" }, { "from": "gpt", "value": "(ns kixi.hecuba.weather\n (:require [kixi.hecuba.weather.metoffic...
clojure
chosen
[ { "from": "system", "value": "Add configuration for scope-capture for Clojure\n" }, { "from": "human", "value": ";; https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md\n{:user {:plugins [[lein-pprint \"1.3.2\"\n lein-ancient \"0.7.0\"\n l...
clojure
chosen
[ { "from": "system", "value": "Make it clear that handler receives atom instead of value\n" }, { "from": "human", "value": "(ns ashiba.controller\n (:require [cljs.core.async :refer [put!]]))\n\n(defprotocol IController\n (params [this route])\n (start [this params db])\n (stop [this params d...
clojure
chosen
[ { "from": "system", "value": "Fix leiningen boilerplate test failure\n" }, { "from": "human", "value": "(ns enduro-session.core-test\n (:require [clojure.test :refer :all]\n [enduro-session.core :refer :all]))\n\n(deftest a-test\n (testing \"FIXME, I fail.\"\n (is (= 0 1))))\n" ...
clojure
chosen
[ { "from": "system", "value": "Update open to be backwards compatible for urls\n\nA number of plugins rely on platform/open to open urls -\nhttps://github.com/search?p=3&q=objs.platform+open+language%3Aclojure&ref=searchresults&type=Code&utf8=%E2%9C%93.\nAlso couldn't use files in platform for exists check s...
clojure
chosen
[ { "from": "system", "value": "Test for coll? on input values\n" }, { "from": "human", "value": "\n{\n :name \"mailp2\",\n :path \"\",\n :func (fn [recipient subject intro result-maps]\n (cond\n (pg/eoi? result-maps) (pg/done)\n\n (every? map? result-maps)\n ...
clojure
chosen
[ { "from": "system", "value": "Switch back to using Derby in tests.\n" }, { "from": "human", "value": "(ns clj-record.test.model.config)\n\n(comment\n(def db {:classname \"org.apache.derby.jdbc.EmbeddedDriver\"\n :subprotocol \"derby\"\n :subname \"/tmp/clj-record.test.db\"\n ...
clojure
chosen
[ { "from": "system", "value": "Enable honeysql handlers in web API.\n" }, { "from": "human", "value": "(ns cavm.query.expression\n (:require [clojure.edn :as edn])\n (:refer-clojure :exclude [eval]))\n\n(def eval)\n\n(defn lambdafn [node scope]\n (let [[_ argnames body] node]\n (fn [& args...
clojure
chosen
[ { "from": "system", "value": "Sort of getting somewhere on Clojure part 3\n" }, { "from": "human", "value": "(def orig (first *command-line-args*))\n\n(def input (seq (char-array (first *command-line-args*))))\n\n(defn palindrome? [s] (= s (reverse s)))\n\n(def occurrences-map (frequencies input...
clojure
chosen
[ { "from": "system", "value": "Test for unmount, init and destroy\n" }, { "from": "human", "value": "(ns immutant.web-test\n (:require [clojure.test :refer :all]\n [immutant.web :refer :all]\n [testing.web :refer [get-body hello handler]]\n [testing.hello.servic...
clojure
chosen
[ { "from": "system", "value": "Upgrade Noir to use the Hiccup middleware to properly deal with a context path.\n\nStyle still messed up due to static path in css from jar, however.\n" }, { "from": "human", "value": "(defproject noir-app \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write ...
clojure
chosen
[ { "from": "system", "value": "Add support for :get-tests metadata on Vars\n" }, { "from": "human", "value": "(ns lazytest.testable)\n\n(defprotocol Testable\n (get-tests [this]\n\"Returns a seq of RunnableTest objects. Processes the :focus metadata flag.\n Default implementation recurses on all...
clojure
chosen
[ { "from": "system", "value": "Use exception instead of string\n" }, { "from": "human", "value": "(ns tenor.entities)\n\n(defrecord Note [note-value pitch-letter octave])\n\n(defn make-note [notation]\n (let [notation-re #\"^(1|2|4|8|16)([A-G])([#b]?)([1-9])$\"\n components (re-matches no...
clojure
chosen
[ { "from": "system", "value": "Use -> to simply main function...again\n" }, { "from": "human", "value": "(ns whitman.core\n (:require [whitman.config :as config])\n (:gen-class))\n\n(defn exit [code msg]\n (binding [*out* *err*]\n (do (println msg)\n (System/exit code))))\n\n(defn -m...
clojure
chosen
[ { "from": "system", "value": "Add partial testing to the hazelcast mesh\n" }, { "from": "human", "value": "(ns puppetlabs.cthun.meshing.hazelcast-test\n (require [clojure.test :refer :all]\n [puppetlabs.cthun.meshing.hazelcast :refer :all]))\n" }, { "from": "gpt", "value":...
clojure
chosen
[ { "from": "system", "value": "Drop ritz and upgrade eastwood\n" }, { "from": "human", "value": "{:user\n {:plugins [[lein-vanity \"0.2.0\"]\n [jonase/eastwood \"0.0.2\"]\n [cider/cider-nrepl \"0.7.0-SNAPSHOT\"]\n ;[lein-ritz \"0.7.0\"]\n [com.palletops...
clojure
chosen
[ { "from": "system", "value": "Rename reader variable to reader\n" }, { "from": "human", "value": "(ns hu.ssh.github-changelog.dependencies.bundler\n (:require\n [clojure.string :refer [split-lines]]\n [clojure.java.io :refer [reader]]))\n\n(defn- get-specs [reader]\n (->> (doall (line-se...
clojure
chosen
[ { "from": "system", "value": "Use requires to include views for uberjar\n" }, { "from": "human", "value": "(ns engulf.core\n (:gen-class)\n (:require [engulf.benchmark :as benchmark]\n [noir.server :as nr-server])\n (:use aleph.http\n noir.core\n lamina.core))\n\n(def...
clojure
chosen
[ { "from": "system", "value": "Load schema.core early, to ensure that class EnumSchema exists\n" }, { "from": "human", "value": "(ns user\n (:use\n clojure.repl\n io.aviso.repl\n speclj.config))\n\n(install-pretty-exceptions)\n\n(alter-var-root #'default-config assoc :color true :report...
clojure
chosen
[ { "from": "system", "value": "Call handler with one worker\n" }, { "from": "human", "value": "(ns cljs-workers.core\n (:require [cljs.core.async :refer [chan]])\n (:require-macros [cljs.core.async.macros :refer [go]]))\n\n(defn supported?\n []\n (-> js/Worker\n undefined?\n not))\n...
clojure
chosen
[ { "from": "system", "value": "Sort the documents oldest to newest when queried\n" }, { "from": "human", "value": "(ns timetracker.models\n (:require [monger.core :as mg]\n [monger.collection :as mc]\n [monger.operators :refer :all])\n (:import [org.bson.types ObjectId]\n ...
clojure
chosen
[ { "from": "system", "value": "Update to field to be sequence rather than comma delimitted.\n" }, { "from": "human", "value": "(ns open-company.lib.email\n (:require [amazonica.aws.sqs :as sqs]\n [taoensso.timbre :as timbre]\n [schema.core :as schema]\n [open-com...
clojure
chosen
[ { "from": "system", "value": "Change response content type to application/json\n" }, { "from": "human", "value": "(ns obb-rules-api.reply\n (:require [compojure.handler :as handler]\n [clojure.data.json :as json]\n [obb-rules.result :as result]\n [obb-rules-api....
clojure
chosen
[ { "from": "system", "value": "Remove the cosine-2 test series and replace with a sawtooth series for identiying sign issues.\n" }, { "from": "human", "value": "(def start-t (System/currentTimeMillis))\n\n(defsensor sine {:poll-interval (seconds 10)}\n (Math/sin (/ (- (System/currentTimeMillis) ...
clojure
chosen
[ { "from": "system", "value": "Add name attribute to metadata categories\n" }, { "from": "human", "value": "(ns cglossa.models.core\n (:require [datomic.api :as d]\n [datomic-schema.schema :refer [part schema fields]]))\n\n(def db-uri \"datomic:free://localhost:4334/glossa\")\n\n(defn...
clojure
chosen
[ { "from": "system", "value": "Add lein-ancient plugin and set \"provided\" scope for clojure.\n" }, { "from": "human", "value": "(defproject buddy/buddy-hashers \"0.4.2\"\n :description \"A collection of secure password hashers for Clojure\"\n :url \"https://github.com/funcool/buddy-hashers\"\...
clojure
chosen
[ { "from": "system", "value": "Fix api port number after removing mobile server\n\n" }, { "from": "human", "value": "(ns braid.base.conf\n (:require\n [braid.base.conf-extra :refer [ports-config]]\n [braid.core.hooks :as hooks]\n [mount.core :as mount :refer [defstate]]))\n\n(defonce confi...
clojure
chosen
[ { "from": "system", "value": "Use the 0.1.0 release of boot-junit\n" }, { "from": "human", "value": "(set-env!\n :source-paths #{\"src/main/java\" \"src/test/java\"}\n :dependencies '[[radicalzephyr/boot-junit \"0.1.0-SNAPSHOT\" :scope \"test\"]])\n\n(def +version+ \"0.1.0\")\n\n(require '[radic...
clojure
chosen
[ { "from": "system", "value": "Remove controller ns from namespace list\n" }, { "from": "human", "value": "(set-env!\n :source-paths #{\"src\" \"src-java\"}\n :resource-paths #{\"resources\"}\n :dependencies '[[org.clojure/test.check \"0.9.0\" :scope \"test\"]\n ; project deps...
clojure
chosen
[ { "from": "system", "value": "Add a packages set parameter to the task\n\nI'm going to follow the lead of adzerk's clojure.test runner and require\nthe user to specify where to run tests from. The nice thing here is that\nthey can just specify their base package and then we'll do reflection to\nfind all of ...
clojure
chosen
[ { "from": "system", "value": "Remove test scoping on dependencies\n\nThey're not actually test scope on the boot task since that should\nboot-junit should itself be test scoped.\n" }, { "from": "human", "value": "(set-env!\n :source-paths #{\"src\"}\n :resource-paths #{\"src\"}\n :dependencies '...
clojure
chosen
[ { "from": "system", "value": "Add another implementation to Exercise 3.50\n" }, { "from": "human", "value": "(ns sicp.chapter3.5-1)\n\n;;;; 3.5 Streams\n\n;;; 3.5.1 Streams Are Delayed Lists\n\n;; Exercise 3.50\n(defn stream-map [proc & argstreams]\n (lazy-seq\n (if (empty? (first argstream...
clojure
chosen
[ { "from": "system", "value": "Use getFullPathIndex to list wejars assets\n\nlistAssets calls getFullPathIndex and filters the values. Calling\ngetFullPathIndex directly avoids filtering.\n" }, { "from": "human", "value": "(ns less4clj.webjars\n (:import [java.io File]\n [org.webjars W...
clojure
chosen
[ { "from": "system", "value": "Read writer type from arguments\n" }, { "from": "human", "value": "(ns whitman.core\n (:require [whitman.config :as config]\n [whitman.crawler :as crawler]\n [whitman.db :as db]\n [whitman.writer :as writer])\n (:gen-class))\n\n(de...
clojure
chosen
[ { "from": "system", "value": "Add buddy-sign and buddy-hashers dependencies.\n" }, { "from": "human", "value": "(defproject uxbox-backend \"0.1.0-SNAPSHOT\"\n :description \"UXBox backend + api\"\n :url \"http://uxbox.github.io\"\n :license {:name \"\" :url \"\"}\n :source-paths [\"src\"]\n ...
clojure
chosen
[ { "from": "system", "value": "Remove duplication of listing files\n" }, { "from": "human", "value": "(ns silly-image-store.store\n (:require [clojure.java.io :as io]))\n\n(def exists? #(and % (.exists %)))\n(def file? #(.isFile %))\n(def filename #(.getName %))\n\n(defn load-image [& paths]\n ...
clojure
chosen
[ { "from": "system", "value": "Make default port work in quotes app\n" }, { "from": "human", "value": "(ns quotes.routes\n (:gen-class)\n (:use [quotes.api :only [api-routes]])\n (:require [compojure.core :refer :all]\n [compojure.route :as route]\n [common-utils.core :as...
clojure
chosen
[ { "from": "system", "value": "Make test names match assertions\n\nFirst it looked like each test name was backwards. Giving the function \"C\" and transcribing to \"G\" was named `transcribes-guanine-to-cytosine` rather than `transcribes-cytosine-to-guanine`.\r\n\r\nSecond, the assertion for \"T\" -> \"A\" ...
clojure
chosen
[ { "from": "system", "value": "Fix these tests to actually test\n" }, { "from": "human", "value": "(ns clojars.test.unit.middleware\n (:require [clojars.middleware :as middleware]\n [clojure.test :refer :all]))\n\n(def trailing-slash (middleware/wrap-ignore-trailing-slash (fn [x] (get...
clojure
chosen
[ { "from": "system", "value": "Use rum/react to access atom\n\nThis wasn't working for me, the view wasn't updating when the atom changed, until I derefed the atom using `rum/react`. I believe this is the way to do [Reactive Components](https://github.com/tonsky/rum#reactive-components) in Rum?" }, { ...
clojure
chosen
[ { "from": "system", "value": "Improve render function for builtin icons.\n" }, { "from": "human", "value": "(ns uxbox.shapes\n (:require [sablono.core :refer-macros [html]]))\n\n(defmulti render\n (fn [shape & params]\n (:type shape)))\n\n(defmethod render :builtin/icon\n [shape & [{:keys ...
clojure
chosen
[ { "from": "system", "value": "Add deps required for PDF support" }, { "from": "human", "value": "(defproject processing-core/processing.core \"0.1.0-SNAPSHOT\"\n :description \"A wrapper for Processing in Clojure.\"\n :dependencies [[org.clojure/clojure \"1.3.0\"]\n [org.clojar...
clojure
chosen
[ { "from": "system", "value": "Update dependency lein-cljfmt:lein-cljfmt to v0.7.0\n" }, { "from": "human", "value": "(defproject strava-activity-graphs \"0.1.0-SNAPSHOT\"\n :description \"Generate statistical charts for Strava activities\"\n :url \"https://github.com/nicokosi/strava-activity-g...
clojure
chosen