2ab66eaa912a8d"> Commits 692 Releases 1 Wiki

692 Commits (f4911b359817875737aa3ec3d02ab66eaa912a8d)

Autor SHA1 Nachricht Datum
  Lucas Stadler f4911b3598 Return nil in function_read_file if not found vor 10 Jahren
  Lucas Stadler 9bc70ed00f Support basic commandline arguments vor 10 Jahren
  Lucas Stadler a2a6817f6b Use print_value in the repl vor 10 Jahren
  Lucas Stadler 56ceb734f4 Make debug_print_value a macro, add print_value vor 10 Jahren
  Lucas Stadler c21db3c52f Add a simple REPL using linenoise vor 10 Jahren
  Lucas Stadler 5cb9cba628 Return nil in function_load if file is not present vor 10 Jahren
  Lucas Stadler ad52b5d8d9 Ignore .vscode directory vor 10 Jahren
  Lucas Stadler 3efe3ad6ea Ignore a local checkout of planck vor 10 Jahren
  Lucas Stadler 97e800fa5f Get much closer to get something real up and running vor 10 Jahren
  Lucas Stadler ecac3984de Improve style of long function definitions vor 10 Jahren
  Lucas Stadler 942438933e Add munge to convert cljs to js name vor 10 Jahren
  Lucas Stadler b7deef8a6c Fix a segfault in get_contents vor 10 Jahren
  Lucas Stadler 5efb369535 Remove printf remaining from debugging vor 10 Jahren
  Lucas Stadler 26647dae6c Enable debug output in evaluate_script vor 10 Jahren
  Lucas Stadler 9259f920b6 Make it easier to change the compiler vor 10 Jahren
  Lucas Stadler bd9da65e81 Add basic zip extraction using libzip vor 10 Jahren
  Lucas Stadler 3f58c6038c Prepare Makefile for multiple source files vor 10 Jahren
  Lucas Stadler 82556c6364 Add task to create makeshift JavaScriptCore "docs" vor 10 Jahren
  Lucas Stadler eff7101602 Ignore compiled js, binaries and utility files vor 10 Jahren
  Lucas Stadler c70652c800 Add .vimrc to make syntastic work vor 10 Jahren
  Lucas Stadler 8e959cc7d3 Add a Makefile vor 10 Jahren
  Lucas Stadler b87b8db485 Rename jsc-test to ton vor 10 Jahren
  Lucas Stadler 688c69ed9c Port bootstrap from planck vor 10 Jahren
  Lucas Stadler be1d5b4aa0 Fix file reading and move it into a function vor 10 Jahren
  Lucas Stadler c7b52b09b1 Use evaluate_script instead of JSEvaluateScript vor 10 Jahren
  Lucas Stadler 4ab9cbd6b3 Extract evaluation to a separate function vor 10 Jahren
  Lucas Stadler be70524e7c Print import errors when DEBUG is set vor 10 Jahren
  Lucas Stadler 6763eedf44 Support importing scripts from disk vor 10 Jahren
  Lucas Stadler 1534383cb9 Prefix jsc callbacks with `function_` vor 10 Jahren
  Lucas Stadler 8d3c007a52 Make console_log look like console_error vor 10 Jahren
  Lucas Stadler aacc99e87b Provide console.log and console.error vor 10 Jahren
  Lucas Stadler a65348d504 Add a CONSOLE_ERROR function vor 10 Jahren
  Lucas Stadler 896951e4ee Remove unnecessary newline vor 10 Jahren
  Lucas Stadler c630cf6b6b Add a neat little example of using JavaScriptCore vor 10 Jahren
  Lucas Stadler 2e7e56f0ee A simple time-to-socket-printing server example vor 10 Jahren
  Lucas Stadler 9675e544dd Support caching results vor 10 Jahren
  Lucas Stadler a9c121e78e Ignore the binary vor 10 Jahren
  Lucas Stadler b8d77af5b5 Don't panic if getting the info fails vor 10 Jahren
  Lucas Stadler d3ce7b4d7f Use http if no protocol was specified vor 10 Jahren
  Lucas Stadler 40442c3eb1 inquire: A tiny program to get metadata about a url vor 10 Jahren
  Lucas Stadler 7d4bd2f1d6 Use encrypted websocket if connected via https vor 10 Jahren
  Lucas Stadler 60b203733d Fix printing the address we're listening on vor 10 Jahren
  Lucas Stadler 304ca8447d Listen only on localhost vor 10 Jahren
  Lucas Stadler 9108c467b9 Listen only on localhost vor 10 Jahren
  Lucas Stadler d84545543b Note that it needs to be built with nightly vor 11 Jahren
  Lucas Stadler cd8a3f38e5 Add a tiny README.md vor 11 Jahren
  Lucas Stadler b030f12a8e Merge the two `impl` blocks for PNGImage vor 11 Jahren
  Lucas Stadler 9716e26c45 Put message conversion into a method vor 11 Jahren
  Lucas Stadler 6d9d9d168c Use an iterator to convert the message vor 11 Jahren
  Lucas Stadler f7ec2ddc92 Rename png_image to PNGImage vor 11 Jahren
