kindle_android app review

I have been trying out kindle app on my android phone, by buying antifragile e-book. I have generally have a negative idea of paying for a DRM locked e-book, mostly because of the control i give up. 

1.highlight colour must be change able for the highlighted text

2. I like the partition/page/parts numbering method.

3. I hate the time lag it takes for the kindle app to switch layout..

4. Seriously, you have to wipe out my highlighted notes/comments? can’t you find a way to sync them too .. that’s lame..*
5. And for the love of god, why did you have to zoom into the selection text, when i am trying to highlight.. you’re just making it painful for me to choose till which point to highlight.
6. learn from the moon reader app with regards to note-taking and highlighting..

7. Again page turning moon reader app has a cool animation


But most of all i pay almost the same price as a hardcopy book , but can’t share it with a friend without really sharing my device? Please put in an ability to transfer it to another device. 

And more importantly, it spooks me that am at your mercy to remove my book. I know there haven’t been any incidents(after that one time), but no am not buying a kindle for myself.


* — Ok, i was wrong, i wasn’t using bookmarks, but highlighting and notes.. and to your credit you do have the last read page in memory fine.

UPDATE: ok , i am a convert. The convenience of e-books is undeniable, even though the physical book is irreplaceable.
For a bibliophile, the ability to carry around a set of books on hand is very convenient for evaluating new books to be added to the physical library.. So only thing remaining is if i am ok with the books pricing on kindle, given the fact that they have the power to wipe it out /take it back when i connect next.

UPDATE 2: OK, for all my conversion, i miss the ability to open a random page in a book and read.(Much like Gabriel Betteredge in “Moon Stone” does with every copy of his book “Robinson Crusoe”). I guess, i can still use kindle’s goto -> Location -> and type in a random number.
But it still doesn’t seem as quick and straightforward…. hmm..perhaps because i have already done the kindle equivalent of opening a book. I suppose it would be a good idea to get this option before touching the book icon within kindle. some kind of circular motion perhaps or double-tap/touch?? Hmm.. might work..

PyCon2012–India, Bangalore— Raw brain dump of notes from the two days.

Disclaimer: Warning, loong rant ahead. Some of it may sound harsh and probably is harsh. Comments are likely to be a result of personal biases, state of mind, attention(awareness vs arousal levels/ratio) etc.. No effort has been put into making these even objective. I am against making anything politically correct in principle though.

TLDR summary: I can’t learn in any talks presented to groups more than 10. It’s just usually over-simplified, and over-slowed, and over-general. My learning works in short, quick feedback cycles. So what i took away, was good idea to attend these conferences, if i need a confidence/arrogance boost, but otherwise, better to just get the slides + code and try them out yourself. only if you don’t assign the time block,you’ll never get around to trying them out on your own, which is a problem on it’s own.

29-Sep-2012 Saturday, Bangalore, India
Saturday 29 September 2012 10:04:10 AM IST
Am sitting here at David Keynote address, was a little late in arriving so can get only a seat at the back. Can’t hear very well because of the acoustics, but he seems to be talking about Python Software Foundation(PSF) ‘functions finances etc.. Not interested to try and listen. Another thing, i notice is that he too has pauses and umm, not unlike PG at that Pycon (qualitatively,quantatively lot less frequent than PG), but overall, it affirms my belief, only experienced salesmen, can avoid those, even without preparation, us nerds, on the other hand can’t avoid it even if we are well prepared, no point trying or beating yourself up about it, after a botched presentaion.

Saturday 29 September 2012 11:43:34 AM IST
Now at Nick Coghlan’s highlights of Python 3.3 I love te changesg thaey haev done to error reporting on this one. i have been burned so many times by having to read through stacks and stacks of pytho code to figure out teh source of the error. No more of it.. too bad centOS, which is used in most produciton systems has just come to python2.6 And they have cleaned up the import lib mess now cool.. Unicode byte size are smaller.
Namespace changes: are option. in the absence of whole sys.path for packages

