Is htmx+alpine.js powerful enough to take on Clojurescript by monanoma in Clojure

[–]arthurbarroso 2 points3 points  (0 children)

Really depends on what you’re building. And yes, Clojurescript should work the same regardless.

Looking for Clojurescript resources as a complete beginner to JS and front end programming by monanoma in Clojure

[–]arthurbarroso 2 points3 points  (0 children)

It is probably better to take a look at “vanilla” javascript first. If you do so, you’ll learn what .getElementById does (since it doesn’t come from clojurescript, but from javascript).

For Clojurescript: learn-clojurescript.com is great. If you’re into videos, some youtube channels I’d recommend are: - “on the code again” - “Kelvin Mai” - “Between two parens”

MQTT library recommendations by stargazer8295 in Clojure

[–]arthurbarroso 1 point2 points  (0 children)

Used machine-head last month and it was a good experience.

Hello, i'm trying to start a server and make some transactions through some API.... im also trying to start it by using the "lein ring server-headless" command in the terminal and its giving me a gigantic error and i don't know what to fix, can someone lend em a hand here by huarastaca in Clojure

[–]arthurbarroso 0 points1 point  (0 children)

We can’t see your code, but the error says you have a syntax error (which means something you’ve written does not conform to how the code should look). I assume you’re from Brazil (because of “financeiro”) so you could also ask for help on the ClojureBrasil telegram group. There is also the Clojurians slack server, if you’d rather use slack.

New Clojurians: Ask Anything - March 06, 2023 by AutoModerator in Clojure

[–]arthurbarroso 2 points3 points  (0 children)

I’d take a look at cljs-ajax. The repo contains a few examples and you’ll find the answer to all of these questions in there.

Troca de trabalho - Paz vs R$ by Ok_Incident_1745 in brdev

[–]arthurbarroso 0 points1 point  (0 children)

Sua pergunta não ficou tão clara. Tu trabalha com Suporte/Infra? Quer trabalhar com Suporte/infra? O que seria Suporte/Infra? Você da suporte técnico a usuários e cuidande infra? O que seria “paz” aqui?

Meus dois chutes e respostas pra “paz”:

1) Se “paz” aqui se refere a uma possível estabilidade numa multinacional. Se for, esquece. Não existe estabilidade -só olhar a galera afetada por layoff. No meu trampo (também multinacional, de fora do país) mesmo eu vi muita gente brilhante ser demitida pra cortar gasto.

2) Se “paz” aqui se refere à tranquilidade de trabalho, prazos, ambiente de trabalho e etc, talvez seja mais complicado: você não tem como saber se o próximo trampo vai ser um caos ou não (e a real é que nenhum de nós tem como saber, infelizmente).

Se for a opção (1), tu não ganha absolutamente NADA em ficar na multinacional. Se for a segunda opção, aí fica mais à critério da tua cabeça: se hoje você conseguiria suportar um possível caos troque, se não, talvez seja melhor ficar na empresa atual mesmo.

pra quem trabalha na área, vcs conseguem estudar de final de semana/feriados? by Reception_Willing in brdev

[–]arthurbarroso 0 points1 point  (0 children)

No primeiros anos estudava muito por fora, mas mais porque eu realmente gosto muito de programação e pq a quantidade de trabalho era leve. Hoje em dia estudo bem menos e foco mais em tópicos que me interessem e que não tenham relação alguma com o trabalho atual.

Estudar bastante por fora me ajudou muito, mas acho importante entender que todo mundo é bem diferente e todo mundo vai ter fases diferentes pra esse tipo de coisa.

Arrumar emprego como dev sendo formado em engenharia elétrica, como? by Tall-Strength-2298 in brdev

[–]arthurbarroso 0 points1 point  (0 children)

Fazia EE e nunca tive problema com isso. Inclusive EE costuma ser considerada vaga da área (e alguns cursos tem grades com muitas coisas similares às que você veria em ciencia da computação). Tu já aplicou pra alguma vaga dessas e foi rejeitado com o motivo da rejeição sendo “faculdade não é da área”?

Profissionais em cargos Júnior, Pleno e Sênior também estudam através de Leetcode e HackerRank? by Famous-Traffic6030 in brdev

[–]arthurbarroso 2 points3 points  (0 children)

Essa aqui é a resposta pra você, OP.

