Re: Ref. doc. on the 'bin' function
Hi Jon, http://www.software-lab.de/doc/refB.html#bin - It should be mentioned that the input can be a list of characters: (bin '(1 1 1 0))? - 14 I would not especially mention this here. In fact, most built-in functions which expect a symbolic argument also accept something else (like a number or a list) if it makes sense to take their name. This is more practical than throwing an error, and saves an explicit argument conversion. So we would have to write this for very many functions. In case of 'bin', this happens because it calls 'chop'. So the official way is to call 'bin' (and similar functions) with either a number or a string (transient symbol), but the above mechanism implies that you may call it also with something else, if it can be automatically handled as a string internally. - The result for the example (bin 1234567 4) should be 1 0010 1101 0110 1000 0111?. Oops, yes. Thanks! Fixed. I also suggest that there be a See also link to 'bin' and 'pad' from the 'format' ref. OK. Done. Thanks Jon, ♪♫ Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: PicoLisp on machines with more than 32 gigabyte of RAM?
Not that I actually need it but the websocket server currently runs on a machine with 128GB RAM. Works just fine, the websocket router currently juggles hundreds of concurrent and persistent connections without using noticeable amounts of RAM and CPU. Due to a mistake I made processes would sometimes start to use 100% of a core (there are 16 of them), I just noticed it by coincidence because it didn't affect the performance of the websocket server (since it needs so little CPU anyway). Hopefully I just uploaded a fix but more on that in a future post if it indeed did fix the problem. On Thu, Mar 12, 2015 at 2:33 PM, Jakob Eriksson ja...@aurorasystems.eu wrote: http://www.infoq.com/news/2015/03/petabyte-jvms?utm_source=hacker%20newsutm_medium=linkutm_campaign=petabyte%20news They describe a machine with NUMA, and basically run a handful of JVMs, each confined to a NUMA region. Then synchronize with a huge disk cluster. I wonder how PicoLisp would fare on large machines with large sets of data? I have a feeling really great. :) Has someone on the list tried PicoLisp on a monster PC? best regards, Jakob -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Announce: 7fach BlitzMenu
Hello list, let me announce 7fach BlitzMenu, our first attempt for a public application since 9 years :) It is for gastronomers, restaurants or canteens, to maintain their dishes and beverages in a database, and allow them to generate their daily or weekly menus with just a few mouse clicks. Independent from the question whether it will be a commercial success (I hope it does), it has some interesting aspects from a technical (PicoLisp) point of view: 1. It allows the user to directly edit PostScript layout templates in a Canvas. Then these layouts can be combined with groups of articles from the database to generate PDF and HTML files. 2. I found out that the '+Bag' relations can be nested. This allows the creation of multi-dimensional data structures, directly in the DB model. Normally, a (+List +Bag) represents a two-dimensional table, which maps to a '+Chart' in the GUI. To my own surprise, it works also if an element in a bag is a (+List +Bag) again (i.e. nested Bags), resulting in a three-dimensional structure: (rel grp (+List +Bag) # Groups/Articles ((+Bool)) # Aktive ((+String)) # Description ((+List +Bag) # Articles ((+Bool)) # Aktive ((+Link) (+Art)) ) )# Article And: I found a way to allow direct editing of these structures in the GUI, by connecting charts on the different levels with radio buttons. In principle, this can be extended to as many dimensions as desired. The system is ready for production use now, and can be found at http://BlitzMenu.7fach.de Initial language is German, but you can switch to English if you like. Other languages are planned but not yet supported. The second entry in the navigation on the left is Introduction. Here you may view a short video (without sound) showing the basic usage. And the third entry is Try yourself. If you click on Start demo application you get a private demo database in a sandbox, where you can play around yourself. Note that your data are lost when you close the browser session. Please don't submit the form on New registration (unless, of course, you want to become a customer ;) ♪♫ Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe