Social Networks, Please Steal My Idea

One of the major flaws of G+ and…  well, every social network… is not handling the case of a user re-visiting after a short period of time.  You end up seeing content you are very likely to have already seen, and practically nothing of interest. For example: Let’s say you’re an engineer working on a Sunday. You do some code typing, then start a build & test cycle which takes…

Read More

Elsewhere, other elses

Else clauses on loops?  What a country! (Since I mostly complain about python, I will clarify that I am currently of the opinion that it’s pretty neat. It most certainly could stand a better name. Also I suspect it’d be instantly confusing for non-python programmers, especially considering how easy it is to muck up flow in python because it’s based on whitespace.)

Read More

LendUp

I’m still disgusted that Google invested in LendUp, a predatory loan shark organization that takes advantage of people’s desperation or lack of financial knowledge to make usury loans. Their new “instant money” including the ability to borrow money from your mobile phone so a terrible choice is always tempting and only seconds away continues to show that this company, despite what they say, is not interested in helping people “climb…

Read More

Python lambda and iterations

Maybe it’s just too late, but this python behavior is confusing: arr = [1,2,3,4,5] def Foo(x): return x + 1 new_arr = [] for val in (lambda: Foo(x) for x in arr): new_arr.append(val()) print new_arr (will print [2,3,4,5,6]) —– new_arr2 = [] new_arr2.extend((lambda: Foo(x) for x in arr)) new_arr2[0]() new_arr2[1]() new_arr2[2]() (will print 6, 6, 6)

Read More