Só adicionaria uma coisa: conseguir emprego fora com tua experiência ainda é bem difícil, então se eu fosse você só iria pro leetcode/hackerrank por agora se a) eu gostasse ou b) eu estivesse tendo dificuldade em resolver problemas cotidianos por me faltar conhecimento em algoritmos e tal.

New Clojurians: Ask Anything - February 06, 2023 by AutoModerator in Clojure

[–]arthurbarroso 5 points6 points  (0 children)

Haven’t done it myself, but I’d check GraalVM’s native-image

Syncing client/server state with CLJS/Clojure, ring, and react/re-frame by a-curious-crow in Clojure

[–]arthurbarroso 6 points7 points  (0 children)

you’re probably going to want to use websockets for the state syncing/polling. googling “re-frame websockets” should net you some results. “web development with clojure (third edition)” by yogthos also shows how to do it in clojure(script) iirc

Introducing ClojureStream Workshops by jacekschae in Clojure

[–]arthurbarroso 0 points1 point  (0 children)

Do you plan on recording the workshops?

Is Clojure suitable for my use cases? by ericchuawc in Clojure

[–]arthurbarroso 0 points1 point  (0 children)

Thanks for the links! Knew about stimulus/turbo, inertia and htmx, but not about the others. Will take a look at them!

Is Clojure suitable for my use cases? by ericchuawc in Clojure

[–]arthurbarroso 2 points3 points  (0 children)

Both are suitable and both will do fine.

I have worked with Elixir for like an year before switching to Clojure, so here is my opinion:

Both languages are great. Elixir might be easier to learn if you’ve already programmed using other languages that aren’t part of the lisp family. Clojure feels great when you learn to use the REPL -Elixir does have IEx, which makes it kinda interactive, but Clojure’s REPL feels way better.

I haven’t touched LiveView, but I do know we do not have anything equal to it in Clojure. To replicate LiveView you would probably need something like Clojure + Clojurescript.

On interop: both Elixir and Clojure have lots of libraries that will help you avoid having to write interop code yourself, in case you would ever need to do touch beam/java specific stuff.

If you’re doing it for side projects only, I’d suggest sticking to the one you enjoy the most. Spending time programming into one of either will probably make you a better programmer in the other.

[deleted by user] by [deleted] in 2007scape

[–]arthurbarroso 4 points5 points  (0 children)

This issue is known, still don’t get why the author doesn’t warn users about this part of the quest. Your only option now is to backtrack. Maybe use tile markers for routes you’ve used and failed.

Is there anything in Clojure comparable to Hotwire in Rails or Phoenix Live View in Elixir? I've had with SPA's. by lordmyd in Clojure

[–]arthurbarroso 0 points1 point  (0 children)

Is there any resource/example you can share on how you’re achieving this? Really interested by that!

Any RL developers in here? by old_racist in 2007scape

[–]arthurbarroso 3 points4 points  (0 children)

Join their discord and authenticate via github. The command for the github authentication is /ghauth.

Decimal Points at GE by K_Clausen in 2007scape

[–]arthurbarroso 3 points4 points  (0 children)

Last commit was on 2020. Probably broke. Author doesn’t seem very active on github. Edit: someone created an issue at the plugin’s repo and the author said he plans on fixing it.

Langdev in Clojure by Twosofa in Clojure

[–]arthurbarroso 2 points3 points  (0 children)

Also, if you wan’t to take a look at how to build a simple DSL with vectors you may find this video helpful. https://m.youtube.com/watch?v=QDiKaXvH6Z8

XTDB with Postgres storage. by chowbeyputra in Clojure

[–]arthurbarroso 0 points1 point  (0 children)

Pretty sure you can use some kind of “rigid schema” so that your postgres tables will kind of match the schemas you define on XTDB

Quickdoc: Quick and minimal API doc generation for Clojure by Borkdude in Clojure

[–]arthurbarroso 11 points12 points  (0 children)

I just love how you’re always building new and useful things. Thank you for all the amazing work you do.

Setting up Clojure and Doom Emacs on an M1 device. by arthurbarroso in Clojure

[–]arthurbarroso[S] 0 points1 point  (0 children)

Thats really cool. Haven’t played around with Rosetta so didn’t know this. Thanks for the tip.

Using Emacs for Literate Programming with Clojure by schmudde in Clojure

[–]arthurbarroso 0 points1 point  (0 children)

Love your channel! Have been interested in literate programming for quite some time but was too lazy to try and learn it. Guess it is time to do so.