Hacker Newsnew | past | comments | ask | show | jobs | submit | coolThingsFirst's commentslogin

Is this lang for web dev?

Yes, web development is a pleasure with Clojure.

On the backend side, you start your server once, and whenever you change it locally, you apply what you changed directly to the running process, so you don't lose any state and without having to restart the server at all, so iterating on the program becomes very easy. Bugs are easy to track down too, as you can evaluate parts ("forms") of the program inside the process itself, debugging becomes a breeze.

On the frontend side, you have ClojureScript that basically enables the same but in a browser environment. Usually I have the browser on the right, my editor on the left, and whenever I "evaluate a function", it runs in the browser context, so again same thing; the frontend keeps the same state even after your changes, so no more "make change -> wait for compilation -> get frontend into the state that reproduces the issue -> output debug info -> make change again", you just change one part, see the page update and then continue changing.

If you've used React+Redux (or similar) before, it's basically that experience, but much tighter and together with code evaluation inside of the browser context. If I recall correctly, Redux was pretty much directly inspired by ClojureScript and Reagent in the first place, I think Abramov even referenced ClojureScritp/Reagent in the first Redux talk.


clojure itself is a joy to use, on the web or outside of it

BUT

it doesn't have the equivalent of rails, mostly because lispers are an opinionated bunch and can't come together to agree on how web development should be done

the frameworks that do exist are more of a collections of libraries with some plumbing to connect the dots


Which in reality isn't a problem, once you absorb the ideas of Clojure and try to apply them when using Clojure. Composition of well picked libraries beat batteries-included frameworks for most use cases, both short term and long term, at least in 99% of the cases I'm writing Clojure/Script code.

Yes, as ClojureScript

It is different because writing a spec to tell AI what it wants is much easier than writing React/JS. The market reflects that.

Why didnt Iran use this earlier to get rich?

Because it would have been an act of aggression to close off the strait. Iran did not want to invite war, the US and Israel have entirely been the aggressors in this recent conflict.

Sanctions were also an act of aggression. Iran could ask for fees for US ships to make up for their losses due to sanctions.

Exactly. AI helps you do things faster which when done have no economic value whatsoever.

I can't even get an interview.

The most recent one few months ago and I passed it with great score, top 5% of candidates etc but that wasn't enough to get me hired.

Terrible market, i'm at my wits end to even how to approach this.


Did you guys notice something?

This is from 2017 and it’s a throwback there no longer are such articles, now it’s all about AI.


Incredibly fascinating. One thing is that it seems still very conceptual. What id be curious about how good of a micro llm we can train say with 12 hours of training on macbook.


Yeah. We are coping. Just today, I had a simple bug where the data received was throwing undefined because it was in 2 alternate formats.

I showed ChatGPT(free-tier) the API response and the part of the code reading it, and it fixed it in 5 seconds. Would've been pretty short either way less than 30-40 mins but it's very good for simple tasks like these. The solution is just correct.


Yes, this is what I have noticed as well.

Willpower is limited. Hard workout means intense cognitive effort is much harder to pull off.


Try this: https://mapjoy.app/, username and pass johnsmith.

All of JS with client side routing, blazing fast.

React is utterly amazing.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: