Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - itistoday

#46
newLISP in the real world / Re: newLISP on Rockets
June 21, 2013, 04:49:03 PM
Quote from: "cormullion"
QuoteI wanted a framework that simplified database work and jQuery access, something that Dragonfly didn't do, and wasn't likely to do as development seems to have stopped.


I think Jeremy must have assumed that Dragonfly had been abandoned and took it off in a new direction.


Does Jeremy have a user account on this forum?



To say he "took it off in a new direction" would mean that he used some of the code it had. As far as I can tell (from a *very* brief look), he started a new framework from scratch.



I also am not sure what wasn't simple about DF.DB, and I don't see what jQuery has to do with a backend web framework...
#47
newLISP in the real world / Re: newLISP on Rockets
June 21, 2013, 02:28:03 PM
I just came across this today. I'm very confused. I can't figure out who the author is, or why they decided to create this project from scratch instead of forking our work and modifying it, considering how much work we did and how small this community is.



Plus, just skimming through their docs, they're clearly missing a lot of the functionality that Dragonfly has. If they wanted to come up with a completely different framework, why not at least build off of the https://github.com/taoeffect/dragonfly-db">dragonfly-db code I wrote? No offense to the author, but dragonfly-db has far better support for manipulating databases (like ORM using https://github.com/taoeffect/objective-newlisp">ObjNL), and already includes a wrapper for sqlite. They could have used their efforts to add additional database support to dragonfly-db, by adding a postgresql or mysql wrapper for example.



It's true that Dragonfly hasn't been updated in quite a while, but it's a really mature web framework and very powerful. I use it to this day to power my web stores and integration with PayPal, and it has served me faithfully.



I think whoever is responsible for newLISP on Rockets is very talented, and did a great job on the design of the site. I just feel it's a shame they decided not to build off of our code. :(



(Note: I've been neglecting visiting these forums, so if I don't respond to replies, please accept my apologies in advance. You can always tweet at me to get my attention: https://twitter.com/taoeffect">@taoeffect).
#48
I think I fixed this issue via a different route:


(unless (null? QUERY_STRING)

This should work then if QUERY_STRING is nil, where 'empty?' on 'nil' will cause an error. I updated my repo:



https://github.com/taoeffect/dragonfly-newlisp">https://github.com/taoeffect/dragonfly-newlisp
#49
Whither newLISP? / Re: Are contexts heavyweight?
May 10, 2011, 05:06:36 PM
See link in sig for anon contexts.
#50
newLISP and the O.S. / Re: IMAP checker via SSL
May 10, 2011, 05:01:51 PM
Cool beans newdep, thanks for sharing! This might come in handy at some point...
#51
Quote from: "two-"Can you have println print without the trailing newline?


http://www.newlisp.org/downloads/newlisp_manual.html#print">Newlisp's manual is full of useful information.
#52
newLISP in the real world / Re: event system
January 29, 2011, 07:01:14 PM
Cool, I like it! :-)



Don't know if you'll find this useful, but your code reminded me of a somewhat similar macro I made called 'wrap-func':


(define-macro (wrap-func func-sym wrapper , wrapped-func)
(setf wrapped-func (sym (string func-sym "|wrapped#" (inc wrap-func.counter))))
(set wrapped-func (eval func-sym))
(set func-sym (eval (expand wrapper 'wrapped-func)))
)


An example usage:


(wrap-func db:execute-update (fn ()
(unless (apply wrapped-func $args)
(error-out "execute-update failed: " $args)
)
))


Now when db:execute-update gets called, the function above is called instead, which then calls the real execute-update function (via 'wrapped-func') and outputs an error message if it fails.



Edit: It's available as part of http://www.rundragonfly.com/">Dragonfly actually.
#53
Dragonfly / Re: The Dragonfly showcase
December 29, 2010, 01:05:54 PM
Dragonfly powers the backend for the https://www.taoeffect.com/espionage/order/">Tao Effect webstore & integration with PayPal.
#54
Hey Jeremy, unfortunately my plate is ridiculously full at the moment, so I can't look into this—off the top of my head I'd suggest trying with Apache and see if it works there (if you're using newlisp's built-in server for this). If that doesn't help and you're able to figure out why, I'd be happy to apply any patches.
#55
Whither newLISP? / Re: anonymous rb-trees?
October 24, 2010, 11:27:10 PM
Quote from: "TedWalther"Thanks itistoday.  Are these objects garbage collected with ORO?


They must be manually managed via reference counting (like in objective-c), see the link for details.
#56
Whither newLISP? / Re: anonymous rb-trees?
October 24, 2010, 06:45:07 PM
I've posted various techniques for creating pseudo-anonymous objects in newLISP (i.e. see my sig). You can do the same with rb-trees. Just create a function that creates contexts with a prefix + incrementing number (i.e. like 'gensym').
#57
Quote from: "joejoe"Am I correct to read that Im getting a permission denied trying to access gcc? Any workarounds on this?


Yup, you'll have to contact whoever admins the server about this.
#58
newLISP and the O.S. / Re: Benchmarking newLISP
September 23, 2010, 11:48:32 AM
Nice, 64-bit is definitely a little bit faster:


$ ./newlisp qa-specific-tests/qa-bench

Benchmarking all non I/O primitives
    1016.4 ms
>>>>> Performance ratio: 0.45 (1.0 on Mac OS X, 1.83 GHz Intel Core 2 Duo)


2.4GHz Intel Core i5 MacBook Pro here. :-)
#59
Anything else we might add? / Re: new to newLISP
August 31, 2010, 10:31:06 PM
Welcome Ormente!



If you haven't seen it already, you might be interested in the http://www.rundragonfly.com">newLISP Dragonfly Web Framework.
#60
That's odd, I don't have time unfortunately to test this out immediately (in the middle of a move), but try removing the size attribute perhaps?



Also, try running it through Apache and not newlisp's server. If that doesn't work let me know (or better yet, file an issue on the http://github.com/taoeffect/dragonfly-newlisp">github project page).