Better HN
topnewbestaskshowjobs
Log inSign up

phyrex

904 karma · joined May 2, 2012 (14y ago) · 392 submissions

Submissions

comment 5y ago · link · parent

I’m aware of mentat and eternally disappointed that it got shelved :(

comment 5y ago · link · parent

I would love to hear more! Did you write the datalog layer or is there one somewhere? Is there any code available I could see?

comment 5y ago · link · parent

There’s a huge difference between a minimal lisp interpreter you may have written in university and something industrial strength like Common Lisp or Clojure

comment 5y ago · link · parent

Because we started with python for historical reasons when the company was small and performance didn’t matter, and now we’re stuck with it

305.

Writing a Simple Garbage Collector in C(maplant.com ↗)

4 points · by phyrex · 5y ago · discuss

comment 5y ago · link · parent

Tl;dr no it’s not, calorie restriction wins in terms of fat loss. Very interesting article!

comment 5y ago · link · parent

Fwiw, clojure is an acquired taste. It took me months to rewire my brain and get comfortable with it. Enjoy your time with TS and remember clojure if it ever doesn’t satisfy you anymore

comment 5y ago · link · parent

Lisps make it much, much easier though. My dayjob is python, but my heart yearns for clojure

comment 5y ago · link · parent

Writing C is a lot harder than writing Lua, especially coming from Python

comment 5y ago · link · parent

This would have really benefited from looking over something like clojure’s hiccup: https://github.com/weavejester/hiccup

comment 5y ago · link · parent

They don’t serve one. Clojure uses only white space for distinguishing items in lists and hashmaps and after a short period of “this is weird” you embrace it and wonder why you ever needed commas at all

comment 5y ago · link · parent

Yeah I think that’s your expectations. Clojure doesn’t treat the JVM as an implementation detail, but as a very important part that you’ll want to use and interact with directly. It wouldn’t make any sense for clojure to not show you the JVM details, because for all it knows, those are the parts that you really care about and you just use clojure to glue it all together

comment 5y ago · link · parent

Tell that to Snowden and the other whistle blowers

comment 5y ago · link · parent

I believe that’s what the article said too. Where do you see him conflating this?

comment 5y ago · link · parent

That was glorious! Do kubernetes next!

comment 5y ago · link · parent

And yet I have definitely copy&pasted cookie headers from the database or log files into the browser - something I’ve never done it could imagine doing with binary protocols

comment 5y ago · link · parent

Hunters specifically feed deer throughout the winter and then shoot them later on (my grandfather was very much into hunting). The whole “overpopulation” thing is a bad faith argument and doesn’t make logical sense either; there’s no way a native species wouldn’t find a healthy balance if left alone

comment 5y ago · link · parent

But the same ruby version from ten years ago probably won’t just work anymore and that’s the problem

comment 5y ago · link · parent

Here's a quick guide on differentiating Asian scripts: https://external-preview.redd.it/5E56z2aoA6M8rKLYBMuAyhPShVQ...

comment 5y ago · link · parent

The creator, Rich Hickey, explains that Clojure has been explicitly designed for 'situated programs' in this talk: https://www.youtube.com/watch?v=2V1FtfBDsLU

comment 5y ago · link · parent

That’s Clojure, not the JVM. In certain configurations it can unfortunately take that long. It’s getting better though.

comment 5y ago · link · parent

That drove me nuts, but you can turn it off with a defaults setting. I don’t have it at hand but it’s easily googleable

comment 5y ago · link · parent

Frankly, this article has the opposite effect of convincing me. The author starts with a perfectly reasonable data model and munges it for some questionable space savings (that only apply in the dumbest of databases that don't do any sort of compression), for the price of a lot of boilerplate, and significantly less insight into the data if you look at it in serialized format (either directly in the database or on the wire). Maybe someone can explain to me how this is supposed to be better?

comment 5y ago · link · parent

Practically, mindshare, because that translates to longterm support and ability to get help if you need it. I know lots of people that use babashka but not a single one that uses closh. Of course, I see the irony in making the popularity argument for a lisp! :-)

comment 5y ago · link · parent

You’re aware that json stands for “JavaScript object notation”, right? ;)

comment 5y ago · link · parent

Just go to any hacker news discussion about types and you’ll find plenty of these sorts of claims

comment 5y ago · link · parent

Wat? You have a source for any of those claims? That seems like a lot of FUD to me.

comment 5y ago · link · parent

I've been programming Clojure for a while and I've dabbled in CL, and while the CL debugger is certainly nicer, I don't see a major difference in how you develop interactively. Could you explain where do you see Clojure falling short?

comment 6y ago · link · parent

Fwiw, first-class parallelism was one of the premises of Clojure, but in practice those features aren’t used very heavily. I’m not sure why that is.

comment 6y ago · link · parent

My favourite explanation is that a framework calls your code, whereas for a library, your code calls the library functions. Does that make sense?
1
1011121314