subscribe

2014-05-15 Thread Mike Pechkin

Subscribe

2014-05-15 Thread Mike Pechkin

try picolisp

2014-08-28 Thread Mike Pechkin
hi, Is it hard to implement minimalist version of minipicolisp in browser ? Like http://tryclj.com/ ? Mike

2048-like game

2014-10-27 Thread Mike Pechkin
hi, http://pastebin.com/ki3uQDFF Initial version of game based on grids from @lib/simul.l. Finish if 512 or out of cells. Just works, have fun. Mike

Re: push1q vs. push1, I'm slightly confused

2015-01-27 Thread Mike Pechkin
hi, Start point to understand difference is difference between (member) vs.(memq) and (=) vs. (==) http://software-lab.de/doc/ref.html#cmp Mike

HP-UX porting

2015-03-26 Thread Mike Pechkin
hi, Patch in attach against latest picolisp for HPUX (11v3, ia64). Compiles and passes tests. p.s. 11v2 should work too with additional hacks. Mike hp-ux.patch Description: Binary data

4clojure tasks in PicoLisp

2015-04-29 Thread Mike Pechkin
hi, With backbone support from Mr.Burger all tasks were implemented. Sources in bitbucket here: http://goo.gl/fhymP8 Notes: o) favourite - #52 Intro to Destructuring (easy.l) o) the most interesting - #140 Veitch, Please! (hard.l) o) Some tasks ignored o) Comments, patches, objections and polish

Re: PicoLisp now detected on GitHub

2015-06-19 Thread Mike Pechkin
https://bitbucket.org/site/master/issue/11476/ On Wed, Jun 17, 2015 at 6:48 PM, Christophe Gragnic christophegrag...@gmail.com wrote: Hi list. They even spelled it correctly ! https://github.com/github/linguist/pull/2449#issuecomment-112829159 See one of your repos or this one:

Re: The `if-let` construct

2015-08-09 Thread Mike Pechkin
hi all, I totally dont like it. I vote. All this useless. Can you write here #Usage examples of (if-let) in current language feature set? Coder already have all needed, like in forth. If coder want, it have all required to implement this by himself. Like reduce and - from clojure I've used to

picodb

2015-11-07 Thread Mike Pechkin
hi, as usual entry price for picolisp eco system is high. i'm on next level, want write trivial code to store and fetch values from picodb. functions index is ok but not enough. i need code examples and tutorials to start trivial manipulations. p.s. Mansur where is your picodb book? I'm in.

Re: aix + netbsd

2015-10-20 Thread Mike Pechkin
Kuba, sent you private email a week ago. Any news ? On Tue, Oct 13, 2015 at 12:14 PM, Kuba Tyszko <k...@lbl.pl> wrote: > I’m sure we could arrange a server access for you if that’s necessary, > > Cheers > > > On Oct 12, 2015, at 4:44 PM, Mike Pechkin <mi

aix + netbsd

2015-10-12 Thread Mike Pechkin
hi, News from porting sandbox. Latest AIX 7.1 (7100-03-05-1524) and NetBSD 7.0 compiled out of box and passed tests. Mike

Re: aix + netbsd

2015-10-12 Thread Mike Pechkin
On Mon, Oct 12, 2015 at 11:13 AM, George Orais wrote: > Nice! Thanks Mike! Btw, any chance for IRIX? :) > ​status unknown. is non-root account ​available ? Mike

Re: aix + netbsd

2015-10-13 Thread Mike Pechkin
hi, I will take it. I will contact you in private. On Tue, Oct 13, 2015 at 12:14 PM, Kuba Tyszko wrote: > I’m sure we could arrange a server access for you if that’s necessary, > >

Gorlansky lisp book, 800+ tasks

2015-08-27 Thread Mike Pechkin
hi, With important backbone support from Mr.Burger all tasks were implemented. Sources are here: https://bitbucket.org/mihailp/tankfeeder/src/8a5a482c9e19c57d533703e0d2bdcdc92f44c1ae/gorlansky/?at=default Notes: o) diamond in bucket of rocks is task #4.306 (from prefix to postfix) o) #17.6 task

Re: ideone

