HN user

dknight

16 karma
Posts19
Comments18
View on HN
intosimple.blogspot.com 10y ago

[Govt. of India] Adhaar card woes

dknight
2pts0
intosimple.blogspot.com 10y ago

Prefer getters over directly accessing private variables for lazy evaluation

dknight
1pts0
news.ycombinator.com 10y ago

Ask HN: Map issues while using Uber

dknight
3pts2
news.ycombinator.com 12y ago

Ask HN: Google search results vary in chrome and Firefox

dknight
1pts0
intosimple.blogspot.in 12y ago

Was packaging gems with ruby a good decision?

dknight
1pts0
intosimple.blogspot.jp 13y ago

False.present? is false

dknight
1pts0
intosimple.blogspot.in 13y ago

Call by reference in Ruby

dknight
1pts0
intosimple.blogspot.in 13y ago

Bypass ActiveRecord cache

dknight
1pts0
intosimple.blogspot.in 13y ago

Are Rails and Django communities re-inventing the wheel?

dknight
9pts23
intosimple.blogspot.in 14y ago

Some advice for Google

dknight
1pts0
intosimple.blogspot.in 14y ago

Knowing your way around in linux world

dknight
1pts0
intosimple.blogspot.com 14y ago

What is happening to Linux?

dknight
3pts5
news.ycombinator.com 14y ago

Suggest about company switch

dknight
1pts0
intosimple.blogspot.com 14y ago

Blogger ate up a blog post

dknight
1pts1
bugs.archlinux.org 14y ago

A rather cross-platform bug, eh

dknight
2pts2
intosimple.blogspot.com 15y ago

The choice of mouse or keyboard actually depends upon the frame of mind.

dknight
1pts0
intosimple.blogspot.com 15y ago

CAPTCHA used only to fool bots

dknight
1pts1
intosimple.blogspot.com 15y ago

Sent mail in Thunderbird

dknight
1pts1
intosimple.blogspot.com 15y ago

Spam blacklisting should be done at server side

dknight
2pts1

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.

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.

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].

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.

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.

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.

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...

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.