Fork me on GitHub
#off-topic
<
2019-01-30
>
sb14:01:04

I dropped to the beginners, but maybe here is better. I would like to manage IoT things with Clojure (would be fantastic), immutable linux systems, and therefore I would like to find something similar on Github or anywhere. I saw Nakkaya(.com) work in this field.. but I didn’t find any similar solution in this language like Go: Linuxkit/Moby or control Yocto project. If anybody saw something similar clojure/java project .. that could be fantastic.

borkdude14:01:00

@sb I don’t have experience with this personally, but CLJS on Node may be your best bet here? @eval2020 may have some ideas

sb14:01:19

Yes, that is true normally. I would like to create linux “distributions” with Linuxkit, that is different. Do you need to use ARM architecture for eg. Raspberry (or other ARM) and run linuxkit scripts (with config like yml). I could write ssh scripts for this or run other scripts, execute. Question, here is more better solution. We have similar library like GO or not.

sb14:01:32

(like core.async)

eval202014:01:27

Our stack was Raspberry, node+cljs

sb14:01:00

@eval2020 i would like to create custom raspbian/ debian for raspberry *custom boot image, btw that is a great link thanks. I think, I will do that too.

sb14:01:59

I think, we need later similar lib like Linuxkit (Go).

eval202014:01:57

Not familiar with linuxkit - looks interesting, thanks!

sb14:01:47

Yes, you can create nearly within a minute a linux image with your script, which is immutable (delete apt-get or systemd.. etc). You can add custom kernels.. so I think, that is fit with Clojure. And small.. like alpine, busybox.

pablore16:01:43

Been working on an Elixir codebase at work these last weeks, and I freaking hate it so much. Hate the syntax, the pattern matching and every functional quirk that it has Clojure does it so much better IMO

dpsutton16:01:00

ah. i would have thought the pattern matching would be nice.

pablore17:01:20

It's hell when you have to deal with undocumented api with 10+ definitions for the same function

lmergen18:01:25

I don’t understand how this is related ? How would clojure’s destructuring be better here ?

pablore02:02:28

Maybe I’m just biased because of the bad code that I have to deal with

samedhi16:01:18

My only experience was with erlang. But I remember the pattern matching for binary types just being awesome... 🙂

samedhi16:01:29

Also I kind of liked the pachinko ball (drop the arguments through until you get a match) style of pattern matching; easy to reason through.

Mario C.17:01:38

My buddy did a talk on devchat about gremlix and graph database

lilactown17:01:35

Yeah I loved elixir's pattern matching

jaide01:01:26

Do you still love\use Elixir?

lilactown05:01:10

I still like it a lot! But I only did some hobby projects/PoCs at work with it a couple years ago. I do Clojure full time now

jaide03:02:08

Nice! It’s got some great ideas. What do you think of Phoenix?

lilactown16:02:16

I liked Phoenix. at the time, it felt inflexible for what I wanted; it had a very strict way of laying out your project, and the generators didn’t work outside of project initialization

lilactown16:02:04

about the time I stopped paying attention was when they were about to release the ability to use generators more dynamically and improve the project layout to be more in line with what I like 😛

jaide21:02:47

I only used Phoenix in an unfinished side project, there’s a lot I like about it but I really wanted something data-centric and I felt like Phoenix kept introducing a lot of different types of things to handle requests that reminded me a lot of working with Rails. Ultimately I like Elixir but I do find its syntax a bit tricky to keep track of, however I am enchanted with Clojure’s syntax and data-centric web offerings.

lilactown21:02:16

similar feelings here for sure 🙂

lilactown21:02:49

btw I checked out your blog. I like your design and art!

jaide22:02:51

Thank you, I’m glad you like it. Also, thanks for sharing your thoughts on Elixir, it’s interesting to compare experiences.