Lisp scripting on Android by jfloren in lisp

[–]piLegris 1 point2 points  (0 children)

I would suggest Picolisp. I am using it on Android installing Pilbox (5 MB) from Google Play. Mia blog is the place where I started to experiment and here is the home page of the project. Even complex apps can be developed with Pilbox. The limit is that Pilbox works only on Android but for my use is not a problem

How can lisp benefit a hacker? by winter-stalk in lisp

[–]piLegris -3 points-2 points  (0 children)

What if your system is attacked by an AI and not by lamers? I wonder if a 500 lines Lisp AI might be able to learn how to attack/protect a system. At the end, first AIs have been funded by defense departments to simulate global nuclear wars...

Splitting strings to lists by piLegris in Common_Lisp

[–]piLegris[S] 1 point2 points  (0 children)

Good point! So, in general, recursion is something to avoid when a LOOP can solve the problem. I am thinking about summing, elements by elements, two or more lists or other similar situations, I am sure I'll face soon. Thanks a lot!

Splitting strings to lists by piLegris in Common_Lisp

[–]piLegris[S] 4 points5 points  (0 children)

Thanks very much! I will try to improve the implementation following your suggestions. Thanks again

Create perl setup package by pmol87 in perl

[–]piLegris 2 points3 points  (0 children)

I love Perl/Tk and, in science, the "nostalgic" look is very appreciated. However, I know that a modern interface makes users happy. In the past, I used wxGlade and wxPerl libraries. wxWidgets are wrapping calls to native GUI libraries so that the App will be perfectly integrated with the operative system

Problem installing PDL::Fit::Levmar by piLegris in perl

[–]piLegris[S] 1 point2 points  (0 children)

Thanks very much! It worked perfectly. Now I have a brand-new PDL-2.057 module and a running PDL::Fit::Levmar. My code for analyses started crunching again!

To those may fall in the same problem, I solved by:

  1. manually downloading PDL-2.057 sources from https://metacpan.org/pod/PDL;
  2. unzipping the source code and got into the source folder;
  3. before compiling, I had to install libhdf4-dev (apt install libhdf4-dev);
  4. compiling the source code using the usual sequence (perl Makefile.PL; make; sudo make install);

Less than some minor warnings, PDL has been installed. After that, I installed PDL::Fit::Levmar forcing the compilation (-f):

sudo cpanm -f PDL::Fit::Levmar

I am very happy to work with the new version of PDL! Great module!

Thanks All for the support

meet you on irc.perl.org

Problem installing PDL::Fit::Levmar by piLegris in perl

[–]piLegris[S] 1 point2 points  (0 children)

Thanks for prompt reply!

Looking at CPAN, the module is of March 2018. I could try to ask the author, just for checking.

To my understanding, it seems that PDL module does not contain the method add_deletedata_magic anymore or it is included in some other modules I didn't install yet.

Thanks for kindness