Re: Grateful Appreciation

2017-11-01 Thread Wei Hsu
I want to say the same. I've been using Clojure for nearly a decade and it remains my favorite language to work in, largely thanks to the ecosystem and wonderful community. Keep up the good work! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To po

Re: Parinfer on iOS

2016-08-22 Thread Wei Hsu
On the topic of Parinfer, what's the best Parinfer mode for Emacs right now? On Monday, August 22, 2016 at 3:52:33 PM UTC-7, Wes Morgan wrote: > > If anyone else would like to edit Clojure on iOS with parinfer (or is just > interested in expanding the number of places where Clojure can comfortabl

Re: [ANN] Reagent + Sente (+ Heroku) = Rente

2015-01-22 Thread Wei Hsu
How are you running Datomic on Heroku? On Thursday, January 22, 2015 at 8:53:29 AM UTC-8, Henrik Mohr wrote: > > (still) a moderate load. Around 10-50 users online at the same time. Not > an extreme load on the Datomic Peer library since not a whole lot of data > is stored per user (well, not fo

Re: resolving "eval"-created ephemeral classes that do not get unloaded

2015-01-12 Thread Wei "pw" Peng
. So, not much of a problem. On Monday, January 12, 2015 at 6:51:48 PM UTC-5, Gary Trakhman wrote: > > There's no need to use eval when reflection will do. > On Mon, Jan 12, 2015 at 6:45 PM Wei "pw" Peng > wrote: > >> I have a problem with stacking ephemeral dyn

resolving "eval"-created ephemeral classes that do not get unloaded

2015-01-12 Thread Wei "pw" Peng
I have a problem with stacking ephemeral dynamically generated classes that do not get unloaded, and therefore the host JVM's class count constantly increases. My situation is like this. I have a need in my program to dynamically interop with Java (see the example below for the exact meaning of

Re: [ANN] silc - a tiny entity database for clojure (games)

2014-12-02 Thread Wei Hsu
A pure entity database would have been useful for a game I was working on last month. I'll try it out for the next one. Thanks for publishing it! On Tuesday, December 2, 2014 2:37:06 PM UTC-8, dan.sto...@gmail.com wrote: > > I have put together a quick library http://github.com/danstone/silc that

unexpected behavior catching exceptions within a go block

2014-10-27 Thread Wei Hsu
This gist illustrates a problem I'm having where the channel is closed after running into an exception, even if I put a try/catch block around the block that generates the exception: https://gist.github.com/yayitswei/d80d51ee29dc5e2c1117 How do you handle exceptions when processing items asynch

Figurehead: privileged Clojure REPL for your rooted Android device/emulator

2014-08-18 Thread Wei "pw" Peng
Hi All, If you'd like to have a full privileged Clojure REPL on your rooted Android SDK18/Android4.3+ device/emulator, try this out: https://play.google.com/store/apps/details?id=figurehead.ui Some short video demos/tutorials: https://github.com/pw4ever/tbnl/wiki/demos Give it a try if you co

TBNL: power tool for Android system hacking tool in Clojure

2014-07-16 Thread Wei Peng
mplementation to plugins. The code is quite modular and straightforward to extend. If you have time, give it a try. I'd love hear from you how it can be improved. Wei. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to th

trouble using local jars in project

2014-06-04 Thread Wei Hsu
I'm having trouble using local jars in my project. I've built the jars and installed them with localrepo. wei:clj-opencv wei$ lein localrepo install opencv-249.jar opencv/opencv 2.4.9 wei:clj-opencv wei$ lein localrepo install opencv-native-249.jar opencv/opencv-native 2.4.9 The ja

Re: Functional programming and security

2014-05-04 Thread Wei Hsu
Perhaps Cecil is referring to this article, Clojure web security is worse than you think, describing the immature state of Clojure's web security libraries. I don't think the language itself has much to do with this

problem catching exceptions in webapp

2014-02-27 Thread Wei Hsu
I'm having trouble catching exceptions in my Compojure web app. Made a small test case to illustrate the issue: https://github.com/yayitswei/exceptiontest Could you take a look and spot what I'm doing wrong? Thanks, Wei -- You received this message because you are subscribed to

Re: ANN 2 years of ClojureWerkz

2013-11-20 Thread Wei Hsu
Huge fan of ClojureWerkz libraries. Thanks for the great code and documentation! On Wednesday, November 20, 2013 4:26:23 PM UTC+8, Las wrote: > > Hi Michael, > > outstanding work, thanks for taking the lead on this effort and many > thanks to all the contributors. > > Las > > Sent from my phon

Re: Two Way DOM binding in clojurescript

2013-08-21 Thread Wei Hsu
Maybe try out cljs-binding , or angular extensions like clang or purnam . On Thursday, June 14, 2012 2:47:15 PM UTC+8, Murtaza Husain wrote: > > Hi, > > I would like to data in

Re: Clojure in production

2013-06-19 Thread Wei Hsu
Hi Plinio, I used Clojure at Airtime last year to do load testing and deploy infrastructure. More recently, I'm using Clojure to build Bitcoin-related projects backed by bitcoinj, including this bitcoin scratcher game for fun. On Monday, June 10, 2013 2:47:25 PM UTC

Re: Best IDE

2013-06-02 Thread Wei Qiu
Hi, I used to use slimux+tmux combination until I find vim-fireplace. It's really cool. For me it makes life much easier. On Wednesday, January 18, 2012 8:35:34 PM UTC+1, Jeb wrote: > > Any suggestions for a vim man? > > On Wed, Jan 18, 2012 at 1:29 PM, Cedric Greevey > > > wrote: > >> On Wed,

Re: ritz-nrepl starts up slowly?

2013-05-13 Thread yizhen wei
I heard using a sdd can reduce the time a lot. Maybe 5x? Can someone confirm on that? On Monday, May 13, 2013 6:17:38 PM UTC-4, Warren Lynn wrote: > > > >> Is it normal to take this long to start the repl? >> >> >> > I don't know if it is normal. But I can confirm it takes much longer to > sta

ritz-nrepl starts up slowly?

2013-05-12 Thread yizhen wei
Hi, I found that my ritz-nrepl takes 25 plus seconds to start. While the nrepl would only take 10 secs. I'm using ubuntu 13.05 with 2.3g dual core and 4gb ram. My project contains around 7 dependencies. Is it normal to take this long to start the repl? I also noticed that the lein ritz-nrepl

Re: http-kit on heroku?

2013-04-14 Thread Wei Hsu
nly think to remember is that the port of the server is stored in >> the port environment variable. >> >> So, >> just try :) >> >> >> On Sat, Apr 13, 2013 at 11:22 PM, Wei Hsu wrote: >> >>> Does anyone have an example of deploying http-kit on

