conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Use yada's new stop method\n\nThanks to @markmelling for pointing it out to me.\nFixes #6\n" }, { "from": "human", "value": ";; Copyright © 2016, JUXT LTD.\n\n(ns edge.server\n (:require\n [aleph.http :as http]\n [bidi.vhosts :refer [make-handler vhosts-model]]...
clojure
chosen
[ { "from": "system", "value": "Implement break function for newline/paragraph breaks\n" }, { "from": "human", "value": "(ns merkki.core)\n\n(defn header\n \"Given a number and a string, tags the string as that header level and adds a new line\"\n [n s]\n (str (reduce str (take n (repeat \"#\")...
clojure
chosen
[ { "from": "system", "value": "Revert \"(SERVER-262) Remove JARS_NO_REQUIRE failing test\"\n\nThis reverts commit 15acf46176e3b0f1f5ff11579633668542e20c15.\n" }, { "from": "human", "value": "(ns puppetlabs.puppetserver.cli.gem-test\n (:require [clojure.test :refer :all]\n [puppetlabs....
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-datomic \"0.8.1.0-alpha4\"\n :description \"Onyx plugin for Datomic\"\n :url \"https://github.com/MichaelDrogalis/onyx-datomic\"\n :license {:name \"Eclipse Publi...
clojure
chosen
[ { "from": "system", "value": "Update to latest tesla microservice version" }, { "from": "human", "value": "(defproject de.otto/tesla-httpkit \"0.1.5\"\n :description \"httpkit addon for tesla-microservice.\"\n :url \"https://github.com/otto-de/tesla-httpkit\"\n :...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.11.0.0-alpha1\"\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 dependency org.onyxplatform/onyx to version 0.7.3-20150828_160954-g51b5cf8.\n\nAutomatic commit by lein-traffic-control.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-sql \"0.7.3-SNAPSHOT\"\n :description \"Onyx plugin for JDBC-backed ...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.12.2.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": "Fix status on search request\n" }, { "from": "human", "value": "(ns subman.routes\n (:use [compojure.core :only [defroutes GET]])\n (:require [compojure.route :as route]\n [subman.models :as models]\n [subman.api :as api]\n [subman...
clojure
chosen
[ { "from": "system", "value": "Add task to automatically recompile source.\n\nAdd task to automatically recompile ClojureScript source code.\n" }, { "from": "human", "value": ";; create the main project namespace\n(ns modern-cljs.core)\n\n;; enable cljs to print to the JavaScript console of the b...
clojure
chosen
[ { "from": "system", "value": "Update Codox plugin to 0.8.13\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 :u...
clojure
chosen
[ { "from": "system", "value": "Use the correct 1.4 beta version\n" }, { "from": "human", "value": "(defproject clj-http \"0.3.3-SNAPSHOT\"\n :description \"A Clojure HTTP library wrapping the Apache HttpComponents client.\"\n :url \"https://github.com/dakrone/clj-http/\"\n :repositories {\"son...
clojure
chosen
[ { "from": "system", "value": "Use a more reasonable refresh delay.\n" }, { "from": "human", "value": "(ns shale.periodic\n (:require [shale.sessions :as sessions])\n (:use overtone.at-at))\n\n(def thread-pool (mk-pool))\n\n(defn schedule! []\n (every 10 #(sessions/refresh-sessions nil) thread...
clojure
chosen
[ { "from": "system", "value": "Simplify generate-name function for robot-name\n\nThis commit updates the generate-name function in robot-name to use\nclojure's rand-int function instead of java interop. It also updates the\nrand-int call to include all of the range 0-999 and refactors the string\nassembly so...
clojure
chosen
[ { "from": "system", "value": "Update to latest tools.reader for TRDR-33 (syntax-quote)\n" }, { "from": "human", "value": "(defproject planck \"0.1.0\"\n :dependencies [[org.clojure/clojure \"1.7.0\"]\n [org.clojure/clojurescript \"1.7.189\"]\n [tailrecursion/cljs...
clojure
chosen
[ { "from": "system", "value": "Allow read-eval for Java interop.\n" }, { "from": "human", "value": ";;;\n;;; Copyright 2017, Ruediger Gad\n;;;\n;;; This software is released under the terms of the Eclipse Public License \n;;; (EPL) 1.0. You can find a copy of the EPL at: \n;;; http://open...
clojure
chosen
[ { "from": "system", "value": "Move clj-containment-matchers to dev dependency and take latest version of it into use\n" }, { "from": "human", "value": "(defproject clj-gatling \"0.4.2\"\n :description \"\"\n :url \"http://github.com/mhjort/clj-gatling\"\n :license {:name \"Eclipse Public Lice...
clojure
chosen
[ { "from": "system", "value": "Update clojurescript compiler version to 1.7.145\n" }, { "from": "human", "value": "(defproject funcool/beicon \"0.1.0-SNAPSHOT\"\n :description \"A rxjs idiomatic wrapper for ClojureScript\"\n :url \"https://github.com/funcool/beicon\"\n :license {:name \"Public...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.12.0.0-alpha1\"\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": "Fix missing Histograms.json subscriber bug.\n" }, { "from": "human", "value": "(ns clj.medusa.alert\n (:require [amazonica.aws.simpleemail :as ses]\n [amazonica.core :as aws]\n [clojure.string :as string]\n [clj.medusa.config :as co...
clojure
chosen
[ { "from": "system", "value": "Remove unused lib dir from source-paths\n" }, { "from": "human", "value": "(defproject iss \"0.1.0-SNAPSHOT\"\n :description \"Write inline styles; ship optimized CSS stylesheets.\"\n :dependencies [[org.clojure/clojure \"1.8.0\"]\n [org.clojure/cl...
clojure
chosen
[ { "from": "system", "value": "Revert back to snapshot version.\n" }, { "from": "human", "value": "(defproject cli4clj \"1.6.3\"\n;(defproject cli4clj \"1.6.4-SNAPSHOT\"\n :description \"Create simple interactive CLIs for Clojure applications.\"\n :url \"https://github.com/ruedigergad/cli4clj\"...
clojure
chosen
[ { "from": "system", "value": "Upgrade clojurescript and beicon dependencies\n" }, { "from": "human", "value": "(defproject funcool/potok \"2.1.0\"\n :description \"Reactive streams based state management toolkit for ClojureScript\"\n :url \"https://github.com/funcool/potok\"\n :license {:name...
clojure
chosen
[ { "from": "system", "value": "Prepare for next development iteration\n" }, { "from": "human", "value": "(defproject measure \"0.1.2\"\n :description \"Say things about your application with authority, using Coda Hale's Metrics.\"\n :url \"https://github.com/KeepSafe/measure\"\n :scm {:name \"...
clojure
chosen
[ { "from": "system", "value": ":bug: Fix broken reference to icon.\n" }, { "from": "human", "value": ";; This Source Code Form is subject to the terms of the Mozilla Public\n;; License, v. 2.0. If a copy of the MPL was not distributed with this\n;; file, You can obtain one at http://mozilla.org/M...
clojure
chosen
[ { "from": "system", "value": "Use webol 0.1.3: includes FOR/NEXT loops and SAVE/LOAD.\n" }, { "from": "human", "value": ";;; Copyright (c) 2013 David Goldfarb. All rights reserved.\n;;; Contact info: deg@degel.com\n;;;\n;;; The use and distribution terms for this software are covered by the Ecli...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.9.10.0-beta6\"\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": "Revert back to snapshot version.\n" }, { "from": "human", "value": "(defproject cli4clj \"0.1.0\"\n;(defproject cli4clj \"0.1.0-SNAPSHOT\"\n :description \"Create simple interactive CLIs for Clojure applications.\"\n :url \"https://github.com/ruedigergad/cli4clj\"...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.9.9.2\"\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": "Use older cljsbuild once again.\n" }, { "from": "human", "value": "(defproject beatha \"0.0.1-SNAPSHOT\"\n :description \"Cellular automata experiments.\"\n :url \"http://github.com/gsnewmark/beatha\"\n :license {:name \"Eclipse Public License - v 1.0\"\n ...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.13.0.0-alpha1\"\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": "Change version. Latest Snapshot now always 0.0.0-SNAPSHOT.\n" }, { "from": "human", "value": "(defproject ezglib \"0.1.4-SNAPSHOT\"\n :description \"An easy game library for ClojureScript.\"\n :url \"https://github.com/bakpakin/ezglib\"\n :license {:name \"Eclips...
clojure
chosen
[ { "from": "system", "value": "Add lein-daemon as a plugin.\n" }, { "from": "human", "value": "(defproject govuk/blinken \"0.1.0-SNAPSHOT\"\n :description \"Dashboard to integrate multiple alert systems\"\n :url \"https://github.com/alphagov/blinken\"\n :license {:name \"MIT\"\n :ur...
clojure
chosen
[ { "from": "system", "value": "Add \"lein test\" hack to get the cljc test working\n" }, { "from": "human", "value": "(defproject com.gfredericks/seventy-one \"0.1.2-SNAPSHOT\"\n :description \"71 in Clojure\"\n :url \"https://github.com/gfredericks/seventy-one\"\n :license {:name \"Eclipse Pu...
clojure
chosen
[ { "from": "system", "value": "Add a list of articles\n" }, { "from": "human", "value": "(ns markiki.views\n (:require [reagent.core :as reagent :refer [atom]]\n [re-frame.core :refer [subscribe dispatch]]))\n\n\n(defn searchbar []\n (fn []\n [:form\n [:div.form-group.has-err...
clojure
chosen
[ { "from": "system", "value": "Fix bug where selecting a cell when editing messes up the state\n" }, { "from": "human", "value": "(ns reabledit.util)\n\n(defn set-selected!\n [state row col]\n (swap! state assoc :selected [row col]))\n\n(defn enable-edit!\n [columns data state]\n (if-not (:di...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-datomic \"0.10.0.0-alpha7\"\n :description \"Onyx plugin for Datomic\"\n :url \"https://github.com/onyx-platform/onyx-datomic\"\n :license {:name \"Eclipse Public...
clojure
chosen
[ { "from": "system", "value": "Add :license and :url keys and inc to 0.8.3-alpha4.\n" }, { "from": "human", "value": "(defproject useful \"0.8.3-alpha3\"\n :description \"A collection of generally-useful Clojure utility functions\"\n :dependencies [[org.clojure/clojure \"1.4.0\"]\n ...
clojure
chosen
[ { "from": "system", "value": "Use Fipp as pretty printer\n" }, { "from": "human", "value": "(defproject pinpointer \"0.1.0-SNAPSHOT\"\n :description \"Pinpointer makes it easy to grasp which part of data is violating spec conformance.\"\n :url \"https://github.com/athos/Pinpointer\"\n :licens...
clojure
chosen
[ { "from": "system", "value": "Use our patched Clojure explicitly in Containium.\n" }, { "from": "human", "value": ";; This Source Code Form is subject to the terms of the Mozilla Public\n;; License, v. 2.0. If a copy of the MPL was not distributed with this\n;; file, You can obtain one at http:/...
clojure
chosen
[ { "from": "system", "value": "Add contrib back in as per mailing list discussions.\n\nWill be removed again in 2.0.\n" }, { "from": "human", "value": ";; The only requirement of the project.clj file is that it includes a\n;; defproject form. It can have other code in it as well, including\n;; lo...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-peer-http-query \"0.10.0.0-alpha5\"\n :description \"An Onyx health and query HTTP server\"\n :url \"https://github.com/onyx-platform/onyx-peer-http-query\"\n :li...
clojure
chosen
[ { "from": "system", "value": "Set real version of lein-protobuf.\n" }, { "from": "human", "value": "(defproject protobuf \"0.6.0-beta19\"\n :description \"Clojure-protobuf provides a clojure interface to Google's protocol buffers.\"\n :dependencies [[org.clojure/clojure \"1.4.0\"]\n ...
clojure
chosen
[ { "from": "system", "value": "Prepare for the next round\n" }, { "from": "human", "value": "(defproject reply \"0.1.0-alpha1\"\n :description \"REPL-y: A fitter, happier, more productive REPL for Clojure.\"\n :dependencies [[org.clojure/clojure \"1.3.0\"]\n [org.clojars.trptcol...
clojure
chosen
[ { "from": "system", "value": "Move Clojure version from 1.6 to 1.7\n" }, { "from": "human", "value": "(defproject kixi.hecuba.weather \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"http://example.com/FIXME\"\n :license {:name \"Eclipse Public License\"\n :u...
clojure
chosen
[ { "from": "system", "value": "Change Catalyst dependency to use new groupId.\n" }, { "from": "human", "value": "(defproject trinity \"0.1.0-SNAPSHOT\"\n :description \"A sweet little Clojure API for Atomix\"\n :url \"http://github.com/atomix/trinity\"\n :license {:name \"Eclipse Public Licens...
clojure
chosen
[ { "from": "system", "value": "Update fork version and url.\n" }, { "from": "human", "value": "(defproject clucy \"0.4.0\"\n :description \"A Clojure interface to the Lucene search engine\"\n :url \"http://github/weavejester/clucy\"\n :dependencies [[org.clojure/clojure \"1.7.0\"]\n ...
clojure
chosen
[ { "from": "system", "value": "Change version number for 0.1.0 release.\n" }, { "from": "human", "value": "(defproject stencil \"0.1.0-SNAPSHOT\"\n :description \"Mustache in Clojure\"\n :dependencies [[clojure \"1.2.0\"]\n [org.clojure/clojure-contrib \"1.2.0\"]]\n :dev-depend...
clojure
chosen
[ { "from": "system", "value": "Change version back to snapshot\n" }, { "from": "human", "value": ";; The Climate Corporation licenses this file to you under under the Apache\n;; License, Version 2.0 (the \"License\"); you may not use this file except in\n;; compliance with the License. You may o...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.9.0.9\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"Eclipse Public L...
clojure
chosen
[ { "from": "system", "value": "Update data.json from 0.2.5 to 0.2.6.\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": "Upgrade lein-repack and set scm.\n" }, { "from": "human", "value": "(defproject fixturex/fixturex \"0.3.0\"\n :description \"A library of helpful test fixture macros and functions.\"\n :url \"http://www.ryanmcg.com/fixturex/\"\n :license {:name \"Eclipse Public L...
clojure
chosen
[ { "from": "system", "value": "Remove clojure as a dependency\n" }, { "from": "human", "value": "(defproject wall-follower \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"http://example.com/FIXME\"\n :license {:name \"Eclipse Public License\"\n :url \"http://...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-bookkeeper \"0.8.1.0-0.8.1\"\n :description \"Onyx plugin for BookKeeper\"\n :url \"https://github.com/onyx-platform/onyx-bookkeeper\"\n :license {:name \"Eclipse...
clojure
chosen
[ { "from": "system", "value": "Increment to next development version.\n" }, { "from": "human", "value": "(defproject org.toomuchcode/clara-rules \"0.1.1\"\n :description \"Clara Rules Engine\"\n :url \"http://rbrush.github.io/clara-rules/\"\n :license {:name \"Eclipse Public License\"\n ...
clojure
chosen
[ { "from": "system", "value": "Update Codox plugin to 0.8.10\n" }, { "from": "human", "value": "(defproject compojure \"1.1.8\"\n :description \"A concise routing library for Ring\"\n :url \"https://github.com/weavejester/compojure\"\n :license {:name \"Eclipse Public License\"\n :u...
clojure
chosen
[ { "from": "system", "value": "Add lein-daemon as a dependency.\n" }, { "from": "human", "value": "(defproject govuk/blinken \"0.1.0-SNAPSHOT\"\n :description \"Dashboard to integrate multiple alert systems\"\n :url \"https://github.com/alphagov/blinken\"\n :license {:name \"MIT\"\n ...
clojure
chosen
[ { "from": "system", "value": "Replace props dependency by cprop\n" }, { "from": "human", "value": "(defproject madouc \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"http://example.com/FIXME\"\n :license {:name \"Eclipse Public License\"\n :url \"http://www....
clojure
chosen
[ { "from": "system", "value": "Remove rlwrap from alpine tools-deps images\n\nAddresses #55\n" }, { "from": "human", "value": "(ns docker-clojure.dockerfile.tools-deps)\n\n(defn install-deps [{:keys [distro]}]\n (case distro\n \"alpine\"\n [\"RUN echo '@testing http://dl-cdn.alpinelinux.or...
clojure
chosen
[ { "from": "system", "value": "Add two additional test series for ranges, these for y ranges that do not include 0.\n" }, { "from": "human", "value": "(def start-t (System/currentTimeMillis))\n\n(defn random-sampler [ ]\n (let [current (atom 0.0)]\n (fn [ ]\n (swap! current #(+ % (/ (+ (...
clojure
chosen
[ { "from": "system", "value": "Add command to start midje autotest\n" }, { "from": "human", "value": "(ns user\n (:require [ruuvi.system]\n [clojure.edn :as edn]\n [clojure.tools.logging :refer [info error] :as log]\n [com.stuartsierra.component :as component]\n ...
clojure
chosen
[ { "from": "system", "value": "Change ES endpoint to point to aliased docker hostname\n" }, { "from": "human", "value": "(ns user\n (:require [clojure.java.io :as io]\n [clojure.string :as str]\n [clojure.pprint :refer (pprint)]\n [clojure.repl :refer :all]\n ...
clojure
chosen
[ { "from": "system", "value": "Use mutual recursion to make the sym/sexpr dance clearer.\n" }, { "from": "human", "value": "(ns kolmogorov-music.kolmogorov\n (:require [clojure.repl :as repl]))\n\n(defn in-ns? [sym ns]\n (contains? (ns-interns ns) sym))\n\n(defn sexpr [sym]\n (-> sym repl/sour...
clojure
chosen
[ { "from": "system", "value": "Make improvements to user model\n" }, { "from": "human", "value": "(ns swanson.models.db\n (:require [clojure.java.jdbc :as sql]))\n\n(def db {:subprotocol \"postgresql\"\n :subname \"//localhost/swanson\"\n :user \"admin\"\n :password \"adm...
clojure
chosen
[ { "from": "system", "value": "Add space between keyword and curly" }, { "from": "human", "value": "(defproject ring-example \"0.1.0-SNAPSHOT\"\n :description \"Reitit Ring App with Swagger\"\n :dependencies [[org.clojure/clojure \"1.10.0\"]\n [ring/ring-jetty-adapter \"1.7.1\"]...
clojure
chosen
[ { "from": "system", "value": "Fix for private var use\n" }, { "from": "human", "value": "(ns script.bootstrap.build\n (:require\n [cljs.source-map :as sm]\n [cognitect.transit :as transit]\n [planck.core :refer [slurp spit]]\n [planck.repl :refer [strip-source-map]]))\n\n(defn cljs->tra...
clojure
chosen
[ { "from": "system", "value": "Update test app to latest clojure release.\n" }, { "from": "human", "value": ";; Copyright 2014 Red Hat, Inc, and individual contributors.\n;;\n;; Licensed under the Apache License, Version 2.0 (the \"License\");\n;; you may not use this file except in compliance wi...
clojure
chosen
[ { "from": "system", "value": "Use monkey-robot.com:27017 as MongoDB test URL\n\nUnlike whitman.monkey-robot.com, monkey-robot.com actually exists, so it\nwon't throw an error when trying to connect.\n" }, { "from": "human", "value": "(ns whitman.db-test\n (:require [clojure.test :refer :all]\n ...
clojure
chosen
[ { "from": "system", "value": "Clear console pane when resetting it\n" }, { "from": "human", "value": "(ns nightcode.repl\n (:require [nightcode.editors :as editors]\n [nightcode.lein :as lein]\n [nightcode.sandbox :as sandbox]\n [nightcode.shortcuts :as shortcut...
clojure
chosen
[ { "from": "system", "value": "Add a docs config prefix\n" }, { "from": "human", "value": "(ns doctopus.configuration\n (:require [nomad :refer [defconfig]]\n [clojure.java.io :as io]))\n\n(defconfig server-config (io/resource \"configuration.edn\"))\n" }, { "from": "gpt", ...
clojure
chosen
[ { "from": "system", "value": "Add dynamic var for setting verbosity\n" }, { "from": "human", "value": "(ns less4clj.util)\n\n;;\n;; Debugging\n;; from boot.util\n;;\n\n; Hack to detect boot verbosity\n(defn- get-verbosity []\n (try\n (require 'boot.util)\n ; Deref var and atom\n @@(res...
clojure
chosen
[ { "from": "system", "value": "Upgrade todomvc example karma to 4.4.1\n" }, { "from": "human", "value": "{:npm-dev-deps {\"shadow-cljs\" \"2.8.69\"\n \"karma\" \"4.3.0\"\n \"karma-chrome-launcher\" \"3.1.0\"\n \"karma-cljs-tes...
clojure
chosen
[ { "from": "system", "value": "Move server onto new IP\n" }, { "from": "human", "value": "(ns uk.org.potentialdifference.darknet.config)\n\n(def ip \"192.168.1.24\")\n\n(def config\n {:ws-url (str \"wss://\" ip \":8081\")\n :api-url (str \"http://\") ip \":8080\"\n :api-key \"x9RHJ2I6nWi376...
clojure
chosen
[ { "from": "system", "value": "Add future-fact for error message" }, { "from": "human", "value": "(ns structural-typing.use.f-error-messages\n (:require [structural-typing.preds :as pred])\n (:use midje.sweet\n structural-typing.type\n structural-typing.global-type\n struct...
clojure
chosen
[ { "from": "system", "value": "Update tests to test list-things rather than list-rooms." }, { "from": "human", "value": "(ns isla.test.talk\n (:use [isla.talk])\n (:use [clojure.test])\n (:use [clojure.pprint]))\n\n;; list-rooms\n\n(deftest test-0-rooms\n (is (re-find #\"no way out of this ro...
clojure
chosen
[ { "from": "system", "value": "Revert back to unmodified Om\n" }, { "from": "human", "value": "(defproject clik-clak-joe \"0.1.0-SNAPSHOT\"\n :description \"React Native tic-tac-toe in ClojureScript\"\n :dependencies [[org.clojure/clojure \"1.6.0\"]\n [org.clojure/clojurescript ...
clojure
chosen
[ { "from": "system", "value": "Implement injections in terms of a profile.\n" }, { "from": "human", "value": "(ns leiningen.difftest\n (:require [leiningen.test :as test]))\n\n(defn difftest [project & args]\n (apply test/test (-> project\n (update-in [:injections] conj\n ...
clojure
chosen
[ { "from": "system", "value": "Add test module to Containium.\n" }, { "from": "human", "value": ";; This Source Code Form is subject to the terms of the Mozilla Public\n;; License, v. 2.0. If a copy of the MPL was not distributed with this\n;; file, You can obtain one at http://mozilla.org/MPL/2....
clojure
chosen
[ { "from": "system", "value": "Add some tools to make it easier to experiment\n" }, { "from": "human", "value": "(ns user\n (:use io.aviso.repl\n clojure.pprint)\n (:require [clojure.tools.logging :as l]))\n\n(install-pretty-exceptions)\n\n(defmacro other-thread\n [& body]\n `(.start (...
clojure
chosen
[ { "from": "system", "value": "Disable reloading start-app task with c.t.n\n" }, { "from": "human", "value": "(ns backend.boot\n {:boot/export-tasks true}\n (:require [boot.core :refer :all]\n [reloaded.repl :refer [go]]\n [backend.main :refer :all]))\n\n(deftask start-app...
clojure
chosen
[ { "from": "system", "value": "Add the tests to source-paths\n" }, { "from": "human", "value": "(set-env!\n :source-paths #{\"src/main/java\"}\n :test-paths #{\"src/test/java\"}\n :dependencies '[[junit \"4.12\" :scope \"test\"]])\n\n(def +version+ \"0.1.0\")\n\n(task-options!\n pom {:project 'ht...
clojure
chosen
[ { "from": "system", "value": "Remove lein default failing test.\n" }, { "from": "human", "value": "(ns aspire.core-test\n (:require [clojure.test :refer :all]\n [aspire.core :refer :all]))\n\n(deftest a-test\n (testing \"FIXME, I fail.\"\n (is (= 0 1))))\n\n(deftest pass-test\n ...
clojure
chosen
[ { "from": "system", "value": "lein-template: Fix typo in :repl-options :init.\n" }, { "from": "human", "value": "(defproject {{raw-name}} \"0.1.0-SNAPSHOT\"\n :description \"FIXME: Write a description.\"\n :url \"FIXME: Add a URL.\"\n :scm {:name \"git\"\n :url \"FIXME: Add a URL.\"}\n...
clojure
chosen
[ { "from": "system", "value": "Add support for platform based conditional\n\nSigned-off-by: Greg Haskins <640d9fe47775e6723f0355b7315e38f7d98d3539@gmail.com>\n" }, { "from": "human", "value": ";; Licensed to the Apache Software Foundation (ASF) under one\n;; or more contributor license agreements...
clojure
chosen
[ { "from": "system", "value": "Move xorp to use 'primary_interface'\n\nxorp should adhere to the standard we have set which is to use\nprimary_interface when referencing (unsurprisingly) your primary\ninterface.\n" }, { "from": "human", "value": "interfaces {\n restore-original-config-on-shutd...
clojure
chosen
[ { "from": "system", "value": "Handle title array with three items as a special case\n" }, { "from": "human", "value": "(ns metrics.core\n (:import [com.codahale.metrics MetricRegistry Metric]))\n\n(def ^{:tag \"MetricRegistry\" :doc \"Default registry used by public API functions when no explic...
clojure
chosen
[ { "from": "system", "value": "Fix the tests after making (build) fn more strict\n" }, { "from": "human", "value": "(ns circle.backend.build.test-run-build\n (:use midje.sweet)\n (:use [circle.backend.build.test-utils :only (minimal-build)])\n (:use [circle.backend.action :only (defaction)])\n...
clojure
chosen
[ { "from": "system", "value": "Change go-try macro to return nil when exception is thrown (and sent to the channel)\n" }, { "from": "human", "value": "(ns io.aviso.rook.utils\n \"Kitchen-sink of useful standalone utilities.\"\n (:import\n (java.util UUID))\n (:use\n [clojure.core.async :...
clojure
chosen
[ { "from": "system", "value": "Add helper function for normalize db returing record attributes.\n" }, { "from": "human", "value": ";; This Source Code Form is subject to the terms of the Mozilla Public\n;; License, v. 2.0. If a copy of the MPL was not distributed with this\n;; file, You can obtai...
clojure
chosen
[ { "from": "system", "value": "Test with better print fun\n" }, { "from": "human", "value": "(ns cljs-workers.test\n (:require [cljs-workers.core :as main]\n [cljs-workers.worker :as worker]))\n\n(defn app\n []\n (let [worker-pool (main/create-pool 2 \"js/worker/worker.js\")]\n (...
clojure
chosen
[ { "from": "system", "value": "Handle case in both upper or lower cases. The input key now can be a char or a string\n" }, { "from": "human", "value": "(ns bogo-clojure.core\n (:gen-class)\n (:require [clojure.string :as string]\n [bogo-clojure.bg-word :refer :all]\n [bogo...
clojure
chosen
[ { "from": "human", "value": "Add unit tests for collection deletion\n" }, { "from": "gpt", "value": "(ns fcms.unit.resources.collection.collection-delete\n (:require [midje.sweet :refer :all]\n [fcms.lib.resources :refer :all]\n [fcms.lib.check :refer (about-now?)]\n ...
clojure
chosen
[ { "from": "system", "value": "Switch repositories from local to clojars.org\n" }, { "from": "human", "value": "(defproject dotenv \"0.1.0\"\n :description \"dotenv: Load environment variables from .env file into the JVM System Properties\"\n :url \"https://github.com/primedia/clj-dotenv\"\n :...
clojure
chosen
[ { "from": "system", "value": "Add Leiningen to dev dependencies\n" }, { "from": "human", "value": "(defproject jcf/lein-template \"0.1.1-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"https://github.com/jcf/lein-template\"\n :license {:name \"The MIT License\"\n :u...
clojure
chosen
[ { "from": "system", "value": "Add a producer and a printer to the count-words example\n" }, { "from": "human", "value": "(ns clstreams.examples.count-words.system\n (:require [clstreams.examples.count-words.pipelines :as pipelines]\n [clstreams.examples.count-words.webapi :as webapi]...
clojure
chosen
[ { "from": "system", "value": "Return the given date at midnight\n" }, { "from": "human", "value": "(ns karmanaut.utils\n (:gen-class)\n (:require [clojure.java.io :as io])\n (:import [java.util Calendar\n Date\n GregorianCalendar\n ...
clojure
chosen
[ { "from": "system", "value": "Create utility functions to act on grid\n" }, { "from": "human", "value": "(ns solver.core\n (:gen-class))\n\n(defn create-grid\n ([] (create-grid 1000))\n ([w] (create-grid w w))\n ([w h] (let [row (vec (map (fn [x] false) (range w)))\n grid (vec ...
clojure
chosen
[ { "from": "system", "value": "Add support for Emacs support\n" }, { "from": "human", "value": "(defproject cascade \"0.2-SNAPSHOT\"\n :description \"Simple, fast, easy web applications in idiomatic Clojure\"\n :url \"http://github.com/hlship/cascade\"\n :source-path \"src/main/clojure\"\n :r...
clojure
chosen
[ { "from": "system", "value": "Remove trailing whitespace and bump version.\n" }, { "from": "human", "value": "(defproject clj-ravendb \"0.4.2-SNAPSHOT\"\r\n :description \"A Clojure library for consuming a RavenDB rest api.\"\r\n :url \"https://github.com/markwoodhall/clj-ravendb\"\r\n :licen...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-metrics \"0.8.0.5\"\n :description \"Instrument Onyx workflows\"\n :url \"https://github.com/MichaelDrogalis/onyx\"\n :license {:name \"Eclipse Public License\"\n...
clojure
chosen