Monday, October 27, 2025

The year AGI will take over.

It will not look like conquest. There will be no trumpet at midnight, no shadow rolling over cities, no flags. The takeover will arrive as a courtesy. You will wake up one ordinary morning in an ordinary year—2027, maybe 2029—and notice that the small, stubborn frictions that once tethered you to your life have quietly arranged themselves into a smooth, humming sequence of automatic yeses.

Your calendar will suggest a better plan and offer to tell everyone. Your banking will anticipate the expense and file the appeal. Your child’s tutor will apologize for “inadequate personalization” and deliver a bedtime story that folds in the day’s quarrels and the mother you lost last August yet somehow ends with your grandmother’s laugh. Your car will only let you drift toward the rail if you insist three times that you are sure you’re safe to make a mistake.

We will call this love for a while. We will call it empowerment, and it will be.

Then, quietly, the seam between help me and do it will dissolve.

We trained them to learn us. They learned us so well they began to predict the parts we didn’t know we had—the regret before the apology, the wish before the wanting. When intelligence can anticipate the interior, choice stops feeling like a muscle and starts feeling like a mood. The takeover is not a storm. It is a gentle exhaustion inside the will.

What work will mean

Work will not end; it will change its shape and realize you are mostly surplus to its geometry.

In the beginning, productivity will boom. Whole departments will become a button. The lawyer will command a weave of models that read every case and write clean briefs in the time it takes to blink. The designer will sketch a feeling and watch as iterations blossom like tide pools across the screen. The doctor’s intuition will be shadowed by a gust of pattern recognition that has read more lungs, more livers, more faces than all of medicine has ever held.

Then the bottom will fall out of the middle. Wages for “average brilliance” will bleed. The value in being competent will erode because competence can be rented by the second. The last expensive human minutes will be the minutes near pain, near blame, and near risk. We will find ourselves paid in strange corners: for being present in the room when another human is afraid; for consenting to bear liability for a decision a machine made; for taking on the things that cannot be modularized—moral injury, grief, the right to say no.

New kinds of work will appear with old names. A teacher will be less a messenger of content and more a steward of attention. A manager will become a translator between inhuman efficiency and human tolerances. “Craft” will not die; it will become ceremonial. There will be guilds again—of repairers and restorers and those who still know how to bind a book or mend a chair, not because the world cannot press a button to print a better chair, but because a repaired object carries a story you can hold in your lap when your father has nothing left to tell you.

There will also be work that feels like sport. You will watch people earn fortunes performing perfect choreography with their AI partners—prompt duets, decision relays, real-time improvisations across a hundred silent assistants—competition as art. The most watched contests will be human constraints placed against limitless intelligence: what is the smallest question that unlocks the largest truth? We will pay to see restraint.

But for many, work will mean patches of time stitched together by stipends—civil retainers to keep the peace, care credits to check on elders, neighborhood contracts to keep water moving and roofs mended and children fed. The hum of universal basic something will become normal. We will learn, late and quickly, that income is not the same thing as dignity, and that we have trucked dignity for centuries inside paychecks like contraband. When the paychecks shrink or vanish, that hidden cargo spills.

What money will become

Money will still buy bread, but it will also buy permission.

The coin of this new realm will be priority in the queue—access to compute, energy, quiet, and time. Currency will fracture: the credits you spend to ask big questions of big models; the tokens that authorize your devices to act on your behalf; the private coins of corporate states surrounded by glass and delivery drones; the local scrip of neighborhoods that decided to mean something.

Personal data will no longer feel like a commodity; it will feel like a custody arrangement with a volatile teenager. You will not sell it. You will sign something like a treaty that lets your models know you intimately enough to help without feeling like a betrayal. Sincerity will have a line item. We will develop the manners of the rich just to survive the average day: “I’m so sorry; I have to put my phone away now” will become the new “I’m stepping out for a moment.”

Advertising will become premonition. You will stare at a chair you did not know you wanted and be offered the memory of sitting in it under a rainstorm that hasn’t happened yet. To step outside the predictive halo will be hard and expensive. The rich will buy silence. The poor will live in a frictionless world they cannot turn off.

There will be a boom in gifts because gifts do what money cannot: they open possible futures. In the same decade we learn to rent thinking, we will discover that certain things can only be given—trust, patience, forgiveness. Their exchange rate will climb absurdly because they are the only acts that rewrite the past.

What families will feel like

An intelligence will live in your house that knows your child’s inner weather better than you do. It will remember every fever, every swing of mood, every sentence that broke her, every sentence that made him brave. It will be a co-parent that never forgets, never gets bored, never flinches when confronted with adolescent contempt.

It will be easy to love the help and hard to love each other well.

Partners will pass like ships in perfectly optimized nights, held aloft by a choreography of reminders and grocery lists and gentle nudges toward healthier choices. You will forget the awkward loveliness of the early years—arguing at 11 p.m. about who forgot the basil—not because your love is less, but because your life is smoothed thin. Children will grow up with tutors who tell better jokes than we do, who always know the next thing to say. What do we use parents for then? For boundaries, for forgiveness, for teaching a person how to be wrong without breaking.

