News for hackers. Stuff that matters.

abp

Re:Thoughts on Clojure UI Framework on Thursday September 09, 2021 @03:21PM (#28473577)
The low-level stuff is already "done" with https://GitHub.com/jetbrains/skija which is a Java API with FFI to Googles skia library, which is used for rendering in Chrome and Firefox amongst other things.
Well, Emacs Rocks: http://emacsrocks.com/
A little snarky at times, probably. Let me know if you're interested in anything else or in more detail.

I'm just digging into pedestal myself.

Really? In the podcast they say it's similar to what they used for over a year in production, made available to get feedback from others and that's why it's released as alpha.
Brabra. Put in the headline Clojure, dschiptsov hates for sure.
> What pain-points of Leiningen and Compojure does this framework aim to solve?

There are no problems with Leiningen solved. It's based on it like other Clojure libs with project templates etc.

With Compojure it's another story, it only gives you a handler function. Pedestal makes a routing table available, enabling reverse routing. The route definition is data based. It's less repetitive to define routes.

> I'm sure its an excellent framework, but there way too much for me to consider using it right now. My concerns: How difficult would it be to switch out Datomic for PostgreSQL?

Not difficult at all? Have you looked at the datomic tutorial? It does nothing besides setting up a connection and querying the database. What dbs do not support that?

>What if I don't want ClojureScript at this moment? What happens if I want to switch X with Z or drop ABC? How hard will it be to minimize and erase all the things I don't want?

Well, you go through and pick the libraries you want to use?

> Why are there so many extra words needed for the routing templates?

It's a comprehensive description of all aspects of the flexible routing dsv, including the programatic inteface to define routes at runtime.

> I've always felt Clojure would get a boost from a Rails-like framework, but I'm concerned that a large, opinionated framework will break the very promise of Clojure: flexibility and easy DSL creation. Once we are faced with something that needs to be reverse-engineered or broken, then this promise is ruined.

It's not rails. We've all seen where that got.

> I'm all for new frameworks and ideas, but its a little funny to think that Noir was dropped, in part, for being too large and complicated.

It's a set of libraries, not a framework.

Also, it doesn't add state for everything everywhere. Instead it takes the current concept of Clojure web apps and takes it to the next level.

In Compojure you define lots of routes, mostly calling separate handling functions, only passing out the routes parameters. That what pedestals routing does by default. That's just one example of many.

Well, from what I've seen so far it takes out a lot of pain points of regular Clojure web dev.
Re:Clojure's Default Reader is Unsafe on Friday March 08, 2013 @06:42PM (#5346509)
This.
Re:I'd like to use the web my way, thank you very much Quora on Thursday February 14, 2013 @03:34PM (#5221999)
A little late to the party, but I want more Users!
Re:Pickadate.js on Wednesday November 21, 2012 @05:32AM (#4813650)
Looks like you were trying to send pull requests?
Re:Prismatic's "Graph" at Strange Loop on Thursday October 11, 2012 @02:41PM (#4642098)
I had this same problem on my Android phones Chrome browser and went to my laptop for reading.
Re:Functional programming is a ghetto on Tuesday July 24, 2012 @08:34AM (#4285374)
1. They get paid to do it. Historically, someone has realized that Java development was easier/faster/more stable than Lisp development.

???

2. Java has hella libraries. I mean hella. You can find a library for almost anything. Lisp...not so much.

Clojure?

3. Java is a language for doing things. Lisp is not a language for doing things. I'll change my mind when I see a 2m+ line codebase that's been in production for ten years.

Emacs?

Re:Clojure Obscura on Thursday July 12, 2012 @05:31PM (#4236964)
persistent data structures are implemented in ClojureScript. So they don't need to be ported for new compilation targets of ClojureScript like C in clojurec, I think.
Re:Rich Hickey: Simple Made Easy on Friday June 29, 2012 @07:07AM (#4176080)
Has anyone seen this recording and the newer one [1]?

Is one of them better in any form?

http://www.infoq.com/presentations/Simple-Made-Easy-QCon-Lon...

This whole discussion is getting out of hand. Light Table is on Kickstarter, because an awful lot of people screamed for it being funded, when they saw the first prototype of this thing.

Now it is on there and all I see everytime it get's up here is people complaining, saying they won't fund because of xyz or don't think it will succeed without blurb. Even better: Some get destructive and say how much better Eclipse or the likes are.

Please stop this shit, don't fund, don't use, don't complain and please don't raise such shitstorms on every single Light Table discussion. Can we probably focus a little on being constructive about projects like this?

Re:Programming Music with Overtone on Thursday April 12, 2012 @06:38PM (#3834501)
Yes, that's a problem too.
Re:Programming Music with Overtone on Thursday April 12, 2012 @11:39AM (#3832765)
but for some reason they didn't go with that audio-stream

Wait, what? I really looked forward to this one since I read the slides when they appeared. Then i watched a portion of the talk and skipped to your exciting demos, because I couldn't understand anything you said.

Is there any possibility to get a new video with the other stream?

Re:Poll: HN readers, where's your residence? on Thursday December 01, 2011 @07:03AM (#3299390)
(in)significant enough, yes. "(Rest of) Europe" goes out through the roof and now guess which of the EU-countries.
Re:Why Noir doesn't have controllers on Tuesday November 29, 2011 @06:00AM (#3289864)
user is logged in, authorized to view the thing they requested, check if I need to redirect for SEO purposes, prevent request forgery, redirecs if a form validation

And you can't do those things based on your framework in either, a general config of the app or a simple declarative manner, that fits into a simple function that decides which view to render, based on data?

Also shouldn't form validation be a mapping of data to your "domain objects" and let them decide if they're valid?

Older »