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/
gklijs 2021-04-07T04:32:49.092900Z

I remember we once had a kind of nice and neat state machine. Then we got a requirement to enable an action on whatever the state was, and it wasn't pretty anymore 😔.

pez 2021-04-07T09:12:17.099Z

Anyone knows if there is a way to run Windows in the cloud and run it in a window from a Mac? I never seem to be able to get Calva Jack-in work on all windows machines. The last fixes for this from some months ago looked like they finally did it, but now people are starting to report problems. I think I need to accept that I will never be able to solve it completely, and keep an easy way to test things on Windows. VirtualBox doesn’t cut it. Things are super slow and it often just hangs. Remote controlling some Windows instances would be super nice.

dharrigan 2021-04-07T09:14:19.099400Z

Doesn't AWS offer such a service?

dharrigan 2021-04-07T09:14:37.099600Z

https://aws.amazon.com/workspaces/

dharrigan 2021-04-07T09:14:41.099900Z

You can then RDP into it

dharrigan 2021-04-07T09:15:34.100800Z

You can also just spin up an EC2 instance of Windows and again, RDP into it.

dharrigan 2021-04-07T09:16:15.101100Z

We use EC2 instances at work to run some C# applications that requires the Windows system.

dharrigan 2021-04-07T09:16:37.101300Z

https://aws.amazon.com/windows/products/ec2/

dharrigan 2021-04-07T09:17:58.102200Z

I'm very sure that Microsoft Azure would offer a similar service (being their baby and all 🙂 )

dharrigan 2021-04-07T09:18:08.102500Z

it may be cheaper than EC2

pez 2021-04-07T09:32:36.104200Z

Thanks! Looks like I have options!

borkdude 2021-04-07T09:38:29.104600Z

@pez I've assembled a PC that runs Windows and WSL2, I test all Windows and linux related things on that box. Maybe you have an old computer laying around for which you can do the same?

pez 2021-04-07T09:44:40.108100Z

I don’t, actually. Besides, Calva works fine on my VirtualBox Windows. I need to be able to have machines with different Windows versions. (You would probably also need this, as one of the problems Calva has with Windows seem to be deps.clj related. 😃 )

pez 2021-04-07T09:50:03.108600Z

Amazon Workspaces is too expensive for me. 😞

dharrigan 2021-04-07T09:51:00.108800Z

Yup

dharrigan 2021-04-07T09:51:02.109Z

They aren't cheap 🙂

dharrigan 2021-04-07T09:51:22.109500Z

Have you had a look at azure?

pez 2021-04-07T09:54:51.110500Z

Azure will give me 12 month free of Windows virtual Machines. Might try that out. Also looking at EC2 right now.

hindol 2021-04-07T09:57:52.112600Z

Is this something that can be done using Github Actions? It is free for open source projects. https://github.com/features/actions

pez 2021-04-07T10:07:41.117200Z

Doubt it. I need it to be development machines. The workflow is a bit like: 1. Someone reports an error 2. I try to fire up a machine like the user’s and reproduce 3. I try to fix on that machine 4. I verify on all the so far known machines If Github Actions allow for selecting various Windows versions, then maybe it can be used. But for step 3 it would be kind of slow to experiment.

hindol 2021-04-07T10:11:53.117300Z

Okay, I think you are right. I was thinking the other way. 1. You already have a working Calva version. 2. You use GA to ensure it still works after the change. Via an automated test.

hindol 2021-04-07T10:14:16.117500Z

You might already have done it, but still... Did you install VirtualBox guess additions? I found VirtualBox performance to be adequate.

hindol 2021-04-07T10:15:07.117700Z

It might give you a more responsive Windows than either EC2 or Azure.

pez 2021-04-07T10:15:38.117900Z

Yes, i have the guest additions. It’s painfully slow. And eats up a lot of my hard drive. And I will need several.

pez 2021-04-07T10:17:30.118100Z

I have a an EC2 free-tier (free for 12 months they say) instance up now and am connected to it with Microsofts RDP Client. It’s super snappy. I fail to install VS Code though. Or rather fail to download it. Might have answered wrongly when accepting the suggested security requirements.

borkdude 2021-04-07T10:20:36.118300Z

@pez Would it be an idea to just buy/build a PC computer with 16GB-32GB of RAM and install Windows home + WSL2 on it?

