News for hackers. Stuff that matters.

wukix

Re:Why Lisp? on Thursday May 07, 2015 @04:26PM (#9508030)
Did you reach out to me when you were using mocl? Surprised to hear this. AFAIK most users get up and running w/o much trouble.
Re:Swift Resistance on Friday January 30, 2015 @10:29AM (#8972453)
Not Clojure, but Lisp for iOS/Android/OSX: https://wukix.com/mocl
Sorry if the documentation is lacking; you can put anything you want in an attribute. Defattributes is simply a convenience macro that defines validation functions (as well as row getter functions) that you can use if you want, or not.

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.
Non-lispers don't always realize that more parens can actually be a feature :)
LambdaLite creator here. I just wanted to point out, in case it is not clear, that LambdaLite doesn't really introduce a new query language per se. The syntax is just "write any Lisp code you want" because actual Lisp closures are used where expressiveness is needed. Hopefully, this means the learning overhead is actually less: instead of needing to know both Lisp and SQL, you only need to know Lisp. (Disclaimer: obviously there is still an API to learn, but that would be the case with any SQL client library too.)
Re:Practically Accurate Floating-Point Math on Monday October 27, 2014 @08:55PM (#8519002)
If they're base-10 floats, they have all the same issues base-2 floats have

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.

Re:Practically Accurate Floating-Point Math on Monday October 27, 2014 @08:13PM (#8518897)
Wu-Decimal uses exact rationals (they aren't base 10 floats). Division works according to normal Lisp semantics, since the CL ratio type is used for arithmetic. Let's say you divide something by 3 and now you have infinitely repeating digits: then it is no longer in set D, and Wu-Decimal no longer considers it to be of decimal type. Instead, it is treated as a fraction, again per standard CL semantics. The "Printing" example tries to clarify this (notice that 1/2 prints as '0.5' but 1/3 remains '1/3').
Re:Practically Accurate Floating-Point Math on Monday October 27, 2014 @06:17PM (#8518496)
Since we're on the subject of floating-point numbers in Lisp/Scheme: https://wukix.com/lisp-decimals

This uses the Lisp ratio type in place of floats, to avoid the usual float issues.

ntoronto, any thoughts?

Re:New Requests for Startups on Friday September 12, 2014 @05:09PM (#8310485)
Thanks! I hope there is another BALisp meetup soon. The recent Parallac thing was cool, although it clearly needed more Lisp :)
Re:New Requests for Startups on Friday September 12, 2014 @04:51PM (#8310396)
I am the founder a developer tools startup and I've thought a lot about the future of programming. To be honest, the developer tools market is extremely competitive ("everything must be free") and it is not for the faint of heart. That said, if anyone wants to chat sometime in the Bay Area about future dev tools and/or startups around them, I'd be happy to meet. (contact info at https://wukix.com/contact)
Lisp is another option: https://wukix.com/mocl for iOS, Android, and OS X
Re:International Lisp Conference 2014 Summary on Saturday August 23, 2014 @04:32PM (#8216796)
Nitpick: It's not licensing for a language, it's licensing for a specific tool. Common Lisp itself is not proprietary (having a standard) and code can be portable across implementations.

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.

Re:International Lisp Conference 2014 Summary on Friday August 22, 2014 @06:31PM (#8214247)
the language is so fundamentally good -- Mature, robust, standarized, performant, compiled, gradually-typed -- that it is worth sticking with it, it is worth working to expand its ecosystem

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.

Re:RubyMotion 3.0 Sneak Peek: Android Support on Wednesday May 28, 2014 @11:43PM (#7814588)
Re:My Thoughts on the Datomic License on Tuesday April 29, 2014 @10:06AM (#7667029)
For starters, objecting to the anti-criminality clauses seems paranoid. Granted, if you're a human rights organization under a hostile government, maybe you need to worry about this. But otherwise, what is the problem? Does one really need the ability to write viruses with Datomic? WTF?

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.

Re:My Thoughts on the Datomic License on Monday April 28, 2014 @10:20AM (#7660082)
As a developer of commercial software, this strikes me as a lot of paranoia, although I do agree with one or two points.

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)

Re:Open-Sourcing My Gambit Scheme iOS Game from 2010 on Saturday March 08, 2014 @03:29PM (#7366290)
mocl derives from some past academic work, although not ECL. In spite of this, it is very much a new and unique implementation, and I have sunk years of dev time into making it a reality.

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

Re:Open-Sourcing My Gambit Scheme iOS Game from 2010 on Saturday March 08, 2014 @01:43PM (#7365923)
It's true that CL's huge feature set promotes implementation bloat, but that doesn't completely rule out having a compact implementation.

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 :)

Re:Ph.D. 2.0: Rethinking the Ph.D. Application on Thursday November 14, 2013 @11:13AM (#6733098)
Submit your GitHub portfolio and join the Ivy League university that also develops Racket? Awesome!
Re:Android: The Land That Python Forgot on Sunday November 10, 2013 @03:32AM (#6705748)
Or Lisp, which compiles and has optional type declarations

https://wukix.com/mocl

Re:Hylas-Lisp - A JIT-compiled Lisp targeting LLVM on Tuesday October 29, 2013 @04:00PM (#6637058)
You may want to check out the sample code on our Github, https://github.com/Wukix, which wasn't available at launch. Working on adding more. Appreciate the feedback!
Re:Hylas-Lisp - A JIT-compiled Lisp targeting LLVM on Tuesday October 29, 2013 @01:49PM (#6636093)
for Lisp on iOS & Android see https://wukix.com/mocl

intro talk (at Bay Area Lisp Revival): https://wukix.com/mocl-balisp8

Re:Example Project Using Chicken Scheme on Android on Tuesday September 17, 2013 @10:52AM (#6399621)
For Lisp-ness on both Android and iOS there is also mocl, https://wukix.com/mocl
Re:The Popularity of Four Lisp Dialects on Github on Tuesday July 30, 2013 @01:22AM (#6125483)
The author mentions Lisp on Android. Shameless plug: https://wukix.com/mocl
We'll sell you the source code. That's not enough?
Personal just means you are buying it with your own funds and not being reimbursed by a company. You are free to make paid apps with it. I'll work on language to clarify.

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.

For what it's worth I just put up some code so you can see better how it works.
"there is going to be libraries for approximately nothing"

You do realize this runs Common Lisp, right? There are plenty of Common Lisp libraries.

Documentation, and a little bit of sample code is included in the download. The license agreement is viewable at http://wukix.com/mocl-license-agreement.
mocl creator here. Trial version will be coming in the weeks ahead. Didn't have time to put it together yet. Sorry about that. We do accept returns though.

Older »