Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kennu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
571.
▲
by
kennu
17y ago
I agree. I think Django's model system is a good example of when metaclasses can help a lot. It's essentially a domain-specific language that overcomes some of Python's limitations, such as remembering the order in which class attributes we
572.
▲
by
kennu
17y ago
I tried to build a solid web platform on PHP and Zend Framework for a few years. It proved very difficult. PHP doesn't provide much structure to build on. On the other hand ZF is overkill and slow with its massive class hierarchies and comp
573.
▲
by
kennu
17y ago
I think this proves enough about the complexity (from Lift tutorial, how you create a new project): mvn archetype:generate -U \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-blank \ -DarchetypeVersion=1.0 \ -
574.
▲
by
kennu
17y ago
Am I the only one who finds those "cool" Bing background pictures very distracting? I think Google has it right. Users want to search so just give them the search by default. No extra crap needed until you actively ask for it.
575.
▲
by
kennu
17y ago
My advice was selfish. I run a personal server that is IPv6 connected, and sometimes web frameworks will break because the author tried to store e.g. REMOTE_ADDR in a VARCHAR(16) column. So I would like to promote the fact that IP address !
576.
▲
by
kennu
17y ago
The "Store IP addresses as UNSIGNED INT" hint is a really bad idea. The application will break on IPv6 connected servers. The same applies to storing IP addresses in a very short field like VARCHAR(16). It's better to just use VARCHAR(254).
577.
▲
by
kennu
17y ago
A zsh article from 2007? Come on! I even commented on it before realizing it's ancient stuff.
578.
▲
by
kennu
17y ago
MacBook, never power off. Just close the lid while travelling.
579.
▲
by
kennu
17y ago
Git is much nicer, because everything is in one .git directory and it can be kept outside the public webroot.
580.
▲
by
kennu
17y ago
It was a good article 3 weeks ago when it was featured on other sites. I dislike reading (slightly) old stuff in Hacker News.
581.
▲
by
kennu
17y ago
I usually watch tv or movies on my iMac's secondary screen while coding in vim on the primary. Most of the time it's not distracting. If it is, I switch to techno or trance on iTunes to get into the flow. However, when reading books, I am u