2015-09-18 Thread Mike Pechkin
this is minipicolisp. On Fri, Sep 18, 2015 at 9:28 AM, Mike Pechkin <mike.pech...@gmail.com> wrote: > hi, > > %subj% now supports picolisp. > http://ideone.com/tWUsPM > > Mike > >

Re: Setting up PicoLisp on Linode

2015-09-25 Thread Mike Pechkin
hi, I can (want?) try. IRC channel is good start point. Mike On Fri, Sep 25, 2015 at 6:14 PM, Robert Herman wrote: > Anybody have any hints, leads or tips on getting PicoLisp running on a > Linode server? I'd like to see if I can setup a PicoLisp-based site. I have > no

'cache' without 'prg'

2015-09-25 Thread Mike Pechkin
hi, As you can see in ChangeLog cache function have new feature, it can returns 'var' now. Added in 3.1.11.9. http://picolisp.com/wiki/?ArrayAbstinence http://pastebin.com/3GswH5fQ Mike

AES on PicoLisp

2015-12-07 Thread Mike Pechkin
hi, I've implement AES on PicoLisp. Pure brutality and limits: o) AES128 only o) no decryption (boring after all this) o) less GC mess o) no ECB-CBC modes o) key length only 128 bits Works, tests passed.

functions collection

2015-12-09 Thread Mike Pechkin
hi all, I have a collection of functions, I've combined them in one file: picolisp.l https://bitbucket.org/mihailp/tankfeeder/src/40a521f62866?at=default What inside: o) functions other coding languages have builtin (sometimes useful) o) functions to mimic Clojure I will maintain this file and

Re: SHA3

2015-12-15 Thread Mike Pechkin
​hi,​ Don't forget to link to your stuff from picolisp.com if it's not already > there. > > ​I dont know how to handle this better. Mike

Re: Translation Request

2016-01-05 Thread Mike Pechkin
ru, "Вставить пустую строку" On Tue, Jan 5, 2016 at 9:03 AM, Alexander Burger wrote: > Hello translators! > > This is to all who helped with the localization of PicoLisp, by > providing translation strings for the @loc/?? files. > > The new '+InsRowButton' GUI prefix

Re: bitmaps from random

2015-12-21 Thread Mike Pechkin
Gragnic < christophegrag...@gmail.com> wrote: > On Mon, Dec 21, 2015 at 2:43 PM, Mike Pechkin <mike.pech...@gmail.com> > wrote: > > hi, > > > > bitmaps from (rand) from pil32 and pil64 > > done by "convert" from ImageMagic soft. > > >

picolisp repo

2015-12-28 Thread Mike Pechkin
hi, I've changed my opinion, after picolisp gone from code.google.com I gonna manually support synchronization in my repo between picolisp releases. Now in repo i have 15.11 (28dec15) release, i will sync again after every stable release or more often.

bitmaps from random

2015-12-21 Thread Mike Pechkin
hi, bitmaps from (rand) from pil32 and pil64 done by "convert" from ImageMagic soft. now looks ok. http://imgur.com/a/bYaAr Mike

Re: CentOS 7 x64

2015-12-21 Thread Mike Pechkin
if you run "make all" add to list: ... glibc-devel openssl-devel Mike On Mon, Dec 21, 2015 at 5:35 PM, Mike Pechkin <mike.pech...@gmail.com> wrote: > hi, > > when centos installed from centOS7-Miminimal.iso you should install > required rpm by: > $ yum insta

Re: CentOS 7 x64

2015-12-21 Thread Mike Pechkin
hi, news from porting sandbox: checked, pil32 and pil64 compiles on CentOS7 out of box, when all required rpms are installed. Mike On Mon, Dec 21, 2015 at 3:34 PM, Mike Pechkin <mike.pech...@gmail.com> wrote: > hi, > > latest picolisp (32 and 64) cant compile on Cent

Re: bitmaps from random

2015-12-21 Thread Mike Pechkin
yes, influenced by http://goo.gl/zhTijq On Mon, Dec 21, 2015 at 3:43 PM, Mike Pechkin <mike.pech...@gmail.com> wrote: > hi, > > bitmaps from (rand) from pil32 and pil64 > done by "convert" from ImageMagic soft. > > now looks ok. > http://imgur.com/a/bYaAr > > Mike > >

