background preloader

4clojure – Welcome!

4clojure – Welcome!

Programming, Software, and Technical Interview Questions - XOR Swap Clojure Libraries Incanter: Statistical Computing and Graphics Environment for Clojure Welcome Warning: LiteratePrograms is currently undergoing a license migration to Creative Commons CC0 1.0. All content will be erased unless its authors agree to release it under CC0. If you wish for your contributed content to be retained, please add a statement to your user page that you release all your contributions under CC0 1.0, and inform me via Special:Emailuser/Dcoetzee. Based on Donald Knuth's concept of literate programming, LiteratePrograms is a collection of code samples displayed in an easy-to-read way, collaboratively edited and debugged, and all released into the public domain under the Creative Commons CC0 1.0 waiver (see Copyrights) so that anyone can use our code and text for any purpose without restriction. Code on LiteratePrograms is organized in a variety of ways using categories: by subject area, by language, by environment, and so on. If you're interested in contributing your own programs, you can read about how to write an article. List of all articles hijackerhijacker

Clojure Cup 2013 First hundred days of Clojure | byte bohemian In politics you have a one hundred days period of grace. In December I started to work with Clojure, so I guess it’s time to have a clojure look. In the last couple of years I encountered a couple of different languages. At scoyo it was ActionScript and Flex from Adobe. When we started to work on our new product I said to my boss and my colleagues: In Java I know how a state of the art application has to look like, but I have no clue how to build a Clojure application. Leiningen (aka lein) – The build and dependency managmement tool for Clojure.Noir – A nice library to build websites/-services in Clojure.CongoMongo and mongoDB – The database driver and the database we use. My first days with Clojure When you are coming from a language like Java you are used to some things like:Structure everything – Static typing is your friend, so smack every data you have into a class. Lots of ceremony – When you work in Java you create a huge amount of classes. (for [i (range 1 100)] (println i))

Learn jQuery in 30 Days Reactive programming is a way of coding with asynchronous data streams that makes a lot of problems easier to solve. RxJS is a popular library for reactive...Once in a while, it's important for us as developers to go back to what made us excited about computers in the first place. For Derek Jensen, that is gaming....React is a flexible framework that makes it easy to build single-page web applications. One of its tools is a set of lifecycle methods which you can add to...The PixelSquid plugin for Photoshop is an exciting new technology that provides the benefits of 3D elements without having to understand a 3D program or the...How your app looks is as important as how it works, and animation is an important part of modern user interfaces. Whether by changing the color of an element...jQuery UI is an extension of jQuery that makes it easy to create clean user interface elements for your websites.

Light Table 0.4 28 Apr 2013 Today, I'm proud to announce the 0.4 release of Light Table - go download it! A bit of the future. With this release our goal was to bring more people into the fold, to increase the number of languages we can eval, and to smooth out some of the core experience. Next-gen web dev One of the things I originally showed in the Light Table videos was the ability to embed your work directly into Light Table itself. You can now stick a browser in a tab, navigate to any page you want and start live modifying it. The most requested language from our survey was Javascript by a fair margin and a lot of people were hoping for deeper JS integration. But the most powerful thing to me is the level of eval we now have. Oh and speaking of Javascript.. you can eval into a NodeJS process now too. Speaking snake: Python support SSssssss. Python support comes complete with inline results/exceptions and integration with the console. Documentation There's finally a nice set of documentation! The plan Links

Writing a Clojure/Clojurescript Web Project: Part 1 | Clojured - Figuring out Clojure, Clojurescript, Web frameworks and more This post is an explanation of what I'm using to write Clojure/Clojurescript web projects. I will take you through the basics of writing web app using the technologies I enjoy working with the most. It will delve into the following topics:A basic review and explanation of the concepts of Clojure/Clojurescript.The software ecosystem surrounding writing a Clojure/Clojurescript web project.The libraries and frameworks I've chosen to use.How to write something basic. Part 2 will cover: How to run the server and deploy a standalone (uberjar) executable which includes your web project and the jetty web server to serve it.Adding NoSQL database functionality with the Redis NoSQL database server and the carmine Redis library. Basic Clojure and Clojurescript Roles and Concepts This is to reinforce the difference between Clojure and Clojurescript. Software Ecosystem I'm doing my development on Windows 7, however the tools I'm using should all be available for both OSX and Linux. Leiningen Light Table

Sphere Online Judge (SPOJ) Running contests Past contests So far we have hosted 3282 contests (2224 completed, 1051 currently running, 7 scheduled), of which 20 were official and 2732 were open to all participants. If you are interested in receiving contest hosting privileges for your SPOJ account, please drop us a line. VIM Adventures Clojure: Destructuring In The Joy of Clojure (TJoC) destructuring is described as a mini-language within Clojure. It's not essential to learn this mini-language; however, as the authors of TJoC point out, destructuring facilitates concise, elegant code. What is destructuring? Clojure supports abstract structural binding, often called destructuring, in let binding lists, fn parameter lists, and any macro that expands into a let or fn. -- The simplest example of destructuring is assigning the values of a vector. user=> (def point [5 7])#'user/point user=> (let [[x y] point] (println "x:" x "y:" y))x: 5 y: 7 note: I'm using let for my examples of destructuring; however, in practice I tend to use destructuring in function parameter lists at least as often, if not more often. I'll admit that I can't remember ever using destructuring like the first example, but it's a good starting point. user=> (def indexes [1 2 3])#'user/indexes user=> (def point {:x 5 :y 7})#'user/point

Practice and Learn - Google Code Jam On this page you can see results and code from past rounds of Google Code Jam, and you can try the problems for yourself. If you're new to Code Jam, try following the Quick-Start Guide. Where should I start? If you're new to programming contests, we highly recommend starting with the least difficult problems and moving up from there as you get more confident. Here are some choice problems for new competitors: Africa 2010, Qualification Round: Store Credit, Reverse Words. Remember, if you get stuck you can look at someone else's solution (click a "solutions" link below) or join our mailing list and ask for help. Finding Solutions You can click a "solutions" link below, but those aren't really indexed in a helpful way. Google of Greater China Test for New Grads of 2014 Code Jam for Veterans 2013 Google Code Jam Korea 2012 Google Code Jam Japan 2011 Code Jam Africa and Arabia 2011 Google Code Jam Africa 2010 TopCoder The Sphere Online Judge also hosts a lot of problems.

Related: