off-topic

https://github.com/clojurians/community-development/blob/master/Code-of-Conduct.md Clojurians Slack Community Code of Conduct. Searchable message archives are at https://clojurians-log.clojureverse.org/
Ben Sless 2021-01-31T06:45:45.272800Z

Feels a bit like a protocol which can be extended to both types, no?

borkdude 2021-01-31T07:54:49.275700Z

I have considered that but I don’t think it offers a benefit to return a custom type rather than some native type that is always coerced. Returning the custom type always means coercing return values which can be many

borkdude 2021-01-31T07:55:38.276800Z

Coercing on input, not on output I mean. Pretty much what seq functions do

Ben Sless 2021-01-31T08:14:39.285500Z

More OT than most, but wanted to share, and maybe do some compare and contrast - About a week ago I added a new SSD to my PC and installed Linux on it. Everything works great and I can access all the data from my windows hard drives. I had to boot into windows only once since, to export my browser profile. I know WSL has been trying to set itself up as a viable alternative, but I must say getting set up in Linux was easier and simpler. Development works as I'd expect, media and games work (thanks wine). GNOME took some getting used to, but I can always move to KDE. At this point I'm wondering why not just use Linux, unless some particular program ties you down, or you just like macs for some weird reason

mpenet 2021-01-31T08:43:37.287500Z

It's down to personal preference now. They are largely equivalent if you exclude specific dependencies.

mpenet 2021-01-31T08:54:31.293Z

If you like Microsoft hardware, going with windows is a good reason. I guess drivers are more up to date

mpenet 2021-01-31T08:56:17.295800Z

Same is true for apple if you like their hardware

Ben Sless 2021-01-31T09:56:00.296300Z

When was the last time you've had drivers issues? I installed PopOS and that took care of NVIDIA for me

gklijs 2021-01-31T10:27:36.298800Z

I'm on Mac for some years now. But considering going back to Linux for my next machine. Several reasons.

rakyi 2021-01-31T10:30:30.301500Z

I’m a long time Linux fan, but IMO it has worse battery life, font rendering, security, HW and SW support than both macOS and Windows. Switching to mac after years on Linux solved a lot of issues for me, except freedom (as in the free software definition), which is much worse, of course.

mpenet 2021-01-31T10:41:40.301600Z

I have been using linux on the desktop forever :) I have no complaints but if I had a Surface I would think twice

mpenet 2021-01-31T10:43:07.301800Z

Last time I had issues was nearly a decade ago for touch-screen drivers I didn't care about

mpenet 2021-01-31T10:43:42.302Z

Now most distrbs are incredibly easy on this

mpenet 2021-01-31T10:44:56.302500Z

My wife's 2020 mbp has more issues (from ext screens, printer drivers, etc)

vemv 2021-01-31T10:50:54.306300Z

