Better HN
topnewbestaskshowjobs
Log inSign up

hrrld

34 karma · joined Feb 5, 2010 (16y ago) · 34 submissions

Submissions

comment 3mo ago · link · parent

tmducken creator here, this is so rad to see - duckdb is a monster for sql on csv.

comment 6mo ago · link · parent

No, you're right, we don't want to get rid of it; it's great.

comment 8mo ago · link · parent

In practice we use `ds/filter-column` and `ds/filter` much more than `select-rows`.

The sell isn't about typing a few more or a few less characters, it's about doing data science functionally.

comment 2y ago · link · parent

Ha! Too late: https://coffeescript.org/announcing-coffeescript-2/

comment 2y ago · link · parent

Cool! Maybe put the pictures at the top instead of the bottom. (:

comment 2y ago · link · parent

Related (?): https://github.com/cnuernber/dtype-next/blob/master/test/tec...

comment 2y ago · link · parent

That's cool - we've used bidi for years on lots of projects and have always just built our links w/ string concatenation. Formalizing this more makes a lot of sense.

With SPAs we've put a decent amount of thought into the tradeoffs between URI length, and putting enough context in each link to reconstitute the app state from a combination of local-storage, data requested from the server, and pure frontend db state (navigation location, parameters, etc...)

Perhaps there's some connection here as well with datafy/nav, there are increasingly spaces where REST-ish graphs of data are arising and capitalizing on the formalism in reference/navigation with something like this seems like a good idea too.

comment 2y ago · link · parent

The answer to the rhetorical titular question is 'some probably have, but not in general, no'.

The business logic goes in a .cljc file, and the frontend and backend are both written in Clojure, so it doesn't matter if the components are rendered into html on the server or on the client.

The win isn't avoiding js so that you can have more html, the win is clojure's (edn) data-oriented approach to frontend (hiccup) that lets us use the most powerful language in sight (clojure) to never have to write any js or html. (:

comment 2y ago · link · parent

In my experience, it's surprisingly helpful to have knowledge of Java libraries and an understanding of Java classes, objects, etc... when working in the JVM with Clojure. Otherwise, one would need to spend time understanding streams and readers and writers and the typical mutable java collections, etc... It's also helpful to be able to find a free Java library and to know how to interoperate w/ it and wrap it up behind a nicer functional interface (knowing the connection from Clojure to the host VM).

In terms of 'useful for employers', I don't think there's anything more useful than having written and deployed Clojure programs that solve real problems. I'd say write a Clojure program, see if it's fun for you, and then go from there.

comment 3y ago · link · parent

It's great.

Certainly matured a lot in the last 7 years.

Of course, still small relative to other language communities (esp. JS and Python), but for web backends it's wonderful. http-kit is a solid server with a nice simple design and passable performance and features. next-jdbc is similar for relational database connections. In general, the JVM is very powerful and getting better all time, OpenJDK is an amazing project that answered many looming questions about Oracle's licensing plans.

I'd say in the last 7 years in particular there's been a push toward more professional use of Clojure, with things like https://www.whyclojure.com/ popping up, and the prominent use at NuBank driving interest from consumer finance and finance-adjacent corporates.

My personal interest is in Clojure's use in data science, which is related to web backends in that it can be used to tell a more complete full-stack story that can include analytics, prediction, etc... We're finding in our work that a functional approach to data science saves a lot of headaches, and Clojure's inherent orientation toward data eases a lot of pain we've encountered doing data science in non-functional ways in the past.

Could probably try to pinpoint where Clojure is on the Gartner hype cycle today, as I certainly see less activity and frothy hobbyist fervor here and in other places; but that's a bit of a futile exercise. If you peel one layer off, you'll probably find that some of us just grew up and now are just happily and productively making money and things and helping people, with the immense leverage we always knew Clojure had.

comment 10y ago · link · parent

For one-dimensional problems (Like forward generation of word sequences) there are definite comparisons to be made.

In my experience (having used both nets and markov processes in computational creativity), nets hold more promise for higher-dimensional problems (e.g., 2d image generation).

I'm all for having more toys the toybox though, so I hope work continues on both/all fronts.

comment 10y ago · link · parent

I giggled at `A/10` ... Thank you for that.

comment 11y ago · link · parent

I felt the same.

I found the following by perusing the first few search results for obvious search terms:

http://www.quora.com/What-is-a-good-strategy-for-Risk-the-bo...

It might be a good start at answering the questions raised here...

comment 11y ago · link · parent

I have thought about this quite a bit and I believe that this particular pairing, Nietzsche with Family Circus, is at least especially good (if not uniquely good).

For me, Family Circus was never really enjoyable. Somehow that makes Nietzsche Family Circus even better.

My guess is that if you start pairing things at random, you will on average going to get something much, much worse than this. An understanding of why this is true promises to elucidate the contemporary condition, I suspect.

comment 11y ago · link · parent

Reminds me of one of my all-time favorites: http://www.nietzschefamilycircus.com/

comment 11y ago · link · parent

This looks fun! Has anyone experimented with trying to avoid aliasing?

I would guess it would not make the programs _much_ longer, and could drastically 'improve' the output quality. I put improve in quotes because the gnarly artifact-y nature of this does provide some of the charm.

comment 11y ago · link · parent

Super-interesting article, thank you for sharing.

Two great quotes from near the bottom...

"At this point in the project we have Super Mario Brothers 1 running mostly on native code, although not very highly optimized. We've learned that static compilation, while possible, is rendered pointless by some of the inherent challenges that emulating a system presents."

and...

"These issues must be resolved if we want a playable game. Sadly, the solution marks the final nail in the coffin of the integrity of this project."

So brave. 10/10 - would read again.

comment 11y ago · link · parent

I like it.

You might enjoy this:

http://phrogz.net/css/distinct-colors.html

comment 12y ago · link · parent

Cute.

comment 12y ago · link · parent

Nice explanation. (:

comment 12y ago · link · parent

http://viewsourcecode.org/why/redhanded/images/hoodblink.gif

I miss _why.

comment 12y ago · link · parent

This is neat. Thanks for making and sharing this.

So far I have been using site44 (http://www.site44.com/) to accomplish this already. I see that you guys have built some node apps to make deploying and rolling back easy, which is smart. I have found the way site44 works (it's a dropbox app that updates what's being served automatically when the dropbox folder contents change) to be very convenient.

It may be interesting for you guys to consider doing something similar.

Take care.

comment 12y ago · link · parent

Yes.

comment 13y ago · link · parent

I'm working on a simplest-possible rss reader you can actually host yourself (locally, and trivially) with node:

https://github.com/harold/rss-box

I've been using it exclusively since the Google Reader shutdown, and really enjoying it.

I'm also working on a redesign of my website, where I'm building up some infrastructure around distributing some electronic music building blocks (soundpacks):

http://danceliquid.com

comment 13y ago · link · parent

I have been programming my own replacement:

https://github.com/harold/rss-box

It's fun to hack, and works well enough for me now. Come check it out.

comment 13y ago · link · parent

Thanks for the pointer.

27.

Show HN: rss-box, a simple web-based rss reader you can host yourself with node

7 points · by hrrld · 13y ago · 2 comments

comment 14y ago · link · parent

An apt, but tragically late, entry into an important discussion.

I mean, downhillbattle.org closed up shop years ago.

Gibson (http://www.wired.com/wired/archive/13.07/gibson.html) recognized it at that time too.

comment 15y ago · link · parent

And by you, you mean I.

comment 16y ago · link · parent

An all time favorite of mine! (:
12