News for hackers. Stuff that matters.

olenhad

Re:Advanced iOS Core Data Framework on Friday March 04, 2016 @01:27AM (#11222352)
Great write up! I've made the same mistake of having too many subclassed entities, and realising my queries getting slower because my indexes were not being used. I think Apple should mention this caveat in their official documentation. I'm sure many folks have been bitten by this issue.
Re:Intermediate Python on Monday August 17, 2015 @10:18PM (#10077260)
Great job @yasoob! What's even more amazing, even thought not directly relevant, is that the author is still in high school.
Re:Garbage Collection, Without the Noise or the Smell on Monday August 03, 2015 @10:40PM (#10001340)
My initial response was "link bait!"
Re:Haskell in the Large [pdf] on Wednesday January 28, 2015 @09:07PM (#8963917)
I wonder what's the primary reason for their "Mu" compiler adopting a "strict-ish" evaluation strategy.
For clojure, there's kern (https://github.com/blancas/kern) for parsec style parser combinators. It's quite easy to use. Ironically, I actually understood parser combinators better by reading its wiki (By understood, I mean understood how to _use_ parser combinators). Parsec was initially difficult to grasp because the type system complicated things for me then. I only got Parsec completely after that eureka moment when I finally understood Monads.
Re:What Pakistan Knew About Bin Laden on Wednesday March 19, 2014 @03:21PM (#7431052)
As a Pakistani I find this report alarming. However I also believe that the situation, especially the army's view of the Taliban, in particular groups under the TTP, has drastically changed. The TTP's brazen attacks on the Pakistani military in recent months have prompted the army to respond with force. In particular, the army actually is waiting for the govt's green light to clean up North Waziristan. It recently launched air strikes [1] on Taliban positions, and until a couple of weeks ago a full scale military operation similar to the a successful one conducted in Swat in 2009 seemed imminent.

Ironically though the Sharif administration is not entirely in favour of an operation. Some of the complexities include the fact that Khyber Pakhtunkhwa is governed by PTI which disagrees with a military operation entirely.

Currently there is a shaky ceasefire between the govt and the TTP. However a new splinter group called Aharar-ul-Hind, forked off from the TTP and carried out a daring attack on a court in Islamabad a few days back [2].

Interestingly enough, the new TTP chief Maulana Fazlullah is supposedly based in Afghanistan, and there is a worrying, ironic prospect of TTP raids from Afghanistan into Pakistan after NATO withdrawal.

1. http://edition.cnn.com/2014/02/25/world/asia/pakistan-airstr... 2. http://www.geo.tv/article-139849-TTP-splinter-faction-Ahrar-...

Re:What Pakistan Knew About Bin Laden on Wednesday March 19, 2014 @02:52PM (#7430852)
You could delete the cookies.
Re:Demystifying AngularJS' dependency injection on Sunday February 02, 2014 @10:37PM (#7168680)
I'm slightly surprised to see regex being used to parse and retrieve arguments from a function's source code. I would've normally assumed this to be a bad idea.
Re:The RedMonk Programming Language Rankings: January 2014 on Wednesday January 22, 2014 @05:42PM (#7105910)
As a clojure fanboy, I'm quite pleased to see it do well.
Re:Writing a Compiler in transit on Friday January 10, 2014 @02:14AM (#7035492)
It's actually a simple lisp interpreter. But made purely as an exercise to teach myself haskell, so please be gentle.
Re:Clojure RethinkDB client library released on Monday November 04, 2013 @02:34PM (#6670633)
This is great news! The API looks very idiomatic, so kudos to the author. I can't wait to try this out.
Re:Cursive Clojure: A Clojure IntelliJ plugin on Monday October 07, 2013 @11:40PM (#6512908)
Do you have a rainbow-parens mode? I've become overdependent on those in emacs.

Older »