News for hackers. Stuff that matters.

stn

I believe there could be ORMs (or DB libraries) that makes this separation clear. Ecto gets this right although it's not an ORM: an SQL query is a composable data structure that should be explicitly passed to a separate function, belonging to the database repository, in order to be executed.
What about unwanted parts which are removed intentionally? Wisdom teeth and appendicitis come to mind. Or body parts intentionally modified by surgery. Basically, unless there is some control regarding which part to regrow, this might not always be desirable.
Re:Things every React.js beginner should know on Monday January 25, 2016 @03:13PM (#10969615)
I found it to be a huge productivity boost. In highly interactive apps, templates and code are connected so much, trying to pretend that they are not and switching back and forth all the time for me personally feels like fooling myself.
Re:25 Most Common Passwords of 2015 on Tuesday January 19, 2016 @11:35AM (#10931780)
Meanwhile I find myself somewhat worrying about my unique, 32-character passwords because quantum computers
Re:David Bowie Has Died on Monday January 11, 2016 @07:45AM (#10880462)
It might also has something to do with the fact that not all good music is simply radio-friendly. That is, it's hard to appreciated it in a similar way it's hard to appreciate a good movie unless you're watching it somewhere in a quite place without distractions.
Re:How Facebook makes us dumber on Monday January 11, 2016 @07:21AM (#10880356)
I guess it's also amplified by the fact that people tend to accept things as true by default, until it's proven otherwise. In other words, insertion of data is the way cheaper then its invalidation and probably happen much more frequently thanks to social media.
Re:A rant about application configuration on Monday January 11, 2016 @12:30AM (#10879004)
That's why every time with a new piece of software is coming to my toolbox, I find myself eagerly documenting all the hoops I had to jump through.
Re:Goodbye CoffeeScript, Hello TypeScript on Wednesday October 21, 2015 @07:42AM (#10424789)
Static typing doesn't have to require typing substantially more characters though (ML-family languages are good example, other examples I can think of is Nim), the syntax choice is quite orthogonal to this but it seems like C-syntax appears in new languages mostly due to its familiarity.
I tried some popular quotes, there is an example: "Whenever you find yourself on the side of the majority, it is time to pause and reflect." was transformed to: Every time you log on to the website of the Majority, it is Time to stop and think.
Re:Ode to Sequel on Friday July 31, 2015 @08:06AM (#9981217)
Enjoyed the article, it describes most of the issues I had with ActiveRecord.
Re:Ask HN: Please stop making infinite scrolling websites on Tuesday April 21, 2015 @02:54PM (#9416158)
Not sure if it helps but you can always jump to the top with just the "Home" button press
Re:Replace CoffeeScript with ES6 on Friday January 30, 2015 @12:12AM (#8970553)
'is' is also very cool: makes it harder to write '=' instead of '=='
Re:Better Rails errors on Sunday December 09, 2012 @08:46AM (#4894723)
It would be awesome to have this in Rails 4 by default.