Sunday 30 September 2012 11:20:16 AM IST
Ok, i skipped a lot of other sessions, kinda sat in the scikit-learn and left halfway through it. This session is titled New kids on the scipy block. I was hoping to learn some more about scipy, by playing around with it, but it turned out to be more of a explanation/demo/promotion of the ipython editor for python programming. I was disappointed, but then another epiphany struck me, it’s hard to have an interactive session on any of these scipy, machine learning in an hour talk. basically because they just all simply take a loong time to run and the speaker can’t cover much if he’s waiting for the students to complete coding and running the script.
Oh well, time to break out and work on the coursera, courses. this was more of a ipython notebook IDE promotion talk. So here i am instead, going and reading up on the unix hater’s book.

Another epiphany, is i hav ebecome very good at installing and settingu pstuff on my unx box. that’s the biggest advantage of having gone completely on linux in the last 3 years. I guess, i mis-understood my motivations when i switched to linux. And now that freedom, from proprietary manuals, designed to hide IP- sensitive info and handhold/spoo-fed manuals.

Sunday 30 September 2012 11:40:50 AM IST
second part of this session is about llvm it is interesting so far .but we’r ejust a couple of minutes in. one reason is this presenter/speaker seems more iconfient. it focuses more on llvm-py and i have been biased about the looks of the presenters.
am finally spending some time not wondering if the 1.5k is a waset efo times.
Sunday 30 September 2012 12:36:10 PM IST
Now at that Text mining with pytohn tola.k
Sunday 30 September 2012 12:52:44 PM IST
And am already out of that talk.. today’s been a good day so far as far as energy,focus and motivation levels are considered. i haven’t had any pills so far.. the early morning was slow due to the cold i guess and the confusion, but otherwise it’s been fine. am back to my old self, dissing others :-P
and realized, i don’t have nltk installed on my python setup. What the Fuck??

Sunday 30 September 2012 02:14:42 PM IST
And now at a mysql talk from oracle. the first 15 mins gone on a talk by someone from the sales division, generally fluff about how mysql and oracle are treated and how the accusations about oracle killing mysql being false.
Kinda, boring and interesting. boring from the technical viewpoint, but interesting from the viewpoint corporate strategical communications and morketing methods. Ofcourse, it doesn’t make sense to talk about oracle killing myssql. neither are living entities or it’s not even clear how effectively we can attribute agency to a group of people made of corporations. Closing the source doesn’t make any sense as i can see oracle not making much money from the move. and just risk losing a image.

5.6 — upcoming features.
apparently , this guy used to be with mysql. and claims mysql never spent improving innodb.
the tech team’s claim is 5.6 is competent with other forks like mariadb,perconadb and nosql. And a huge performance. that vimal guy did say,percona has 3 machine/server synchronization. and that mysql’s core optimization team is gone, but oracle has hired more people as they have a lot more resources. well, given that it’s a new team that optimizes 5.6, i am still wary of it still it gets adopted by a lot of people. mainly because, the implicit knowledge the original team had is probably gone. and this new team is left with test cases, documentations.
anyway, new feature
1. ability to sue 48 cores(up from 32)
2. Better optimizer(that scares me)
3. Full text search– new
4. FB & Google contributed optimizations for SSD
1. Crash-safe masters ??
2. Replication checksums
3. Automatic recovery using transactional positioning??

Memcached is a built in plugin. and has an api. and the plugin runs on top of the innodb storage engine. that’s cool. and interesting, now it’s less of an either or decision between.
memcached api mapped onto the native InnoDB.
Ok, mysql 5.6+ is clearly, on the list of the DBs to consider when i get aronud to that idea(startup–global)
mysql is the blond, nice sister to the big brother of oracle.

on an unrelated note:
mysqltest, i was expecting something along the lines of ab(apache benchmarking), but it’s a little more work to test. hmm..

Sunday 30 September 2012 03:21:51 PM IST
GlusterFS: Distributed file server
— no meta-data server
— userspace driver
— latency
— POSIX compliant
— hasching on filenames to decide the location of the file
— striping

Most engaged session so far.. that gamble to ditch the regular scheduled sessions and go for that open space place has worked. Hmm.. i guess the planned ones simplify theirs for the sake of a more general/vaguer audience or atleast assumel lower audience knowledge level.

