HNHacker News
TopNewBestAskShowJobs

dknight

16 karma · joined July 22, 2010

submissionscomments
dknight··on Are Rails and Django communities re-inventing the wheel?
Wow. I am interested to know how C is reinventing the wheel. Do tell us more about it.
dknight··on Are Rails and Django communities re-inventing the wheel?
It might not be wise to go back to bloated JEE. However, it would certainly be unwise to leave the knowledge behind. People working in Rails and Django applications need to learn those important lessons. It can save them from a lot of common pitfalls. I have seen people using a large number of servers for Rails applications while similar load is handled by less half their number of servers using Java.
dknight··on Are Rails and Django communities re-inventing the wheel?
I am not against fat models. However, the point of separating code into tiers makes it cleaner. The author does approve of concerns. His point is models are becoming too fat over time and people need to follow techniques like concerns and use cases to take out business logic. Essentially something already well known in other platforms is unknown in these communities.
dknight··on Are Rails and Django communities re-inventing the wheel?
yes exactly.

It is really sad sometimes.

dknight··on Are Rails and Django communities re-inventing the wheel?
Model classes in Rails inherit ActiveRecord::Base. So, you can call a class method like update_all which is equivalent to an update statement on the table.

'Models could have 0 code of working with database and business-logic only' Well the business logic creeping in is one of the issues here. That is why there are attempts to separate out the business logic as in case of the use of /app/use_cases [refer to the link of use cases in the article].

dknight··on Ask HN: Any Christmas releases from the Ruby Community this year?
I would to have a surprise release.
dknight··on What is happening to Linux?
I can't figure out the reason for this though I do not refute the statement.
dknight··on What is happening to Linux?
Yeah, even I keep looking at distrowatch from time to time and I agree that some time ago many distros were showing growing popularity. However all the distributions going down in popularity at the same time surprised me.
dknight··on Linux Mint: The new Ubuntu?
http://news.ycombinator.com/item?id=3225931 The author was unfortunate to have his post deleted by mistake.
dknight··on Linux Mint: The new Ubuntu?
http://intosimple.blogspot.com/2011/11/decline-of-ubuntu.htm...
dknight··on A rather cross-platform bug, eh
Ask me here or on the Arch bug page (preferred as I will be notified) and I shall provide all details you might need. For starters, I have BCM4311 card and use broadcom-wl driver, i.e. the open source driver released by Broadcom.
dknight··on Arch Linux – "It is what you make it"
I agree to this. Arch has been out there for long enough; but it has been lean. To exemplify: it does not provide packaged Broadcom wireless drivers. You have to compile them yourselves.
dknight··on Arch Linux – "It is what you make it"
A friend of mine did so too, on my suggestion. I have been using Arch for more than two years. I disagree that pacman is an outstanding package manager. It is very good though. You should try portage on Gentoo. I used Gentoo before going for Arch. I still have Gentoo and whenever I want a system to be stable for long time, I will use Gentoo. I use Arch because it is bleeding edge. From Gentoo I learnt so much that Arch practically had little less to offer. For a comparision check http://intosimple.blogspot.com/2011/09/arch-linux-my-perspec...
dknight··on Tweet Visualization in World-Map Heatmap Form
Even when I open only this site in my browser, within a while it uses >90% cpu time and soon rises to 100%.
dknight··on Tweet Visualization in World-Map Heatmap Form
Same configuration here; but buttons work fine for me.
dknight··on Truly decentralized bittorrent
How is it different from DC++?
dknight··on Truly Decentralized BitTorrent Downloading Has Finally Arrived
How is it different from DC++ application wise?
dknight··on The Top Idea in Your Mind
I had a similar realization recently. I was in the toilet and was preoccupied by thoughts about some trouble at the bank. Well I was having a host of issues and very less time to solve all of them. After having a turmoil for a few minutes, I told myself that I can take more and suddenly my mind was calm. My mind was no more centred around the issues and the topic had changed to something else.

I believe the process of thoughts is quite usual; but the process of meta-thoughts could be more powerful.