krismicinski
2019-3-4 16:49:26

Are there any women / poc that are historically notable in the development of lisp/scheme?


krismicinski
2019-3-4 16:49:30

I am having trouble thinking of any.


krismicinski
2019-3-4 16:49:43

(I can think of current ones, of course)


soegaard2
2019-3-4 16:51:15

@krismicinski watch (skim) this one: https://www.youtube.com/watch?v=hGY3uBHVVr4


krismicinski
2019-3-4 16:51:23

ok, will do.


soegaard2
2019-3-4 16:52:33

He tells about human “computers” which were women. The editor of the Lisp 1.5 manual (I think it was that one) was a woman. He implies that she deserves more credit.


soegaard2
2019-3-4 16:52:37

(than given)


soegaard2
2019-3-4 16:53:09

Can’t remember where in the video.


soegaard2
2019-3-4 19:41:26

Does anyone know a Racket package/library that allows something like this:


soegaard2
2019-3-4 19:41:33
#lang racket

(:= a  0)
(:= b  2)
(:= c  0)
(:= d (- (expt b 2) (* 4 a c)))

d ; evaluates to 4

(:= a 1)
(:= c 1)

d ; evaluates to 0

soegaard2
2019-3-4 19:42:13

The variables defined with := can depend on each other in the same manner cells in a spread sheet can. I.e. no circular references.


chris613
2019-3-4 20:36:52

would that be possible with racklog ?


alexknauth
2019-3-4 20:47:53

@soegaard2 This reminds me of something one of my friends at Northeastern University did at one point maybe 1 or 2 years ago. It didn’t need to use logic-programming, just mutable state combined with “recomputing” values every time you wanted to use something. It wasn’t very useful as it was though, because it didn’t have a notion of “when” it would need to recompute the values (because a dependency has changed) and when it could use a cached value (because no dependencies have changed between then and now).


abmclin
2019-3-4 20:51:34

it sounds like what you’re talking about is dataflow programming



soegaard2
2019-3-4 20:58:13

Suprisingly long list of dataflow programming languages.


soegaard2
2019-3-4 20:58:48

The section on SICP on simulation of digital circuits might fall into this category?


florence
2019-3-4 21:03:48

@soegaard2 yes, digital circuits are a kind of dataflow language. You can get similar things with FRP, so new-cell/set-cell! in frtime might give you what you want


soegaard2
2019-3-4 21:04:27

ftime still works?


florence
2019-3-4 21:04:34

last i used it!


florence
2019-3-4 21:04:47

(which was two years ago or so admitedly)


florence
2019-3-4 21:05:06

but I think its tests are still part of the release process since its in the main distro so it probably does


soegaard2
2019-3-4 21:05:30

I vaguely recall having problems with the examples from the paper.


soegaard2
2019-3-4 21:05:39

(A long, long time ago)


githree
2019-3-4 21:06:15

last time I tried I was able to run the frtime examples but most with memory leaks


florence
2019-3-4 21:06:29

ISTR there was some issue with rendering behaviors in drracket at some point…


florence
2019-3-4 21:09:03

Yeah FRP is notorious for data leaks…


soegaard2
2019-3-4 21:10:19

new-cell, set-cell! sounds useable - but I need to read up on signals.


diego
2019-3-4 21:16:58

@soegaard2 Your example reminds me also of one of the languages in @mbutterick’s Beautiful Racket: https://beautifulracket.com/wires/intro.html, maybe some useful ideas there?


soegaard2
2019-3-4 21:17:16

takes a look


andreiformiga
2019-3-4 21:19:12

@soegaard2 maybe relevant: http://adapton.org/


soegaard2
2019-3-4 21:20:31

@andreiformiga thanks for the point


soegaard2
2019-3-4 21:20:34

pointer


soegaard2
2019-3-4 21:21:04

There is even an adapton for Racket: https://github.com/plum-umd/adapton.racket


soegaard2
2019-3-4 21:24:32

andreiformiga
2019-3-4 21:25:05

yeah, I was always meaning to try the racket version of adapton, but didn’t get around to it


hoshom
2019-3-5 02:34:17

What does Ring mean in the package server’s package details page? It has a value of 2 for my package.



hoshom
2019-3-5 02:39:39

@sorawee got it, thanks


hoshom
2019-3-5 06:51:21

@ryanc would it be a good idea to change sql-null from the db package into a prefab struct? I think that gives the same “singleton” kinda behavior that you would look for. The struct constructor would need to have a different name for backward compatibility, I suppose.


hoshom
2019-3-5 06:53:59

I’m having an issue that’s tangentially related: checking for SQL-Null from require typed/db causes problems I don’t really understand. What I do understand is that if I require/typed a #:struct form, eg #:struct sql-timestamp and then typecheck based on that, everything works fine. I tried the same trick with sql-null and found that since sql-null is an instantiated version of the struct, I don’t get the same result.


notjack
2019-3-5 07:31:39

Most common first words of identifiers exported by racket/base, where words are split on hyphens: make 98 syntax 64 current 54 string 44 in 37 read 35 hash 35 bytes 24 regexp 24 char 24