News for hackers. Stuff that matters.

cammsaul

Re:Getting 50k Companies on Board with Clojure on Tuesday November 05, 2024 @11:59PM (#42057294)
Great talk
Re:Clojure Turns 15 panel discussion video on Monday February 13, 2023 @03:33PM (#34779971)
Hi, Toucan library author here.

+1 on avoiding side effects from business logic. This applies not just to Toucan, but to database code in general. Toucan is there to give you a way to define behaviors when interacting with your application database, for example transforming certain columns when you fetch rows from a certain table from the database. It's that plus utility functions for interacting with your database. Not really an ORM.

Either way, Toucan 2 is out now: https://github.com/camsaul/toucan2 I'm still working on fully documenting it but it's already being used in the wild and Toucan 1 will probably be archived soon

Excited to see this. I love Metabase and use it every day.
Don't rain on GitHub's parade, this was their big feature of Q1 2017
This library started out as DB and model layer utility functions for Metabase (https://github.com/metabase/metabase), and after a couple years of improving them we think they might be useful to others too, so we've spun them out into a separate library :)
Based on the model and DB utility functions developed while working on Metabase (https://github.com/metabase/metabase/).
Re:You don't need (db) transactions on Friday April 01, 2016 @05:56PM (#11408900)
This article was just an April Fool's, relax :)
Re:Changes to Npm's unpublish policy on Wednesday March 30, 2016 @02:41PM (#11391817)
Switch to jQuery?
Re:I've Just Liberated My Modules on Tuesday March 22, 2016 @09:01PM (#11341311)
There's a PR open to remove "unpublish" from NPM here:

https://github.com/npm/npm/pull/12017

Re:I've Just Liberated My Modules on Tuesday March 22, 2016 @07:18PM (#11340739)
Update: NPM takes "unprecidented action [...] given the severity and widespread nature of the breakage" and un-un-publishes left-pad

https://twitter.com/seldo/status/712414400808755200

I took this class IRL with Matloff when I was an undergrad. Highly recommended, great course from a great professor <3
Re:Mimic – abusing Unicode to create tragedy on Friday October 23, 2015 @08:43PM (#10441969)
The repo's README mentions a vim plugin to highlight Unicode homoglyphs. As an Emacs user, I did a quick M-x package-list-packages, thinking I'll find at least half a dozen equivalent Emacs packages.

To my dismay, there were none. So I spent the rest of my afternoon correcting this glaring deficiency. Fellow Emacs users, protect yourself from Unicode trolls and grab it here: https://github.com/camsaul/emacs-unicode-troll-stopper

Re:Show HN: Metabase, an open-source business intelligence tool on Wednesday October 21, 2015 @09:10PM (#10429893)
This is so cool! Written in Clojure! WOW!

Any idea on the timeline for SQL Server support ?

Re:A critical Windows component expires in 25 hours on Tuesday September 22, 2015 @04:35PM (#10261521)
So the Untrusted CTL has an expiration of 25 hours. Your screenshot says "Did you know? ... the Untrusted CTL is updated once per day". Doesn't that explain it?
Re:The Future of Emacs, Guile, and Emacs Lisp on Monday October 13, 2014 @04:50PM (#8450588)
I find http://hyperpolyglot.org/lisp to be extremely useful for cases when I know what I want to do but don't remember how to do it in Elisp.
You could try doing a cross-platform (iOS/Android) game with a C++ framework like Cocos2d-x. I read through Cocos2d-x By Example (http://www.amazon.com/Cocos2d-X-Example-Beginners-Guide-Enge...) last year and it was pretty good. Didn't assume a prior knowledge of C++
+1 on A Tour of C++. ~200 pages that do a fantastic job of introducing the language.

Older »