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.
HN user
olenhad
Great job @yasoob! What's even more amazing, even thought not directly relevant, is that the author is still in high school.
My initial response was "link bait!"
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.
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-...
You could delete the cookies.
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.
As a clojure fanboy, I'm quite pleased to see it do well.
It's actually a simple lisp interpreter. But made purely as an exercise to teach myself haskell, so please be gentle.
This is great news! The API looks very idiomatic, so kudos to the author. I can't wait to try this out.
Do you have a rainbow-parens mode? I've become overdependent on those in emacs.
This is really brilliant, and damned useful. Reminds me of how type declarations provide self documenting code in Haskell. Thanks alot!
Scheme is great, but I think there are several key features that clojure has that scheme doesn't provide by default, including (but not limited to):
- Persistent Hash-Trie based Data Structures
- Beautiful asynchronous constructs
- Multimethods
- Protocols
Obviously I in no way intend to discredit scheme, nor start a lisp flamewar :) /sidenote I love this article comparing a game written in 4 lisp dialects (http://technomancy.us/169)
I've been working with clojure, and atleast for me, it offers the freedom to work with both pure and impure code with relative ease, whilst still being conservative on state manipulation.
+1. Clojure without paredit is painful. Its the only reason why I'm unable to use LT for more than a toy.
Quite an awesome whirlwind tour. Didn't know about core.unify, which seems quite impressive.
This is super impressive. I'm going to use this for my frontend work now. On a side note, what's the idiomatic structure, or "design pattern" for cljs front end code? I would assume something based on MVC, with models comprising of atoms with watches, Views consisting of hiccup templates and controllers gluing dom events to models and views. Am I close?
For sql wrappers do checkout Chris Granger's korma (sqlkorma.com/docs), clojureQL(https://github.com/LauJensen/clojureql), hyperion (https://github.com/8thlight/hyperion) etc.
The irony here is just too much to swallow. Of all possible places, a party campaigning for greater freedoms ends up in NORTH KOREA. I used be proud of defending tpb. Now I'm really not sure.
Yes Please! I'm sick of PPA-ing for updated packages.
Though I understand the frustration that linux can provide at times, its a direct consequence of the freedom it gives you. Don't like unity. Sure, use xfce, or xmonad if that's your thing.
I was thinking of nodes with feedback loops which is desirable in some data flows. Particularly learning agents.
This is quite amazing, and frankly quite an eyeopener in the way large clojure projects can be organized. Just curious though: does Graph handle cycles?
I can't predict whether the phone would sell to a mainstream audience, but as a developer I can't wait to get my hands on this and hack on it. If command line access is a first class citizen, and I produce my own scripts to control the phone's IO devices, I'll be more than happy.
My suspicion is that he got too used to hush...
All user associated data uses our own user ids, not facebook's ids. That includes post author ids.
We can assure you from our side, that the way the app is structured, no part aside from login, uses facebook's user ids. We've tried to be very strict about that.
The idea is, that you want to make statements, but you want people you know to hear them as well. That's why we use facebook's social graph. :)
I'm in singapore, and by this report should not be able to post this comment.