lp - git.papill0n.org

Sin Descripción

Lucas Stadler 3c38f9f99f more detailed note about clojure startup overhead. %!s(int64=12) %!d(string=hace) años
..
clarity 8a0ad0ae29 use om 0.3.0. %!s(int64=12) %!d(string=hace) años
datomic 523d426c1d add examples from demo session. %!s(int64=12) %!d(string=hace) años
joy 42b92e1e6c A few thoughts on The Joy of Clojure. %!s(int64=13) %!d(string=hace) años
shopping_list 40f7914054 shopping_list: Rewrite, with better api & features %!s(int64=13) %!d(string=hace) años
.gitignore b23166c3fb Add Makefile to get path data. %!s(int64=13) %!d(string=hace) años
Makefile b23166c3fb Add Makefile to get path data. %!s(int64=13) %!d(string=hace) años
README.md 3c38f9f99f more detailed note about clojure startup overhead. %!s(int64=12) %!d(string=hace) años
hello_clojure.clj af7d838eef Make hello-clojure `(use)`-able. %!s(int64=13) %!d(string=hace) años
macros.clj ababe23344 Implement a scheme-inspired version of cond. %!s(int64=13) %!d(string=hace) años
paths.clj ef4ee343c6 Convert tag keys to keywords if possible. %!s(int64=13) %!d(string=hace) años
pings.clj 33cc9a6b5f Add pings clj-session (brain-dump). %!s(int64=13) %!d(string=hace) años
project.clj 17af9c99d4 Use cheshire for JSON de/encoding. %!s(int64=13) %!d(string=hace) años
shame.clj 83fcde63ca Write out the todo-list after each modifying operation. %!s(int64=13) %!d(string=hace) años

README.md

Learning (aka. playing with) Clojure

  • first heard about it early 2012 (I think)
  • dipped my feet in a few times since then
  • came across (i.e. read or saw things they did) a few interesting people using/writing Clojure in interesting way (fogus, Rich Hickey, Chris Granger)
  • now reading 'The Joy of Clojure' (and enjoying it)

Tools

  • mostly LightTable
  • previously Vim with the VimClojure plugin, but not right now (LightTable 'feels' more interactive to me and what I miss most from Vim (keybindings) will be in LT soonish, I also think that something like LT has more potential to be extensible and has a much saner extension language)
  • the clj repl

Little thoughts

  • a lot of interesting people with interesting ideas use Clojure, so maybe it encourages thinking about problems first? you can simply start coding something before having any idea what you're going to do (which is both good and bad).

Giggles & quibbles

  • the giggles
    • homoiconic
    • has macros
    • good feature inheritance (supposedly, not as in OO)
    • lots of cool projects (datomic, matchure, ring, lighttable, typed-clojure)
  • the quibbles

    • the dynamic type-system continues to bite me could be my fault, but I often jump right in without reading the whole documentation and have spend too much time tracking weird errors down that were all fixed by changing one place in the code
    • learning new libraries without sufficient docs/tutorials (e.g. what are the arguments to this function, what does this map mean; maybe clojure wants me to think differently)
    • the jvm overhead is bad for my little computer (too slow, too much memory consumed)

      it also makes it difficult to quickly explore some ideas without creating a new project (in most cases, mostly to get libraries), starting a jvm... etc.

      i'd really love a version of clojure without this overhead, even if it is a lot slower. maybe clojure-scheme could be that.

Hickups

Some examples for the quibbles.

  • (if (= something something-undefined) true-expr false-expr) not throwing an exeption for something-undefined being not defined