Re: CentOS 7 x64

2015-12-21 Thread Mike Pechkin
hi, when centos installed from centOS7-Miminimal.iso you should install required rpm by: $ yum install gcc glibc-devel.i686 libstdc++-devel.i686 Mike On Mon, Dec 21, 2015 at 4:58 PM, Mike Pechkin <mike.pech...@gmail.com> wrote: > hi, > > news from porting sandbox: > checke

Re: New article about bin/ssl

2015-11-23 Thread Mike Pechkin
dont forget link to reddit/r/lisp On Mon, Nov 23, 2015 at 9:09 AM, Mansur Mamkin wrote: > Hi all! > I've written article about using bin/ssl, but haven't yet linked it > anywhere, you can found it here: http://picolisp.com/wiki/?ssl > > I ask Alex to link it to convenient

Re: Best way to learn picolisp

2016-06-08 Thread Mike Pechkin
On Wed, Jun 8, 2016 at 3:08 PM, Lawrence Bottorff wrote: > So, what would the best way to learn picolisp be for a total beginner? > Real coding of any task is the best way to learn any programming language. Mike ​

prog3 and dotimes

2016-06-06 Thread Mike Pechkin
hi all, I want to share something very important related to picolisp: 1. Half year ago I was wonder how to implement (prog3) (return third evaluated expression) (without success), Regenaxer implemented it for me. I promised I understand it someday. This day came, *now* I understand how (run)

Re: PicoLisp Docker container

2016-05-30 Thread Mike Pechkin
try this or use irc http://www.mail-archive.com/picolisp@software-lab.de/msg05829.html On Sun, May 29, 2016 at 8:52 PM, David Bloom wrote: > Hello List, > > I'm trying to make a PicoLisp container for development and scaling of > PicoLisp applications. At first I tried

Re: PicoLisp Docker container

2016-05-30 Thread Mike Pechkin
and ideone.com have a special minipicolisp version, without IO, networking, utf8, bignum, db, and etc. perfect fro embedded beasts. On Mon, May 30, 2016 at 9:03 PM, Mike wrote: > also try add to glot.io > >

hash table

2016-06-18 Thread Mike Pechkin
hi all, while wanted implement something usefull with hashes I've found this old thread in mailling list: https://www.mail-archive.com/picolisp@software-lab.de/msg00139.html like-hashtable on idx+xxhash, example code here:

ed25519

2016-01-10 Thread Mike Pechkin
hi, http://ed25519.cr.yp.to/software.html translation to picolisp, SHA512 native too. https://goo.gl/72gSYN Mike

binary search

2016-01-17 Thread Mike Pechkin
hi all, Today I was wonder is it possible to create a function for binary search inside flatten or nested lists. If I have ordered list I need something faster that O(n) and I should not care of unique structure. It was a goal while walking in the forest. There is my code in repo:

all SHA3 finalists on PicoLisp

2016-06-28 Thread Mike Pechkin
hi, I proud to announce finished implementation of all SHA3 finalists on PicoLisp: o) blake, jh, skein, keccak, grostl Since last emails also have been implemented: o) crypto: whirlpool, tiger o) hash: xxhash o) RNG: mum, xoroshiro128+ https://bitbucket.org/mihailp/tankfeeder/src dirs: crypto,

citris

2016-02-09 Thread Mike Pechkin
hi all, it was idea: try to create tetris on lists, destructively and without grid from simul.l current code: https://bitbucket.org/mihailp/tankfeeder/src/2a5c18b2694c641564298c34f6aed7842019ae35/citris/?at=default playground: 1. move.l - use arrow keys to move object inside world 2. roll.l -

Re: gcc command lines

2016-02-08 Thread Mike Pechkin
hi, you are correct, this is draft patch. > Goal: compile with minimum commands + -Wall as you can see patch supports goal, and pil32 pass selftests and my code. Mike

gcc command lines

2016-02-05 Thread Mike Pechkin
hi all, Goal: compile with minimum commands + -Wall Patch attached. 4 new words, others not required. compiles without warnings and pass selftests on modern Linux. https://gcc.gnu.org/onlinedocs/gcc-4.7.4/gcc/Warning-Options.html#Warning-Options 1. -Wall - says itself 2. -Wno-parentheses for

