If you have simple things, you just have lot of things.
Rich Hickey
Lint Roller? I Barely Know Her
Xuebing Du

Kiana Khansmith

pixel skylines

Game of Thrones Daily
β
2025 on Tumblr: Trends That Defined the Year
h
The Bowery Presents
macklin celebrini has autism
Sade Olutola

titsay

Jar Jar Binks Fan Club
Claire Keane

bliss lane

@theartofmadeline
πͺΌ

romaβ
Mike Driver
seen from Pakistan
seen from T1

seen from TΓΌrkiye

seen from Malaysia
seen from United Kingdom
seen from Thailand
seen from Singapore

seen from United Kingdom

seen from Malaysia
seen from United States

seen from United States

seen from United States

seen from Iraq
seen from United States
seen from Czechia
seen from Vietnam
seen from United States

seen from Malaysia
seen from United States

seen from Indonesia
@reedho
If you have simple things, you just have lot of things.
Rich Hickey

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch β’ No registration required β’ HD streaming
Quickly exploring clojure libraries, the power of REPL
Given that your clojure environment already setup correctly, this flow demonstrated how to quickly exploring libraries:
lein try com.cemerick/pomegranate
Then on the repl:
(require 'cemerick.pomegranate) (defn add-deps! [dv] (cemerick.pomegranate/add-dependencies :coordinates dv :repositories (merge cemerick.pomegranate.aether/maven-central {"clojars" "http://clojars.org/repo"})))
Say i want to explore ring, then:
(add-deps! '[[ring/ring-core "1.4.0"]]) (require 'ring.util.io) (ring.util.io/last-modified-date (java.io.File. "/"))
Now do your own exploration!
Js XMLHttpRequest
Doing xhr on your (latest chrome) browser dev console, as easy as:
var __xhr = new XMLHttpRequest; __xhr.onreadystatechange = (e) => console.log("rsc:", e) __xhr.open("GET", "/somepath") __xhr.send()
There the power on your finger! happy exploring.
Clojure namespaced keyword
Given your ns declaration is like this:
(ns piko.core (:require [piko.route :as r]))
Then
::r/payment
Will be evaluated as :piko.route/payment. That is the Clojure reader save us some typing by doing automatic alias detection with double colon keyword literal.
And a year after
I am ready, welcome 2016, will be very exciting!

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch β’ No registration required β’ HD streaming
This is my first ever tweets story!
... You can hide the details of how the state is represented and you can carefully control the valid state transitions and you can control who has access to change the state, but you can't make the state private. State is the fact that something reacts differently to the same inputs at different times. If your favorite OO object has all private data but one single method does something different based on changing values in that hidden, private, super secret data then by definition state has been exposed to anything with access to that method or anything that has access to anything that has access to that method or anything that has access to anything that...etc.
http://james-iry.blogspot.com/2009/04/state-of-sock-tubes.html
String - byte array - ByteArrayInputStream - BufferedReader and back to String
Dooh, may the form below help you memories on string, stream and reader!
(->> "String" (.getBytes) (java.io.ByteArrayInputStream.) clojure.java.io/reader line-seq (clojure.string/join "\n"))
Clojure web server shoot-out - as of 06-Nov-2014 - So whats happens with aleph lately?
WHAT IS YOUR EARLIEST HUMAN MEMORY?
Dunno :)

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch β’ No registration required β’ HD streaming
Dho, Jeffri neh! gimana kabar? OK langsung aja, ada posisi di tempat gw, butuh orang expert kayak loe! PT Infinetworks wewewedotinfinetworksdotkom (disini gak boleh nulis link). Kalo mau coba, tlp gw di 08881852143. Atau kasih gw nomor loe, ntar gw yang telpon... Sori neh, nulisnya disini, susah nyari tlp loe... Sukses ya...
Oi, hola Bang Jeff.
Boljug neh, ntar gue telp ye agak maleman, di kantor gak dapet sinyal ^^.
Thanks!
core.async/ into & map
Below snippets demonstrate the usages of core.async/ into and map:
(require '[clojure.core.async :as async]) ;;; Into (let [c (async/chan 5)] (async/go (doseq [n (range 5)] (async/>! c n)) (async/close! c)) (->> (async/into [:values] c) async/<!!)) ;;=> [:values 0 1 2 3 4] ;;; Map (let [c1 (async/chan (async/sliding-buffer 5)) c2 (async/chan (async/dropping-buffer 5))] ;; Processor 1 (async/go-loop [n 0] (when (async/>! c1 n) (recur (inc n)))) ;; Processor 2 (async/go-loop [n 0] (when (async/>! c2 n) (recur (inc n)))) ;; Close c1 after 5 secs (async/thread (async/<!! (async/timeout 5000)) (async/close! c1) ;;(async/close! c2) ) ;; Main handler (-> (async/map + [c1 c2] 5) (.. buf buf))) ;;=> (4574 4571 4568 4565 4557)
core.async channels and what if i simply need to read whats on it now?
Put 100 values to channel with buffer size of 10 and read whats in the channel after. Note that reading the LinkedList of the channel directly by .buf give you NO guarantee on multithreading aspects:
(require '[clojure.core.async :refer [chan sliding-buffer dropping-buffer >!!]]) ;;; Dropping Buffer (let [c (chan (dropping-buffer 10))] (doseq [n (range 100)] (>!! c n)) (.. c buf buf)) ;;=> (9 8 7 6 5 4 3 2 1 0) ;;; Sliding Buffer (let [c (chan (sliding-buffer 10))] (doseq [n (range 100)] (>!! c n)) (.. c buf buf)) ;;=> (99 98 97 96 95 94 93 92 91 90)
Cinnamon is based on gnome3 and it uses gsettings to manage options. There OUGHT to be a checkbox in the cinnamon windows settings dialog to enable mouse focus and auto-raise, but until there is you can do the following from the command line. gsettings set org.gnome.desktop.wm.preferences focus-mode mouse gsettings set org.gnome.desktop.wm.preferences auto-raise true gsettings set org.gnome.desktop.wm.preferences auto-raise-delay 500
http://forums.linuxmint.com/viewtopic.php?f=208&t=123990

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch β’ No registration required β’ HD streaming
On the client side Pedestal is a purely functional, reactive, message-oriented framework. All the state is defined in two pieces: the data model and application model. On the surface each of those models is just a single Clojure map, effectively a tree.
http://squirrel.pl/blog/2013/05/16/getting-started-with-pedestal-on-client-side/
A bit about Scope: Lexical (Static) vs Dynamic Scoping
Scope that i want to talk here is about scope of an identifier in a programming language.
Suppose a scenario like this, in the exact order:
define a global variable x and bound 1 to it. Here x is the so called identifier.
define a function F which print the x variable above.
define another function G which does 2 things: (1) define a local variable with same name x and bound 100 to it, and (2) call function F above.
call the function G.
Guess what will be printed out by function F in the call of G?
Okay, let first make it with Clojure:
(def x 1) (defn F [] (prn x)) (defn G [] (let [x 100] (F)))
Pretty stright forward, yes! its also beautiful. Now lets see what the result of calling function G:
(G) ;; 1
Ok, seems logical. Lets now try it with the famous Javascript, try this with Google Chrome console (open new tab then C-I --or Ctrl-Shift-I, then clik Console tab in the inspector menu bar).
var x = 1 function F() { console.log(x); } function G() { var x = 100; F(); } G(); // 1
Oh, sure, same old, same result.
Do all programming will behave the same? Lets try once with some others:
Ruby:
$x = 1 def _F_ puts $x end def _G_ x = 100 _F_ end _G_ # 1
Perl:
$x = 1; sub F { print $x, "\n" } sub G { my $x = 100; F; } G; # 1
Wow.. its turn out that Ruby and Perl also does the same thing. So, now i can say most of languages use this kind of execution strategy. This is the one that is called as Lexical scoping, also known as Static scope in contrast to the other strategy that is called Dynamic scope.
Lets looks a language with dynamic scope nature. Wikipedia's page of Scope said that Bash (the bourne again shell) is one of them. Here is a bash script of it:
File /tmp/t.sh:
#!/usr/bin/env bash x=1 function F() { echo $x; } function G() { local x=100; F; } G;
Executing the script yield 100. Yes, its show 100, NOT 1.
chmod a+x /tmp/t.sh /tmp/t.sh
Other language which is historically use Dynamic scoping nature is the original Lisp and early Lisp dialects. Famous one that still use Dynamic scoping is Emacs Lisp (aka elisp). Here are the elisp version:
(setq x 1) (defun F () (message "%s" x)) (defun G () (setq x 100) (F)) (G)
Do M-x eval-region or such, will show 100.
Some language also can do both, e.g. Perl, Common Lisp and Clojure. Here are the version of Perl and Clojure that make use of Dynamic scoping:
Perl:
$x = 1; sub F { print $x, "\n" } sub G { local $x = 100; F; } G; ## 100
In this version, it use local instead of my to have Dynamic scope semantic.
Clojure:
(def ^:dynamic x 1) (defn F [] (prn x)) (defn G [] (binding [x 100] (F))) (G) ;; 100
Finally, now its time for you to figure out how and when to use the Lexical or Dynamic semantics on your program.