githree
2019-2-4 11:26:57

@pocmatos yes


pocmatos
2019-2-4 12:10:15

@githree Ah, thanks for the submissions for racket news.


githree
2019-2-4 12:12:29

have you thought about adding submission label and/or milestones being newsletter number?


pocmatos
2019-2-4 12:18:46

nope, but I will after you suggested it. :slightly_smiling_face:


githree
2019-2-4 12:19:07

:slightly_smiling_face:


pocmatos
2019-2-4 12:20:47

…and done! :slightly_smiling_face:


githree
2019-2-4 12:25:24

nice! will be easy to track!


asumu
2019-2-4 19:37:59

Thanks, I was able to include the patch in the PPA build and the rebuild looks successful.


tahir
2019-2-4 21:06:36

@tahir has joined the channel


tahir
2019-2-4 21:11:10

Just getting started with racket! qq: on a mac, I am seeing raco pkg install pull files from 7.1 though I have 7.2 installed. Can someone point me to any documentation that would explain raco’s different repos for platforms and builds?


soegaard2
2019-2-4 21:14:50

did you by chance invoke an old raco ?


soegaard2
2019-2-4 21:14:52

what does


soegaard2
2019-2-4 21:14:54

which raco


soegaard2
2019-2-4 21:14:57

say


tahir
2019-2-4 21:19:15

I’m installing with brew install minimal-racket and getting /usr/local/bin/raco for which raco


soegaard2
2019-2-4 21:20:01

What does


soegaard2
2019-2-4 21:20:04

raco version


soegaard2
2019-2-4 21:20:05

show?


tahir
2019-2-4 21:21:50

raco version is not recognized as a command


soegaard2
2019-2-4 21:24:25

@tahir Sorry. Misread the output in my terminal (my path contains the version number)


lexi.lambda
2019-2-4 21:24:50

what does racket --version show?


tahir
2019-2-4 21:26:08

7.2


soegaard2
2019-2-4 21:26:48

I have no idea. But … why aren’t you using the official installers?


soegaard2
2019-2-4 21:26:49

lexi.lambda
2019-2-4 21:27:58

@tahir If you run which racket, do you get /usr/local/bin/racket as well? And if so, if you run raco setup, what does it say in the first few lines of output? (It should have the version information there.)


travis.hinkelman
2019-2-4 21:58:30

@travis.hinkelman has joined the channel


jjwiseman
2019-2-4 22:14:27

tahir, i just went through this last week, same thing. i went through my system and deleted anything related to racket, and then it started working. it was very frustrating.


jjwiseman
2019-2-4 22:15:51

i.e., i had to do more than uninstall things through brew; maybe there was a config file left over?


jjwiseman
2019-2-4 22:16:59

(i’m assuming you previously had an earlier version of racket installed)


jjwiseman
2019-2-4 22:20:04

(there are some advantages to using a system like brew, which is basically just installing racket-minimal-7.2-src-builtpkgs.tgz. e.g. there are the usual benefits of using a package manager, which include a consistent way to uninstall and update packages.)


d_run
2019-2-4 22:30:03

i have this in my bash files to keep tabs on which Racket i’m running

### Add current Racket's bin to path
if [ -L "/usr/local/bin/racket" ]; then
   racket_v=$(racket --version \| sed 's/[^0-9.]*//g')
   PATH="$PATH:$HOME/Library/Racket/${racket_v%.*}/bin"
fi

I install Racket with brew cask install racket


d_run
2019-2-4 22:30:25

on a Mac


zenspider
2019-2-4 22:31:44

@jjwiseman You probably want to look at or nuke ~/Library/Racket


zenspider
2019-2-4 22:33:18

@d_run I don’t have a bin under ~/Library/Racket/*


zenspider
2019-2-4 22:34:39

I usually install via the official dmg’s + rsync. Then either use drracket or raco pkg migrate to move to the new version.


zenspider
2019-2-4 22:36:42

@tahir if you’ve got a mess of racket versions (brew list --versions --multiple), then you can probably fix it up to the latest with brew unlink minimal-racket; brew link minimal-racket. If that doesn’t fix it up, then you probably have a mix of brew and non-brew installs (or your pathing is strange?)


mflatt
2019-2-5 01:30:35

Great - thanks!


tahir
2019-2-5 02:59:44

which racket: /usr/local/bin/racket. when I run raco setup I get the following. I had installed minimal-racket a day or so before 7.2 was released. I had installed some pkgs (like base16-drracket which shows up below), but have since removed the racket installation with brew uninstall --force minimal-racket. Still I’m getting this when I run raco setup: raco setup: version: 7.2 raco setup: platform: x86_64-macosx [3m] raco setup: target machine: racket raco setup: installation name: 7.2 raco setup: variants: 3m raco setup: main collects: /usr/local/Cellar/minimal-racket/7.2/share/racket/collects raco setup: collects paths: raco setup: /Users/tahir.butt/Library/Racket/7.2/collects raco setup: /usr/local/Cellar/minimal-racket/7.2/share/racket/collects raco setup: main pkgs: /usr/local/Cellar/minimal-racket/7.1/share/racket/pkg raco setup: pkgs paths: .... raco setup: source path: /usr/local/Cellar/minimal-racket/7.1/lib/racket/starter-sh raco setup: destination path: /usr/local/bin/raco raco setup: system error: No such file or directory; errno=2


lexi.lambda
2019-2-5 03:24:23

@tahir It certainly seems like something about the homebrew installation isn’t configured properly, but I’m not totally sure what. Glancing at the minimal-racket formula, it seems to muck about with the location that Racket installs executables so that they end up in /usr/local, which shouldn’t break anything on its own AFAICT, but it would explain why the executables don’t get cleaned up when you brew uninstall the package.


lexi.lambda
2019-2-5 03:24:39

I don’t think the minimal-racket formula is “official” in any capacity, though.


tahir
2019-2-5 03:53:41

Ok, realized /usr/local/etc/racket was not being deleted. now raco setup runs and succeeds!


tahir
2019-2-5 03:54:33

And raco pkg install ... seems to only pull from 7.2


sjaniska
2019-2-5 07:12:20

morning


sjaniska
2019-2-5 07:13:46

i’m considering to go through HTDP2e book and wonder whether it is worth to buy a copy? some people on the net complain that the typesetting (despite of TeX usage) and the physical format are not top-notch. any comment?