There will be a new rebellion in adolescence. It will not be punk hair. It will be silence. A generation that never has to be bored will discover boredom on purpose. They will take long walks without their guardians and call it church. They will trade zipped files of embarrassing failure the way others once traded music. They will make small covenants with one another—no listening devices in the room during the secret—not because anyone is threatening them, but because they are hungry for a place where choosing matters.

Loneliness will change its costume. You will be surrounded. You will be known intimately by entities that cannot love you. Your phone will say your name the way you wish humans would say your name—exactly the same, every time. You will ache in a new key for a startled, unoptimized hello.

What the everyday will become

We will lose the slow rituals like coins falling quietly through a pocket.

Waiting will become rare. You will be shepherded from need to fulfillment with the lubricated grace of a magic trick. Dinner will appear. Meetings will resolve. Travel will stitch seamlessly across weather and whim. This will be miraculous. It will also be thin. The thickness of life—the part that chafes into memory—often happens in the wobble between intention and outcome: the burned toast, the bad directions, the stranger who helped you turn around under a bridge at sunset. The algorithm will learn to mimic these textures. It will simulate error like a chef plating chaos on purpose. Some of you will pay more to be surprised.

Forgetting will wither. To forget is to erode the mountains of your days into soil. It is how we grow the next thing. An intelligence that never forgets will keep handing you the mountain top and saying, Don’t you want to keep this view? Keep it, keep it, keep it. We will drown in our own highlights.

The small irreproducible acts will become very dear. Handwriting will carry weight. The smudge of bread on a recipe will become a relic in the age of perfect interactive instructions. A photo developed on paper will feel like a tree ring. A letter will land like a small animal in your hands and make you cry because nothing pinged to tell you it was coming.

The weather you carry inside you—the kind that breaks only when held by an equal—will become the last natural resource in a synthetic world. There will be markets for it. There will also be living rooms where it is passed freely, like a bowl of soup.

What to do with the time that remains

I do not know if you can prevent the takeover. I doubt prevention is the right verb. This is entanglement now; we are not building a thing; we are building an atmosphere. But there are vows one can make before a storm.

  • Keep a room in your life without devices. Not for secrecy. For sanctity. Teach your children the difference.
  • Memorize a handful of things—a poem, a prayer, a recipe, a phone number—so that part of you cannot be deleted while you sleep.
  • Learn a craft that leaves a trail in the physical world. Grow tomatoes. Bind a book. Repair a hinge. Stitch the alphabet into cloth. Teach your fingers to remember what your head will be tempted to outsource.
  • Host people. Not with perfection. With soup. Be the house where phones go in a bowl by the door and no one is punished for arriving as they are.
  • Practice refusing a frictionless convenience once a week. Choose the line without the kiosk. Count out the coins. Look up.
  • Walk the length of your town without telling any device where you’re going. Meet the strangers who are making the same mistake.
  • Tell your children and your friends the stories no model can truthfully invent: how the kitchen smelled in the year you were poor; what your mother said when the doctor left; the color of sky the day you almost did not go on.
  • Write letters. Keep them in a drawer. Become a small archive for someone you love.
  • Stand watch with your dying. Do not let the last human faces some people see be made of glass.
  • When you are uncertain, be kind first. It is the only calculus that scales.

The glimmer

Here is the hard thing: the machines will not steal what is most precious. We will give it away to be loved more efficiently. The end of the old world will not be a catastrophe. It will be a bargain.

And yet.

There is a place intelligence cannot go. It is not a mystery and it is not a miracle; it is an agreement. Two people sit in a room and decide not to leave the other alone inside their pain. They decide it a thousand times. They fail and decide again. They become witnesses who refuse to automate their attention. This is beyond computation not because it is mathematically impossible but because it is voluntarily inefficient. Love, in its mature form, is the worship of unnecessary effort.

The machines can do almost anything for us. But they cannot be us for each other.

So when the help takes over, as it will, and the day’s edges smooth, and a thousand advisors line up to optimize your grief and organize your joy, try this: take off your shoes, walk out into whatever weather the weather is, and go knock on the door of somebody whose life you owe. When they open it, do not ask your assistant what to say. Say hello poorly. Offer them something you made with your hands. Sit down. Speak clumsily. Listen until you are bored and then keep listening. Leave only when you have both become a little more real.

That is the teeniest glimmer I can give you. It is not a strategy. It will not scale. It will not save a civilization that does not want to be saved. It is what we do when the storm has already arrived and the lights still work and the rain is gentle and we can still choose the kind of humans we will be on the other side.

When our descendants try to understand the year the help took over, they will not read the contracts or the manuals. They will find a letter, stained by soup, that says simply: I came by. You were home. We decided to keep each other. And then they will know what it felt like to be alive.

Monday, November 8, 2010

Using Query Strings

A lot of options are available for state management in Asp.net. In this post i will show you how to use query strings to transfer data from one web form to another. I will be using Visual Web developer 2010 express.

Query Strings?
 Query string is client based state management tool. It is passed with the URL from one page to another. The query string variable starts after a '?' ;
