sql server row count of each table
declare @table table ( TableFqn nvarchar(100), RowsCount int ) declare @tableFqn nvarchar(100) declare @query nvarchar(max) declare @tableRowsCount int set @tableRowsCount = 0; declare @allRowsCount int set @allRowsCount = 0; declare tablesCursor cursor for select quotename(object_schema_name([object_id])) + '.' + quotename(name) from sys.tables order by object_schema_name([object_id]), name open tablesCursor fetch next from tablesCursor into @tableFqn while @@fe ...
Credentials type: User and password Biological aspects (retina scan, fingerprint) Credential requester types: Coherent Incoherent Credentials count per user: Many (results in password fatigue) Few Credential requesting cardinality: Many times One time Credential filling types: Full (username & password) Partial User agent's help (form auto-fill) Server's help (showing username, requesting password) <!-- 1) Many set of credent ...
using regular expressions to specify url publicity ...
For each incoming URL, we can have a hierarchy of regular expressions, and for each hierarchy, we can have a flag to determine public/private status. The last point (the leaf) would override all the parent's. For example, for these set of URLs: http://subdomain.domain.tld/path-segment1/path-segment2/path-segment3?key1=value1&key2=value2#framgment-identifier http://subdomain.domain.tld/path-segment4/path-segment2/personal-photos?key1=value1&key2=value2#framgment-identif ...
سلام. این جملات، جملات خودمه که در اثر تأمل و تعمق زیاد به ذهنم رسیده و عمدتاً اعتقاد منو تشکیل میده. دوسشون دارم، چونکه بهشون خیلی فکر کردم. لزوماً صحیح نیستن، اما ارزشمندن، بازم چونکه برای ایجادشون اصالت کوشش و جهد وجود داشته: ذهنیت کثیر، عینیت است اعتقاد، تضمین حق نیست شاید به اختیار بتونی یه چیزی رو شروع کنی، اما احتمالاً تموم کردنش تابع اختیار تو نیست آدم خودجوش (اندوژنیک) ممنون هست، اما مدیون نیست کسی که میبخشد، برتر و سرتر است
what you say vs what you dont say
What you say is important, but what you don't say is also important. Sometimes you don't say it, because of wisdom, but often, you don't say it, because of fear, and sense of guilt. But keep in mind that each moment of silence, each moment of not telling the truth, is a moment that empowers darkness and injustice. Listen to this amazing talk on TED.
what you want vs what you need
In some circumstances, what you want might not be what you need. Because, what you want is the outcome of your choice under free-will, usually based on instinctual desires (desires related to Mine, not I), and most of the time involves short-term reward. But what you might need is based on a desirable state in future, and can possibly be undesirable in short-term. Like many other things in life, taking the middle would work better. Sometimes want, sometimes let what you need to happen to you. ...
why revolution usually does not work
Because to destroy is easier than to build, and sometimes improvements is even harder. Revolutionists are angry about the current state, and they're right. The situation is not the way they want it to be. It's not tolerable. However, the main problem is not the current situation. It's more about the result. No one can guarantee that after revolution, things would become OK. People are alive by hope. They only hope that new waves come and things would become much more pleasant. But who can guara ...
jobs wont die
Many times I've seen papers, articles and TV shows talking about the impact that incorporating technology can have on the global job market and work opportunities for human beings. They bring forward examples of old workers being replaced with machines. They put this fear into our minds like "you're going to lose your job, hence lose your life in near future". But wait. Let's analyze the whole. Let's think about it. After all, we've been given a precious thing, called brain that can used in t ...
شاید طهارت فقط در مورد بدن نباشه. شاید قسمت مهم طهارت مربوط بشه به فکر. شاید وقتی که میشونیم الاعمال بالنیات، منظور این باشه که فکر طهیر باشه. طهیر خودش یعنی چی؟ طهیر قضاوتیه. هر قضاوتی یه چارچوب ارزشی میخواد. کی تعریف میکنه چی مطهر محسوب میشه و چی نه؟ چرا؟
proof that cosmos is faulty
This proof is made on the basis of pain and suffering. I define bad feeling, as a feeling that would not be chosen to sustain over time, under free-will. Based on that definition, we can see that this universe imposes many bad feelings, including pain and suffering on its constituent parts. For example, a motherless baby penguin being killed by baby-less mothers.