austinbirch | 3 years ago | on: Structuring Clojure applications
austinbirch's comments
austinbirch | 3 years ago | on: Structuring Clojure applications
Learning Clojure has made working in other languages much harder for me - pretty much all of my Clojure programming is functions plus transforming data structures (mostly maps). So few concepts to keep in your head!
The majority of my work is in TypeScript these days, and I always write the most Clojure-y TypeScript I can manage.
austinbirch | 3 years ago | on: Ideas for DataScript 2
For my needs now I actually wrote something pretty hacky[1] to get a 'reactive' version of DataScript’s Entity API.
As Nikita mentions in the article, I’ve found that most of the time I don’t really need queries in the UI, and so the entity API ends up fitting quite well – except that it’s non-reactive.
The `reactive-entity` library implements a reactive version of (most of?) the entity API, so you can pass entities in/through components, and then the components only re-render when the attributes accessed within those components change (including attributes accessed on other entities through refs).
Loads of room for improvement but I’ve used it successfully in a couple of projects.
austinbirch | 8 years ago | on: Design Patterns: Factory Pattern, Part 1
austinbirch | 10 years ago | on: The TTY demystified (2008)
austinbirch | 10 years ago | on: Ask HN: What earbuds do you use? I need help
Not sure which model you have, but I have the MA750i. Really pleased with them.
Used to have VSonic GR07s, but the cable became broken. The build quality on the MA750i seems much better, so I’m not expecting the same outcome for these.
austinbirch | 10 years ago | on: John Cleese – How to Be Creative
austinbirch | 11 years ago | on: Ask HN: What are your favorite scholarly papers? Why?
Software complexity related to mutable state.
austinbirch | 12 years ago | on: OpenNote – an open web-based alternative to Microsoft OneNote and EverNote
austinbirch | 12 years ago | on: Ask HN: What's your blogging platform?
Using Markdown means no constraint on what software you use to edit your posts, which is really nice.
Another advantage to using a static site generator is your blog will be (generally) fast to load, secure, and it will be really easy to find somewhere to host it for a low cost (or even for free).
austinbirch | 12 years ago | on: Lessons Learned: A Year with a Large AngularJS Project
Doing things this way is quite nice, and forces separation between the client application and the server application. It makes the web application just a client, on an equal footing with any other client (iOS app, Android app, desktop application etc).
austinbirch | 13 years ago | on: Ubuntu 13.04 Raring Ringtail Released
[1]: http://www.webupd8.org/2013/01/upgrade-to-gvfs-with-mtp-supp...
austinbirch | 13 years ago | on: Ask HN: What's the best technical talk you've heard?
Though related to Clojure, they make you think about development in different ways.
[1]: http://www.infoq.com/presentations/Value-Identity-State-Rich...
[2]: http://www.infoq.com/presentations/Are-We-There-Yet-Rich-Hic...
austinbirch | 13 years ago | on: Ask HN: What is your startup?
austinbirch | 14 years ago | on: Show HN: chessable - chess built with HTML5 Canvas. Any feedback?
I should have probably made it clear that this is really only a little side project, with the aim being to make back the small amount it costs me to run. Sorry for the confusion.
I wanted to differentiate it from Chess.com by making it simple, which is what I didn’t like about Chess.com. With that in mind, it is designed primarily for casual players.
I strongly agree with your thoughts on the signing up process, and I’ll definitely work on that.
Thanks again for your feedback, it's given me a lot to think about.
Austin
austinbirch | 14 years ago | on: Show HN: chessable, correspondence chess for modern devices
I think making the whole player box a link would work great, so I'll get that done.
Thanks for your feedback, Austin.
austinbirch | 14 years ago | on: Elementary OS
austinbirch | 14 years ago | on: Elementary OS
austinbirch | 14 years ago | on: Ask HN: I need a G+ invite
austinbirch | 15 years ago | on: Ask HN: What are the best blogs to read on how to run a business?
I found ClojureScript worth it a few years ago. I’ve written two frontend apps (desktop-style interactive single-page applications meant for longer sessions) of reasonable size in ClojureScript. There’s a lot of non-glue code there (in fact mostly non-glue code, given the interactivity and statefulness of the applications).
Very little language and library churn has made maintaining them very straightforward really, and I won’t be rewriting them any time soon. Being able to use DataScript nearly made the choice worth it on it’s own!
The reason I’m mostly using TypeScript these days (for new things & backend code) is that it’s just too helpful for typing the data structures and reducing the "how many things do I have to keep in my head" burden. My TypeScript (like my ClojureScript) is mostly just functions and data structures (avoiding classes, inheritance, etc), and I avoid using any of the more complicated TypeScript features as much as possible.
It’s kind of heretical, but if Clojure had a well-adopted gradual structural type system (essentially what TypeScript has done for JavaScript) then I would find it hard to not pick Clojure for most things.