I think using a macbook as a thin client against a beefy unix box (haven't decided which yet) has a lot of advantages - mac niceties (trackpad, iTerm) are preserved - one can physically separate maven/rubygems/nodejs programs (which always can sniff your clipboard etc) from his personal data - better performance also I'm sick of homebrew πŸ™ƒ

borkdude 2021-01-31T10:55:38.310300Z

This is basically what I'm doing with my maxed out PC (128GB, Ryzen) https://blog.michielborkent.nl/2020/07/26/remote-wsl2-clojure/ I'm not using it all the time, but for heavy jobs, I work remotely on it and then transfer the results to my laptop again

πŸ™‚ 2
mpenet 2021-01-31T10:55:44.310700Z

I guess it's very subjective. Performance depends on context, font rendering it also depends (recent wayland vs X, etc), same for battery life, it varies a lot depending on hw. As I said imho it is quite personal

πŸ‘ 1
☝️ 1
mpenet 2021-01-31T10:56:26.311900Z

Yeah using a beefy machine for heavy tasks is always better

borkdude 2021-01-31T10:56:46.312400Z

I intended to work remotely on it all the time, but this hasn't been as ergonomic as just working directly on the machine as I had hoped, so out of inertia I fall back on my laptop most of the time

borkdude 2021-01-31T10:57:52.313200Z

But if I have to, in case my main laptop breaks, I can still continue to work, using a "thin" laptop for a while, which makes me worry less

mpenet 2021-01-31T11:00:36.315500Z

I am tempted to move most of my dev heavy stuff on a beefy (work) vm personally. Not sure about ergonomics but it's worth an experiment

Ben Sless 2021-01-31T15:12:54.317100Z

Well, I'm on a desktop so I don't feel the power issues. fonts seem okay (I think), but security is an interesting point. Where did you have issues with that? I worked on a mac for a period and I found it a pain, to a degree I insisted on getting a Linux machine when I could

Ben Sless 2021-01-31T15:13:57.317300Z

Homebrew > oh, you want to install this tiny binary? let me just refresh all my caches for 10 minutes

Ben Sless 2021-01-31T15:15:09.318200Z

I used to connect to work machines which ran a VNC client. It wasn't bad

dpsutton 2021-01-31T17:54:13.319200Z

my next machine might be a windows machine. I'm kinda looking at Windows as a really great DE (multiple monitors, rock solid, etc) and run everything through WSL. But i've heard that there are some slowdowns with file systems so just watching for now.

Ben Sless 2021-01-31T18:17:05.320500Z

Rock solid? Every other update is liable to bork your files or something similar and windows will update itself when you go grab a cup of coffee without asking. How many monitors are you using?

Ben Sless 2021-01-31T18:18:46.321200Z

Maybe I'm just letting the accumulated frustration with windows explode now that I switched

dpsutton 2021-01-31T18:30:25.322300Z

that's fair i guess. I haven't used windows in a while but everyone that uses it seems to have no problems with a multimonitor setup. I use two 4k monitors with my macbook and it is pretty good. I haven't even bothered to try to use a multi monitor setup with linux as i expect it to have weird scaling issues

dpsutton 2021-01-31T18:30:35.322600Z

so perhaps its a grass looks greener from this side

pavlosmelissinos 2021-01-31T18:38:17.322700Z

Re fonts: hidpi is still a pain in linux (mostly due to X)

mpenet 2021-01-31T18:42:26.323300Z

Scaling works fine in my experience

mpenet 2021-01-31T18:45:40.326700Z

I just use stock Ubuntu, nothing exotic and it just works. I don't bother using a fancy distro or even a tiling vm anymore, I'm becoming more of a minimalist with age I guess

mpenet 2021-01-31T18:47:14.328700Z

My wife's 2020 mbp recognizes my 4k monitor as keyboard (via usbc, I think it picks up only the usb hub and doesn't pick up the rest... ) :) so yeah, ymmv applies

rakyi 2021-01-31T19:34:48.330200Z

I mentioned security just from a design standpoint, never had a problem personally. I think this is a good take/examples: https://nitter.net/rootkovska/status/1136220742662664193 And of course I meant common Linux distros. QubesOS, Whonix etc are obviously a different league, but not for a typical user.

πŸ‘ 1
seancorfield 2021-01-31T19:56:01.332600Z

I've been on Windows Insider builds for about six years now and I've never had it restart to install updates while I'm working on it, even when stepping away for an hour or two. You can configure the restart window to be any time you want or you can manually restart for updates when you feel like it. And on the "dev channel" (formerly the "fast ring"), you get a new Windows build almost every week.

borkdude 2021-01-31T19:56:43.333500Z

The automatic restarting is really annoying to me and super hard to turn off, if at all possible

borkdude 2021-01-31T19:57:13.334500Z

I am using my Windows box as a remote dev station and restarting while you are remotely working makes it impossible to re-connect. Bad.

borkdude 2021-01-31T19:59:23.335600Z

I have one process that can take up to an hour or longer to fully finish. I leave this running for usually longer than a month. This doesn't fit well with Windows.

borkdude 2021-01-31T19:59:47.335900Z

Other than that, WSL2 works well for my purposes.

seancorfield 2021-01-31T20:01:50.337100Z

