Better HN
topnewbestaskshowjobs
Log inSign up

ledgerdev

366 karma · joined Jul 21, 2016 (10y ago) · 239 submissions

Submissions

comment 9y ago · link · parent

Great comment. Cognitect, and it's ownership/dominance of the language, is one of the more unfortunate things to happen to clojure in it's evolution, and should serve as a learning point for future language creators.

I wish Rich had been able to find/take a different path and developed more of a community with a "social contract" rather than keeping clojure a semi private project which users should be grateful for the ability to use. It would bring more participation from a wider community which would make the language and community far stronger in the long run.

Recent interactions I've had with the ReasonML project are night and day different than clojure.

At this point it feels like there needs to be a clojure like language (fixing some problems like startup time) that embraces more of a social contract with the community.

comment 9y ago · link · parent

Not a book, some great insights here.

https://channel9.msdn.com/Tags/anders+hejlsberg

comment 9y ago · link · parent

Thanks for checking, even if the result is not as we hoped.

comment 9y ago · link · parent

Let's get straight to the really important question, can J9 or AOT help maybe just a little with clojure startup time woes?

comment 9y ago · link · parent

Soon(hopefully) there will be an excellent answer.

comment 9y ago · link · parent

MS/Xamarin is working on XAML Standard implementations for Win/Mac/GTK.

https://blogs.windows.com/buildingapps/2017/05/19/introducin...

comment 9y ago · link · parent

https://github.com/dotnet/corert

comment 9y ago · link · parent

> If .NET (using C#) can produce a native binary I'll switch to that for as many projects as I can.

It's coming... https://github.com/dotnet/corert

comment 9y ago · link · parent

I've found templated queries(e.g. yesql) are far preferable for complex selects/joins/subselects and just can't imagine using the data structure dsl for such queries. One huge downside of dsl queries is that they NEVER support the full sql syntax of any database, in my case postgres. The best part is being able to write the query in a sql editor then copy/paste directly, rather than needing to translate into a dsl.

On the other hand if you need dynamic queries, then yes dsl is more suited, as well as for other query types where the dsl can be much better at handling multiple records at once... like say inserting 10 rows at once.

So to sum up:

* complex select queries - templated queries really shine

* simple dynamic queries - templates for simple replacements

* complex dynamic queries - dsl

* inserts/updates/deletes - dsl

* portable sql - dsl

comment 9y ago · link · parent

Great answer, thanks!

comment 9y ago · link · parent

How many minutes/seconds do you mean by fast? Can you point to guidance on how to make that happen because I am seeing 8+ minute re-deploy times.

comment 9y ago · link · parent

Funny you mention that, I was just experiencing this yesterday in the flex environment. Re-deploy time for a 3 character text change on one page is 8+ minutes for each re-deploy. This is insane.

Does anyone know how to speed that up?

comment 9y ago · link · parent

I would say that the JVM has longer history of open source and a much larger ecosystem of libraries. If you're building a language on top of JVM you can take advantage of that.

Also pretty sure JVM has better performance because of better JIT and GC. The CLR had a second mover advantage to fix a lot of platform level things like utf8 strings, generics, tail calls, etc.

comment 9y ago · link · parent

I'm really interested to see what comes of the XAML standard. Supposedly there's a Macos and GTK# implementation in the works.

https://developer.telerik.com/content-types/tutorials/xaml-s...

comment 9y ago · link · parent

Anyone have any thoughts about using block-chain for making/recording pension contracts and contributions?

comment 9y ago · link · parent

Great to know it's on the roadmap. Once a GC is in place, WASM seems like the universal platform of the future for computing. Fast startup, efficient, and the same everywhere. We were supposed to get a world of hundreds or thousands of cores for each application, but reality is most everything is moving towards small single threaded in the cloud like serverless.

comment 9y ago · link · parent

Password protection is a pretty basic need and need not cost $45/month. Of course the role/team based stuff for $45/month makes perfect sense because those are only applicable on larger projects.

comment 9y ago · link · parent

Not so much when you need a feature not included in free. And free is always subject to change.

comment 9y ago · link · parent

Yeah, I loved them too really great service that is forward thinking. They work great for large apps or corporate sites, but for small/personal sites their pricing model doesn't work so well, which I can understand.

For instance I needed simple http auth on some directories in a site, and to get that it's $45/month. I ended up with caddy on a $5 digital ocean droplet which automatically sets up and renews the lets encrypt SSL for you. Caddy really is pretty damn nice.

comment 9y ago · link · parent

If you were creating a new general purpose language language today would you target WASM? And what's the latest on garbage collection for WASM?

comment 9y ago · link · parent

I guess the focus on large files has it's certainly useful in certain cases like viewing log files, data dumps, etc... but for the most part I find myself opening many many small files with less than a couple hundred lines each.

We need tools that focus on application development needs, not text editing.

comment 9y ago · link · parent

That would be the "user friendly" part.

comment 9y ago · link · parent

What are your thoughts on curved monitors for development/text based work?

comment 9y ago · link · parent

I would love get rid of chrome and to switch back to firefox as my everyday browser, but simply can't get over how messy/ugly the tabs(even in compact theme) and window title look compared to what chrome does with tabs and title bar, and lack of window title bar.

comment 9y ago · link · parent

> There is a lack of a simple desktop app development environment.

Does anyone think that Xaml Standard + GTK + dotnet core might be a potential path forward? Supposedly Microsoft is working on a GTK implementation, and very much intrigues me.

edit: Discussion here http://www.xamarinpodcast.com/41 21:30 - New "backends" for Xamarin.Forms - macOS, GTK#, and WPF

comment 9y ago · link · parent

Does Event Sourcing make Datomic a moot point? Sure it can be your event log, but it seems like overkill.

comment 9y ago · link · parent

So nice to hear someone else say this, and I feel the same about CLJS.

And yeah WASM is looking pretty promising (threads/gc/efficiency), and a CLJ like language that targets it directly would be so interesting for the very long term future.

comment 9y ago · link · parent

If you attempt to use edit/compile/restart method of development that most languages use, in the words of south park, "You're gonna have a bad time".

Clojure doesn't make it nearly clear enough that development needs to be performed interactively against a running instance of your application, with a REPL integrated into your editor. And yes tests run instantly when doing this.

Anything else is pure pain.

comment 9y ago · link · parent

Well at the moment, the tooling is all lein/JVM based.

That said, Figwheel hooked up with atom+protorepl+parinfer is pretty amazing if you haven't tried it.

https://github.com/bhauman/lein-figwheel

https://www.youtube.com/watch?v=0WMga5E7Vsk

1
45678