Re: gcc command lines

2016-02-09 Thread Mike Pechkin
hi, OK. new patch: o) old lines not touched o) rename -W -> -Wextra o) new line: -Wextra -Wimplicit -Wreturn-type -Wunused -Wformat Mike On Mon, Feb 8, 2016 at 11:27 PM, Mike Pechkin <mike.pech...@gmail.com> wrote: > hi, > > you are correct, this is draft patch. > > Go

Re: gcc command lines

2016-02-09 Thread Mike Pechkin
oops o) new line is: -Wall -Wno-parentheses -Wno-sequence-point \ On Tue, Feb 9, 2016 at 10:50 PM, Mike Pechkin <mike.pech...@gmail.com> wrote: > hi, > > OK. new patch: > o) old lines not touched > o) rename -W -> -Wextra > o) new line: > -Wextra -Wimplicit -

Re: libsodium

2016-01-28 Thread Mike Pechkin
repo created https://bitbucket.org/mihailp/libsodium/src On Thu, Jan 28, 2016 at 6:14 PM, Mike Pechkin <mike.pech...@gmail.com> wrote: > ​hi, > > initial job done. > ported ​"generating random data" > https://download.libsodium.org/doc/generating_random_data/in

libsodium

2016-01-28 Thread Mike Pechkin
​hi, initial job done. ported ​"generating random data" https://download.libsodium.org/doc/generating_random_data/index.html read test.l for good. https://bitbucket.org/mihailp/tankfeeder/src/7c5c01ce46191c828d61242c8d74384bd80b99ea/libsodium/?at=default Mike

Re: fp + SunOS

2016-01-26 Thread Mike Pechkin
should not be made > against exact values, but against a value with an specified delta of > accuracy. Perhaps a future version of picolisp-fp will have better unit > tests like that. > > Thanks, > > Greg Lee > > > > -Original Message- > From: Mike Pechkin >

porting to IRIX SGI

2016-02-02 Thread Mike Pechkin
hi, With support to server from @theodric and with help from community PicoLisp has been ported to IRIX. With initial-trivial patch attached it passed all bundled self tests. Note: IPv6 must be enabled and modern gcc and gmake from nekoware installed. % hinv 1 700 MHZ IP35 Processor CPU: MIPS

Re: porting to IRIX SGI

2016-02-02 Thread Mike Pechkin
and patch for (gcc) call On Tue, Feb 2, 2016 at 4:31 PM, Mike Pechkin <mike.pech...@gmail.com> wrote: > hi, > > With support to server from @theodric and with help from community > PicoLisp has been ported to IRIX. With initial-trivial patch attached it > passed all bundl

new crypto functions

2016-02-26 Thread Mike Pechkin
hi, news from blackbox department. I've implement new stuff: o) blowfish o) twofish o) BLAKE (hash) PicoLisp is ok. Comments and code review are welcome. Mike

Re: a floating point math library for 64 bit PicoLisp

2016-01-25 Thread Mike Pechkin
hi, i was wrong, i take a part of my words back. problem in native.l, not gcc.l patch attached, now sunos works: # pil + : (load "@lib/fp.l") -> dmodf : (s2r "11.11") -> 1093780111 : (cons *OS *CPU (== 64 64)) -> ("SunOS" "x86-64" . T) : On Mon,

fp + SunOS

2016-01-25 Thread Mike Pechkin
hi, fp now works on solaris in pil64. only one test fails, on linux it pass: # pil + : (load "@lib/fp.l") -> dmodf : (load "fptest.l") ((dcos 4591870180066957722)) [fptest.l:201] 4607137420321232833 -- 'test' failed ? (dcos 4591870180066957722) -> 4607137420321232832 p.s. i've run separate

Re: a floating point math library for 64 bit PicoLisp

2016-01-25 Thread Mike Pechkin
1. (gcc) not ported to Solaris 2. # pil + : (load "@lib/fp.l") -> dmodf : (test 1065353216 (s2r "1.0")) !? (native "/root/.pil/tmp/10225/fp" "s2r" 'I X) [DLL] ld.so.1: picolisp: fatal: /root/.pil/tmp/10225/fp: wrong ELF class: ELFCLASS32 ? On Sun, Jan 24, 2016 at 10:49 AM, Mike