Sunday 30 September 2012 04:30:39 PM IST
Cryptanalysis using python
hot girl apparently ex-infoscion.. really follows the agenda/scripting.
clearly int the planned -organized talk idea.
assumes no knowledge of cryptography in the audience, may be i should have gone to big data. Was hoping to catch up some math i haven’t come across before.

Monome Donome Cipher — monoaphabetic multiliteral substitution. each char can be replaced multiple chars 24-letter is an example — blur the relationship
Ok am beginning to think a little better.
How many of you know how to write classes in python?? — Oooh fun.o
OK am out of that presentation, i can pickup that stuff from reading the presentations and get it online. So much for learning unfamiliar math.

Sunday 30 September 2012 04:43:13 PM IST

Now am at this Big data using python one. a
OK there’s a slide list ing

Ok, this is more about hadoop or so it seems.
one slide the compute moves to data, while data is moved to compute in other parallel data architectures???

I understand since it’s map reduce, the reduction and mapping are done on the nodes/data servers itself before communicating the result to the central source. But seriously, that’s an inaccurate, marketing jargon.

— Map Reduce
— Job tracker
— Task Tracker
— Name node

Ok this one also assumes the audience knows nothing about map-reduce and tries to simplify it for them.
Sunday 30 September 2012 05:03:58 PM IST
Am out back in the openspace.

Crap, now i have to figure out what to do till 1045 pm. i need to find a place to hang out preferably with internet. Ah well, looks like it’s going to be a cafe day nearby.

Triggered by GlusterFS plans to have two way master-master synchronization. what if both the files have changed?, they will have to merge like git does. but then git assumes text/character files. I wonder what happens when you have git merge to binary files.. hmm, that’s another interesting experiments to try.

Damn it i should have not missed scipy 2011.

Combinatorial Species– my comprehension.

Disclaimer: This post is not accurate, nor am i a professional mathematician(not even amateur) . Feel free to correct my misunderstandings in the comments.

I was trying to understand Combinatorial species( came across somebody’s profile at the company indix .  But it had references to functors, categories and i went off reading Category theory here).  Couple of hours later, i still don’t have an understanding of Combinatorial Species, but I have a (slightly) better (than my previous ) grasp of Category theory.  Let me try to summarise that.


Back in High school I think 11th grade, we had a small cute, and fun chapter called modern algebra. It’s one of those chapters, that left me with wanting for more. Very small simple chapter, but it was beautiful.  It defined groups, sets,operators, types and properties of a group etc..

Guess what? it turns out Category theory is just one level of abstraction higher.  While as i remember that ‘modern algebra’ dealt with sets (of numbers were the examples we used) and operators, Category theory deals with objects and arrows.  Note the vagueness of the definition of objects and arrows is on purpose.

If the object is a set and the arrows are operators we get a group.

If the objects are data types and the arrows are functions we get type system/theory from theoretical comp. science.

<More examples>

I am trying to think what if objects are distributions and the arrows are transformations? I can’t think of what area that would be, but would be surprised if it has not been studied formally.

Anyway, the fact that objects and arrows are not restricted does not mean there are no rules. there are a some rules for considering a <i don’t want to use the term set/group> collection of objects and arrows(hereafter called collection ) as a category as follows:

Ah, i missed one more thing so far . arrows are not just arrows they are mathematical morphisms/maps  defined between objects. at this point am thinking why this sounds very much like set theory and not really any different from sets and functions/mapping functions.   why the hell would i need yet another set of terminologies to master*

Any way, here are the rules for a collection to be considered a category.

1. the morphisms must be composable to achieve a associative relationships among the objects.

i’ll use u,v,w for morphisms and a,b,c, for objects.

i.e  if u: maps a to b, v: maps b to c, then u compositing v: maps a to c.



2. That composition function between morphisms must be associative itself.

i.e:  (u composits v) composits w = u composits (v composits w)


3. There’s an identity morphism I such that  for any u : maps a to b, I composits u = u composits I  = u.