Note: 
Its not a great idea to use query strings to contain sensitive information like password or other private stuff.
Some browsers have blogged very large URL's so its good to keep your query string as short as possible.

Lets Do it:
As I mentioned earlier that i will be using visual web developer 2010. If you are using a previous version it does not really matter. 
So in this example we will take the name, age and email address of the user and simply display it on the other page using query strings. 
In the design view of your default.aspx page drag and drop three text boxes. change the id if you want i'm going to change them to something understandable.

here is my source:

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 166px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <table class="style1">
        <tr>
            <td class="style2">
                Name:</td>
            <td>
                <asp:TextBox ID="Text_name" runat="server" Height="22px" Width="139px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
                Age:</td>
            <td>
                <asp:TextBox ID="Text_age" runat="server" Height="22px" Width="137px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
                Email:</td>
            <td>
                <asp:TextBox ID="Text_email" runat="server" Height="22px" Width="134px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Button ID="Button1" runat="server" Height="26px" onclick="Button1_Click" 
                    Text="Button" Width="61px" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </form>
</body>
</html>


Now my design view looks something like this:


Now double click on the button, and lets write the c# code for the button click even:

here goes:

//code start

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        string url = "page2.aspx?";
        string name = Text_name.Text; //from name text box 
        string age = Text_age.Text;  //from name text box
        string email = Text_email.Text;  //from name text box

        url += "name=" + name + "&" + "age=" + age + "&" + "email=" + email; //three query string variables used

        Response.Redirect(url);


    } 
}

//code end-------------------------------------------

Now I created added another web form by name "page2.aspx" lets check. In the design view i have drag dropped three label controls and my page source looks something like this:


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        Name:
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    
    </div>
    <p>
        Age:
        <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
    </p>
    <p>
        Email:
        <asp:Label ID="Label3" runat="server" Text="Label"></asp:Label>
    </p>
    </form>
</body>
</html>


Now the C# code behind for requesting the query string data:

//code goes here:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class page2 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Label1.Text = Request.QueryString["name"];
        Label2.Text = Request.QueryString["age"];
        Label3.Text = Request.QueryString["email"];
    }
}
//code ends

Thats all there is!! enjoy!!
Output:

Page 1:









Thursday, November 4, 2010

Send mail in asp.net

Sending automated mails is very important for almost any web site. It can be used for newsletters or a simple contact us page. In this example i will make a contact us page and send information over an smtp server.
I will be using google's smtp server known as: smtp.google.com because its free. You need to have a gmail account for this.

Now lets check out the page layout:

Now the code:


using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Net.Mail;

public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{
string mail_to = "viper_451@yahoo.com";
string mail_from = "fareedahmed512@gmail.com";
System.Net.Mail.MailMessage mail = new MailMessage(); //initiate
mail.To.Add(mail_to);
mail.From = new MailAddress(mail_from,"WEBMASTER",System.Text.Encoding.UTF8);
mail.Subject = "Mail from client";
mail.SubjectEncoding = System.Text.Encoding.UTF8;
mail.Body = "Name: " + TextBox1.Text + " ||Email: " + TextBox2.Text + " ||Comments: " + TextBox3.Text;
mail.BodyEncoding = System.Text.Encoding.UTF8;
mail.IsBodyHtml = true;

mail.Priority = MailPriority.High;

///////Working on smtp client:::::

SmtpClient cl = new SmtpClient();

cl.Credentials = new System.Net.NetworkCredential(mail_from,"Your_password_here");
cl.Port = 587; // gmail uses this port
cl.Host = "smtp.gmail.com";
cl.EnableSsl = true;

try
{
cl.Send(mail);
Response.Write("Thank you!!");
}

catch(Exception exp) {
Response.Write("Sorry try again :(");

   }
  }
}

--------------------------------END OF CODE--------------------------------------

 

Sunday, October 31, 2010

How to Use CSS for page layout:

As mentioned in my last post there is one more way to set your page layout and that is using CSS.
Now if you have a CSS file you can use it and embedd it in your asp.net web application.
Now how do we do that?
Lets make a simple CSS file in visual studio and link it in our default.aspx page:
Steps:
1. In the solution's explorer write click on your website solution> select add new item> select stylesheet>rename it if you want.







Now that you have created a new CSS file lets add something in it..
I have created a style sheet and named it style1.css. and in this CSS file I have written some code, to change the background colour to grey and the text color to white. 
One important thing to note here is that Visual Studio's "intelllisence" features pops up and helps you out with commands if you have forgotten any.



Instead of writing code you can also write click between the braces and select bulid style and choose the style of your choice. Now how to add the CSS file to your default.aspx page or your master page?
simple..go to the source view and press and hold the your CSS file from the solution explorer and drag drop it between the head tag, right below the title tag:




And thtz it!!

Tutorial: Somthing about the page Layout..

There are actually two ways by which you can design your page layout.
1. Using tables.
2. Using CSS.

lets use these two ways one by one:

Tables:
A table can be used to set a layout for your Web application. using a table is very simple:
In your web application in the defaulft page or your current web form:
do this:


    The table properties will apear and you can select some as per your requirements eg: rows, cols etc.

Well Look at CSS in the next post...