Re: a floating point math library for 64 bit PicoLisp

2016-01-25 Thread Mike Pechkin
I run pil64 under Solaris 11 on x64 On Mon, Jan 25, 2016 at 11:46 AM, wrote: > compile the library as 64bit. (native) is a 64bit-pil-only functionality, > naturally it only supports interfacing with 64bit libraries (confirmed by > Abu).-

Re: a floating point math library for 64 bit PicoLisp

2016-01-25 Thread Mike Pechkin
> have you compiled fp.c 64bit too ? ​you missed the point:​ o) look at my original email o) i've tested *inline* version o) gcc function not ported to solaris and doesnt have default branch in case to fatal. (file gcc.l) o) on linux library works

crypto db

2016-02-17 Thread Mike Pechkin
hi, first of all, i don't understand picodb and didn't write a line of code. question: is it hard to implement crypto-like-db with encryption on-the-fly? as example for local password manager, right? Mike

non-crypto hash functions

2016-02-14 Thread Mike Pechkin
hi all, https://bitbucket.org/mihailp/tankfeeder/src/4475ad4ceb0c587207ede6a2ff0136d95bae4b82/hash/?at=default I've implement several hashes on PicoLisp: o) djb o) murmur v1,2,3 o) cityhash All 32bit versions. Have fun, Mike

circR

2016-03-08 Thread Mike Pechkin
hi all, I've create cool abstraction. Works as circular list and after reset can count again from the beginning. Used in Threefish implementation. Usage example: http://pastebin.com/dwSiNQgu Code:

duckduckgo

2016-03-25 Thread Mike Pechkin
hi all, 1. can somebody implement !picolisp ? https://duckduckgo.com/bang http://imgur.com/M9F0h1h 2. fun and advertisement Mike

Re: Tractatus Pico-Blaesicus

2016-03-08 Thread Mike Pechkin
hi, in the beginning of year I've wrote special preface for Forth or coding in general. In memory of Descartes. It describes zero step before coding. in Russian: https://medium.com/@tankfeeder/preface-8ea1e99d46f1#.yziufldc6 p.s. My philosopher is Mamardashvili Mike On Mon, Mar 7, 2016 at

Re: Tractatus Pico-Blaesicus

2016-03-08 Thread Mike Pechkin
Do you mean https://en.wikipedia.org/wiki/Merab_Mamardashvili ? > > ​Yeap. ​ > And could you please provide us with an English version ? > The automated translators that I tried produced nothing readable > (but I guess the original is somewhat «tarabiscoté»). > > ​I cant. Mike ​

new crypto things

2016-04-22 Thread Mike Pechkin
hi all, my new code in repo: hash: adler32, crc64, fnv, siphash crypto: grostl, rc2, rc5, rc6, camellia, idea Mike

Re: new crypto things

2016-04-22 Thread Mike Pechkin
https://bitbucket.org/mihailp/tankfeeder/src folders: crypto and hash also you may interested in 4clojure and rosetta folders On Fri, Apr 22, 2016 at 5:48 PM, cat stevens <thebinarymi...@gmail.com> wrote: > PicoLisp has a git? Can I have a link? > On Apr 22, 2016 9:52 AM, &

Re: Spring 2016 Lisp Game Jam

2016-04-19 Thread Mike Pechkin
a PicoLisp to llvm module, so we can generate JS with > emscripten? I can see programming a pure PicoLisp game engine, and then > running it in the browser after it has been translated to JS. > > Rob > > > On Monday, April 18, 2016, Mike Pechkin <mike.pech...@gmail.com> wrote: > &g

Re: Spring 2016 Lisp Game Jam

2016-04-17 Thread Mike Pechkin
On Fri, Apr 15, 2016 at 7:33 PM, Alexander Burger wrote: > On Fri, Apr 15, 2016 at 08:35:04PM +0700, Robert Herman wrote: > > Hey, everyone, I am thinking on participating in the Lisp Game Jam coming > > up in just 13 days. > > > >

Re: flinuxpicolisp