*– Will get back to that later i need to read a lot more on the background, history, and some papers to understand why it is useful. but the wikipedia explanation is that it abstracts and unifies concepts many different branches of mathematics. While it sounds true, it’s rather vague(insert rant about perils of democratic editing/article writing), i want to see some actual theorems in Category theory being applied to some math area and helping improve it. Will write another post/update this once am done with that.

UPDATE: 11-Sep-2012: Seems i was rash commenting about utility of category theory. This link suggests a new revolutionary proof on prime numbers uses some concepts from category theory.







Fractals vs S/w programs

I have been trynig to read Fractal geometry since the start of this year(perhaps a couple of months earlier). Have been too lazy/distracted, but manage to pick it up about once a month or so.
I picked up the Fractal geometry book again, went through the basics of measure theory(which is where i was the last time i picked it up). First thought ok let’s apply these prerequisites for measures to measures, you already know are being used and see if they obey the conditions. (Length,weight both apply. ok now find something from s/w engg. you are a programmer not a physicist) Lines of code(LOC). Ok it obeys all three rules.

1.$ measure of null set == 0
2. measure of A1 >= measure of A2 if A2 is a subset of A1
3. measure of union of A1,A2,A3….An == sum of measures of A1,A2,A3…An

Now the lines of code metric does obey all these rules, i can see why it appeals to so many people. The hidden trick, the last rule gets tricky. how do you account for builtin libraries and their lines of code?? Then it struck me, you can get different LOC by calling some libraries builtin and not Lines of code. and more importantly, in terms of functions(not just code,but feature sets, or as in function point analysis,) the LOC varies. it all comes down to what level of abstraction you choose for your functions. And in that sense, sometimes programs can have a fractional dimension. And exactly in that sense programs are fractals. That means there needs to be level of self-similarity within a program/software. And the best programs/sw are the ones that have some self-similarity but also provide rich variations like Julia and Mandelbrot set as opposed to Serpinski triangle or cantor set.

Interview blunders.

Given, i have been attending some sequence of interviews over the last year or
so, here are my observations about what felt odd or failed about each of those.

0. Gzr jpjkvdj:
The tech round was a breeze, it seemed to me that the interviewer was
more nervous than me. And his questions were easy, for anyone who had
recently been reading up on CS theory. Next comes the weird part, i had
an interview with the PM for seeing how i fit?. I was asked about one of
my oldest project,importantly a rather vague question.I gave a very
short answer and that was the end of it.

