Skip to content
#

Clojure

clojure logo

Clojure is a functional, dynamic, general-purpose programming language. It provides built-in concurrency support via software transactional memory and asynchronous agents, and offers a rich set of immutable, persistent data structures. Clojure runs on JVM, JavaScript VMs, and Common Language Runtime.

Here are 4,081 public repositories matching this topic...

hanbaoan123
hanbaoan123 commented Feb 24, 2020

Issue Description

When I run the example cartpole with the default parameters, it can not converge to the max reward 200, I wonder what went wrong.
360截图20200224095510956

Version Information

Please indicate relevant versions, including, if relevant:

  • Deeplearning4j versi
ekkl
ekkl commented Jul 9, 2018
  1. Select theme with thick strip in line number block.
  2. Save and restart. Open some file. Нou see that the first characters of the lines are hidden under stripe.
  3. Open another file. All display properly.
  4. If you see carefully that the whole block with line numbers in the first case is shifted to the left.
    First file
    First file
lk-geimfari
lk-geimfari commented Aug 30, 2019

Well, we need to check all the projects and remove outdated ones.

We declare this in the readme:

However, keep in mind that we don't accept mammoth's shit. Only active and interesting projects with good documentation are added. Dead and abandoned projects will be removed.

But, sadly at this moment, this project looks like a mammoth shit itself.

We really need to fix it. I think

Deraen
Deraen commented Apr 26, 2020

Currently Reagent has one shortcut to control how components are created:

  • :> as shortcut to adapt-react-class which in effect calls create-element and converts the Cljs properties to JS object (doesn't wrap the component in Reagent implementation, so Ratoms won't work inside these components)
  • :<> isn't really shortcut, but just special element

I want to add two more:

  • Shortc
jacobemcken
jacobemcken commented Jan 2, 2020

I don't use Compojure on a regular basis (sometimes with years in between), so I always hit the wiki to find out how it is used. The basics are really intuitive and easy to get up and running. But I always struggle to figure out how the more complex stuff works. Specifically I have two reoccurring issues that I get stuck with every time, where I have to turn to web searches (usually ending up on S

datascript
MicahElliott
MicahElliott commented Feb 25, 2020

Parentheses are not required when using the threading macros for functions having no argument specified, so use them only when necessary.

;; good
(-> x fizz :foo first frob)

;; bad; parens add clutter and are not needed
(-> x (fizz) (:foo) (first) (frob))

;; good, parens are necessary with an arg
(-> x
    (fizz a b) 
    :foo
    first 
    (frob x y))
laliluna
laliluna commented Nov 11, 2017

I struggled to setup ring for development and production, as there are so many options.

I tried to compile what I found into two pages https://github.com/laliluna/ring/wiki/Setup-for-development and https://github.com/laliluna/ring/wiki/Setup-for-production

In addition I structured the Home page to make it a bit easier to read.
https://github.com/laliluna/ring/wiki

The examples are more

arichiardi
arichiardi commented Mar 22, 2020

Hi there, I have a warning here, not a big deal and I can try to have a look at in my free time but I wanted to report it.

Additional piece of info, I am using cider in a use-package clause.

Expected behavior

It should not show the warning.

Actual behavior

It shows the warning.

Steps to reproduce the problem

Start up emacs with a (compiled) cider version.

Compiled he

pedropombeiro
pedropombeiro commented Dec 7, 2018

Problem

Currently when a user receives a PN, we show a very generic message (no indication of sender, body, etc). This will change in the future (e.g. with status-im/status-react#7043), so it would be good to be more explicit about the fact that we are showing a generic PN message due to the db being locked. Also, since we may receive PNs from users we've since removed

poenneby
poenneby commented Apr 24, 2019

Hello!

I recently tried to setup REPL driven dev with Vim and while following your wiki entry I ran into some problems with library versions.
Below is the configuration that made it work for me:

REPL-y 0.4.3, nREPL 0.6.0
Clojure 1.10.0
  :profiles
  {:dev
   {:dependencies [[figwhee
happy-code-com
happy-code-com commented Mar 19, 2020

Good day
I have a problem connecting the presto driver

%%classpath add mvn
com.facebook.presto presto-base-jdbc 0.232
%defaultDatasource jdbc:presto://root@127.0.0.1:8282/hive/default

I can not figure it out and I can not see the full error trace.

image

marcomorain
marcomorain commented Apr 5, 2019

Thank you for HTTP, and thank you for the recent additions of the logging and event logging system - they were very easy to use, and very helpful. 💯

https://github.com/http-kit/http-kit/blob/495219c40f86488351c6cc604df155a7a5b1a065/src/java/org/httpkit/server/RingHandler.java#L236-L238

I've been investigating a problem in my system where requests are being sent to a server that is being s

colinhicks
colinhicks commented Sep 29, 2016

Currently, changes to plugin information models need to be mirrored, manually in the respective README.md.

This proposal outlines a possible approach to:

  1. Generate the relevant portion of the README directly from the info model.
  2. Integrate into the existing plugin release process.

A: Create a doc-gen lein plugin to render an information-model map into markdown

  • Content should correspond
hlship
hlship commented Mar 21, 2017

Tracking down a problem with the latest upgrade. Because of a resolve failure, the arguments to a field are included in an error map; one value is a java.time.LocalDateTime. Cheshire throws an exception when streaming this as JSON, and the final result is a response with a body that is the empty string.

The right solution is to use cheshire.generator/add-encoder:

(add-encoder LocalDa
jeroenvandijk
jeroenvandijk commented Apr 10, 2019

Not sure if it is the multiline or not, but when you try to execute the example commands of Github when creating a repo this fails in Closh:

echo "# adgoji-shell-scripts" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:millmobile/adgoji-shell-scripts.git
git push -u origin master

=>

echo "# adgoji-shell-scripts"
liberator

Created by Rich Hickey

Released October 16, 2007

Organization
clojure
Website
clojure.org
Wikipedia
Wikipedia

Related Topics

cljs clojurescript language
You can’t perform that action at this time.