I still have a Mac desktop but it's nearly nine years old now and when I replace it, I'll get a Windows desktop. I'm already doing a lot of dev work on my Windows laptop via WSL2 (I recently replaced my eight year old Dell XPS 12 -- Windows 10 with WSL1 -- with a Microsoft Surface Laptop 3, initially with WSL1 then I installed WSL2 instead).

seancorfield 2021-01-31T20:04:30.338500Z

It's probably worth mentioning that I started with Macs in the early '90s (with System 6) and although I have used every version of Windows from 3.11 on up, I never liked Windows until 8 and I consider 10 to be much better than OS X / macOS these days.

caumond 2021-01-31T20:21:45.340500Z

@seancorfield, don't you miss the X-like terminal on windows? It was a major breakthrough for me for osx: X-like terminal and general public os in the same OS.

caumond 2021-01-31T20:22:45.342100Z

I still have difficulties on windows with terminals. Even Powershell or gitshell. Same for directory structure I find much more simple to use in devs.

borkdude 2021-01-31T20:25:53.342500Z

@caumond Just use WSL2 and Terminal

borkdude 2021-01-31T20:26:00.342700Z

ignore the Windows filesystem

borkdude 2021-01-31T20:27:56.345400Z

Something else, a bit off topic. My talk was chosen for a workshop. Now they want me to register through some site and I'm confronted with "non-ACM members pay $60 to register". This is quite unusual for me as a speaker, and honestly, it rubs me the wrong way. I'm already investing a lot of time in this talk which I will give for free. Why pay to talk? Thoughts? It's this workshop btw: https://graalworkshop.github.io/2021/.

seancorfield 2021-01-31T20:29:17.346400Z

@caumond I'm not sure what you mean about "X-like terminal"?

caumond 2021-01-31T20:29:33.346600Z

Unix like

caumond 2021-01-31T20:29:42.347Z

or linux like

seancorfield 2021-01-31T20:29:54.347500Z

WSL2 running Ubuntu is what I run in Microsoft Terminal by default

seancorfield 2021-01-31T20:30:17.348300Z

MS terminal can also start Powershell or cmd.exe stuff.

borkdude 2021-01-31T20:30:38.349100Z

For me the terminal was the main reason to go away from Windows to macOS. Now that there is WSL2 it's starting to become tolerable.

πŸ‘ 1
caumond 2021-01-31T20:30:43.349200Z

yes I know that last two, but find them much less powerful.

caumond 2021-01-31T20:31:14.349800Z

I've just bought a mac!!! I may have doubts if I had that in mind

seancorfield 2021-01-31T20:32:25.351200Z

This is MS Terminal: tabbed, multiple shells:

πŸ‘ 1
caumond 2021-02-01T10:58:39.410200Z

@borkdude. I watched it, nice. In your situation, are you able to develop without network? Personaly, I have a fix and a laptop. I have scripted my setup and replicate them between the two computers. Documents shared through a NAS, code shared through GIT. The limitation is that I need to commit and push in progress code each time I want to switch. Of course, I my environment, I don't have a huge computation capacity as you have.

borkdude 2021-02-01T11:00:40.410400Z

@caumond No, I can't develop without a network, unless I attach a keyboard and monitor directly

caumond 2021-02-01T11:04:05.410600Z

I hope your connection is reliable !

borkdude 2021-02-01T11:10:22.410900Z

from within my house it's ok

borkdude 2021-02-01T11:10:34.411100Z

and from outside, it's usually ok, not always ;)

borkdude 2021-01-31T20:32:34.351600Z

@caumond To be honest, I still prefer macOS. It's just the hardware price that is steep compared to the PC that I've built. But now with M1 the mac hardware will also be interesting again.

clyfe 2021-01-31T20:33:15.352100Z

Ask them what are their thoughts about it.

borkdude 2021-01-31T20:34:11.353500Z

@caumond I've also done a talk about WSL2 here: https://blog.michielborkent.nl/2020/07/26/remote-wsl2-clojure/

seancorfield 2021-01-31T20:40:02.357800Z