borkdude 2021-04-07T10:20:46.118500Z

From sponsor / opencollective money

borkdude 2021-04-07T10:20:55.118700Z

Might be cheaper in the end than the AWS solution

borkdude 2021-04-07T10:21:15.118900Z

Or even a laptop

pez 2021-04-07T10:22:52.119200Z

If I can have several windows versions on it, it might be an option.

borkdude 2021-04-07T10:24:16.119400Z

what do you mean by several windows versions: 8.1, 10?

pez 2021-04-07T10:24:55.119600Z

Yeah. Seems like some build of Windows 10 is the one causing grief right now.

borkdude 2021-04-07T10:25:52.119800Z

Maybe pairing with the one who has the problem on his/her system might be the best option then?

borkdude 2021-04-07T10:26:02.120Z

As this can be very hard to reproduce

hindol 2021-04-07T10:26:08.120200Z

Only supporting the last release of Win 10 might be an option.

hindol 2021-04-07T10:26:53.120400Z

I don't know of a clean way to jump to a specific version of Windows. Not sure you can even download a specific version officially.

pez 2021-04-07T10:26:57.120600Z

Indeed hard to reproduce.

pez 2021-04-07T10:41:35.120800Z

Maybe it is not possible to set up the workflow I want. It is all quite sad around this. I think 95% or the time implementing and maintaining jack-in has been spent on (failing to) support Windows cleanly.

borkdude 2021-04-07T10:42:17.121Z

I don't think jack-in is worth it at all ;)

pez 2021-04-07T10:51:09.121200Z

I know you don’t.

pez 2021-04-07T10:52:48.121400Z

It was surprisingly easy to start a windows machine on EC2 and connect to it using RDP. From creating an AWS account to being connected it was 15 minutes, tops. Then it failed because I don’t know how to use Windows.

pez 2021-04-07T10:55:05.121600Z

And now closed the account. Also easy. 😃

pez 2021-04-07T12:31:05.122200Z

I feel a bit defeated now. Revenge on Friday maybe, I just ordered a mini-pc that I plan to RDP to.

pez 2021-04-07T12:32:20.122400Z

Even if I can’t repro the various errors on it, I can at least quickly try out different ideas.

borkdude 2021-04-07T12:40:11.122600Z

@pez Exciting! Which one did you buy? This is also how I use my PC

Ben Sless 2021-04-07T12:57:36.122800Z

No chance to write it off as a business expense?

gklijs 2021-04-07T13:37:45.123400Z

Nice mention of Clojure at 5:30 https://www.youtube.com/watch?v=SMohobzkqXg

💥 1
2
1
Karol Wójcik 2021-04-07T14:19:17.125400Z

Hmm.. How can I download GraalVM EE for evaluation and trying it out (it supposed to be free for those purposes) if Oracle insist that I put all the information about company I'm currently working at? 😄

dpsutton 2021-04-07T14:21:53.125800Z

i don't see how requiring that information prevents you from downloading and trialing it

Karol Wójcik 2021-04-07T14:22:44.126600Z

Why should I provide that information if what I do with GraalVM is not connected with what I do at job at all?

2021-04-07T14:23:06.127100Z

Just fill it in with nonsense

dpsutton 2021-04-07T14:23:11.127400Z

you could put "personal use" in those fields then

Karol Wójcik 2021-04-07T14:23:26.127700Z

Fair. Will do so. Thanks guys!

pez 2021-04-07T15:54:44.129Z

I went as cheap as I dared. An https://www.asus.com/Displays-Desktops/Mini-PCs/All-series/Mini-PC-PN40/ with 4GB RAM and 64GB SSD. It has Windows Pro, whatever that is.

borkdude 2021-04-07T15:56:39.129200Z

Nice! I hope 4gb is enough to run vscode ;)

pez 2021-04-07T15:59:38.129400Z

And java, and clojure-lsp, and … We’ll see.

pez 2021-04-07T16:00:22.129600Z

It does allow for upgrading to 8GB though, so if it comes to that I know what to do.

borkdude 2021-04-07T16:00:23.129800Z

I think a Windows pro license costs more than this entire miniPC normally ;)

pez 2021-04-07T16:01:37.130Z

I payed 2900 SEK, roughly €300

pez 2021-04-07T16:02:46.130200Z

Much better than paying totally unpredictable amounts for AWS stuff.

