notjack
2020-5-7 17:46:39

@notjack has joined the channel


notjack
2020-5-7 17:46:40

@notjack set the channel purpose: Discussion about making good libraries, languages, and frameworks


soegaard2
2020-5-7 17:52:59

@soegaard2 has joined the channel


samth
2020-5-7 17:53:47

@samth has joined the channel


popa.bogdanp
2020-5-7 17:55:39

@popa.bogdanp has joined the channel


sorawee
2020-5-7 18:01:57

@sorawee has joined the channel


aowens5189
2020-5-7 18:04:43

@aowens5189 has joined the channel


samdphillips
2020-5-7 18:10:02

@samdphillips has joined the channel


spdegabrielle
2020-5-7 18:20:45

@spdegabrielle has joined the channel


laurent.orseau
2020-5-7 18:22:18

@laurent.orseau has joined the channel


notjack
2020-5-7 18:40:57

welcome all! :wave:


notjack
2020-5-7 18:47:14

as something to talk about, these are some API-related Racket pull requests that have been on my mind lately: • https://github.com/racket/racket/pull/3054https://github.com/racket/racket/pull/3076https://github.com/racket/racket/pull/2592https://github.com/racket/racket/pull/2766


samdphillips
2020-5-7 19:01:39

No one said there was going to be homework in this chat :smile:


samth
2020-5-7 19:13:45

I like 2592, I think 2766 ended up in the right place (ie rejected), I like 3054, and I like 3076


notjack
2020-5-7 19:42:27

2766 is the set->hash one right?


notjack
2020-5-7 19:43:02

From an outside perspective the API looked very weird. I don’t really understand what it was for.


samdphillips
2020-5-7 19:50:56

on 2766 I was wondering if any contract profiling was done


samth
2020-5-7 19:52:26

It was for making iteration over sets faster


samth
2020-5-7 19:53:02

Sets are slow, compared to doing things over the hash representation


samdphillips
2020-5-7 19:54:34

Is it the generic dispatch?


notjack
2020-5-7 19:56:38

and tangentially, does that mean the proposed set->hash function could only work on the built-in hash-based set implementation, instead of an arbitrary set?



ruyvalle
2020-5-7 20:31:08

@ruyvalle has joined the channel


scolobb-slack
2020-5-7 21:03:28

@scolobb-slack has joined the channel


ryanc
2020-5-7 21:06:37

@ryanc has joined the channel


alexknauth
2020-5-7 22:43:56

@alexknauth has joined the channel


michaelmmacleod
2020-5-7 23:34:45

@michaelmmacleod has joined the channel


deactivateduser60718
2020-5-8 00:32:08

@deactivateduser60718 has joined the channel


deactivateduser60718
2020-5-8 00:32:14

:wave:


wanpeebaw
2020-5-8 01:28:56

@wanpeebaw has joined the channel


deactivateduser60718
2020-5-8 01:39:07

Hi all, and thanks @notjack for the channel. I actually have something.

Here’s a preview of an announcement post for a fuzzy search library. You don’t have to read it, but it does show more specifics. In summary, the matching algorithm I use is a port of someone else’s attempts to replicate Sublime Text’s search.

The search has exponential worst-case complexity. I wanted to check here if I could do better based on the ported implementation shown here: https://github.com/zyrolasting/fuzzy-search/blob/master/main.rkt


deactivateduser60718
2020-5-8 01:40:42

I’m not totally sold on the need for the exhaustive search, but then again, I’m not an expert on fuzzy matches.


samth
2020-5-8 02:19:47

samth
2020-5-8 02:27:22

Also, since you’re thinking about fuzzy-search, you might look at/think about replacing the JS search in racket docs, which could be fuzzier


deactivateduser60718
2020-5-8 02:38:33

Huge improvement


yfangzhe
2020-5-8 02:55:14

@yfangzhe has joined the channel


rokitna
2020-5-8 03:09:18

@rokitna has joined the channel