HNHacker News
TopNewBestAskShowJobs

ds_

378 karma · joined April 18, 2012

submissionscomments
ds_··on PHP 8.5 adds pipe operator
One of the many joys of working with Clojure https://clojure.org/guides/threading_macros
ds_··on David Attenborough at 99: 'I will not see how the story ends'
Not sure why you're being downvoted, because you're absolutely right.
ds_··on Python’s new t-strings
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.
ds_··on Write documentation first, then build
Documentation (and press releases/FAQs) are usually for users. Specifications are for developers. The former can precede and help with forming the latter.
ds_··on Show HN: Social network that looks and works more like a forum
Limits have been proposed for how many of these stable relationships it's possible to maintain: https://en.wikipedia.org/wiki/Dunbar%27s_number
ds_··on We can’t leave it to billionaires to solve the world’s problems
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.
ds_··on The Danger of “Simplicity”
"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/
ds_··on Why I'm still using jQuery
AMP? (https://amp.dev/documentation/guides-and-tutorials/learn/spe...)
ds_··on Why We Use Om, and Why We’re Excited for Om Next
"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.
ds_··on Forgo JavaScript packaging? Not so fast
ClojureScript can do this along with dead-code elimination / cross module code motion: http://swannodette.github.io/2015/02/23/hello-google-closure...
ds_··on The Ketamine Connection
Here it is on Google maps: https://goo.gl/maps/6kZfb
ds_··on Have the Angular Team lost their marbles?
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.
ds_··on Fixing Bad Data in Datomic
Are there any promising open source alternatives with similar philosophies to datomic?
ds_··on Om Sweet Om: functional front-end engineering with ClojureScript and React
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?
ds_··on Is Bitcoin the Future of Money?
http://en.wikipedia.org/wiki/Betteridge's_law_of_headlines
ds_··on Rewriting Avira's SPA from Backbone Marionette to Angular
Can the improvements in loading time be attributed to angular alone?
ds_··on Popcorn Time – Watch torrent movies instantly
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.
ds_··on The React tutorial rewritten in Om
It's the first result for "om clojurescript". So not really.
ds_··on The React tutorial rewritten in Om
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.
ds_··on The React tutorial rewritten in Om
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?)?
ds_··on The React tutorial rewritten in Om
Why would you want to bundle styles with your components? There is already a nice separation there, maybe you could give an example use case?
ds_··on Koa – Next-generation web framework for Node.js
Python has had generators since 2.2, where as they are just landing in js/node.js.
ds_··on Koa – Next-generation web framework for Node.js
An interesting read on the subject: http://www.amazon.com/The-Unfolding-Language-Evolutionary-In...
ds_··on Koa – Next-generation web framework for Node.js
Wikipedia gives an explanation: http://en.wikipedia.org/wiki/Yoda_conditions Seems kind of meh, especially if you're writing javascript when keywords like undefined can be redefined with no effect.
ds_··on Koa – Next-generation web framework for Node.js
A similar convention, often seen within the node community: https://npmjs.org/doc/coding-style.html#Comma-First Personally, I find this ugly with very little benefit. It seems awkward to edit.
ds_··on Koa – Next-generation web framework for Node.js
It does seem strange, is there a reasoned argument for why this can be better?
ds_··on Koa – Next-generation web framework for Node.js
What do you mean by that? if (constant == variable) type conditions?
ds_··on Koa – Next-generation web framework for Node.js
If express was connect, since koa is basically a rewrite of connect using generators, doesn't it make sense to give it a new name?
ds_··on Koa – Next-generation web framework for Node.js
One way: It leverages generators, which helps in avoiding callback hell (http://blog.alexmaccaw.com/how-yield-will-transform-node) Koa is written by the same author as express.
ds_··on Koa – Next-generation web framework for Node.js
That's pretty much what they did (and connect, which was the foundation of express and since bought by senchalabs).
Page 1 of 3Next →