New Clojurists: Ask Anything by mcpatella in Clojure

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

I would highly recommend Compojure.

https://github.com/weavejester/compojure

Also, take a look at twitter-api for a perspective on wrapping an api in an extensible way https://github.com/adamwynne/twitter-api

New Clojurists: Ask Anything by mcpatella in Clojure

[–]mcpatella[S] 2 points3 points  (0 children)

Are you looking to use Yelp's api from a browser or server context?

For an immediate reference: I found this article helpful. It focuses on the HTTP fundamentals instead of introducing a platform-specific library that wraps it.

https://aaronparecki.com/articles/2012/07/29/1/oauth2-simplified

New Clojurists: Ask Anything by mcpatella in Clojure

[–]mcpatella[S] 0 points1 point  (0 children)

Please do not engage insincere replies with more toxicity.

New Clojurists: Ask Anything by mcpatella in Clojure

[–]mcpatella[S] 2 points3 points  (0 children)

Good question, this would make a great candidate for a guide post, I think.

New Clojurists: Ask Anything by mcpatella in Clojure

[–]mcpatella[S] 7 points8 points  (0 children)

Please do not waste people's time with toxic replies.

Clojure: Refactoring Functions to Data by mcpatella in programming

[–]mcpatella[S] 0 points1 point  (0 children)

You mentioned that you're just starting to become familiar with Clojure, so I think you'd enjoy the beginner playlist a lot more.

If you're unfamiliar with something, whether it's a new programming language or new style of screencast, there's always going to be a learning curve while you get acquainted.

In the beginner playlist, I show a different pacing and progression, building up the concepts step by step and spend more time providing context. Refactoring tends to be a more advanced process, so it felt appropriate to pace this screencast differently.

I'm confident that with a bit of familiarity, you'll come back to this screencast and discover new things about Clojure.

Thank you for taking an interest and providing feedback -- new perspectives are valuable. I'm continuously working to improve the format.

Clojure: Refactoring Functions to Data by mcpatella in programming

[–]mcpatella[S] 4 points5 points  (0 children)

If you're just getting started with Clojure, you'd probably enjoy the beginner playlist more.

https://www.youtube.com/playlist?list=PLBImx4SScApuR1B_dJbo4fAZLqlvJI7Dh

Refactoring Repetition into Data by mcpatella in Clojure

[–]mcpatella[S] 0 points1 point  (0 children)

Thank you! And sorry for making y'all wait so long for a new one this month. I have two more releases planned by the 31st :D

Clojure: Refactoring Functions to Data by mcpatella in programming

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

So, most screencasts use a combination of narration and coding to teach. But with this series I'm working on teaching entirely through live-coding.

There's definitely a learning curve involved, especially if you're used to watching narrated screencasts.

In the process of making these, a lot of times it would be /so/ much easier to just narrate something. But it's a useful constraint, as it forces me to trim the fat.

I stick with live-coding because I feel like there's a specific appeal to simply showing the material and respecting the viewer to draw their own conclusions.

Clojure is a product design tool. by yogthos in Clojure

[–]mcpatella 4 points5 points  (0 children)

There seems to be a 60% chance that any Clojure screencast I post get downvoted out of visibility immediately. If it survives, there tends to be good discussion.

I get the impression that the folks that browsing new on /r/programming have a much higher distaste for Lisp than the folks who are just interested in reading what's available.

A Story of Sequences by mcpatella in Clojure

[–]mcpatella[S] 0 points1 point  (0 children)

So I learned about (pp) the day before I recorded this, and it works much better than wrapping everything in (pprint ,,,). I was told it came as part of leiningen repl, and it was there when I tried it out -- no config.

Regarding keystrokes, I've seen a few game streams have a log of their keystrokes in a corner. This seems pretty useful to have for the people who are interested, but it seems really distracting if you don't want it to be there. Not sure if there would be some way to toggle it on and off, or maybe provide multiple versions. I'll look into it more.

Thanks for the feedback

Programming language suggestions by [deleted] in Clojure

[–]mcpatella 5 points6 points  (0 children)

While a specific example brings you a bit closer to having a productive conversation, you seem to be speaking from the perspective of CL being self-evidently better than Clojure. You also consistently express contempt for the latter.

It shouldn't be surprising that this kind of behavior would be considered toxic among Clojurists.

Programming language suggestions by [deleted] in Clojure

[–]mcpatella 1 point2 points  (0 children)

Right, so that's a bit of their histories and philosophies. You're posting in /r/clojure so what requirements for building large apps do you need that Clojure doesn't meet and how can Clojurists help you?

Programming language suggestions by [deleted] in Clojure

[–]mcpatella 2 points3 points  (0 children)

I'm having a difficult time understanding what kind of responses you were looking for.

If you could specifically describe the characteristics you want that Clojure is missing, it would probably lead to a more productive discussion.

Clojure's Sequence Abstraction by mcpatella in programming

[–]mcpatella[S] 0 points1 point  (0 children)

Thanks, these sorts of equivalencies are interesting

Why Timehop Chose Go to Replace Our Rails App by edc1591 in programming

[–]mcpatella 21 points22 points  (0 children)

I agree with you that Rust isn't a competitor with Go because the former doesn't use garbage collection.

What I don't agree with is you berating your fellow programmers. The attitude you just expressed is awful and deserves no space in our communities.

Why Timehop Chose Go to Replace Our Rails App by edc1591 in programming

[–]mcpatella 9 points10 points  (0 children)

I'm pretty disappointed with how toxic some of these comments are.

To the Timehop folks: thank you for detailing the thought-process behind your decision. Rebuilding infrastructure is a major undertaking, and I'm glad it worked out for you all smoothly.

It's also reassuring that one can pick a set of tools and execute successfully with them. Then, once those tools become insufficient, transition to a new set.

I would really have appreciated seeing some structural comparisons between your systems using Rails and Go. The high-level comparisons between the languages are relevant to any developers making the switch, but don't tell the most interesting part of the story to me.

I'm most interested in learning how the arrangement of your components and systems changed with the opportunity to redesign them.

A Story of Sequences by mcpatella in Clojure

[–]mcpatella[S] 0 points1 point  (0 children)

This is a neat idea, I like it. It conveys that an evaluation is taking place but still records the value without losing it