tim986
2020-7-10 08:14:47

hi… hoping someone has a quick snippet to create a pict of a Post-It note with a curled (or even square dog-ear). I’m under a little bit of time pressure (and away from the racket docs, TBH), but if nobody has one immediately at hand, I could write one.


laurent.orseau
2020-7-10 08:26:42

Super quick, using shadow frame (so not exactly what you want I guess).


laurent.orseau
2020-7-10 08:26:52

tim986
2020-7-10 11:40:02

oh… it’s effective enough. thanks


tim986
2020-7-10 11:40:26

when i say dog-eared, i want the impression that it was stuck onto the slide in a hurry


tim986
2020-7-10 11:40:31

which this does.


tim986
2020-7-10 11:40:34

thanks larent


tim986
2020-7-10 11:40:52

Laurent


samth
2020-7-10 15:06:32

perhaps some new Chez tagging optimizations: https://weinholt.se/articles/design-low-tagging-z3py/


laurent.orseau
2020-7-10 15:10:30

That looks awesome


laurent.orseau
2020-7-10 15:11:39

what about tracking purity?


samth
2020-7-10 15:12:12

I think that’s much harder — the suggestions in the post are things that could be added without much change to existing Chez code


evyatar2013
2020-7-10 17:13:08

Is anyone familiar with a “taxonomy of abstraction levels” especially with regards to computer execution.

Intuitivily a language like python is more abstract than assembly, and assembly is more abstract than machine code, etc etc.


evyatar2013
2020-7-10 17:14:42

In particular I’m interested in defining/describing the actual “abstraction” rather than how abstract different programming languages are


cris2000.espinoza677
2020-7-10 17:22:21

quick question, im trying to run a script with gracket <filename> but it makes the OS focus on an already opened script in the same way. Is this a limitation? Do i have to use raco to make executables if i wish to have multiple scripts openend? Edit: I read more, and I think I want to run my script with racket but with no console, is that possible?



samdphillips
2020-7-10 18:05:18

Is it possible to require a typed/racket module into (untyped) racket without contracts?



samdphillips
2020-7-10 18:20:07

That requires cooperation with the typed module I think? I was trying to make a simulation that used math/distributions and it was very very very slow.


samth
2020-7-10 18:44:11

You can define your own typed module, and then provide what you need with unsafe-provide


samdphillips
2020-7-10 19:20:41

Aha that makes sense now. Thanks!


notjack
2020-7-10 20:37:33

should there be something like (require (unsafe-typed-in foo x y z)) for this?


camoy
2020-7-11 01:12:00

samdphillips
2020-7-11 01:12:46

Totally forgot about live-free-or-die


greg
2020-7-11 03:44:16

@shriram gave a great PapersWeLove talk https://www.youtube.com/watch?v=43XaZEn2aLc


jestarray
2020-7-11 04:33:33

how do i resolve a relative path to an absolute path? using (build-path 'up "out") which produces #<path:../out> .. i need absolute path


jestarray
2020-7-11 04:44:00

nevermind, (path->complete-path)