http-kit on heroku?

2013-04-13 Thread Wei Hsu
Does anyone have an example of deploying http-kit on Heroku? The official example uses Jetty. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroup

In order to get java-like performance, one needs to write java-like code first?

2013-02-28 Thread yizhen wei
I just start learning clojure recently. So I was looking for some performance related post on the internet, and found some optimization tips, "fast" clojure code and so on. Which lead to the question above. It seems like most of the time we have to write longer, more java-like code (which I fo

Re: Best way to include a passwords file in a project?

2012-12-19 Thread Wei Hsu
I second Manuel's environment variable approach. On herokuthis is easy to set with heroku config:add PASSWORD_FILE="/etc/passwords" For more complex deployments, you can use automation systems like Pallet or Chef to manage environment variable

Re: STM - a request for "war stories"

2012-12-13 Thread Wei Hsu
To add to the conversation, I wrote an agent-based website load tester earlier this year for work. Happy to share my thoughts with Paul offline if he thinks it's useful, although I wouldn't be able to share the code itself. On Dec 11, 2:25 am, Marko Topolnik wrote: > To give the full story, I sho

Re: ANN: ClojureScript release 0.0-1503

2012-10-15 Thread Wei Hsu
Thanks for the hard work guys! On Sunday, October 14, 2012 3:06:24 PM UTC-7, Stuart Sierra wrote: > > Available in the Maven Central Repositories: > > > http://search.maven.org/#artifactdetails%7Corg.clojure%7Cclojurescript%7C0.0-1503%7Cjar > > Complete change log: > > http://build.clojure.org/job

Re: problem with extern file using cljsbuild

2012-10-14 Thread Wei Hsu
lly qualified names? e.g. google.maps.LatLng rather than maps/LatLng On Sunday, October 14, 2012 4:36:14 AM UTC-7, Pierre Henry wrote: > > Following the link to the extern file > it seems the *google.map *lib is not found when the VM loader try to load > your code... > > Le dimanche 14 o

problem with extern file using cljsbuild

2012-10-14 Thread Wei Hsu
I'm using the Google Maps API in my Clojurescript project, which worked fine until I compiled in advanced mode. The compiler doesn't seem to pick up the extern filethat I specified. Could someone point

Re: {:new "ClojureScript One TodoMVC" }

2012-10-05 Thread Wei Hsu
Thanks for sharing! I found it quite helpful. On Tuesday, October 2, 2012 1:34:56 AM UTC-7, Pierre-Henry Perret wrote: > > The best way to learn is to practice ! > > So I have choosed to make the *TodoMVC* template (see [0]) application > with *ClojureScript One* and *Enfocus*. ( see [1] for run

inheritance when extending goog library

2012-10-01 Thread Wei Hsu
esn't. Therefore, I'm extending goog.ui.Disposable using Brian Taylor's macro (http://www.50ply.com/blog/2012/07/08/extending-closure-from- clojurescript). The problem is, how do I make goog.ui.Popup use my version of Disposable? Thanks, Wei -- You received this message because you a

Re: clojurescript repl in vim -- java.lang.OutOfMemoryError

2011-12-19 Thread Wei Hsu
Thanks Meikel, sounds like the vimclojure group is a good forum and I'll ask there. On Dec 19, 1:20 am, Meikel Brandmeyer wrote: > Hi, > > this likely a more involved topic. Repls from stock Vim are difficult. That's > the reason VimClojure currently rolls its own. I doubt that the ClojureScript

clojurescript repl in vim -- java.lang.OutOfMemoryError

2011-12-19 Thread Wei Hsu
n help me set up the workflow, it would be hugely appreciated! Wei -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be pat

Re: leiningen 1.6.1 not compatible with lein-nailgun 1.1.0

2011-07-19 Thread Wei Hsu
Thanks for the tips, Phil! This may be somewhat of a newbie question, but what's the best way to modify lein-nailgun and include that local fork in my project using leiningen? On Jul 17, 9:49 pm, Phil Hagelberg wrote: > On Sun, Jul 17, 2011 at 8:37 AM, Phil Hagelberg wrote: > > * It starts a bac

leiningen 1.6.1 not compatible with lein-nailgun 1.1.0

2011-07-16 Thread Wei
Hello, I've upgraded leiningen to 1.6.1, and found that I can't use it on my old projects. wei$ lein help Leiningen is a tool for working with Clojure projects. Several tasks are available: leiningen.classpath Problem loading: clean Remove compiled class files and jars fr

Re: shell process hangs in REPL

2011-05-16 Thread Wei Hsu
Just to close out this thread, my workaround was to use Clojure to generate a shell script which I then ran manually from the command line. On May 15, 8:40 am, Wei Hsu wrote: > Thanks Meikel, I am using leiningen and that works beautifully! > > So, I'm pretty sure it's a mem

Re: shell process hangs in REPL

2011-05-15 Thread Wei Hsu
crease the memory for the process-- is it in the leiningen config? On May 15, 3:43 am, Meikel Brandmeyer wrote: > Hi, > > Am 15.05.2011 um 09:31 schrieb Wei Hsu: > > > Meikel, what are the commands to start an external repl and tie it > > with nailgun? > >

Re: shell process hangs in REPL

2011-05-15 Thread Wei Hsu
n May 15, 12:19 am, Meikel Brandmeyer wrote: > Hi, > > Am 15.05.2011 um 07:12 schrieb Wei Hsu: > > > I'm using vimclojure and nailgun. > > A general note: > > The vimclojure shell blocks until the whole command is completed accumulating > all output on the

shell process hangs in REPL

2011-05-14 Thread Wei Hsu
I have a process which runs fine in my bash terminal, but hangs when I run it using clojure.contrib.shell-out/sh in the REPL. Any tips on how to debug this? Would it be a memory issue, or something else? in bash: ./wkhtmltopdf --footer-html footer.html --encoding UTF-8 http://[really long web pag

Re: Cyber Dungeon Quest Alpha 1

2011-04-15 Thread Wei Hsu
Very cool! I really enjoyed playing it. On Apr 14, 12:20 pm, Alan wrote: > Similar error for me, on Ubuntu. Exception and "wrapped exception" > follow. Looks like you may need permissions set better? 403 is > Forbidden. > > com.sun.deploy.net.FailedDownloadException: Unable to load > resource:ht

newbie question: where are my log messages going to?

2010-08-28 Thread Wei Hsu
Hello, I'm using the clojure.contrib.logging library (logging/spy seems very useful!) but I don't know which file it's writing to. Can you please advise? Thanks, Wei -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: Unable to use contrib

2009-10-07 Thread Wei Yuan Cai
Hello, Try (clojure.contrib.math/lcm 4 5) Regards Wei Weiyuan wrote On 07-Oct-2009, at 12:36 PM, vishy wrote: > > Hi, > > I am on windows machine. I am using these commands to startup clojure, > but not able to use functions from contrib library. > > java -cp clojure.ja