borkdude 2021-04-07T16:04:14.130400Z

cool

borkdude 2021-04-07T16:04:39.130600Z

good investment I'd say for someone who deals with cross platform stuff. I hope it will pay itself back

pez 2021-04-07T16:08:24.130800Z

It will save my Mac from being thrown out the window just because it hosts that horrible OS in the slowest possible manner.

borkdude 2021-04-07T16:14:08.131Z

I recommend trying out WSL2, it's pretty neat ;)

pez 2021-04-07T16:16:05.131200Z

The Calva users using WSL2 does not have all these problems, though. So I will need to stay in Windows to experience their pain.

borkdude 2021-04-07T16:17:05.131400Z

It's through pain and suffering that you can appreciate the other side better :P

orestis 2021-04-07T16:35:26.133600Z

Late to the party - but Microsoft offers free VMs to test IE11 and Edge in various versions. Still virtual box: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

pez 2021-04-07T16:39:34.133900Z

I have one of those on my VirtualBox. It’s nice that it is free.

hindol 2021-04-07T18:16:03.134300Z

@pez You probably need the Pro of Windows Pro. Windows Home edition does not support virtualization I think.

hindol 2021-04-07T18:17:56.134500Z

I would have gone for one of the latest Macs and then used virtualization to host Windows, 😁

hindol 2021-04-07T18:19:58.134700Z

@borkdude WSL2 is great and fun, until it isn't. I had to delete my Windows user for a different reason, and recovering files from the rootfs of the previous WSL2 installation was a pain.

pablore 2021-04-07T21:17:06.136600Z

So I blew my tech interview with Google (and I thought it went good!). Any uplifting words for a heartbroken fellow developer?

❤️ 2
Ben Sless 2021-04-08T10:20:16.158600Z

Don't feel bad. failing an interview always sucks, but had you gone to work for Google you wouldn't be able to use Clojure for your work 🙂

💯 3
sova-soars-the-sora 2021-04-07T21:33:49.136800Z

You'll make a thing bigger than Google

borkdude 2021-04-07T21:36:16.137Z

What attracted you to working for Google?

2021-04-07T21:48:56.138400Z

Well you had the guts to try. Trying is usually the first step to succeeding ;).

marciol 2021-04-07T21:53:35.140Z

@alexmiller I was watching your keynote at ClojureTRE 2019, really good presentation, but one thing that caught my attention is how you at Cognitect draw interesting diagrams, and I believe that they are very similar to all diagrams shown on Datomic Cloud docs. I actually these diagrams great and always wonder what software you used to draw them. It's a newbie question, so forget if it is a little bit off-topic.

alexmiller 2021-04-07T21:54:10.140200Z

OmniGraffle

marciol 2021-04-07T21:54:28.140900Z

Wow, I'll use it always from now. Really good stuff

alexmiller 2021-04-07T21:54:30.141Z

off topic is the on topic of #off-topic

1
😅 1
alexmiller 2021-04-07T21:55:19.141600Z

I'd say we use google sheets and omnigraffle more than we write code, or maybe that's just how it feels :)

marciol 2021-04-07T21:57:30.143400Z

Yes, the way you are working devising how to make the right decisions that will last forever as you said is pretty interesting, and spreadsheets are the lasting programming tool ever.

marciol 2021-04-07T21:58:05.143900Z

No is temporary, but Yes last forever

alexmiller 2021-04-07T21:58:38.144100Z

LIKE SPEC ALPHA, AMIRITE!?

marciol 2021-04-07T21:59:36.144500Z

:rolling_on_the_floor_laughing:

➕ 4
borkdude 2021-04-07T22:00:44.144900Z

Can't wait for spec aleph-zero

marciol 2021-04-07T22:01:26.145200Z

the ultimate spec blaster!

pablore 2021-04-07T22:04:08.145300Z

@borkdude no reason actually, they contacted me. It was for a position at the GoogleAds team, which I don't really like since I am very against advertising in general. But I really wanted to work in a BigTech:tm: just for the experience at least (and making my CV gold plated)

😂 1
borkdude 2021-04-07T22:06:44.145500Z