1. vzdxcrnwc: Badly phrased question, what does python lambda function
return? Apparently the answer was a C function pointer.
2. bydautyd: rigid process that goes through asking java related questions,
even after i made it very clear, i have not worked on java in 5 years and only
learnt in training period before that.So by the time, the only question i could have done well on(one about a db design where you can expect a lot of graph traversals, i was too tired and just said i’ll us e graph-based db like hypergraph or bigtable. meh..Instead of actually asking questions like how much read vs write? Is there a redis-like cache mechanism i can use if there are a lot of read mechanisms?

3. Nameless chenai company*: right out told me that they are interviewing for a
different posting than the one i had applied for. Then asked me why i am
and then to convince them why i am interested, then said they are not convinced and after all that proceeded with the interview, which i was continuing only out of reflex and not
really interested anymore. So i my interview was downhill, i just blabbered whatever my pattern-matching part of the brain threw up to all questions.Result: when asked difference between soft-link vs hard-link i said no difference. I was actually remembering, what i had read about hash-bangs and some security vulnerabilities they used to have, but no more.

4. zuzivtkz : the interviewer calls me at the scheduled time, i pick up and say hello, only to hear the interviewer talking to somebody else. Basically instructing him to type ‘sudo ‘ from the shell prompt. Hmm..that’s odd.. we talk about my work experience and i repeat mostly what is in my resume(all the while getting annoyed at the repetitive nature of what i am doing). Later, he asks me to swap two integer values without using a temporary variable, i think for about half a minute, before giving up**. No i don’t want to work here.
5. gnkvsbefher (web service startup): After a telephonic discussion for about 10-15 mins about my background and experience, i was told, startups look for passionate people. And i don’t seem passionate about web development. *shrugs*

6.sgntfgsvnqjr: Now, i am beginning to grasp at those interviews, that i classify as gray areas rather than black/white(like/not-like) companies. i never had a technical interview, but got a call from the HR,(after sending my resume through a referral). After we did the standard dance of HR, asking random questions(most info from the interview, some not, this is standard practice to gauge how much the interviewee is bull-shitting, and is one filter employed by most recruiters), he says their interview procedure involves the candidate writing code first. I said ok, and then he tells me he’ll send a mail with two problems , for which i am to code up solutions(within 2 days or so) and after having their tech people look at it, i’ll be notified of further interview process. (At this point am thinking, dude, why not just get an account on interview street or something and ask the candidate to code solution to a problem live??). Anyways, i agree and end the conversation. Later, he sends the mail with two problem descriptions(clearly written by a business user ==> vaguely, phrased functionality, with implicit assumptions, i remember one was something to do with sales order, can’t remember the other.) My reaction, meh… still i was not in a position i could just ignore it, and saved it for to-do later and went on to do something interesting. Did think about it before sleeping that night a little, but never eventually got around to writing/coding up. There were so many implicit assumptions, i had to make that I couldn’t just excite myself up to write code for it.
7. zvaqgerr: Oh yeah, this one was one of the most annoying one. i had to communte an hour across the bangalore city to reach their office. Then, i am interviewed by a couple of people, who have my resume printed out and are clearly just going through the resume. So basically the interview went something along the lines of them looking at my resume, asking something random about that specific project i had done/worked on. I was irritated, but was polite. Anyway, at the end of the interview, i am told they were looking for someone with hands-on experience. What the fuck?? you couldn’t have seen the resume before? This was my first trigger to decide am never interviewing in person without a phone screen. As much as companies do a phone screen, i’ll also employ a phone screen. my filters are not likely to be very good, but i don’t want to be wasting my time either. So much for looking for expertise and the companies complaining about not finding good quality hires. All the other companies, i avoided right at the phone screen rather efficiently.

A job is a two way contract or agreement to exchange certain commoditites(attention + skill + time for money). I don’t care if you’re trillion dollar turnover MNC or a hot-shot startup with a million dollar seed funding round. If your recruitment process doesn’t seem to value my time, don’t even bother.

Update May 15: I realized it may not be a good idea to name the companies directly, so used rot cypher on them.

P.S: All of these were interviews that happened atleast 1.5-2 years ago(during early 2011), things must have changed, people must have changed.
* — Forgot the name. not my current company, am not stupid enough to publish a
review of them yet. :-)

** — I know, it’s a simple a = a+b b = a -b a = a-b. But by the time, we went to that question, i am already desperate to get out of the interview and have the call end, that i didn’t recognize the question at all.(i.e: my brain’s pattern matching module did not run and was on strike by the time we came to that Q.)

Redefining Literacy

Brilliant article on literacy. I can get used to that hope. This is also the reason, I am considering an mba. :-)

the collation of reading and writing with exposition and composition of text has caused a value bubble in literacy/school/workplace.
Currently the market for exposition and composition/condensation is rarefied and non-existent and definitely paid less than many other professions and probably less than even what people good at exposition and compositions/condensation would prefer.

For evidence look at teaching as a profession and those who do it and more importantly the motivations behind those professors and teachers.


One example of the same author and ribbonfarm blog is this post . Here he’s clearly expositing ideas more abstract the original Morning is wiser than evening proverb. He not only goes all meta , but constructs a good loosely coupled arc of quite a few concepts and posts he blogs about. And that last part is what makes me go back to his blog regularly, it’s very compelling story-telling. There are times, i hate his dense, writing style, because am not interested in all the cognitive work required to decipher the implications and end up speed reading, but keep going back to his blog for that coherence in his blog posts.

