Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mkhattab
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
mkhattab
14y ago
As an Egyptian, this is seriously bedan[1]. Though it's not surprising that some people would do something like this, the article doesn't provide much context/information. I could provide many personal anecdotes of people cutting telephone
62.
▲
by
mkhattab
14y ago
You're right, if only if it was just pissy temper tantrums. But a person, with a wife and kids, lost their job and quite possibly their livelihood. You could say that it was ultimately his fault for making such jokes but as many have alread
63.
▲
by
mkhattab
14y ago
> There's a performance penalty to using Python, too. I agree, but if it wasn't for the fact that using dict() is six times slower than using literals then it wouldn't make much of a difference arguing code style [1]. > (By that l
64.
▲
by
mkhattab
14y ago
I think {,} is intuitive because it reminds me of syntax for one-element tuples, e.g. (1,) -- but it may make code harder to read, which is not Pythonic.
65.
▲
by
mkhattab
14y ago
I also prefer the dict() function as well as JS object literals but it's too bad there's a performance penalty to using dict().
66.
▲
by
mkhattab
14y ago
> Is there any total noobs guide to automated deployment? Everything I have seen to this day assumes some knowledge of sysops and the whole ecosystem of that specific deployment tool (e.g. like it assumes I knew what is a 'cookbook', or
67.
▲
by
mkhattab
14y ago
> I can't speak for Chef/Puppet but I tried in the past to incorporate Fabric into my workflow but I couldn't find a fabfile that worked out of the box [...] You should think of a fabfile as a glorified shell script (or Makefile). So, i
68.
▲
by
mkhattab
14y ago
Did anyone else get an email saying you're one of the 4% of users that exceed 40 hour monthly usage? Can't believe it's only 4%. (listening to Pandora now).
69.
▲
by
mkhattab
14y ago
One of the problems I see with this is that a Republican is leading the charge on this rather than a Democrat. And because Rand Paul says a lot of stupid things, as do most Republicans, I think many people will dismiss this as partisan poli
70.
▲
by
mkhattab
14y ago
I like the Boxee Box remote, which has a QWERTY keyboard on one side of the remote, which is a better solution than having an on-screen keyboard.
71.
▲
by
mkhattab
14y ago
Actually the remote uses Wifi-Direct. I wonder if this device supports Android wireless display, which would be cool.
72.
▲
by
mkhattab
14y ago
Speaking of feeling old, I can barely see the light gray text at the footer and in some of the sub-headings.
73.
▲
by
mkhattab
14y ago
Unit testing Django applications has been a source of pain for me. Writing functional or acceptances is ok using Django test client, although many recommend using WebTest, which is nice but slow if you're going to write hundreds of them.
74.
▲
by
mkhattab
14y ago
Interesting that you quoted an outspoken racist and anti-semite. I'm guessing you believe in a "clash of civilizations" existential conflict between Muslims and Westerners, right?
75.
▲
by
mkhattab
14y ago
I think his main point is that while this country has risen above racial denigration and there are consequences to racial hate speech, there aren't any to religious hate speech. Also, free speech is restricted if it is directed to lead to
76.
▲
by
mkhattab
14y ago
I like Hamza Yusuf's take on this matter [1], regarding free speech in the Arab world and in general. I think this is a stupid move on the part of the government. It's making them look like clowns and easily manipulated simpletons. [1]: ht
77.
▲
by
mkhattab
14y ago
This book has interactive code examples and is endorsed by Brendan Eich which is cool, I guess. http://www.amazon.com/review/R31YJRU8MO6FD4/ref=cm_cr_dp_tit...
78.
▲
by
mkhattab
14y ago
> Cleaning the data - This takes time and it can be annoying. Have you tried using Google Refine[1]? It's an excellent tool for cleaning datasets and a useful addition to your workflow. I was miffed I didn't know about it when I had to
79.
▲
by
mkhattab
14y ago
Google Refine (now Open Refine) [1] is something that is also useful for data analysis and munging. [1]: http://code.google.com/p/google-refine/
80.
▲
by
mkhattab
14y ago
> Oh man, this tugs on all sorts of sentimental DOS strings. Especially that first phrase about people under 30 not knowing what DOS is. I'm under 30 (28) and I still remember DOS and breaking (running arbitrary commands on) my Dad's wo
81.
▲
by
mkhattab
14y ago
They do sell SIM cards, I was at a T-Mobile store yesterday. I don't understand the rationale for selling SIM cards in-store at 20 times the cost of buying online.
82.
▲
by
mkhattab
14y ago
It's interesting to note that the number of patent cases in East Texas quadrupled from 2003 to 2004, from 14 to 59 cases, then increased again to 236 in 2006 [1]. Is there an economic benefit for the citizens in that district? [1]: http://e
83.
▲
by
mkhattab
14y ago
Yes, however you can order the (micro, if applicable) SIM activation kit online for $0.99 and free shipping. If you can't wait then your only option is picking up a SIM card kit from a T-Mobile store for $20.
84.
▲
by
mkhattab
14y ago
I think this is unrealistic considering technical debt involved in any codebase. There is an example of what you described, specifically a company that rebranded Blender, renamed it to 3DMagix. I guess the companies you're describing are mo
85.
▲
by
mkhattab
14y ago
If those libraries were abandoned by the community then the significance of taking the library closed by some company that needs to maintain its legacy codebase is probably minimal or irrelevant.
86.
▲
by
mkhattab
14y ago
I like ESR's opinion on reciprocal licensing like the GPL and that is the market punishes those companies that take the source closed. In-house forks are probably hacks that contain specific business logic or minor enhancements. ESR best ex
87.
▲
by
mkhattab
14y ago
I agree, the responses are much worse that was originally said. There's also the expectation that you'll suck it up and deal with it which betrays the purpose for reacting against what you said in the first place. Oh, you missed the tweet,
88.
▲
by
mkhattab
14y ago
Well, this is a good response time from Github I guess. Unfortunately, I wanted to show my friend how ridiculous some people track their private keys in their repos and didn't make it in time :( On a positive note, Google still indexes thes
89.
▲
by
mkhattab
14y ago
No, some of these repositories are user's dotfiles. See this for example, https://github.com/gomachan/dotfiles There are many examples like this.
90.
▲
by
mkhattab
14y ago
It's probably more like: $ git add . $ git commit
More ›