News for hackers. Stuff that matters.

politips

Re:SQLite Query Language: upsert on Thursday May 10, 2018 @04:22PM (#17042619)
I don't know if they used it but mermaid is pretty great:

https://mermaidjs.github.io/

I've used it in a couple production deployments and it's solid. It's only ~300 lines of Rust code, so I'm confident it is simple and even if I had a problem, would be easy to understand.
Re:PicoLisp on Wednesday May 02, 2018 @05:42PM (#16981403)
There are 3 flavors of picolisp: the 32-bit version written in gcc-specific C, the "Ersatz" version written in Java, and the 64-bit version written in its own high-level assembly-language that can target x86-64, PPC, ARM64 and "emulation" in C.

The Ersatz version has good Java integration. The 64-bit version has some more recent Java integration:

https://picolisp.com/wiki/?javacode

This looks cool, and another approach is pg_amqp_bridge to send events like this into rabbit. A nice feature is that the triggers don't block:

https://github.com/subzerocloud/pg-amqp-bridge

You can then push to websockets from rabbit with STOMP

https://www.rabbitmq.com/web-stomp.html

Re:The Rise and Fall of Thinking Machines (1995) on Tuesday May 01, 2018 @05:40PM (#16971960)
Digging a bit more I believe you're referring to this varient:

http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/l...

The *Lisp in the book The Connection Machine used a different sytax, there the operators α, β, and · where used to algebraically map and reduce lisp functions over parallel data structures as described in this paper by Hillis and Steele:

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.108...

Unfortunately it doesn't seem like this language exists anymore.

Re:The Rise and Fall of Thinking Machines (1995) on Tuesday May 01, 2018 @05:34PM (#16971913)
You're right, he talks in the video I linked above about how different the CM-1/2 architecture is to the CM-5, but how the ideas of "data parallelism" on "virtual processors" maps onto both designs.

Thanks for the info, I have seen variants in old pdfs around that have the !! parallelism construct instead of using the algebraic forms of alpha, beta, and dot. I find the latter form as described in the book The Connection Machine to be very elegant.

Re:The Rise and Fall of Thinking Machines (1995) on Tuesday May 01, 2018 @01:27PM (#16969175)
Yes this article is very old, and really only scratches the surface of Hillis' genius and puts a business failure angle on it.

Here's a great video describing the architecture of the CM-5

https://youtu.be/Ua-swPZTeX4

Note how similar the programming concepts are to CUDA (at an abstract level). Hillis also in the 80s published his MIT thesis as a book: The Connection Machine

https://www.amazon.com/Connection-Machine-Press-Artificial-I...

An incredibly well written and fascinating read, just as relevant today for programming a GPU as it was for programming the ancient beast of a CM-2. It's about algorithms, graphs, map/reduce, and other techniques of parallelism pioneered at Thinking Machines.

For example, Guy Blelloch worked at TM, and pioneered prefix scans on these machines, now common techniques used on GPUs.

https://www.youtube.com/watch?v=_5sM-4ODXaA

http://uenics.evansville.edu/~mr56/ece757/DataParallelAlgori...

There's also been a lot of hum lately on HN about APL, much of Hillis' *Lisp ideas come from parallelizing array processing primitives ("zectors" and "zappings"), ideas that originating in APL as he acknowledged in the paper describing the language:

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.108...

What's old is new... again.

Re:Cryptographic Right Answers on Tuesday April 03, 2018 @11:25PM (#16751626)
pgsodium is a postgres extension that adds libsodium integration to postgres, it exposes many of functions for patterns mentioned in the article, including box/secretbox, hashing, password handling, asymmetric keys, diffie-hellman, etc.

https://github.com/michelp/pgsodium

Re:Cutting ‘Old Heads’ at IBM on Thursday March 22, 2018 @01:15PM (#16650627)
boomers? The baby boom generation was born between the mid-1940s and 1960s. They're all in their late 60s and 70s now and most have long retired. The age-out demography we are talking about now generally are their children currently in their early-40s to early 50s. The dial-up generation.