2016-07-04 Thread Mike Pechkin
hi all, why not cygwin with 32bit version of PicoLisp? it works out of box, tested, passed buildin tests and can run all my code as any linux. Mike On Mon, Jul 4, 2016 at 9:17 PM, Thorsten wrote: > Hi List, > I just discovered a nice article by Joe Bogner about FLINUX as an

The Evolution of a PicoLisp Programmer

2016-07-22 Thread Mike Pechkin
hi all, In mirror of this list: http://www.willamette.edu/~fruehr/haskell/evolution.html Provided three different variations of function to check if required version of PicoLisp is ok or higher. If they written in school, university or enterprise. Tests included.

crypto hash on files

2017-02-06 Thread Mike Pechkin
hi all, @beneroth on IRC requested native implementation to hash files on SHA1. I did SHAKE128 too. Directory in repo: https://bitbucket.org/mihailp/tankfeeder/src/220ba71b3f89e21aaea945d4399ad9eafe91764b/crypto/?at=default Reference via tests: test-sha1sum.l and test-shake128sum.l Code can

Re: Modularization / Shared Libraries

2017-02-08 Thread Mike Pechkin
On Wed, Feb 8, 2017 at 3:20 PM, Christopher Howard < christopher.how...@qlfiles.net> wrote: > Hi all, picolisp newbie here. I was trying to figure out how to > "modularize" my code; there doesn't seem to be a module system built in, > but the reference doc did mention support for shared

Re: Mips / LibreCMC build

2017-02-08 Thread Mike Pechkin
On Wed, Feb 8, 2017 at 3:45 PM, Christopher Howard < christopher.how...@qlfiles.net> wrote: > I would like to share the build with the world. Did you > guys want to host the build somehow, or did you want me to host > elsewhere and then link to my repo? ​You could​ ​ create page on

Re: Future of PicoLisp?

2017-02-04 Thread Mike Pechkin
> Now as far as trying PicoLisp goes, could we make a little app like > http://www.tryclj.com? > ​Already done in ideone.com​

Re: Workers for multicore processing (Question and RFC)

2017-02-25 Thread Mike Pechkin
> > > > > Is there some "worker" implementation which keeps a queue of task to do > and creates N worker processes which take tasks from the queue when they > are finished? > > ​you have to implement everything by yourself. as start point:

Re: Destructive element modification?

2017-02-24 Thread Mike Pechkin
ast start point: http://ideone.com/zPndpA On Sat, Feb 25, 2017 at 9:01 AM, Christopher Howard < christopher.how...@qlfiles.net> wrote: > Hi list. How do I *destructively* modify the value of one element in a > list? E.g. > > (setq Lst (1 2 3 4)) > > How do I set the second element to be 10,

exercism.io

2017-02-24 Thread Mike Pechkin
hi all, I've implemented tasks from A to F: https://bitbucket.org/mihailp/tankfeeder/src/9de46f9e807786fdbf4a86604aca20dd25f0c19e/exercism-io/?at=default o) dumbest and duplicates from rosettacode ignored o) worth to check are Alphametrics and Change If you want: o) pick up one task o) set

Re: box? on address

2017-02-09 Thread Mike Pechkin
hi, Lets talk about ​​t ransient ​s​ ymbols ​ from this two links: http://software-lab.de/doc/ref.html#transient http://pastebin.com/AsuveCFY ​ On Thu, Feb 9, 2017 at 7:13 PM, Christopher Howard wrote: > Hi, I was just trying to understand... > > : (box? (box (4 5

Re: Recursion-Loop Macro?

2017-02-12 Thread Mike Pechkin
write yourself recursion call and you will see you don't need macro. On Sun, Feb 12, 2017 at 5:40 AM, Christopher Howard < christopher.how...@qlfiles.net> wrote: > Hi list. I got the impression from some of the documentation that we > aren't planning to implement TCO in picoLisp, and that the

Re: Ersatz (sym? -.1) differs from pil32

2017-02-14 Thread Mike Pechkin
# pil + : (== 64 64) -> T : (version) 17.1.7 -> (17 1 7) : (mapcar sym? '(+.1 -.1)) -> (T T) : On Tue, Feb 14, 2017 at 3:51 PM, Jon Kleiser wrote: > Hi, > > There seems to be a tiny difference between Ersatz and ordinary PicoLisp > in the “sym?” function. > > In Ersatz

