Fork me on GitHub
#clojure-europe
<
2021-02-05
>
dharrigan07:02:51

Good Morning!

javahippie08:02:18

Good morning!

orestis08:02:25

Good morning

orestis08:02:58

I got emailed about a recruiter advertising a Clojure developer in Berlin. I’m not sure what to make of it, I’ve heard horror stories where the candidate isn’t even aware of the recruiter doing this.

javahippie08:02:54

I’ve worked with recruiters in Germany from both sides, and had horrible and excellent experiences. If you like, you can DM me the recruiters/companies name, maybe I can share experiences I had with them?

javahippie08:02:45

I had a strange freelance offer, too. Core-Banking System, Process Automation, with requirements being: Experience in one “Programming Language (Java, C++)” and one “Scripting Language (Clojure/Lisp)“.

javahippie08:02:33

Ah, found the company. They are developing their Core Banking system with Clojure, that’s really cool. Now the second bank in Germany using Clojure that I know of

jkxyz09:02:27

Good morning!

ordnungswidrig09:02:28

I’m aware this is not a recruiting channel but if somebody would be interested in the (banking) company I think this, feel free to drop me a note. @orestis @javahippie

pez10:02:08

Fabulous first February Friday! I think it is a recruiting channel when we need it to be. 😃

ordnungswidrig10:02:24

🅵🅵🅵🅵

6
ordnungswidrig10:02:36

Anybody else using unicode characters in clojure source code and messages?

pez10:02:19

All the time. 😃

borkdude10:02:24

In case anyone is bored today, maybe take a look at https://babashka.org/fs/babashka.fs.html and see if you can find any weird/unexpected API design decisions. The lib is deployed to clojars. It should also work as a bb lib from source.

ordnungswidrig10:02:38

absolutize 😛 Looking at the docs I wonder if copy takes a file name as arguments or a File

borkdude10:02:12

both. also a Path

borkdude10:02:16

all functions do

ordnungswidrig10:02:16

millis->file-time what does this do?

ordnungswidrig10:02:24

Gets f's posix file permissions. Use str->posix to view as a string. I don’t see str->posix and I would expect that funcition maybe be named posix->str?

ordnungswidrig10:02:44

That’s just what caught my eye. Maybe some docs update will be sufficient.

borkdude10:02:06

cool, I'll fix the posix docstring and enhance the others

borkdude10:02:25

Added this as a general remark in the README:

API docs are available at []().  Most
functions take a string, `java.io.File` or `java.nio.file.Path` as input and
return a `java.nio.file.Path`. Coercion into a `File` or `Path` can be done
using `fs/file` and `fs/path`.
and updated the codox

💯 3
borkdude10:02:06

thanks for reviewing!

borkdude10:02:15

To give an example of millis->file-time:

(-> (fs/set-attribute "/tmp/foo.clj" "basic:lastModifiedTime" (fs/millis->file-time 100)) (fs/read-attributes "*") :lastModifiedTime fs/file-time->millis) ;;=> 100

javahippie11:02:55

For create-dir and create-dirs, the docs just reference the Files docs, maybe it’s helpful to point out, what the difference there is directly in the docs? In some API, this behavior is controlled with a flag, so it might not be clear to some users

borkdude11:02:37

:thumbsup: I'll do that

ordnungswidrig20:02:57

I wonder if set-attribute should accept millis and convert to FileTime, too. Maybe that’s too tricky.

borkdude20:02:05

yeah, it could do automatic coercion, might be reasonable

borkdude20:02:15

but that could also be added later, as a convenience

borkdude21:02:05

@U054UD60U oh btw, set-attribute is very generic so it probably won't work there. The set-*-time functions to do this conversion automatically. > "Sets last modified time of f to time (millis, java.time.Instant or java.nio.file.attribute.FileTime)."

slipset13:02:41

(def :man-shrugging: any?)

slipset13:02:55

For use in with specs.

borkdude14:02:50

w000t! keyword search in clojure-lsp. find those re-frame events now!

🙏 9
otfrom14:02:17

I really am going to have to install clojure-lsp aren't I

agile_geek15:02:09

I was thinking the same!

otfrom15:02:47

@agile_geek glad that our telepathic link still works

orestis15:02:05

Heh, I always have in mind that I need to sit down and setup my tools as I want them, with the first step being figuring out what I actually want 😄

orestis15:02:34

But I never actually do, or I give up midway through. I am getting an M1 Air soon though so I hope I will start from scratch there and do this properly.

agile_geek15:02:45

I have an Emacs config in Github (forked from @otfrom’s config from about 7-8 years ago!). I just keep updating it and pushing changes. Useful for when I get a client, like my current one, who has everything locked down so I have to work on their equipment. I just install Emacs, clone the repo and alias it to .emacs.dand I’ve got my setup (once I’ve installed a few other bits and pieces like Silver Searcher).

orestis15:02:59

I’m just waiting for NeoVim 0.5 to land as it has a native lsp client and a ton of other things.

Idan Melamed21:02:37

Morning, I’m looking for 3 more people to join me, so we can work together on our programming skills. Clojure, functional programming, data oriented programming, refactoring, test driven development, etc. The method: I’m proposing a weekly session of https://www.remotemobprogramming.org/. I just thought about calling it gang programming. Sounds more badass, being part of a gang. Also, there will be 4 of us, so it’s kind of like the gang of 4, isn’t it? When: 12:00 UTC, day to be decided (Sunday to Thursday). Who am I: Idan, from Israel. I’m 38, living with my partner and our baby. Been programming professionally for 4.66 years. PM me if you are interested.

metal 6
clj 6