@caumond When you mentioned "X-like" I wondered if you meant X11 -- and I run VcXsrv on Windows so that I can run X11 GUI apps from Ubuntu and have their UI show up on Windows. That's how I run Reveal on my laptop: started from a REPL on WSL2/Ubuntu -- and the UI pops up on Windows alongside VS Code (so I have the exact same dev experience on macOS and Windows/WSL2).

clyfe 2021-01-31T20:45:31.359100Z

So, why WSL and not a Linux desktop directly I'd ask? Preference or regulations?

seancorfield 2021-01-31T20:46:02.359600Z

Because the Linux desktop UI/UX still sucks as far as I'm concerned.

seancorfield 2021-01-31T20:48:43.361400Z

(so I guess that's "preference" πŸ™‚ )

seancorfield 2021-01-31T20:51:33.363900Z

Even back in my early days with Macs -- System 6/7 -- I ran BSD Unix for my development experience at the command-line while still preferring the Mac OS UI/UX (Tenon Intersystems' MachTen -- a paid product that provided a BSD shell based on Mach kernel).

caumond 2021-01-31T20:53:33.366400Z

Back to square one. A mixed experience. Best of each world !

clyfe 2021-01-31T20:54:03.367100Z

I wanted to ask the other day, what editors were you using in the 80's/90s @seancorfield?

seancorfield 2021-01-31T20:59:59.372600Z

@claudius.nicolae I used ed at first I think. Then vi. I also used Emacs in the 17.x era through to the start of the 19.x era -- I'd have to look up when that actually was.

seancorfield 2021-01-31T21:01:16.374700Z

My university ran Prime minicomputers but we were a test site for Primix prerelease builds -- so I learned a *nix-style O/S back in '79.

😲 1
πŸ™‚ 1
Eamonn Sullivan 2021-01-31T21:01:49.375Z

I've been a Linux user since the early 1990s, so I'm simply most comfortable there. That's literally all I've run at home for decades. But I've not been a remote-only user until the pandemic. For the first time, I've actually been able to work full time in Ubuntu, and I'm really enjoying it. I had to use a Mac (current employer) or Windows (previous employer) for last 20 years, and it was always a bit of a struggle to reproduce what I have on Linux in those environments... I realise I am very much an odd case...

dharrigan 2021-01-31T21:02:13.375400Z

Then I'm odd too πŸ™‚

seancorfield 2021-01-31T21:02:28.376Z

(apparently that's '85 to '93 roughly for those Emacs versions)

dharrigan 2021-01-31T21:03:08.377300Z

I stuggle with Windows, not due to what it can do, but what I loose. For me, I always feel llike I'm having a "conversation" with my computer when I'm on the terminal. I ask it to do things, it does it (or not!) and we make a good team.

Mike 2021-01-31T21:03:22.377900Z

I never really "got" emacs... I guess I'm more of a vi(m) guy.

dharrigan 2021-01-31T21:03:33.378100Z

My first introduction to "Unix" was Xenix back in the day

dharrigan 2021-01-31T21:04:31.378600Z

Today, I run Arch Linux with i3(gaps) window manager and my hands hardly touch the mouse

dharrigan 2021-01-31T21:07:01.380600Z

Years ago, I worked for someone who was Windows based. I had to install Cygwin to get things done. I felt otherwise that I just couldn't "talk" to my computer, to have a dialogue of development πŸ™‚

Mike 2021-01-31T21:08:40.382700Z

Cygwin isn't that bad... But nowdays when working on my windows laptop, I use an ubuntu VM inside that to feel comfortable. Vscode can ssh in the virtual box instance, so it's pretty neat.

dharrigan 2021-01-31T21:15:26.383200Z

Absoutely, if I was forced to use Windows then I would absolutely use WSL or a VM.

Eamonn Sullivan 2021-01-31T21:20:58.386800Z

At my previous employer (more than 5 years ago now, so pre WSL), we did all of our development on big Solaris or AIX machines with 100-200 processors, and we were issued Windows by the IT department. So we installed X on the local PCs and used them basically as X Servers. We logged in via Windows/Active Directory and then straight into X windows. It worked, but it struck me as unnecessarily convoluted if our target environment was always going to be Unix. The Macs at my current employer, at least, are a bit more similar to our target environment.