News for hackers. Stuff that matters.

hawkeyedan

Re:Ask HN: Which Lisp? (Lowercase) on Tuesday July 23, 2024 @11:33AM (#41047090)
A little more context… This is a real decision I’m making with Common Lisp, Guile and Janet as my current leading options.

But … I feel like documenting all the thoughts in an essay/blog form may be helpful to others.

(And my post history will show I’ve gone down this path before. Trying again. Since last time I gave up due to the paradox of choice.)

Ask HN: Which Lisp? (Lowercase)

(Sorry that this retreads past threads … but it’s a topic that easily could have different answers over time.)I’m working on a blog post titled “which lisp” (lower case) and am soliciting responses to hopefully include in full within the post.What do I mean by “a lisp”?I means a lispy language.1. S-expressions on the surface (not as a substrate or implementation detail) 2. Homoiconicity 3....

( Read More... | 6 comments | on HN )
Re:Ask HN: Anarki or Racket? on Wednesday November 02, 2022 @10:45AM (#33436663)
Text run by an interpreter. Different strokes.
Re:Ask HN: Anarki or Racket? on Wednesday November 02, 2022 @10:44AM (#33436644)
It’s not in my mix because it’s a fairly “big” language, which is a huge bonus once you’re proficient but makes it a poor choice for me to dive into Lisp(s). For someone else, that might not be true. But I like to be able to hold things in my head.

In the long run, CL is a great option. My theory is that it’s a place I could go if/when I’m up and running in another Lisp.

Re:Ask HN: Anarki or Racket? on Friday October 28, 2022 @03:43PM (#33376703)
LFE lacks it’s own robust web app development stack … and translating between documentation in Elixir (Phoenix) and Lisp all day will make my head hurt.

Clojure is a tougher call. For this project it might be good.

However, I want to include some CLI scripts … and the JVM adds deployment complexity for those.

ClojureScript is tempting, but I don’t see a great story about the server piece for rapid web app development there.

Re:Ask HN: Anarki or Racket? on Thursday October 27, 2022 @10:23PM (#33366805)
While I’ve got you… What’s the state-of-the-art story for package management in Gambit?
Re:Ask HN: Anarki or Racket? on Thursday October 27, 2022 @09:30PM (#33366418)
Thanks, that’s a very helpful insight. You’ve put my mind a significant ease.
Re:Ask HN: Anarki or Racket? on Thursday October 27, 2022 @03:00PM (#33362370)
In my case, web-based just means "it is a piece of software you access via the web." Web application, website, SAAS, whatever.

And you're right, I should have considered Gambit. Dang, now I have a ternary decision to make.

Re:Ask HN: Anarki or Racket? on Thursday October 27, 2022 @02:14PM (#33361631)
Just to be clear: yes, there are other Lisps.

Yes, Clojure is cool.

Yes, LFE is a thing that exists. Yes Elixir is Lisp-adjacent.

Yes, any of those would give me access to a larger ecosystem and the resources of a well used, well supported VM.

I may be an idiot (it's been said), but I'm not a stupid idiot. I've ruled each of those out for good-ish reasons.

Ask HN: Anarki or Racket?

For a new web-baed project, one I'm doing for fun but hope to make a success, I've pretty much decided to write it in Racket or Anarki.Which one?The problem domain is Lisp-y: convenient for functional programming, and made easier with macros, DSLs and/or metaprogramming.I haven't used a proper Lisp since my programming paradigms course at Bryn Mawr many moons ago, so I don't have any strong...

( Read More... | 16 comments | on HN )
Re:Why am I excited about WebAssembly? on Sunday July 17, 2022 @04:55PM (#32131154)
To be precise, applets were an early application of Java. But Sun Microsystems actually developed it in the long-standing dream of the “universal binary.”

The project began in 1991 targeting set-top boxes. [source](https://web.archive.org/web/20100210225651/http://www.java.c...)

WASM is another iteration of the same noble idea done with different technologies at a different moment.

Java and the JVM have been incredibly successful. WASM has the potential to bring the dream of a universal binary even farther.

Re:Tor – Onion Browser for iPhone and iPad on Sunday July 17, 2022 @03:58PM (#32130615)
This is a pretty great tool, despite the limitations of existing in iOS-land.

It obviously has the same problem any Tor browser has though, you run into bot blocking on a very large % of the regular (non .onion) interwebs.

Worth consideration for putting on your daily driver phone.

Re:To Ruby from Python on Saturday July 16, 2022 @08:29PM (#32123237)
And yet I can only read Dante’s original work in Italian!
Re:To Ruby from Python on Saturday July 16, 2022 @02:13PM (#32120477)
Arguments about the “superiority” of Python vs Ruby always sound a bit like arguments about the “superiority” of Italian vs Spanish. If you squint a bit they’re basically the same.

(By that simile, Lisp would be Sanskrit?)

Re:Why we're sticking with Ruby on Rails on Thursday July 07, 2022 @12:49AM (#32010020)
So funny that Rails has gone from “exciting” to “boring” in (relatively) the blink of an eye. But boring is good, nice to see it embraced.
Re:Get Started with Hotwire in Your Ruby on Rails App on Wednesday July 06, 2022 @08:54AM (#32000136)
Best post I’ve read on this so far!
This is a really important story. I think about all the requests government agencies make for backdoors to things ... then I read something like this ... Ick.
Of course if you’re one of the platforms, owning some or all of other people’s login processes does happen to be a win for you.
Re:MVC frameworks aren't dinosaurs but sharks on Tuesday May 10, 2022 @12:09AM (#31323359)
As somebody who loves databases, I think the real issue that folks are meaning to critique isn’t actually using a “model.”

It’s using an ActiveRecord-style ORM (or any ORM) without grokking what lies beneath.

A database layer IS a model. It’s just not a class or an object.

ActiveRecord is a really nice trick when it works … but it can create some really performance-killing side effects.

Ruby’s Datawrapper ORM and its siblings in other languages requires understanding both sides (the object system and RDBMS) but can let you get your class/object semantics to play nicely with your database.

And just passing around database connections and arrays of hashes can get you awfully far.

But, if you want to not think about the database layer, ActiveRecord-style ORMs are a real win for developer ergonomics.

And that’s part of the win of Rails/Django/etc. You can live in a single mental model (classes/objects with references to each other) and ignore the database layer.

Except when you can’t.

One reason (not a criticism) that NoSQL can be such a win is that the semantics are closer to class/object semantics. So you’re not trying to manipulate data with an abstraction that doesn’t quite fit.

But most of our projects aren’t Twitter or FaceBook or Google or anything else functioning at galactic scale.

Re:MVC frameworks aren't dinosaurs but sharks on Monday May 09, 2022 @11:50PM (#31323243)
Bash is bad and ugly… But I just avoided a day’s worth of development of a little command line utility by adding two alias lines that go into .profile.
Re:MVC frameworks aren't dinosaurs but sharks on Monday May 09, 2022 @11:39PM (#31323163)
Sadly, that might not be a great bet. The world of government software procurement is very, very ugly.
Re:Show HN: A CLI to kick-start any language on Monday May 09, 2022 @11:22PM (#31323064)
Great idea! Thanks for making it!
Re:Let's improve GitHub's recommended Perl .gitignore on Monday May 09, 2022 @11:35AM (#31315484)
Hopeful this will get noticed here and folks will go in and comment (presumably positively or with constructive criticism) to make this frequently used .gitignore better.
Re:Perl, the first postmodern computer language (1999) on Thursday May 05, 2022 @07:08PM (#31279364)
Jumping in on this late, but I think the haters and some of the lovers miss the point.

Perl doesn’t need to be Python. It’s great to be the #20 language.

Re:RFC 137: Perl OO should not be fundamentally changed on Thursday August 06, 2020 @12:10AM (#24068051)
Still wrapping my head around this. And hoping Raku will start to get some mainstream adoption.
Re:Zombie Cookies Slated to Be Killed on Sunday January 18, 2015 @05:47PM (#8909294)
This is a great example of the curative powers of even a little bit if sunlight. Good job PP!

Now if only Verizon had shame.

Re:Don't Make Visitors Make Accounts on Sunday January 18, 2015 @05:40PM (#8909266)
I'd suggest that the guest use case is the most important one and that account generation/creation/etc is for most sites the use case that should come second.

Older »