Re: Segfault with huge list...?

2017-02-10 Thread Mike Pechkin
hi, On Fri, Feb 10, 2017 at 3:07 PM, Christopher Howard < christopher.how...@qlfiles.net> wrote: > Hi list. When I try to do > > (apply '+ (range 1 100) > ​List of ​millions of items is not a problem. Problem how you use it. (apply) is not for free, ​It *creates*​ a function call with a

Re: Segfault with huge list...?

2017-02-10 Thread Mike Pechkin
yea On Fri, Feb 10, 2017 at 5:21 PM, Joh-Tob Schäg <johtob...@gmail.com> wrote: > (de natsum (N) > (if (=0 N) > 0 > ( + N > ( natsum ( dec N) > > Like that? > Am 10.02.2017 15:28 schrieb "Mike Pechkin" <mike.pech...@gmail.com>

Re: back to the future in bench game

2017-01-17 Thread Mike Pechkin
Author of http://pixielang.org/ in the city. Welcome to community On Tue, Jan 17, 2017 at 7:10 PM, Timothy Baldridge wrote: > > Check link in archive: > >https://web.archive.org/web/20150308140349/http:// > kazimirmajorinc.com/Documents/The-speed-of-eval-in-some- >

Re: exercism.io

2017-02-25 Thread Mike Pechkin
https://github.com/exercism/x-common/tree/master/exercises On Sun, Feb 26, 2017 at 1:20 AM, Joh-Tob Schäg wrote: > Thanks for sharing. > Can you link the list of tasks or is it behind a login wall? > > 2017-02-25 9:42 GMT+01:00 Alexander Burger : > >>

blake2b

2017-03-01 Thread Mike Pechkin
hi, I've implement blake2b: o) cool and fast o) https://blake2.net/ o) speed comparison https://blake2.net/skylake.png o) optional keying o) pass on original test vectors o) dont forget D.J.Bernstein and ChaCha as core primitive URL:

Re: task db example

2016-08-25 Thread Mike Pechkin
Thanks, perfect start point. On Wed, Aug 24, 2016 at 4:08 PM, Joe Bogner wrote: > Some discussion on irc this morning prompted me to create a simple example > showing how to interact with the db directly. > > I posted it to the wiki and am sharing it here in case anyone

Re: web app example - todo w/mithril.js

2016-09-14 Thread Mike Pechkin
I will implement bcrypt in PicoLisp. On Wed, Sep 14, 2016 at 7:14 AM, Joe Bogner wrote: > I've been working on an example of using PicoLisp to create as a single > page web application (javascript / SPA). > > The code is available at

Re: bcrypt

2016-09-19 Thread Mike Pechkin
all under CC0. you are free to do you want. On Mon, Sep 19, 2016 at 3:12 PM, Joe Bogner wrote: > Mike, this looks great. What license covers this work - I see CC0 in the > root LICENSE[1] but didn't want to assume? Can I redistribute the source > with my example app? > >

bcrypt

2016-09-18 Thread Mike Pechkin
hi, bcrypt is ready https://bitbucket.org/mihailp/tankfeeder/src/f9ad69ad2a6ec35941f50c4ec1160e7a53ea3e67/crypto/?at=default 1. new blowfish implementation, on "Vars". Pass original test vectors 2. implementation itself comparable to golang's bcrypt results 3. without base64 support,

Re: bcrypt

2016-09-20 Thread Mike Pechkin
> Can you make the rounds (cost factor) available as a parameter (perhaps as > a global) ? > That would be quite important to use the library correctly. > Default rounds: o) golang - 10 o) pybcrypt - 12 o) openbsd root - 9 o) openbsd user - 8 Implementation was already "broken": o) no base64 o)

Re: toy-forth-in-picolisp, and a 32-bit problem

2016-08-27 Thread Mike Pechkin
I decided write here, not in irc As I wrote before, it didnt crash always http://pastebin.com/JkVkBjbQ modified code for demonstration: (dm _t_ () # just for testing (println (: tempStack)) (prinl "tempStack: " (: tempStack)) ) http://pastebin.com/mTj51y4B

