54 karma · joined Aug 12, 2011 (15y ago) · 38 submissions
comment 11y ago · link · parent
comment 11y ago · link · parent
Generally SQL parameterization interfaces (in mainstream languages) involve syntax like:
execute("SELECT * FROM FOO WHERE BAR = ?bar AND BAZ = ?baz", {'bar': bar, 'baz': baz})
At best you have something cleaner in languages with string interpolation, but the use of string interpolation itself is debatable.
I stand by the claim that those approaches lack elegance, but if it's really "SQL Interface 101" to do it better, please share some examples. I'd be curious to see them.comment 11y ago · link · parent
comment 12y ago · link · parent
Nitpick: although base 10 floats have similar issues related to being of limited precision, they are superior to base 2 floats in the aspect of representing decimal numbers without the binary approximation: e.g. 1/10 is nonrepeating as 1.0 x 10^-1 but infinitely repeating as binary, so for IEEE 754 binary32 you get 1.10011001100110011001101 (1.60000002384185791015625) x 2^-4.
comment 12y ago · link · parent
comment 12y ago · link · parent
This uses the Lisp ratio type in place of floats, to avoid the usual float issues.
ntoronto, any thoughts?
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
To answer your question, I would say that the business model (of charging for licenses) is fine in principle, but developer tools is a very difficult business to be in.
comment 12y ago · link · parent
This is why I created https://wukix.com/mocl. CL has a ton of merits. It's unfortunate that people pass over CL because it's "old" or whatever (a worthless criterion if there ever was one). The language is great, and with a little house cleaning, CL can seriously kick ass.
comment 12y ago · link · parent
comment 12y ago · link · parent
Can you point to any specific examples of the extortionate behavior you describe? I imagine some companies cry extortion when they get nailed for genuine infringement (e.g., lots of unlicensed installs), but I would like to see an example where a software vendor went truly tyrannical on a customer that was actually using the software as agreed and intended.
comment 12y ago · link · parent
These types of agreements have to be somewhat broadly written so that if someone acts like a jerk and e.g. resells Datomic as a cloud service, the license has a way to stop that. It has nothing to do with preventing you from privately installing your Datomic instance on AWS, or otherwise being a reasonable customer.
Companies generally have a strong interest in being fair to their customers. Taking the most paranoid reading of the license text like it is constitutional law and tyranny is right around the corner is simply incorrect and unfair.
I invite comment on my own license: https://wukix.com/mocl-license-agreement (for https://wukix.com/mocl)
comment 12y ago · link · parent
I may or may not be in the office Sunday... feel free to reach out (call/text the number on wukix.com).
The talk I gave at ECLM 2013, in Madrid, may be informative. http://www.youtube.com/watch?v=l44kiFp1EJ8
comment 12y ago · link · parent
In fact, mocl can run with only a few megabytes of memory, and has options to control the heap size.
If this seems unbelievable, feel free to stop by the mocl office in Redwood City, and I will explain it :)
comment 13y ago · link · parent
comment 13y ago · link · parent
intro talk (at Bay Area Lisp Revival): https://wukix.com/mocl-balisp8
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
Thanks for pointing out the contradiction there. We may be going above and beyond what is required of us by the license, in the case of refunds. But we'll still do so.