Fork me on GitHub
#off-topic
<
2020-06-06
>
dominicm20:06:40

I just looked up the etymology of the word "code", it's got a really interesting root: https://www.etymonline.com/word/code#etymonline_v_15772 > De Vaan traces this through Proto-Italic *kaud-ek- to PIE *kehu-d- "cleaved, separate," Coding, it might be argued, is inherently about separating (so simplifying)

adam23:06:50

I am loving how fast my changes are reflected when using wrap-reload in comparsion to Django dev server

👍 4
seancorfield23:06:10

@somedude314 Or just start your app via the REPL and eval directly into that REPL -- no reload required 🙂

adam23:06:48

Old habits die hard 😄

😀 4
seancorfield23:06:05

(I never use any reload/refresh stuff -- just a REPL and hot keys to eval forms and top-level forms... "Happiness is a warm REPL!" 🙂 )

💯 9
nick08:06:52

Hi Sean Can you elaborate on this message a bit more? Not sure I understand. Does it mean that you never use tools like mount/component for code/state reloading? Or was that message relevant only when working with Clojure Ring servers? Perhaps I should watch your youtube video "Fixing a bug in core.memoize" to understand it better? I may have missed smth because I was a complete Clojure noob when I saw it for the 1st time

seancorfield15:06:35

@U0113AVHL2W We use Component very heavily at work, for managing things with a lifecycle that matches startup/teardown. That has nothing to do with the reload/refresh discussion really tho'. Component is great for managing dependencies of stateful processes/services (database connection pools, cache setup, web server startup). And, yes, I will sometimes stop a component system that I started in my REPL, but mostly when I want to spin up different systems that share some resource within the REPL, never to reload/refresh code. I just eval every piece of code I change directly into the running process, often without even saving the file.

nick15:06:20

Got it. Thanks a lot for your explanation!

seancorfield15:06:28

I'm not sure what you mean about "Clojure Ring servers". When I'm working on web apps, I start them from the REPL (from Rich Comment Forms in my source code, specifically), and just eval code into them while they're running. I might even have multiple apps running from my REPL.

adam23:06:08

Yeah, so I've heard. Hopefully I make more use of it as I become more comfortable with functional programming

dpsutton23:06:51

i see microsoft wants to charge $139 for windows home on http://microsoft.com. Anyone know of a legal avenue to purchase windows at a cheaper price? Deals, authorized resellers, whatever?

adam23:06:11

@dpsutton you may find something a little cheaper in newegg

dpsutton23:06:30

thanks. i'll check there

seancorfield23:06:11

Curious... why do you need to buy Windows?

dpsutton23:06:32

my goal is to play some games with friends. the games they play are windows only

seancorfield00:06:59

And you have an old Windows machine but didn't update it to 10 for free while that was available?

dpsutton00:06:34

I have a new Mac and an old Lenovo that now has Linux on it for the last five years. I think it originally had windows 10 but the oem licenses are not transferable

6