Better HN
topnewbestaskshowjobs
Log inSign up

ds_

378 karma · joined Apr 18, 2012 (14y ago) · 111 submissions

Submissions

comment 1y ago · link · parent

One of the many joys of working with Clojure https://clojure.org/guides/threading_macros

comment 1y ago · link · parent

Not sure why you're being downvoted, because you're absolutely right.

comment 1y ago · link · parent

The execute function can recognize it as a t-string and prevent SQL injection if the name is coming from user input. f-strings immediately evaluate to a string, whereas t-strings evaluate to a template object which requires further processing to turn it into a string.

comment 4y ago · link · parent

Documentation (and press releases/FAQs) are usually for users. Specifications are for developers. The former can precede and help with forming the latter.

comment 4y ago · link · parent

Limits have been proposed for how many of these stable relationships it's possible to maintain: https://en.wikipedia.org/wiki/Dunbar%27s_number

comment 6y ago · link · parent

It's only not a valid point of criticism if you believe any level of wealth is justified as it must be proportional to that individual's contributions to society.

comment 7y ago · link · parent

"Simple is often erroneously mistaken for easy. 'Easy' means 'to be at hand', 'to be approachable'. 'Simple' is the opposite of 'complex' which means 'being intertwined', 'being tied together'" - https://www.infoq.com/presentations/Simple-Made-Easy/

comment 7y ago · link · parent

AMP? (https://amp.dev/documentation/guides-and-tutorials/learn/spe...)

9.

Handheld device sequences human genome(bbc.com ↗)

2 points · by ds_ · 8y ago · discuss

10.

EuroClojure 2017 videos(youtube.com ↗)

2 points · by ds_ · 9y ago · discuss

11.

EuroClojure 2017 videos(youtube.com ↗)

2 points · by ds_ · 9y ago · discuss

12.

EuroClojure Videos(youtube.com ↗)

6 points · by ds_ · 10y ago · discuss

13.

Interactive development (Clojure)(tonsky.me ↗)

2 points · by ds_ · 10y ago · discuss

comment 10y ago · link · parent

"Om Next is meant to be paired with Datomic" - although datomic makes some things easier, Om Next has no opinion on what backend you use.

comment 11y ago · link · parent

ClojureScript can do this along with dead-code elimination / cross module code motion: http://swannodette.github.io/2015/02/23/hello-google-closure...

16.

Om Next Quick Start(github.com ↗)

71 points · by ds_ · 11y ago · 22 comments

comment 11y ago · link · parent

Here it is on Google maps: https://goo.gl/maps/6kZfb

18.

An alternative core API for Clojure(dunaj.org ↗)

2 points · by ds_ · 11y ago · discuss

comment 12y ago · link · parent

That's fine if you're happy losing potential productivity gains from new features or community projects that tend to use the latest and greatest.

comment 12y ago · link · parent

Are there any promising open source alternatives with similar philosophies to datomic?

comment 12y ago · link · parent

This is also something I'm curious about, particularly how migrations are managed within a team. Most of the solutions I've seen require writing plain SQL in migration files which you name yourself. It's simple but I miss the productivity of DjangoORM or ActiveRecord for example. Or do most people use a schema-less database?

22.

Functional UI programming with React.JS and ClojureScript(vimeo.com ↗)

1 points · by ds_ · 12y ago · discuss

comment 12y ago · link · parent

http://en.wikipedia.org/wiki/Betteridge's_law_of_headlines

24.

O'Reilly – In Celebration of *Day Against DRM* 50% off everything(shop.oreilly.com ↗)

5 points · by ds_ · 12y ago · discuss

comment 12y ago · link · parent

Can the improvements in loading time be attributed to angular alone?

comment 12y ago · link · parent

And I bet most people can give you several. Can't remember the last time I bought a DVD or vinyl record, without having enjoyed it somewhere else first, for free.

comment 12y ago · link · parent

It's the first result for "om clojurescript". So not really.

comment 12y ago · link · parent

I can't see the parallels between js/html and css/html. React disregards the js/html because they acknowledge that there never really was proper separation. With css/html, at least to me, it seems like there is a clearer separation. Maybe I'm being shortsighted.

comment 12y ago · link · parent

I'm wondering if the two projects are aware of each other and if there is the possibility for some collaboration there(similar ideas/approaches?)?
1234