Some of them are very loosely coupled, some are tight, but most importantly they(blog posts and ideas in them) are like legos blocks, you can go back read, disassemble and reconstruct. I have come to believe that the dense, writing style is a necessary condition for this style of story-telling and rather very essential. Infact, I believe my preference for simpler, technical manual style writing is what stops me from becoming a better story-teller. The reason i believe this dense style is essential, is it allows the author write more in lesser time and more importantly, write about naturally complex/conflated ideas, without wasting too much time simplifying and disassembling them.

Ever since i read about cognates here . I have been obsessed about it and now that’s word that comes to mind to replace the legos block analogy with a new term. Unfortunately, reading about it on Wikipedia only makes me feel that the definition is very narrow. Perhaps that’s a good thing from the linguistics viewpoint. To me, the definition of cognate is: a summary of neurological states. In that context, i would say, language is a tool for transferring/transmitting/communicating cognates from on living being to another. And perhaps, that’s one of the reasons we have so many conflicts and issues in interpersonal relationships. As the material wealth gets mass produced more and more the lack of ability to transfer/communicate cognates becomes more and more evident.

And the culture of learning and repeating accurately comes in the way of expositing and condensing cognates from and into words. Infact it trains us to not do that at all or as that being a waste of time.

In a discussion among colleagues about how technology is moving faster and faster reducing the physical proximity to a computing electronic device, a colleague mentioned, how there’s no more need for explaining/recollecting experiences of a movie incident or something. But instead new tech, makes it easier to just look it up and show. It struck a point home. about this literacy point. We are not only moving away from practice of exposition and condensation of verbal stuff, it’s become a vicious cycle of driving tech to avoid the same. For a few of us who grew up reading, re-reading and dreaming on free time, It sounds a bleak and scary future. The story-tellers and raconteurs are getting more and more rarefied. Either they are being made obsolete by technology or are being reduced to specific style of story-telling(lot like “One hundred years of solitude”). fast paced very little exposition, more closer to the recording of events than any exposition or condensation. I just hope atleast condensation has survived, but am not expert enough to judge that.

HclStore fuckups

Never use to buy anything. They are a non-functioning organization. Here’s why:
1. Once you order(on 7th of april) you get an email invoice that has all the columns(order no,,date,name etc…) but all empty. Their invoice generation program is broken.
2. If you call up the sales team,(on 9th of april).they assure me it will be shipped within 7-12 working days.
3. I check the card statement(around 15th of April)  and find it has not been billed. So assume it’s a failed order (even though the account still shows a successful order and shrug. stupid me should have called up the bank and cancelled the transaction.)
4. Month end arrives and i see i have been billed on 18th of April for the first EMI.So I call up the sales team, they redirect you to some invoice team no, which seems unmanned. i.e: nobody picks up
5. I ask the sales team how do i cancel, and they say send a mail. I do so (30th April).No reply(as on 2nd May). Now am stuck. I guess this is one of those cases where, i’ll have to go to the consumer court to reverse the transaction. Darn it…. stupid me..
6. I called up the only number i could reach and he says, it’s up to the logistics department. they can’t do anything because the order is not in their system. i say okay, just transfer me to your logistics department, don’t ask me to hang up and call another number. He ignores and says, sir you’ve sent an email right, they will cancel.just send another email, i ask how many times i have to do that and he hangs up.. SOB.. hangs up on me ..$%#&$

7. I send an email to on(30th April and  2nd may) about cancelling the order and reminding them. No response

8. And I send another reminder mail with a link to this blog post and cc it to today(03-May-2012). Finally they call up from the logistics department telling me the courier guy could not deliver it whenever he tried and asking me if the address is right. I tell them, am not interested anymore and can you please cancel the order. Ofcourse, they apologise for the delay deeply and ask if they can make up for it by giving a gift of a pair of external speakers(worth 3k). I say, no thank you, i have gotten ahead and got a laptop already, so i don’t need an extra one. Please cancel the order.  They confirm i have sent an email and promise to do the same and call me back tommorrow.

Phew…. It feels like a huge relieving victory. And as much of a relief as it  is from the anxiety over the last month, it concerns me that i have to jump through so many hoops to just get something that i think should be called basic business etiquette.


python interpreter vs lisp interpreter

I recently remember reading python is not similar enough to lisp, because the intrepreter doesn’t give you the internal data structure but strings. While this was a theoretical idea at the moment ran across today.

