search for: clojur

Displaying 20 results from an estimated 33 matches for "clojur".

Did you mean: clojure
2011 Jul 17
1
[LLVMdev] vmkit runtime errors
...uccessfully vmkit I have tried running my java applications, but it failed. I have installed the latest stable release of vmkit (0.29) using the introduction text of the LLVM website. The application does consist of two programs. The first one is a network-based class loader, the other one is a clojure-based Lisp-environment. The network class loader starts slowly with j3, but all is fine at the first moment. After requesting to load some classes and clojure files via an emacs session to the second program, I get following exception trace: Exception in thread "pool-2-thread-1" jav...
2013 May 14
1
PuppetDB Cannot Find Postgresql Driver
...a.lang.ClassNotFoundException: org.postgresql.jdbcDriver at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:61) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:188) at com.puppetlabs.jdbc$make_connecti...
2010 Apr 09
3
[LLVMdev] VMKit assertion failure
...::waitForExit (this=0x20525a8) at Jnjvm.cpp: 1225 #5 0x00001cf6 in main (argc=4, argv=0xbffff070, envp=0xbffff084) at Main.cpp:47 In the meantime I installed VMKit under Linux, where it works perfectly well for most applications I tried. However, I managed to crash it once: > j3 -cp clojure-1.1.0.jar clojure.main Stack overflow in VM code or in JNI code. If it is from the VM, it is either from the JIT, the GC or the runtime. This has to be fixed in the VM: VMKit makes sure that the bottom of the stack is always available when entering the VM. Segmentation fault There is no JNI code...
2010 Apr 10
0
[LLVMdev] VMKit assertion failure
Hi Konrad, I have added some diagnostic message when failing that early in the bootstrap in the VM. Please svn up and let me know what it prints. About the SIGSEGV you get with clojure.jar, I ran the code and got the same error. After investigation, it turns out that the methods you have in that .jar are quite big (50,000 bytecodes) and the static initializer of the core__init class just crashes LLVM because the stack of the thread is not big enough. I hate Java bytecode genera...
2012 Jan 28
2
Need very fast application of 'diff' - ideas?
...input vector x = runif(n=10e6, min=0, max=1000) x = round(x) #Find one-period difference y = diff(x) Question is: How can I get the 'diff(x)' part as fast as absolutely possible? I queried some colleagues who work with other languages, and they provided equivalent solutions in Python and Clojure that, on their machines, appear to be potentially much faster (I've put the code below in case anyone is interested). However, they mentioned that the overhead in passing the data between languages could kill any improvements. I don't have much experience integrating other languages, so I&...
2010 Apr 09
0
[LLVMdev] VMKit assertion failure
VMKit runs multiple threads (for example for GC, finalization, etc), so I need the back trace of other threads as well :) Thanks! Nicolas On Fri, Apr 9, 2010 at 9:28 AM, Konrad Hinsen <konrad.hinsen at fastmail.net>wrote: > On 7 Apr 2010, at 21:36, nicolas geoffray wrote: > > Hmm, I am not getting that error message on my MacOS 10.5 machine with >> that same gcc. Could you
2010 Apr 09
2
[LLVMdev] VMKit assertion failure
On 7 Apr 2010, at 21:36, nicolas geoffray wrote: > Hmm, I am not getting that error message on my MacOS 10.5 machine > with that same gcc. Could you run j3 in gdb and get me a backtrace? Sure: (gdb) bt #0 0x950be44e in __semwait_signal () #1 0x950e93e6 in _pthread_cond_wait () #2 0x950e8dcd in pthread_cond_wait$UNIX2003 () #3 0x000be2d2 in mvm::Cond::wait (this=0x20527c4,
2020 Mar 17
3
new bquote feature splice does not address a common LISP @ use case?
Dear R-devel, There is a new feature in R-devel, which explicitly refers to LISP @ operator for splicing. > The backquote function bquote() has a new argument splice to enable splicing a computed list of values into an expression, like ,@ in LISP's backquote. Although the most upvoted SO question asking for exactly LISP's @ functionality in R doesn't seems to be addressed by this
2013 Jan 14
18
Puppetdb will setting gc-interval to 0 disable it
I have multiple puppetdb severs pointed at the same database. Would setting gc-interval to 0 disable it on the extra puppetdb nodes? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/4DEyx0IXbLsJ. To post to this group, send email to
2013 Nov 20
2
Functional Programming patterns
Hi, ' Not specific to 'R'. I search for patterns and found http://patternsinfp.wordpress.com/ which is too heavy for me. There is a 'Pragmatic Programmer' book on such patterns for Scala and Clojure. Is there anything for R ? I wanted to code this. Is there a functional pattern in R for multiple 'if' loops like this ? if( is.na(str_extract(input,"T[^.]*")[1]) ){ }else{ Thanks, Mohan This e-Mail may contain proprietary and confidential information a...
2018 Jan 18
0
reading lisp file in R
...bly reach for vi... but I'm an old > Unix hacker. I certainly wouldn't teach that tooling. awk or perl could > certainly handle it; or if you want to give students a wider view of the > world you might wish to try ANTLR and get them to write a grammar to parse > the file. The Clojure grammar ( > https://github.com/antlr/grammars-v4/blob/master/clojure/Clojure.g4) would > be an interesting place to start, although Terence Parr's comment of "match > a bunch of crap in parentheses" would probably give a flavour of what to > implement. Depends what else...
2020 Mar 17
0
new bquote feature splice does not address a common LISP @ use case?
...ery similar to ..(1). In the former case a list of size 1 would be spliced, in the latter case a vector of size 1 is spliced. This would explain why .() and ..() have the same behaviour with scalars. While an interesting thought experiment, this is not how scalars work in R. It seems relevant that Clojure is a lisp that does not allow splicing scalars. Like rlang, Clojure defines the splicing operation in other contexts than pairlists, such as vectors. I suspect the rationale of making scalar-splicing an error in Clojure, even in pairlist context, is to avoid overloading the semantics of this funda...
2009 Mar 25
5
[Cucumber] ANN: Cucumber with pure Java
.../cucumber_java/blob/271160300da5bc9275dd67624f711c5ea6913187/examples/simple/src/main/java/simple/StuffSteps.java * The main page: http://github.com/aslakhellesoy/cucumber_java/tree/master By this I hope Cucumber will reach a bigger crowd. Much bigger crowd actually :-) - this will work for Scala, Clojure, Jython and all the other cool JVM languages too. (I''ll be doing something similar for .NET, which will bring Cucumber goodness to C#, F# and whatever languages run on .NET. But IronRuby must catch up on speed first). I had the pleasure of going back to visit PicoContainer - a pioneering...
2018 Jan 18
1
reading lisp file in R
Thanks! I am trying to use it in R. (Actually, I try to give my students experiences with different kinds of files and I was wondering if there were tools available for such kinds of files. I don't know Lisp so I do not actually know what the lines towards the bottom of the file mean.( Many thanks for your response! Best wishes, Ranjan On Wed, 17 Jan 2018 20:59:48 -0800 David Winsemius
2011 May 05
0
Ruby Koans an amazing platform for teaching programming. Would this work with R?
...ng many of the basics of programming in the Ruby language. It uses unit tests written for methods each of which describe a component of the Ruby programming language. http://rubykoans.com/ The koans platform has become popular enough that it has been translated to a few other popular languages. Clojure - https://github.com/functional-koans/clojure-koans Python - https://github.com/gregmalcolm/python_koans Javascript - https://github.com/mrdavidlaing/javascript-koans I have been programming with R for around two years now, having come to R as a non-programmer, hoping to use it as a pragmatic sol...
2013 Jan 22
1
[LLVMdev] Compiling to NVPTX
I'm in the process of writing a library and giving a talk about writing compilers using LLVM (llvm-c) and Clojure. As part of my talk I'd like to give an example of a program running on CUDA. Are there any papers, tutorials, examples, on writing a custom frontend for NVPTX? For instance, I'm trying to figure out how to get access to "global" variables like blockidx. I know that libc won'...
2010 Apr 10
2
[LLVMdev] VMKit assertion failure
...icolas, > I have added some diagnostic message when failing that early in the > bootstrap in the VM. Please svn up and let me know what it prints. It prints: Exception java/lang/UnsatisfiedLinkError while bootstraping VM That looks like a JNI issue. > About the SIGSEGV you get with clojure.jar, I ran the code and got > the same error. After investigation, it turns out that the methods > you have in that .jar are quite big (50,000 bytecodes) and the > static initializer of the core__init class just crashes LLVM because > the stack of the thread is not big enough....
2018 Mar 07
2
Call for Papers: ManLang 2018 (Sept. 10-14, Linz, Austria)
...ud-computing and big-data platforms) and anything in between (mobile, IoT, and wearable applications). ====== Topics ====== Topics of interest include but are not limited to: Languages and Compilers ----------------------- - Managed languages (e.g., Java, Scala, JavaScript, Python, Ruby, C#, F#, Clojure, Groovy, Kotlin, R, Smalltalk, Racket, Rust, Go, etc.) - Domain-specific languages - Language design - Compilers and interpreters - Type systems and program logics - Language interoperability - Parallelism, distribution, and concurrency Virtual Machines ---------------- - Managed runtime systems...
2012 Nov 21
1
[JOBS] RoR Developer at SF Google-Backed Start Up
...to prioritize & get things done - Have contributed to an open source effort - Write elegant, maintainable and easy-to-follow code - BS, MS or equivalent in Computer Science or related technical field - At least one year of experience developing web apps in Ruby, Python, Java or Clojure - Team player who feels at home in an open and flat-structured environment, and takes pride in a job well done *What We Offer:* Our team is composed of some of the most brilliant interdisciplinary minds in the industry. Climatology Specialists, Big Data Engineers, Mathematicians, Front...
2018 Mar 12
0
Call for Papers: ManLang 2018 (Sept. 10-14, Linz, Austria)
...een (mobile, IoT, and wearable > applications). > > ====== > Topics > ====== > > Topics of interest include but are not limited to: > > Languages and Compilers > ----------------------- > - Managed languages (e.g., Java, Scala, JavaScript, Python, Ruby, C#, > F#, Clojure, Groovy, Kotlin, R, Smalltalk, Racket, Rust, Go, etc.) > - Domain-specific languages > - Language design > - Compilers and interpreters > - Type systems and program logics > - Language interoperability > - Parallelism, distribution, and concurrency > > Virtual Machines >...