News for hackers. Stuff that matters.

ds_

Re:PHP 8.5 Adds Pipe Operator: What it means on Tuesday August 05, 2025 @05:23AM (#44795952)
One of the many joys of working with Clojure https://clojure.org/guides/threading_macros
Not sure why you're being downvoted, because you're absolutely right.
Re:Python's new t-strings on Monday April 21, 2025 @06:26AM (#43750261)
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.
Re:Write documentation first, then build on Wednesday June 15, 2022 @05:35AM (#31750849)
Documentation (and press releases/FAQs) are usually for users. Specifications are for developers. The former can precede and help with forming the latter.
Limits have been proposed for how many of these stable relationships it's possible to maintain: https://en.wikipedia.org/wiki/Dunbar%27s_number
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.
Re:The Danger of “Simplicity” on Friday November 22, 2019 @07:31AM (#21604960)
"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/
Re:Why We Use Om, and Why We’re Excited for Om Next on Friday January 22, 2016 @03:26AM (#10951484)
"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.
Re:Forgo JavaScript packaging? Not so fast on Tuesday November 24, 2015 @01:24PM (#10622475)
ClojureScript can do this along with dead-code elimination / cross module code motion: http://swannodette.github.io/2015/02/23/hello-google-closure...
Re:The Ketamine Connection on Friday July 10, 2015 @02:25AM (#9862551)
Here it is on Google maps: https://goo.gl/maps/6kZfb
Re:Have the Angular Team lost their marbles? on Wednesday October 29, 2014 @10:57AM (#8527479)
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.
Re:Fixing Bad Data in Datomic on Tuesday August 19, 2014 @02:28PM (#8198955)
Are there any promising open source alternatives with similar philosophies to datomic?
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?
Can the improvements in loading time be attributed to angular alone?
Re:Popcorn Time – Watch torrent movies instantly on Tuesday March 11, 2014 @11:50AM (#7379974)
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.
Re:The React tutorial rewritten in Om on Friday December 20, 2013 @11:17AM (#6942123)
It's the first result for "om clojurescript". So not really.
Re:The React tutorial rewritten in Om on Friday December 20, 2013 @11:15AM (#6942098)
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.
Re:The React tutorial rewritten in Om on Friday December 20, 2013 @10:36AM (#6941868)
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?)?
Re:The React tutorial rewritten in Om on Friday December 20, 2013 @10:30AM (#6941824)
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?

Older »