HNHacker News
TopNewBestAskShowJobs

escherize

875 karma · joined January 21, 2013

escherize.com
submissionscomments
escherize··on Lisp as a Vehicle for Rapid Prototyping (1997)
There's been a lot of work around this lately. Here's an article: https://clojureverse.org/t/react-native-expo-with-shadow-clj...

tldr: npm install something fast hot reloads data-oriented clojurey goodness

escherize··on Show HN: Easy intro book to Clojure and immutability
I'd buy such a book.
escherize··on A whirlwind tour of object-oriented code in F# (2012)
What do you do where you are using Racket most of the time?
escherize··on ClojureScript: Graal.js REPL Environment
I've had a wonderful time designing a Santorini (the board game) clone[0] in clojure/script. The game logic is written once and used on the client for local play and on the server for realtime multiplayer.

The polymorphism clojure offers (multimethods here) came in handy for dispatching websocket messages, and for drawing pieces onto the board.

[0] https://buildtowers.club

escherize··on A Year in Clojure
Here's some valid json that might be useful:

    {"signup/username": "John",
     "signup/password": "pg4pres"}
Then, because you can pass in a function to get called on the keys, just check for a regex like (.+)/(.+) and turn it into a keyword. Here I'll write a function like that real quick using a repl with a nice ux: https://s3-us-east-2.amazonaws.com/photoblobs/Screen_Recordi...
escherize··on Lumen: A Lisp for Lua and JavaScript
Looks cool! I wonder: what's the rationale for it exactly?
escherize··on Portacle – A Portable Common Lisp Development Environment
Prelude is extremely good. It's the best way to get up and running with helm, and only the support for langs you care about (thanks to prelude-modules.el).
escherize··on REPL-Driven Development (2017)
Clojure has dealt with this problem actually. If you are curious check out mount, component, and this blog post: http://thinkrelevance.com/blog/2013/06/04/clojure-workflow-r...
escherize··on Why some apps use fake progress bars (2017)
Wow, I thought I was the only one.
escherize··on Telegram removed from the App Store for 'inappropriate content'
Should they pull their Messages app for the same reason? How about any ios email clients?
escherize··on Clojure 1.9 is now available
Immutable by default

Lots of support

Great interactive workflow (with Emacs, Intellij, or Atom)

Data oriented (Most of your code are pure functions making

simple operations on datastructures)

escherize··on Clojure 1.9 is now available
Yes! With this release clojure.spec is ready to go (tm).

It adds a ton to Clojure(script), including better error messages (yes!), data-structure shape declarations, generation of data, writing quickcheck (generative) tests for a function by just describing the args and return values of functions, and more.

escherize··on Simple React Patterns
I use reframes little brother, citrus with cljs and it has been awesome. The promise of data oriented frontend engineering really pays off.

https://github.com/roman01la/citrus

escherize··on Data Classes for Java
now in... clojure? We usually don't use dynamic dispatch, but if you wanted to explicitly have an animal-ey map with a name and number of legs, it's:

    (def dog #:animal{:name "dog" :number-of-legs 4})
escherize··on Dueling Rhetoric of Clojure and Haskell
Educate yourselves. https://github.com/edn-format/edn/blob/master/README.md#tagg...
escherize··on Study shows the top 0.01% of Scandinavian households underpaid taxes by 30%
Textbook ad hominem.
escherize··on The new Google Calendar for web
While siphoning up more user data.
escherize··on Clojurecademy is now open source
It's great to see clojure in the wild. I have to cringe a little at the use of a bunch of atoms like this:

  https://github.com/clojurecademy/clojurecademy/blob/master/src/cljs/clojurecademy/course.cljs#L37
Also, seeing a whole lot of calls to set-event-handler really rubs me the wrong way.

To the author, are you willing to let someone move this to more cljs (i.e. a big state atom with dispatches and subscriptions)?

escherize··on Show HN: nEXT Browser – A Lisp-based browser
Here's a working example: https://github.com/noprompt/garden
escherize··on How to 2X Your Salary as a Software Engineer
I've worked for many 1 year stints (everywhere I've worked besides my old startup), and have never had a problem finding jobs.

Of course I probably wouldn't know if a place passed on me because of that.

I wonder what the probability distribution for how much hirers weight "loyalty" or "stick-around-ness" looks like.

escherize··on SF residents get a shock: Someone bought their street
If someone owns something and rents it out, could you explain how that not provide value?
escherize··on Clojure will affect the way you think about programming
Nothing I've used has the combination of ease of use and interactivity. It's pretty difficult to explain, but one can send both top level forms, or smaller pieces of code to the repl and get results without leaving the code one is working on.

https://s3.us-east-2.amazonaws.com/photoblobs/screencast_201...

escherize··on Firefly – An open-source $5 DIY hardware wallet
Could someone explain how this costs $5? Does that mean if you already have most of the parts laying around? I'm actually curious.
escherize··on Why isn't everything normally distributed?
Hmm, why is that?
escherize··on Alienation 101: On Chinese Students in the American Midwest
Logicchains, you are aware of how many students are turned down by UC schools yes? It might just be that those folks they turned down would fill those seats.
escherize··on Universal Jinja: a crazy idea for a Python-ready front end
I love hiccup so I wrote http://escherize.com/hiccup.space
escherize··on A reality check for virtual headsets
Do you have a fliphone? How often would you honestly say you check the weather with it?
escherize··on Not Just Mike Pence. Americans Are Wary of Being Alone with the Opposite Sex
chilling effect: completed.
escherize··on History of Lisp Editing
I incorporated parinfer into my reagent live coding environment here[1], and it's been working pretty well.

I have also used Atom with Parinfer to teach a nontechnical designer the basics of clojure. Enough to build templates using hiccup for her resume, and personal website. I don't think smartparens or paredit would be anywhere near as easy for her to pick up.

If you're used to indentation being meaningful as some langs do, you should probably try out clojure/script with parinfer.

[1]: http://escherize.com/cljsfiddle

escherize··on Functional programming in JavaScript is an antipattern
Coming from Clojure to ClojureScript, I must say I have had some hard times with the dynamic, mutable, APIs that a lot of js libraries have.

Even though interop is possible and not difficult, I am so much more comfortable using cljs wrappers (there are a lot) or in my part of the world (cljs - land). One reason is that the clojure way (tm) is to use immutable data and pure functions. It bugs me to enact stateful changes.

One way out is to have a datastructure that stores the state of the entire browser (what url am i on, what's in local storage?) and change the datastructure while some unspeakable side effecting function observes and updates either localstorage, or browser history, or etc.

In Clojure 90% of my code is datastructures, manipulating them, and sending them back. Partly because servers tend to be way less stateful than UIs, and partly because it feels like there is more to explore in Clojure without going into java, compared to cljs/js.

← PreviousPage 2 of 12Next →