@chuck.cassel Fonts look great on Xlaunch with both Atom and REBL on my Surface 3 but thanks for the link anyway!
(I have not exported the LIBGL... env var that it recommends... so starting REBL says
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Prism-ES2 Error : GL_VERSION (major.minor) = 1.4
Not sure if the env var would fix that and what effect it would have on the rendering. Will investigate next.OK, adding that apparently lets the Windows world run the rendering directly when using WSL and that gets rid of the two libGL error
messages.
(I think this was the smoothest setup of a new computer I've ever experienced -- Microsoft's sync of Windows settings and browser settings to a new machine seems head and shoulders above Apple, comparing this to all the Apple machines I've bought and setup over the years; this was the fastest I've ever had a full development up and running on a new machine)
I moved from Linux to windows and I have to say, Linux has become pretty great haha. My windows did an update and it corrupted something and I had to do a full reset of windows. And then in only 2 days I did get a few issues here and there. All things Linux doesn't suffer from, once it works in Linux it just works 😝
But since I also game on my PC, Windows it is
Well, my dev env is WSL2 with Docker 🙂 That's how I'm running Atom and REBL and Clojure.
And WSL 2 allows me to have some of the good parts of Linux as well. And as a Linux user I'm a KDE user, so I do prefer that Windows like UX.
Good talk @borkdude, can you explain what didn't work with Emacs? You meant running Emacs locally on your Mac and editing files remotely? I was thinking I would use Emacs GUI running in WSL 2 through an XServer and control it through remote desktop? Did that not work?
You run them inside docker?
No, sorry, I'm only using Docker for "3rd party services" (Percona, Elastic Search, Redis).
I'm running Atom directly on WSL2 via VcXsrv/Xlaunch, same as REBL.
Ah yeah I see. I do the same for Emacs, haven't tried docker yet.
I'm surprised you don't just run Emacs in a terminal window?
😅 I prefer the GUI version
I find the mouse is convenient once in a while. And the GUI is able to show an extra fringe bar which I find useful as well. And I've honestly never been able to figure out how to never get the terminal/shell to mess with some of the Emacs bindings
@didibus Thanks. I didn't have time to go into it, but my problem with Emacs tramp was that the clj-kondo config wasn't picked up remotely because the linter is running locally. The problem with X was that XQuartz doesn't support retina, so the fonts are bit blurry, but it works quite well other than that
it's nifty that post rsync, pretty much everything worked!
Hi @alexmiller, can you please advice me where can I check the most recent safe version of win-install script? I'm asking because version listed on the wiki page is relatively old and in scoop I already have a lot newer version in scoop. It was based on some pointers from the guys around here, maybe even your twitter account. I regularly miss new releases etc.
the latest stable version can always be found listed on the https://clojure.org/guides/getting_started page
or several other places: https://github.com/clojure/brew-install/blob/1.10.1/CHANGELOG.md or https://github.com/clojure/homebrew-tools/blob/master/Formula/clojure.rb
there are newer versions, those are prereleases that may include development in work
Ooops. So at some point I slipped to prereleases. Don't know if it's good or bad but definitely makes me feel uncomfortable 🙂
well, hopefully soonish there will be another stable release and then you can be re-synced :)
homebrew core and the docker builds are now all tracking stable builds automatically
🙂 yeah, thanks
@ales.najmann I've decided to basically give up on Windows-side clojure
and just go straight to WSL2/Ubuntu and linuxbrew
on my new machine.
(and that was partly because I wanted the latest prerelease on everything, 1.10.1.672)
I've also been using linuxbrew on some machines for my own projects
Oh I see, you tried to stream X to mac. I was thinking stream X to windows on the same PC, and then use remote desktop into Windows from the mac laptop. I didn't even think maybe you could just avoid remote desktop altogether and just SSH + stream X. But the VSCode support you mentioned working flawlessly, better than tramp got me excited as well. I have lots to try.
I go WSL2 as well, but I also have the scoop installed clj which works well, though I prefer to use the deps port.
yes, ssh -X + XQuartz This was in a slide that I had to cut out because of time:
Here's the slide-deck including the skipped slides: https://www.dropbox.com/s/ftklldxnh016dzn/wslconf-2020-extended.pdf?dl=0
I see, ya in the past, my use of remote X were too slow. I see your slide does mention lag
Here's the slidedeck of my presentation from yesterday including skipped slides: https://www.dropbox.com/s/ftklldxnh016dzn/wslconf-2020-extended.pdf?dl=0 and here's the video going with it, again: https://www.youtube.com/watch?v=j5jLPzBRtKI&feature=youtu.be&ab_channel=celebrateubuntu.
My solution was to use ThinLinc : https://www.cendio.com/thinlinc/download which I'd highly recommend. In my experience it rivals remote desktop, might even beat it, because it supports dynamic window resizing
Its actually free to use for development. They make money on enterprise install, but if you only remote in for one person its free even for professional work
remote desktop also works with windows resizing
I'm not sure if it would work to install it on WSL 2 though
I'll add it to my notes
Oh does it, in the past I needed to disconnect, and reconnect with a different resolution specified. That was win 7 era
Anyway, if you ever need to "remote desktop" a linux box, high five to ThinLinc, works smoothly, beats VNC, XRDP and all that hands down.
thanks!
oh cool extra bits!
so looks like additionally there is: * BIOS CPU virtualisation setting for WSL2 * Editing source code * Emacs on remote machine (the first slide -- i think i saw the second one in the video) * Emacs locally: tramp * Emacs locally: FUSE / sshfs thanks for sharing!