Better HN
topnewbestaskshowjobs
Log inSign up

ithrow

372 karma · joined Feb 21, 2020 (6y ago) · 311 submissions

Submissions

comment 5y ago · link · parent

I (and it turns out a lot of other people) used to use "do they code in Python?" as a heuristic for "are they a smart self motivated programmer"

Well Peter Norvig switch from lisp to Python.., as also others googlers did when they saw that their teammates writing python where as productive or more than themselves using lisp.

comment 5y ago · link · parent

But the fact that they appear unable to see the beauty implied by `/usr/bin/env bb` or `shadow-cljs publish`

lol, what beauty are you referring to with those two?

Sorry but you aren't any different.

comment 5y ago · link · parent

Looks like he is selling courses(have to justify those prices somehow) and simple stable boring stuff doesn't sell ;)

comment 5y ago · link · parent

Except for the macros you can use JS the same as you use Clojure.

comment 5y ago · link · parent

exactly

comment 5y ago · link · parent

There are 2 programs there that are 50x faster in JS, other 40x, other 35x, other 16x, a couple 7x, not sure what are you arguing about.

comment 5y ago · link · parent

Since you don't know if your product will workout and you want to go fast you use a third-party service first. Of course, for some type of stuff, you might have to go with python but if both can equally do the job well in the backend and you need a web[mobile] frontend the...

comment 5y ago · link · parent

Even faster for 0->1, use Javascript, big ecosystem as Python but same language in front-end and back-end. Faster runtime also.

comment 5y ago · link · parent

Read a CCNA book for the fundamentals and basics.

comment 5y ago · link · parent

multicore ocaml won't change adoption of the language in any significant way

comment 5y ago · link · parent

In general safari is more efficient for me unless I opened gmail, then chrome is more efficient, gmail must have some kind of memory leak in safari.

comment 5y ago · link · parent

Surely there was C++ and Java.

comment 5y ago · link · parent

Maybe they should have used a horse, they are much more reliable than camels

Unless you are in a dessert.

comment 5y ago · link · parent

I guess you mean 2000 dev dependencies because for production that would be crazy.

comment 5y ago · link · parent

The best is psql, really, learn to use it.

comment 5y ago · link · parent

By way of counter-example, check out this ICFP contest retrospective. Nikita is using clojure, a pretty niche language, but has built up incredible fluency with both the language and the ecosystem so that he can quickly throw out web scrapers and gui editors. Whereas I wouldn't be able to quickly solve those problems in any language after flitting around from ecosystem to ecosystem for 12 years.

The thing with niche languages like Clojure is that you can leverage existing ecosystems(reducing the risk of getting stuck) unlike other languages that start from scratch. Probably the same for languages like F#, Kotlin and even Zig (using the C ecosystem).

Of course, I found the article great with lots of good advice(ex: I still wouldn't use Clojure if Javascript can get the job done perfectly fine) so don't let this nitpick distract you or look the other way ;)

comment 5y ago · link · parent

dumb analogy, the issue is libraries, you don't need to read bytecode to be able to use a Java library in Java or Clojure but you do need to read Java. Same with Cljs and JS.

comment 5y ago · link · parent

you are not really writing cljs... but whatever floats your boat.

comment 5y ago · link · parent

Equally bad, I don't see where are you getting any value from cljs there.

comment 5y ago · link · parent

All this just to avoid writing JS in nodejs for simple scripts? why add more complexity to simple things? just to write JS with parenthesis? clojurescript is overkill and definitely tedious to use for this because is not suited for scripts just doing lots of imperative, side-effecting stuff and dealing constantly with mutable APIs.

I love lisp but... https://github.com/borkdude/nbb/blob/main/examples/puppeteer...

"Look how cool I'm, I downloaded this thing just to add parenthesis to my JS script!"

comment 5y ago · link · parent

I guess you are not familiar with Clojure, it adds a lot overhead over the overhead of the JVM to startup time.

comment 5y ago · link · parent

My understanding is that macOS doesn't ship those runtimes anymore.

comment 5y ago · link · parent

In some cultures muslims can have four wives.

comment 5y ago · link · parent

Same story with Datomic. My conclusion is that databases are hard and require lots of time and resources to be reliable.

comment 5y ago · link · parent

IMO, nodejs today is a reliable tech for many different kinds of server side workloads, I wouldn't compare it to mongodb.

comment 5y ago · link · parent

Cargo culting is basically doing something you don't understand, hoping that it'll accomplish your goals.

You can see this heavily in the Clojure community, at least in the hn/reddit/slack circles. It gets annoying seeing others think they have some kind of superpower because they use Clojure. I blame Rich Hickey videos since they are heavily in the style of a good salesman.

comment 5y ago · link · parent

The vscode remote plugin is developed by microsoft and it's closed source. I can see why, it gives them a competitive advantage over all rival IDEs.

comment 5y ago · link · parent

Every time you save your edits Tramp makes a new connection to the remote server, it's slow(1sec vs 1ms) and becomes annoying waiting for the save all the time. For doing quick edits it doesn't matter but for doing dev all day it does.

comment 5y ago · link · parent

It comes down to the JVM vs nodejs and which is better for your project. The JS ecosystem is way richer than clojure's though.

Can you share your approach to generating PDFs in Clojure?

1
678
11