@pablore I had a similar experience once. I was invited for a big corporation. It felt personal but when I arrived I was put in a room with other people who were mass-tricked into applying for a job there. I had to do lots of these "turn around the figure in your head" type of things which I'm bad at (anything 3d really, yes, I rotate maps when navigating, haha). They sent me away just before lunch because I didn't score high enough, I had to buy some lunch elsewhere, the rats. I never wanted to do anything to do with that big corporation again and in hindsight I feel lucky that I didn't work there, because in other contexts I didn't get the impression they made high quality software. Hope this helps somehow ;).

👍 2
1
2021-04-07T22:25:29.146200Z

I’ve been trying to get there, I like the idea of doing the hard problem solving on paper, then spending a bit of time to get it into code.

2021-04-07T22:35:00.146400Z

Lots of people don't pass first / second screens of interviewing at Google, even perfectly competent people. Lots of people would like to work there, not so many positions to fill.

2021-04-07T22:35:25.146600Z

Not quite the same, but probably some similarities to people who become software developers because they want to develop video games.

seancorfield 2021-04-07T22:37:59.146800Z

@pablore Don’t feel bad: Google’s interviews are legendarily brutal (and a poor filter for good people anyway, IMO).

2021-04-07T22:38:40.147Z

Well, the example they give there is Elisp, and I imagine there are other lisps that would allow you to mutate that string, too.

2021-04-07T22:39:22.147200Z

Clojure on the JVM does not, at least not without breaking the JVM's security/safety barriers at a fairly low level, e.g. linking in native code, in which case it can muck with everything in memory if you want to.

2021-04-07T22:39:36.147400Z

JVM strings are immutable at the JVM level, so Clojure/JVM strings are, too.

em 2021-04-07T22:39:40.147600Z

Yeah, was just a funny example. Default immutability is a pretty good idea turns out

seancorfield 2021-04-07T22:39:51.147800Z

They pestered me regularly for several years to go interview and I eventually gave in and agreed to a phone screening interview with an engineering manager and it was awful. I stopped the interview about 10-15 minutes in and read them the riot act and what a crappy interview process/technique they had — and then we chatted for another half hour about interviewing experiences. I asked them to mark my file as “do not call” (and they haven’t).

🙌 5
1
em 2021-04-07T22:40:08.148Z

Some people on reddit saw this blog post and started harping on how this is why "lisps are bad" lol

2021-04-07T22:40:21.148200Z

You can mutate Clojure collections if you know the right Java interop calls to make, if you want to, but I wouldn't advise it. That does not require using native libraries.

2021-04-07T22:40:48.148400Z

Some people like to spout off on things they are not fully informed about -- film at 11.

2021-04-07T22:42:22.148600Z

Tell the people who started harping on how this is why lisps are bad, that you can easily write programs running with root privileges that mutate Haskell data structures in memory 🙂

2021-04-07T22:43:13.148800Z

immutable data is an abstraction, and unless someone implements it with some supposedly immutable physical stuff (that I'd like to see), it is actually mutable

💯 1
2021-04-07T22:43:58.149300Z

(or Plato is right, and it is the world of Forms that you are looking for)

pablore 2021-04-07T22:51:10.149700Z

The Riot Act??

2021-04-07T22:54:28.149900Z

meaning that Sean explained to them very clearly and unambiguously that their interviewing practices were very poor, and he believed they should abandon those practices in favor of something better.

pablore 2021-04-07T22:56:12.150600Z

I actually went to the wiki article for the riot act

seancorfield 2021-04-07T22:56:13.150800Z

“it usually means they’ve been caught engaging in antisocial behavior and chastised accordingly” — yup, that’s it!

pablore 2021-04-07T22:59:30.151Z

Well thanks everyone for the kind words. I'll just concentrate on my clojure skills instead of whiteboard tech trivia so I can eventually land a job I really like or even start my own purely functional company.

seancorfield 2021-04-07T23:04:05.151300Z

Of the FAANG companies, I’m not sure I could work for any of them…

pablore 2021-04-07T23:32:29.151500Z

Not even Apple? I heard they use clojure on some parts of iCloud

souenzzo 2021-04-07T23:36:17.151700Z

I'm still waiting for the spec version that we can specify the spec of spec in that spec then auto test it with the generative testing

💪 1
😄 1
Ben Sless 2021-04-08T10:23:55.158900Z

yo dawg, I heard you like specs

2021-04-07T23:55:00.151900Z

A job isn't defined completely by what programming language you use most of the time. There are many other factors.