conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Improve the state chooser item code ever so slightly\n" }, { "from": "human", "value": "(ns web.components.state-chooser\n (:require [clojure.string :as str]\n [om.next :as om :refer-macros [defui]]\n [om.dom :as dom]))\n\n(defui StateChooserI...
clojure
chosen
[ { "from": "system", "value": "Revert previous cancel button component changes as they were not ready yet\n" }, { "from": "human", "value": "(ns my-money.views.login\n (:require [my-money.components.common :as c]\n [my-money.components.button :refer [button]]\n [my-money.ap...
clojure
chosen
[ { "from": "system", "value": "Add a domain extractor utility" }, { "from": "human", "value": "(ns hacker-agent.utils)\n\n(defn dissoc-in [data path]\n (let [prefix (butlast path)\n key (last path)]\n (if prefix\n (update-in data prefix dissoc key)\n (dissoc data key))))\n\n(...
clojure
chosen
[ { "from": "system", "value": "Add another test for `possible-moves'\n" }, { "from": "human", "value": "(ns tttclj.t-core\n (:use midje.sweet)\n (:use [tttclj.core]))\n\n(facts \"about `create-game'\"\n (fact \"x always starts\"\n (->> (repeat 100 (create-game))\n ...
clojure
chosen
[ { "from": "system", "value": "Use update to make the impl more legible\n" }, { "from": "human", "value": "(ns desdemona.lifecycles.logging\n (:require [taoensso.timbre :refer [info]]))\n\n(defn log-batch\n [event lifecycle]\n (let [task-name (-> event\n :onyx.core/task-ma...
clojure
chosen
[ { "from": "system", "value": "Add more details to list-route\n" }, { "from": "human", "value": "(in-ns 'instaskip.actions)\n\n(defn list-routes [filters innkeeper-config]\n\n (let [routes (m/match filters\n {:team team}\n (ik/get-routes {:owned-by-t...
clojure
chosen
[ { "from": "system", "value": "Replace :whitespace optimization with :none\n\nBecause :whitespace is not compatible with nodejs target.\n" }, { "from": "human", "value": "(require '[cljs.build.api :as b]\n '[cljs.tagged-literals])\n\n(alter-var-root #'cljs.tagged-literals/*cljs-data-reade...
clojure
chosen
[ { "from": "system", "value": "Add cats.labs.channel-spec to testing namespaces.\n" }, { "from": "human", "value": "(ns user\n (:require [clojure.tools.namespace.repl :as repl]\n [clojure.walk :refer [macroexpand-all]]\n [clojure.pprint :refer [pprint]]\n [clojur...
clojure
chosen
[ { "from": "system", "value": "Update to latest ClojureScript, boot-cljs and Om\n" }, { "from": "human", "value": "#!/usr/bin/env boot\n\n(set-env!\n :source-paths #{\"less\" \"src\"}\n :resource-paths #{\"html\" \"resources\"}\n :dependencies '[; Boot setup\n [adzerk/boot-clj...
clojure
chosen
[ { "from": "system", "value": "Update Clojure 1.7 test profile to 1.7.0-beta2\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": "Print less information on startup\n" }, { "from": "human", "value": "(ns tttclj.web\n (:require [chord.http-kit :refer [wrap-websocket-handler]]\n [clojure.core.async :refer [<! >! put! close! go go-loop timeout]]\n [compojure.core :refer [def...
clojure
chosen
[ { "from": "system", "value": "Use edn for reading strings\n" }, { "from": "human", "value": "(ns ansel.session\n (:import java.util.UUID)\n (:require [ring.middleware.session.store :refer :all]\n [ansel.util :refer [when-slurp]]))\n\n(defn new-key []\n (str (UUID/randomUUID)))\n\n(...
clojure
chosen
[ { "from": "system", "value": "Add paths paremeter on story-component\n" }, { "from": "human", "value": "(ns storemi.js\n (:require \n [clj-rhino :as js]\n [clojure.walk :refer [keywordize-keys]]))\n\n(def parser-scope \n (doto (js/new-safe-scope)\n (js/eval (slurp \"resources/public/j...
clojure
chosen
[ { "from": "system", "value": "Remove the shell based duration detection\n" }, { "from": "human", "value": "(ns mdr2.dtb\n \"Functions to query DAISY Talking Books\"\n (:require [clojure.data.xml :as xml]\n [clojure.java.io :refer [file]]\n [clojure.java.shell :refer [sh]]...
clojure
chosen
[ { "from": "system", "value": "Set content-type for index. Note about serving index.html from classpath\n" }, { "from": "human", "value": "(ns saapas.server\n (:require [clojure.java.io :as io]\n [compojure.core :refer [GET defroutes]]\n [compojure.route :refer [resources]]...
clojure
chosen
[ { "from": "system", "value": "Remove a blank line before EOF.\n" }, { "from": "human", "value": "(ns clojournal.layout\n (:require [selmer.parser :as parser]\n [clojure.string :as s]\n [ring.util.response :refer [content-type response]]\n [compojure.response :re...
clojure
chosen
[ { "from": "system", "value": "Return tagging actions from environments.\n" }, { "from": "human", "value": "(defproject lspector/clojush \"1.2.27\"\n :description \"The Push programming language and the PushGP genetic programming\n system implemented in Clojure...
clojure
chosen
[ { "from": "system", "value": "Add tests for resolve operation.\n" }, { "from": "human", "value": "(ns bide.core-tests\n (:require [cljs.test :as t]\n [bide.core :as r]))\n\n(t/deftest router-tests\n (t/testing \"Simple match\"\n (let [r (r/build [[\"/a/b\" :r1]\n ...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-bookkeeper \"0.8.0.0-alpha5\"\n :description \"Onyx plugin for BookKeeper\"\n :url \"https://github.com/onyx-platform/onyx-bookkeeper\"\n :license {:name \"Eclips...
clojure
chosen
[ { "from": "system", "value": "Upgrade twitter api as twitter broke it with https\n" }, { "from": "human", "value": "(defproject seathree \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"http://example.com/FIXME\"\n :license {:name \"Eclipse Public License\"\n ...
clojure
chosen
[ { "from": "system", "value": "Move version to next SNAPSHOT\n" }, { "from": "human", "value": "(defproject railway-oriented-programming \"0.1.1\"\n :description \"An implementation of railway oriented programming\"\n :url \"https://github.com/HughPowell/railway-oriented-programming\"\n :licen...
clojure
chosen
[ { "from": "system", "value": "Update Clojure version 1.7.0 -> 1.10.0\n\nThis also requires updating com.taoensso/carmine version 2.12.0 -> 2.19.1.\n" }, { "from": "human", "value": "(defproject nhl-score-api \"0.24.0\"\n :description \"A JSON API that returns the scores and goals from the lates...
clojure
chosen
[ { "from": "system", "value": "Use snapshot version of puget.\n" }, { "from": "human", "value": "(defproject mvxcvi/vault \"0.3.0-SNAPSHOT\"\n :description \"Content-addressible datastore.\"\n :url \"https://github.com/greglook/vault\"\n :license {:name \"Public Domain\"\n :url \"ht...
clojure
chosen
[ { "from": "system", "value": "Include parse library on page\n" }, { "from": "human", "value": "(ns whatishistory.handler\n (:require [compojure.core :refer [GET defroutes]]\n [compojure.route :refer [not-found resources]]\n [ring.middleware.defaults :refer [site-defaults w...
clojure
chosen
[ { "from": "system", "value": "Update server to clojure 1.5\n" }, { "from": "human", "value": "(defproject nightweb-server/Nightweb \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"http://example.com/FIXME\"\n :license {:name \"Public Domain\"\n :url \"http://...
clojure
chosen
[ { "from": "system", "value": "Make secretary use a rooted prefix\n\nNo more double octothorpes!!\n" }, { "from": "human", "value": "(ns comic-reader.routes\n (:require [comic-reader.history :as h]\n [re-frame.core :as rf]\n [secretary.core :as secretary\n :refe...
clojure
chosen
[ { "from": "system", "value": "Add :exclusions to quil template\n" }, { "from": "human", "value": "(defproject {{app-name}} \"0.0.1-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"http://example.com/FIXME\"\n :dependencies [[org.clojure/clojure \"1.6.0\"]\n [qui...
clojure
chosen
[ { "from": "system", "value": "Fix work in browser without webscoket support\n" }, { "from": "human", "value": "(ns subman.push\n (:require [cljs.reader :refer [read-string]]\n [goog.net.WebSocket]\n [goog.events :as gevents]))\n\n(defn init-push\n \"Init push connection\"...
clojure
chosen
[ { "from": "system", "value": "Remove unnecessary nickname generation code\n\ndb/create-user! already generates the nickname based on email\n" }, { "from": "human", "value": "(ns braid.server.events\n (:require\n [clojure.string :as string]\n [clavatar.core :refer [gravatar]]\n [braid.s...
clojure
chosen
[ { "from": "system", "value": "Use let, not def. Fix docs\n" }, { "from": "human", "value": "(ns riemann.keenio\n \"Forwards events to Keen IO\"\n (:require [clj-http.client :as client])\n (:require [cheshire.core :as json]))\n\n(def ^:private event-url\n \"https://api.keen.io/3.0/projects/\"...
clojure
chosen
[ { "from": "system", "value": "Call read-project from leiningen.core ns.\n" }, { "from": "human", "value": "(ns leiningen.checkout-deps\n (:use [leiningen.core :only [read-project]]\n [clojure.contrib.java-utils :only [file]]))\n\n(defn checkout-deps-paths [project]\n (apply concat (for ...
clojure
chosen
[ { "from": "system", "value": "Add url definitions for chapters and scenes\n" }, { "from": "human", "value": "(ns storemi.urlfor\n (:require\n [storemi.lib.urldef :refer [defurl]]))\n\n(defurl login \"/login\")\n(defurl logout \"/logout\")\n(defurl register \"/register\")\n(defurl about \"/ab...
clojure
chosen
[ { "from": "system", "value": "Change test format - input is defined as a JS string that gets eval'd.\n" }, { "from": "human", "value": "(ns javascript-externs-generator.extern-test\n (:require [cljs.test :refer-macros [deftest is testing run-tests]]\n [javascript-externs-generator.ex...
clojure
chosen
[ { "from": "system", "value": "Bring Voom in as a dependnecy.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-kafka \"0.7.3-SNAPSHOT\"\n :description \"Onyx plugin for Kafka\"\n :url \"https://github.com/MichaelDrogalis/onyx-kafka\"\n :license {:name \"Eclipse Public Licen...
clojure
chosen
[ { "from": "system", "value": "Add clj-kondo to default profile\n\n- lein clj-kondo --lint src ## for linting\n" }, { "from": "human", "value": ";; https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md\n{:user {:plugins [[lein-pprint \"1.3.2\"]]\n :dependencies [[alembic \"0...
clojure
chosen
[ { "from": "system", "value": "Update PMD ontology to include attachments\n" }, { "from": "human", "value": "(ns grafter.rdf.ontologies.pmd\n \"Some convenience terms for the Publish My Data vocabulary.\"\n (:require [grafter.rdf.ontologies.util :refer :all]))\n\n\n(def pmd (pre...
clojure
chosen
[ { "from": "system", "value": "Use the right syntax for :require.\n" }, { "from": "human", "value": "(ns grafter.rdf.ontologies.rdf\n \"Some convenience terms for the RDF and RDFS vocabularies.\"\n (:require grafter.rdf.ontologies.util :refer :all))\n\n(def rdf (prefixer \"http://www.w3.org/199...
clojure
chosen
[ { "from": "system", "value": "Add tools.trace to user deps.\n" }, { "from": "human", "value": "{:user {:dependencies [[clj-stacktrace \"0.2.5\"]\n [redl \"0.1.0\"]\n [spyscope \"0.1.3\"]\n [slamhound \"1.3.3\"]]\n :plugins ...
clojure
chosen
[ { "from": "system", "value": "Add special routes for single-query test with response not in a vector\n" }, { "from": "human", "value": "(ns hello.routes.home\n (:use compojure.core\n hello.models.db)\n (:require [hello.views.layout :as layout]\n [noir.response :as response]))...
clojure
chosen
[ { "from": "system", "value": "Use :name instead of :gem\n" }, { "from": "human", "value": "(ns hu.ssh.github-changelog.dependencies.bundler\n (:require\n [clojure.string :refer [split-lines]]))\n\n(defn- get-specs [file]\n (->> (split-lines file)\n (drop-while #(not= % \" specs:\"))\...
clojure
chosen
[ { "from": "system", "value": "Fix error with percent encoded input\n" }, { "from": "human", "value": "(ns subman.history\n (:require [cljs.reader :refer [read-string]]\n [goog.events :as gevents]\n [goog.history.EventType :as history-event]\n [goog.string :as st...
clojure
chosen
[ { "from": "system", "value": "Fix requirements and test arguments\n" }, { "from": "human", "value": "(ns riemann.xymon-test\n (:use riemann.xymon\n [riemann.time :only [unix-time]]\n clojure.test)\n (:require [riemann.logging :as logging]))\n\n(logging/init)\n\n(deftest ^:xymon ^...
clojure
chosen
[ { "from": "system", "value": "Migrate to google custom search instead of dead image search.\n" }, { "from": "human", "value": "(ns yetibot.core.models.google-search\n (:require\n [yetibot.core.util.http :refer [get-json map-to-query-string]]))\n\n(def endpoint \"http://ajax.googleapis.com/aj...
clojure
chosen
[ { "from": "system", "value": "Use :force true instead of production so that the airbrake appears in the right category on the website, and won't bother us.\n" }, { "from": "human", "value": "(ns circle.util.test-airbrake\n (:use circle.airbrake)\n (:use midje.sweet))\n\n(def div-by-zero (try (...
clojure
chosen
[ { "from": "system", "value": "Add a test for the existence of web root\n" }, { "from": "human", "value": "(ns comic-reader.web-app-test\n (:require [clojure.test :refer :all]\n [comic-reader.web-app :refer :all]\n [com.stuartsierra.component :as component]\n [ri...
clojure
chosen
[ { "from": "system", "value": "Update dependency org.onyxplatform/onyx to version 0.7.3-20150901_142736-gd0de107.\n\nAutomatic commit by lein-unison.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-kafka \"0.7.3-SNAPSHOT\"\n :description \"Onyx plugin for Kafka\"\n :url \"h...
clojure
chosen
[ { "from": "system", "value": "Move custom collection check to test profile\n" }, { "from": "human", "value": "(defproject lean-map \"0.2.0\"\n :description \"Lean Hash Array Mapped Trie implementation in ClojureScript\"\n\n :license {:name \"Eclipse Public License\"\n :url \"http://...
clojure
chosen
[ { "from": "system", "value": "Update dependency org.onyxplatform/onyx to version 0.7.3-20150901_140443-g6e4750b.\n\nAutomatic commit by lein-traffic-control.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-kafka \"0.7.3-SNAPSHOT\"\n :description \"Onyx plugin for Kafka\"\n ...
clojure
chosen
[ { "from": "system", "value": "Create 'report an issue' form ui\n" }, { "from": "human", "value": ";; Functions for sending feedback\n(ns robinson.feedback\n (:require [clj-http.client :as client]\n [seesaw.core :as ss]\n [clojure.data.json :as json]))\n\n\n(defn send-repor...
clojure
chosen
[ { "from": "system", "value": "Switch to the canonical markdown-clj.\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 with th...
clojure
chosen
[ { "from": "system", "value": "Fix bug on stop http-kit server.\n" }, { "from": "human", "value": "(ns pfrt.web\n (:require [compojure.handler :as handler]\n [org.httpkit.server :as hkit]\n [pfrt.web.routes :refer [app]]\n [pfrt.core.lifecycle :refer [ILifecycle]...
clojure
chosen
[ { "from": "system", "value": "Allow rolling logs to be disabled\n" }, { "from": "human", "value": "(ns yetibot.core.logging\n (:require\n [schema.core :as s]\n [yetibot.core.config :refer [get-config]]\n [yetibot.core.util :refer [with-fresh-db]]\n [yetibot.core.db.log :as log]\n ...
clojure
chosen
[ { "from": "system", "value": "Refactor RocksDB test to improve DB directory handling\n" }, { "from": "human", "value": "(ns clstreams.rocksdb-test\n (:require [clstreams.rocksdb :as sut]\n [clojure.test :refer :all]))\n\n(defn delete-recursively [fname]\n (let [file (clojure.java.io...
clojure
chosen
[ { "from": "system", "value": "Send e-mail to rightful subscribers.\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 config]\n...
clojure
chosen
[ { "from": "system", "value": "Fix missing require for clojure.java.io\n" }, { "from": "human", "value": ";-\n; Copyright 2011 (c) Meikel Brandmeyer.\n; All rights reserved.\n;\n; Permission is hereby granted, free of charge, to any person obtaining a copy\n; of this software and associated docum...
clojure
chosen
[ { "from": "system", "value": "Add equality fixes on Person class, so we can find clashes\n" }, { "from": "human", "value": "(in-ns 'herder.solver.types)\n\n(gen-class\n :name ^{PlanningEntity {}} herder.solver.types.Person\n :prefix \"person-\"\n :init init\n :state state\n :constructors {[] []\...
clojure
chosen
[ { "from": "system", "value": "Fix Reagent-related bug in bindings.\n" }, { "from": "human", "value": "; Copyright (c) 2015 Designed.ly, Marcin Bilski\n; The use and distribution terms for this software are covered by the\n; Eclipse Public License which can be found in the file LICENSE at the ...
clojure
chosen
[ { "from": "system", "value": "Define meta->write-path and modify behaviour of Parse->path.\n" }, { "from": "human", "value": "(ns incise.parsers.helpers\n (:require (clj-time [core :as tm]\n [coerce :as tc])\n [clojure.string :as s])\n (:import [java.io File]))\...
clojure
chosen
[ { "from": "system", "value": "Include mock-monad tests in CLJS test runner.\n" }, { "from": "human", "value": "(ns active.clojure.test-runner\n (:require [doo.runner :refer-macros [doo-tests]]\n [active.clojure.condition-test]\n [active.clojure.debug-test]\n [ac...
clojure
chosen
[ { "from": "system", "value": "Revert to released version of the Kafka libraries.\n\nProject file with unreleased version commited by mistake.\n" }, { "from": "human", "value": "(defproject clstreams \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"http://example.com/FIXM...
clojure
chosen
[ { "from": "system", "value": "Return only the name of an attack move\n" }, { "from": "human", "value": "(ns cruncher.moves.main\n (:require [cruncher.moves.data :as data]))\n\n(defn get\n \"Return move object from moves-database by the move id.\"\n [id]\n (id data/all))" }, { "from":...
clojure
chosen
[ { "from": "system", "value": "Revert \"Add warning for people that upgrade to newer versions\"\n\nThis isn't needed on releases that use the day8.re-frame/re-frame-10x\ncoordinates.\n\nThis reverts commit 92227465e81f71241c86e3b0121829cf9b323c3a.\n" }, { "from": "human", "value": "(ns day8.re-fr...
clojure
chosen
[ { "from": "system", "value": "Return nil if URI fragment is not found\n" }, { "from": "human", "value": "(ns trak.globals\n (:require-macros [trak.config :refer [cljs-env]])\n (:require [trak.utils :as utils]\n [clojure.string :as str])\n (:import goog.Uri\n goog.Uri.Quer...
clojure
chosen
[ { "from": "system", "value": "Add repl-utils dep to have a dormant show laying around.\n" }, { "from": "human", "value": "(defproject com.draines/postal \"1.8-SNAPSHOT\"\n :repositories {\"java.net\" \"http://download.java.net/maven/2\"}\n :dependencies [[org.clojure/clojure \"1.3.0\"]\n ...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-metrics \"0.8.0.7\"\n :description \"Instrument Onyx workflows\"\n :url \"https://github.com/MichaelDrogalis/onyx\"\n :license {:name \"Eclipse Public License\"\n...
clojure
chosen
[ { "from": "system", "value": "Attach ^:riak metadata to ns\n\nPreviously, the fixture was still run when running lein test. This meant\nthat the test attempted to connect to Riak, which didn't work.\n" }, { "from": "human", "value": "(ns icecap.store.riak-integration-test\n (:require [icecap.st...
clojure
chosen
[ { "from": "system", "value": "Fix migration 2 (spec->project) which didn't migrate :inferred, and had a bad assertion.\n" }, { "from": "human", "value": "(ns circle.db.migrations\n (:require [clojure.set :as set])\n (:use circle.db.migration-lib)\n (:require [somnium.congomongo :as mongo])\n ...
clojure
chosen
[ { "from": "system", "value": "Remove clj->js function, now that it's in cljs.core.\n" }, { "from": "human", "value": "(ns c2.util\n (:require [singult.core :as singult]))\n\n(def clj->js singult/clj->js)\n\n(defn ->coll\n \"Convert something into a collection, if it's not already.\"\n [x]\n ...
clojure
chosen
[ { "from": "system", "value": "Move a pixel pair from second segment to first segment in geodesic layout.\n" }, { "from": "human", "value": "(hash-map\n\n :layout\n (layout/geodesic-grid\n :radius 3.688\n :pixel-spacing 0.02\n :strut-pixels\n [48 64 64 64]\n :strip-struts\n [[...
clojure
chosen
[ { "from": "system", "value": "Use lein-bin to generate a jar-packed .bat file.\n\nCurrently uses a personal fork of lein-bin installed\nwith \"lein install\".\n" }, { "from": "human", "value": "(defproject kwho \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"https://git...
clojure
chosen
[ { "from": "system", "value": "Declare an actual implementation instance that can be imported\n" }, { "from": "human", "value": "(ns doctopus.storage-impls)\n\n;; ## Backend Implementations\n;; A backend implementation needs to expose two functions: one for load, and one\n;; for save.\n;;\n;; ###...
clojure
chosen
[ { "from": "system", "value": "Add refer-clojure to avoid 1.9 compilation warning\n" }, { "from": "human", "value": ";; Copyright © 2015, JUXT LTD.\n\n(ns yada.boolean\n (:require\n [schema.core :as s]))\n\n(defn boolean? [x]\n (contains? #{true false} x))\n\n(declare BooleanExpression)\n\n(s...
clojure
chosen
[ { "from": "system", "value": "Connect blocking to avoid duplicate connections\n" }, { "from": "human", "value": "(ns uk.org.potentialdifference.darknet.websocket\n (:import [org.java_websocket.client WebSocketClient]\n [org.java_websocket.drafts Draft_10]\n [java.net URI]))\...
clojure
chosen
[ { "from": "system", "value": "Use global for simple-chapter version\n" }, { "from": "human", "value": "(ns ^{:doc \"Simple Chapters extension: http://podlove.org/simple-chapters.\n Specification: http://podlove.org/simple-chapters\"}\n qcast.feed.ext.simple-chapters\n (:require [hic...
clojure
chosen
[ { "from": "system", "value": "Add junit as a test dependency\n" }, { "from": "human", "value": "(set-env!\n :source-paths #{\"src\"})\n\n(def +version+ \"0.1.0\")\n\n(task-options!\n pom {:project 'http-server\n :version +version+\n :description \"A Java HTTP server.\"\n :url \"ht...
clojure
chosen
[ { "from": "system", "value": "Attach interns new vars instead of using a single var\n" }, { "from": "human", "value": "(ns lazytest.attach\n (:use [lazytest.groups :only (group?)]))\n\n(defn groups-var\n \"Creates or returns the Var storing Groups in namespace n.\"\n [n]\n (or (ns-resolve n ...
clojure
chosen
[ { "from": "system", "value": "Fix a bug where FileUtils throws when the root dir isn't present\n" }, { "from": "human", "value": "(ns circle.util.fs\n \"utilities for working with files and directories\"\n (:require fs)\n (:require [clojure.java.io :as io])\n (:import org.apache.commons.io.F...
clojure
chosen
[ { "from": "system", "value": "[CS] Add warnings and errors keys to context\n" }, { "from": "human", "value": "(ns vip.data-processor.pipeline\n (:require [clojure.tools.logging :as log]\n [clojure.stacktrace :as stacktrace]))\n\n(defn try-validation [validation ctx]\n (try\n (val...
clojure
chosen
[ { "from": "system", "value": "Modify delete-recursively to fail gracefully for nil root.\n" }, { "from": "human", "value": "(ns incise.utils\n (:import [java.io File]))\n\n(defn- gitignore-file? [^File file]\n (= (.getName file) \".gitignore\"))\n\n(defn delete-recursively\n \"Delete a direct...
clojure
chosen
[ { "from": "system", "value": "Sort by score not status\n" }, { "from": "human", "value": "(ns made-merits.service.leaderboard-users\n (:require [made-merits.service.winner-calculator :as winner-calculator]\n [made-merits.service.score-calculator :as score-calculator]))\n\n(defn w...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.9.7.0-alpha21\"\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 ring to use the secured-app\n" }, { "from": "human", "value": "(defproject todo-repl-webapp \"0.1.0-SNAPSHOT\"\n :description \"Todo-repl\"\n :url \"http://example.com/FIXME\"\n :dependencies [[org.clojure/clojure \"1.5.1\"]\n [compojure \"...
clojure
chosen
[ { "from": "system", "value": "Remove AOT options and bump dependencies versions\n\nBenchmarks showed that AOT-compiling lein-droid yields no performance\nboost whatsoever, so I decided to drop it in favor of portability.\n" }, { "from": "human", "value": "(defproject lein-droid/lein-droid \"0.2....
clojure
chosen
[ { "from": "system", "value": "Move example to latest versions\n" }, { "from": "human", "value": "(defproject simple-re-frame \"0.5.0\"\n :dependencies [[org.clojure/clojure \"1.7.0\"]\n [org.clojure/clojurescript \"1.7.145\"]\n [reagent \"0.5.1\"]\n ...
clojure
chosen
[ { "from": "system", "value": "Fix transit dep on common-codec\n" }, { "from": "human", "value": ";; Copyright © 2014-2017, JUXT LTD.\n\n(def VERSION \"1.3.0-alpha3\")\n\n(defproject yada/transit VERSION\n :description \"Support for transit media-types\"\n :license {:name \"The MIT License\"\n ...
clojure
chosen
[ { "from": "system", "value": "Add ongoing requests counter to test server\n" }, { "from": "human", "value": "(ns clj-tutorials.main\n (:require [compojure.core :refer :all]\n [compojure.handler :as handler]\n [org.httpkit.server :refer [run-server]]))\n\n(defroutes app-rou...
clojure
chosen
[ { "from": "system", "value": "Change watch -> wait in audio tempalte\n" }, { "from": "human", "value": "(set-env!\n :source-paths #{\"src\"}\n :resource-paths #{\"resources\"}\n :dependencies '[[org.clojure/clojure \"1.8.0\"]\n [alda \"1.0.0-rc34\"]])\n\n(task-options!\n pom...
clojure
chosen
[ { "from": "system", "value": "Disable eftest multi threading by default\n" }, { "from": "human", "value": "(ns scratch\n (:require [clojure.test :as test]\n [clojure.repl :as repl]\n [eftest.runner :as eftest]\n [clojure.tools.namespace.find :as ns.find]\n ...
clojure
chosen
[ { "from": "system", "value": "Add (:gen-class) directive to allow\n\ndependent projects to use the media driver\nas a jar entrypoint.\n" }, { "from": "human", "value": "(ns onyx.messaging.aeron-media-driver\n (:require [clojure.core.async :refer [chan <!!]])\n (:import [io.aeron Aeron$Context]...
clojure
chosen
[ { "from": "system", "value": "Fix camelize-keys alias in ClojureScript\n" }, { "from": "human", "value": "(ns workflo.macros.jscomponents)\n" }, { "from": "gpt", "value": "(ns workflo.macros.jscomponents\n (:require-macros [workflo.macros.jscomponents\n :refer [de...
clojure
chosen
[ { "from": "system", "value": "Add `test-all` alias for test with different clojure versions.\n" }, { "from": "human", "value": "(defproject funcool/beicon \"3.3.0\"\n :description \"Reactive Streams for Clojure(Script)\"\n :url \"https://github.com/funcool/beicon\"\n :license {:name \"BSD (2-...
clojure
chosen
[ { "from": "system", "value": "Upgrade Clojure and ClojureScript versions" }, { "from": "human", "value": "(defproject visibility-2d \"0.1.0\"\n :description \"2D Visibility\"\n :url \"https://toblux.github.io/visibility-2d/\"\n\n :dependencies [[org.clojure/clojure \"1.7.0\"]\n ...
clojure
chosen
[ { "from": "system", "value": "Use correct name for jogl: jogl-all.\n" }, { "from": "human", "value": "(defproject quil \"2.0.0-SNAPSHOT\"\n :description \"(mix Processing Clojure)\"\n :url \"http://github.com/quil/quil\"\n :mailing-list {:name \"Quil Mailing List\"\n :archive ...
clojure
chosen
[ { "from": "system", "value": "Update codeina version to 0.3.0.\n" }, { "from": "human", "value": "(defproject buddy/buddy-auth \"0.6.1\"\n :description \"Authentication and Authorization facilities for ring based web applications.\"\n :url \"https://github.com/funcool/buddy-auth\"\n :license ...
clojure
chosen
[ { "from": "system", "value": "Exclude some transitive dependencies from Gatling. Those were not needed for generating charts.\n" }, { "from": "human", "value": "(defproject clj-gatling \"0.5.3\"\n :description \"\"\n :url \"http://github.com/mhjort/clj-gatling\"\n :license {:name \"Eclipse Pu...
clojure
chosen
[ { "from": "system", "value": "Update promissum and suricatta versions.\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 \...
clojure
chosen
[ { "from": "system", "value": "Use local repository for ML9\n" }, { "from": "human", "value": "(defproject uruk \"0.3.5\"\n :description \"Clojure wrapper of MarkLogic XML Content Connector For Java (XCC/J)\"\n :url \"https://github.com/daveliepmann/uruk\"\n :license {:name \"Eclipse Public Li...
clojure
chosen
[ { "from": "system", "value": "Update clj and cljs compiler versions.\n" }, { "from": "human", "value": "(defproject funcool/beicon \"0.5.1\"\n :description \"Reactive Streams for ClojureScript (built on top of RxJS 4.x)\"\n :url \"https://github.com/funcool/beicon\"\n :license {:name \"Public...
clojure
chosen
[ { "from": "system", "value": "Set compatibility with older JVMs" }, { "from": "human", "value": "(defproject naughtmq \"0.0.2-SNAPSHOT\"\n :description \"A native-embedding wrapper for jzmq\"\n :url \"https://github.com/gaverhae/naughtmq\"\n :scm {:name \"git\"\n :url \"https://github....
clojure
chosen
[ { "from": "system", "value": "Move to my jline fork\n\nWhile we're waiting for release, this takes care of #67\n" }, { "from": "human", "value": "(let [dev-deps '[[midje \"1.3-alpha4\" :exclusions [org.clojure/clojure]]]]\n\n (defproject reply \"0.1.0-SNAPSHOT\"\n :description \"REPL-y: A fi...
clojure
chosen