Re: toy-forth-in-picolisp, and a 32-bit problem

2016-08-27 Thread Mike Pechkin
> > crashes? What is in the temp stack? Perhaps it is the fixed prin/prinl > issue of anonymous symbols. > > ​tempStack is list, look how it prints when not crashed​ http://pastebin.com/mTj51y4B

Re: toy-forth-in-picolisp, and a 32-bit problem

2016-08-27 Thread Mike Pechkin
> Perhaps you can 'trace' to locate the exact place? > > http://pastebin.com/kb6DGxpN

Re: toy-forth-in-picolisp, and a 32-bit problem

2016-08-26 Thread Mike Pechkin
hi, My host is CentOS7 x64 (pil32 and pil64). ​1. simpler code is enough to fault: : f 4 ; 2. important note: pil32 *not* always coredumps ​3.​ ​ ​ problem is like this code: http://pastebin.com/ZzSXgsUa Mike

Re: toy-forth-in-picolisp, and a 32-bit problem

2016-08-26 Thread Mike Pechkin
to whom it interesting how it was fixed https://bitbucket.org/mihailp/picolisp/commits/c25c1b79706ac77c1ec5cfd339fd522f49c61a8b#chg-src/io.c On Fri, Aug 26, 2016 at 7:23 PM, Alexander Burger wrote: > On Fri, Aug 26, 2016 at 06:04:22PM +0200, Alexander Burger wrote: > >

slow nth

2016-10-01 Thread Mike Pechkin
hi, Current implementation of bcrypt is slow (8 rounds == >4secs). Its ok, nth is not for free. o) blowfish encrypt one block of input data takes 32K nth calls. o) 8 round's bcrypt takes 16M nth calls. I will try re-implement blowfish's sboxes access and modifications via balance+lup Check this

FreeBSD 11

2016-10-10 Thread Mike Pechkin
hi all, %subj% is out: https://lists.freebsd.org/pipermail/freebsd-announce/2016-October/001760.html Who want or can test for build and test bundled tests on pil32 and 64 on FreeBSD 11 ? Mike

password hashes

2016-11-07 Thread Mike Pechkin
hi, 1. Now I have a full collection of password hashes: bcrypt pbkdf2 scrypt 2. yescrypt and Argon2 are candidates in the future. Every hash works slower and slower already. 3. I've implement local password hasher pilpwd as (pbkdf2+sha256) 4. Ideas for future online minimalism version:

map-reduce

2016-11-14 Thread Mike Pechkin
hi, My parallel-like map-reduce on (later) function: https://goo.gl/S36x3N Besides more tests for build-in functions it opens the gate to implement Blake2xP versions of SHA3 finalist which have parallel versions for speed up. Mike

later vs. co

2016-11-17 Thread Mike Pechkin
hi, https://bitbucket.org/mihailp/tankfeeder/raw/43d62edb11d56b4ffada4f728ab59b5455c97fbc/pow.l https://bitmessage.org/wiki/Proof_of_work I've implement more two versions for calculation Bitmessage POW on (later) and (co) functions. It works. environment: o) DELL PowerEdge 430 (modern) o)

Re: map-reduce

2016-11-16 Thread Mike Pechkin
> The parallel magic seems to be here: > > ​PicoLisp is pure magic itself. Mike ​

Re: FreeBSD 11

2016-10-11 Thread Mike Pechkin
> From superficial > reading it seems it would just require some Makefile tweaks and a > content-list file to create one - or would it be more complicated than > that in reality? > ​As ports ex-maintainer I'would say - you dont need port for PIL, this is jail and step backward. I have PIL on

Re: FreeBSD 11

2016-10-11 Thread Mike Pechkin
> When you say you are an ex-ports maintainer, do you mean in general? > or of a Picolisp Ports-package in particular? ​All related to OpenBSD. It was in decades ago. I cant help you here.

Re: FreeBSD 11

2016-10-11 Thread Mike Pechkin
> Who want or can test for build and test bundled tests on pil32 and 64 on > FreeBSD 11 ? > > ​pil (32 and 64) passed all tests on FreeBSD-11 (i386, x64)​ ​Mike ​

  1   2   >