>>>from django_auth_ldap.config import LDAPSearch

I am basically poking around this django_auth_ldap module to figure out how to get it to work with my django app. right now it’s throwing an operation error: need to perform bind before this operation(cn lookup).

Here i import this class and test some functionality of this django_auth_ldap module and see how it works for me..

At this point, am sick of searching for the error message on google and getting meaningless results that don’t solve my problem..Also nobody currently on the #django irc channel seem to know or are interested.

Time to Read the source. Ok let me see where’s the codebase in my unix directory structure..(Yeah, i don’t follow one single way of getting packages installed, just do whatever works.. i know bad practice yada yada… but hey, am lazy and haven’t crossed the tipping point to find this behaviour more work than the recommended best practice :-))

>>> LDAPSearch.__file__
Traceback (most recent call last):
File "", line 1, in
AttributeError: type object 'LDAPSearch' has no attribute '__file__'

Uh.. oh LDAPSearch is a class not a module

>>> help(LDAPSearch)

>>> LDAPSearch.__module__

Ok, i can get the module using this let me see… if i can get the file from it too.

Traceback (most recent call last):
File "", line 1, in
AttributeError: 'str' object has no attribute '__file__'

Oh.. crap… the .__module__ returns a string and not a module object.. If only..

Well.. this probably won’t work.. still it’s only a couple of keystrokes away… No point trusting when you can test easily(empircist)

>>> eval(LDAPSearch.__module__).__file__
Traceback (most recent call last):
File "", line 1, in
File "", line 1, in
NameError: name 'django_auth_ldap' is not defined

Ah…. now i want python to be more like lisp*… i don’t want just the module name as string i want the module object to be accessible….

*– even though i don’t know lisp :-P

Overestimating the Short-term vs Underestimating the Long term

Venkatesh Rao
refers to this quote by Roy Amara

“We always overestimate the change that will occur in the next two years and
underestimate the change that will occur in the next ten.”

Anecdotally it’s true and Venkatesh hypothesizes that this is because
even though we(our brains) are comfortable with arithmetic, they are
handicapped when it comes to exponential thinking.

Now this stuck me as a testable hypothesis. Atleast as far as the number
arithmetic goes. For the exponential thinking, it gets more muddled.
By context we do get a sense of what he means, but trying to measure it is a harder task.

And another thought is the question of actionability. I know it’s a management
buzz word, so use affordance instead, if you prefer,but the point am trying to make here is, we humans are biased towards
calculations/predictions that allow us to make clear actions. In some ways,
this can be equated to the fear of the uncertain.Evolutionarily it seems common
sense to assume a roar that sounds like a tiger to be a tiger, while a flower
that seems to be that of an edible fruit doesn’t make any immediate action
possible and has the potential to be a pain(imagine a poisonous plant ) if you’re wrong.sure,it might also be a useful fruit, but there’s a waiting time involved. So overestimate the
short-term negative potential and underestimate the long-term positive
potential. That way you can take evasive action.

Not sure evolutionary biologists would agree with that reasoning or not.Please chirp in if you are one.

On the other hand, the first thing that it reminded me is of
Kahnemann-Tversky’s prospect Utility theory.

And just jumping the gun to the next part i found interesting is that
free-association comment. I haven’t really tried just-add writing till now,
because i have wanted structure in my writing and unstructured writing disturb
me.Anyway, it seems to be true free-association is necessary, but also it will
be hindering the reader if it’s too free (Think flight of ideas which incidentally is a symptom of schizophrenia). I remember reading Virginia Woolf and
found that writing hindering. On the other hand, Douglas Adams employs this
free-association(although in a limited sense), but he uses it in a very
satirical manner.

P.S: I was curious about his motif being more general comment(I thought outside music it was just a metaphor,but was wrong) and looked it up. Turns out it just means something that occurs repeatedly and is salient. Or as merriam-webster puts it “usually recurring salient thematic element” interestingly it originates from french “motive” A whole interesting post can be spun on the roots and it’s current meaning(i.e main repeated theme in a music.).