Fork me on GitHub
#off-topic
<
2019-02-12
>
lilactown00:02:20

there's an alternate world where this was built in Clojure: http://datashader.org/

👍 20
lilactown00:02:34

the "Pipeline" page especially makes me face-palm at how well Clojure fits these kinds of problems, if there was even half as many PhDs and salaried data scientists making tools for it instead of Python: http://datashader.org/getting_started/2_Pipeline.html

jaihindhreddy-duplicate06:02:47

Someone's spamming #clojure with obscene images. Watch out.

souenzzo20:02:28

Which way to qualify keywords you USE in your CURRENT project 1️⃣ - :user/name - a simple namespace 2️⃣ - :app.user/name - ~2 level namespace, but without a (ns app.user) 3️⃣ - ::user/name - a 'full' qualified namespace, with a (ns my.app.user)

1️⃣ 15
2️⃣ 45
3️⃣ 35
seancorfield21:02:50

We do all three in different situations.

souenzzo22:02:18

Can you talk more about that?

souenzzo23:02:53

I know that when I write a lib I can use 3️⃣ . But for "app logic" sounds bureaucratic use 3️⃣

seancorfield23:02:51

It really depends on the context and the amount of uniqueness you need/want. Hard to be more precise than that.

seancorfield23:02:00

The first form tends to be more or less :subsystem/name for things that are unique within a given subsystem but may be exposed to other subsystems (and a subsystem is a collection of namespaces).

seancorfield23:02:23

The last form tends to be for things that are "local" to a specific code namespace.

seancorfield23:02:06

The middle form tends to happen when we have data specs that are more or less separate from any code namespace (so they refer more to a domain concept than a specific subsystem on one end or namespace on the other).

souenzzo00:02:30

Kind of :app/db or :db - Global things. All systems will know about that at some point :app.user/name - Many systems will talk about that. That's my domain. ::my-thing - A local only/closed thing. Just make sense here. ??

seancorfield02:02:58

That's a reasonable rule of thumb. Like I say, it's all about context and the necessary amount of uniqueness you need for a name.

vemv04:02:16

::my-thing (and ::import/my-thing) have the specific advantage that you can build tooling on top of it. Examples: static checking against typos, go-to-definition, pseudo-docstrings. I have enjoyed all of those in current or past projects

Mario C.21:02:51

This is a little off topic from the beginner channel so figured this place would be best. But I want to create a file that has a lot of utility functions when working with the repl. But I dont want .git to track it nor do I want to add it to the .gitignore file. how can I achieve this? I've tried the solutions listed online git update-index --assume-unchanged <file>

vemv21:02:39

Personally I add snippets (like Emacs' yasnippet) to my editor, that way I can version-control them without polluting projects

dominicm21:02:38

@mario.cordova.862 You're looking for a global gitignore

Mario C.21:02:39

Thanks! I saw the global gitignore but all the SO accepted solutions was the that git command so I figured I was doing something wrong