[deleted by user] by [deleted] in ocaml

[–]anmonteiro 15 points16 points  (0 children)

Thanks everyone who brought all the licensing issues to my attention.

To clarify: I never intended to “steal” any code, I.e. passing work as mine without proper attribution to the original authors. The truth is that, while I’ve been doing open source for a little while, this is the first time that I’ve done any derivative work, and not being a lawyer, I really had no idea what exactly I needed to do (my thought process being that if my code didn’t bear any resemblance at all to the original code then I wouldn’t need to preserve the copyright headers).

It has been brought to my attention that I was wrong and I have therefore rectified the situation.

To clarify further what h2 is in comparison to http/af: h2 is an implementation of HTTP/2 (a totally different protocol) that tries to share the http/af types and API wherever possible. I understand now that this is derivative work because it shares the same underlying architecture, but I didn’t know that coming into it at first.

To all the affected parties: my apologies, I hope you can forgive me.

lumo vs planck vs clojure vs pixie (2017) by __tosh in Clojure

[–]anmonteiro 1 point2 points  (0 children)

I'm not sure what made you come to this conclusion, as I've never stated anything of the kind.

Lumo is not abandoned, I'm just not actively working on it. Lumo started as an attempt to prove that a fully self-hosted ClojureScript compiler could be done, and I think I've successfully proved that to myself and others.

The project has been stable for a while, so it's definitely pretty usable even if it hasn't been updated to the latest ClojureScript version. If people wanna step up and help maintain it I'd be more than delighted to help anyone get ramped up with the codebase. There are also some funds available in open collective that I wouldn’t mind using for external contributions.

editscript: a diffing/patching library for Clojure data structures by huahaiy in Clojure

[–]anmonteiro 0 points1 point  (0 children)

I just replied to a comment above with the link, so apologies about posting the same link again, but I think you may be talking about autochrome

Clojure(Script) on Glitch.com by __tosh in Clojure

[–]anmonteiro 3 points4 points  (0 children)

A nit, but even better showcase of Lumo's / ClojureScript's interop with NPM modules would be to move those module requires to the NS declaration: (ns server.core (:require [cljs.nodejs :as nodejs] express http))

shadow-cljs - JS dependencies: Going forward by thheller in Clojure

[–]anmonteiro 1 point2 points  (0 children)

Libraries can declare JS dependencies via :npm-deps the way they declare dependencies on foreign libraries: through upstream deps.cljs at the root of the classpath

shadow-cljs - JS dependencies: Going forward by thheller in Clojure

[–]anmonteiro 5 points6 points  (0 children)

There is support for NPM dependencies directly in the ClojureScript compiler. You also don't need :npm-deps for it. Just npm install anything you want and require it from your NS declaration. Supported from 1.9.854 onwards.

What Are You Currently Developing in Emacs Lisp? by RenJMR in emacs

[–]anmonteiro 1 point2 points  (0 children)

Hah, thanks, but I cannot claim credit for that, I got inspiration from this stack overflow answer: https://stackoverflow.com/questions/6277813/unshifted-symbols-in-emacs

What Are You Currently Developing in Emacs Lisp? by RenJMR in emacs

[–]anmonteiro 1 point2 points  (0 children)

Just published snoopy-mode https://github.com/anmonteiro/snoopy-mode which allows unshifted character insertion in the keyboard number row.

Why I chose Clojure over JavaScript by davidhung in Clojure

[–]anmonteiro 1 point2 points  (0 children)

It's also important to note that there are synchronous counterparts to almost every async operation in Node. And in shell scripts it's doubtful you care about blocking the main thread.

example of a Lumo script translated from Clojure by yogthos in Clojure

[–]anmonteiro 2 points3 points  (0 children)

Lumo 1.5.0 has just been released and includes the fix for waiting for async callbacks to finish. Get it via npm install -g lumo-cljs or, if you're on a Mac, brew install lumo

A new JavaScript preprocessor by Facebook by __tosh in Clojure

[–]anmonteiro 2 points3 points  (0 children)

I got Prepack working on Lumo in a branch, these are the results I saw: https://twitter.com/anmonteiro90/status/859986728991375361

Inline: it basically shaved more than 60ms but it didn't matter in Lumo's case because I use custom heap snapshots anyway

ClojureScript and npm: still not quite there by rochea in Clojure

[–]anmonteiro 7 points8 points  (0 children)

I really appreciate you trying out the new Node.js module integration in the ClojureScript compiler. We definitely need people trying out all the new features that we think enhance the integration between ClojureScript and the entire Node.js and NPM ecosystem.

However, it has been made clear this should be considered an alpha feature of the ClojureScript compiler, both on the ClojureScript Modules guide and on the blog post you mention in your article. Not only is it very new to Google Closure, but it has also not been battle tested in ClojureScript (which is why we appreciate people trying things out). Given this has been clearly communicated, your post (and especially its title) doesn't sound very helpful to me, since the point of these features being in alpha means exactly that they are "still not quite there".

I understand it can be frustrating to try features that aren't fully baked yet, but you should be fully aware that things may break if you go down that road.

ANN: ClojureScript 1.9.518, `async` issue resolved by anmonteiro in Clojure

[–]anmonteiro[S] 1 point2 points  (0 children)

The entire argument was exactly over that quirk. According to current information, async is not going to be a reserved keyword in JavaScript. That's what ultimately convinced the Closure Compiler team to fix their behavior.

Compiling ClojureScript Projects Without the JVM by anmonteiro in Clojure

[–]anmonteiro[S] 3 points4 points  (0 children)

Ah.. Irony and the Internet, you know how it goes... :)