Posts

Showing posts from 2024

How Blockchain, IoT, and AI Are Shaping the Future of Digital Transformation ? ब्लॉकचेन, IoT और AI डिजिटल परिवर्तन के भविष्य को कैसे आकार दे रहे हैं?

How Blockchain, IoT, and AI Are Shaping the Future of Digital Transformation The combination of Blockchain, the Internet of Things (IoT), and Artificial Intelligence (AI) is changing how we use technology. These advanced technologies are transforming industries and creating a more connected, secure, and smart digital world. ब्लॉकचेन, इंटरनेट ऑफ थिंग्स (IoT) और आर्टिफिशियल इंटेलिजेंस (AI) का संयोजन यह बदल रहा है कि हम तकनीक का उपयोग कैसे करते हैं। ये उन्नत तकनीकें उद्योगों को बदल रही हैं और एक अधिक जुड़ी, सुरक्षित और स्मार्ट डिजिटल दुनिया बना रही हैं। Blockchain: Enhancing Trust and Security Blockchain is a technology that keeps data secure and transparent. It removes the need for middlemen, making digital transactions more trustworthy. For example, in India, the Andhra Pradesh government uses blockchain to prevent land fraud by securely recording land ownership. Cryptocurrencies like Bitcoin and Ethereum show how blockchain can make financial transactions secure and decentralized. ब्लॉ...

What Might Happen If AI Can Feel Emotions? यदि AI भावनाओं को महसूस कर सके तो क्या होगा?

Artificial Intelligence (AI) is already an integral part of our lives, assisting us in everything from booking a cab to diagnosing diseases. But what if AI could do more than just analyse data and execute tasks? What if AI could feel emotions? This possibility raises a host of intriguing questions and potential scenarios for the future, blending technology with the very essence of human experience. कृत्रिम बुद्धिमत्ता (AI) पहले से ही हमारे जीवन का एक अभिन्न हिस्सा है, टैक्सी बुक करने से लेकर बीमारियों का निदान करने तक। लेकिन अगर AI केवल डेटा विश्लेषण और कार्य निष्पादन से अधिक कर सके तो क्या होगा? यदि AI भावनाओं को महसूस कर सके, तो यह कई पेचीदा सवाल और संभावनाएँ उठाता है। Understanding Emotional AI To clarify, AI currently lacks the biological framework to genuinely "feel" emotions. However, researchers are working on developing AI systems that can simulate emotions, recognise human feelings, and respond in an emotionally intelligent manner. For example, AI like chatbots in cu...

The Growing Energy Demands of AI: A Global Challenge कृत्रिम बुद्धिमत्ता (AI) की बढ़ती ऊर्जा मांगें: एक वैश्विक चुनौती

The Growing Energy Demands of AI: A Global Challenge कृत्रिम बुद्धिमत्ता (AI) की बढ़ती ऊर्जा मांगें: एक वैश्विक चुनौती Artificial Intelligence (AI) has become one of the most transformative technologies of the 21st century, driving advancements in industries ranging from healthcare and transportation to finance and entertainment. However, the rise of AI comes with a significant, often overlooked cost: its growing energy consumption. As AI systems become more powerful and pervasive, the energy required to train, deploy, and maintain these systems is skyrocketing, raising questions about sustainability and the future of global energy policies. कृत्रिम बुद्धिमत्ता (AI) 21वीं सदी की सबसे परिवर्तनकारी तकनीकों में से एक बन गई है, जो स्वास्थ्य सेवा और परिवहन से लेकर वित्त और मनोरंजन तक के उद्योगों में प्रगति को प्रेरित कर रही है। हालांकि, AI के उदय के साथ एक महत्वपूर्ण, अक्सर अनदेखी की जाने वाली लागत भी आती है: इसकी बढ़ती ऊर्जा खपत। जैसे-जैसे AI सिस्टम अधिक शक्तिशाली और व्यापक होते जा रहे हैं...

Get Running Sum of Query SQL Query

 select RequestNo,FileName,PaymentStatus,count(0) as TxnCount,SUM(PaidAmount) as Amount ,SUM(SUM(PaidAmount)) over(Order by RequestNo) as RunningSum from Tbl_T_CommunityPaymentOnline where  IsDeleted is null and RequestNo>=131 and PaymentStatus='Inprocess' group by RequestNo,PaymentStatus,FileName

Create C# Model Using Query Postgre SQL

Create C# Model Using Query Postgre SQL Query : SELECT 'public',  CASE WHEN data_type='bigint' THEN 'int64' WHEN data_type='integer' THEN 'int' ELSE 'string' END ,column_name,'{get;set;}',data_type   FROM information_schema.columns  WHERE table_schema = 'public' AND table_name   = 'Tbl_M_RegistrationLand' Output : public class RegistrationLand {     public int LandRegsitrationID { get; set; }       public int KhataNumber { get; set; }     public string? owner { get; set; }     public string? khata_type { get; set; } } Generate Using View :  SELECT 'public ', CASE WHEN format_type(atttypid, atttypmod)='bigint' THEN 'Int64' WHEN format_type(atttypid, atttypmod)='integer' THEN 'int' ELSE 'string' END , attname AS column_name ,'{get;set;}' FROM   pg_attribute WHERE  attrelid = 'public.vw_applicationDetails'::regclass ORDER  BY attnum;

API Should not Externally Accessed from Postman / Browser Asp.Net Core | API Should be accessed from JQuery Ajax of Same Website Only Asp.Net Core 3 or Above

At Controller Validate Using ; [ApiAuthorize(new string[] { "https://localhost:7161/", "http://xyz.com" })]  public class FarmerRegLoginController : Controller { ----------------------- ----------------------- ----------------------- ----------------------- Some Controller APIS Code ----------------------- ----------------------- ----------------------- ----------------------- } Create New Filter       public class ApiAuthorizeAttribute : TypeFilterAttribute     {         public ApiAuthorizeAttribute(string[] origins) : base(typeof(ApiAuthorizeFilter))         {             Arguments = new object[] { origins };         }     }     public class ApiAuthorizeFilter : IAuthorizationFilter     {         readonly string[] _origins;         public ApiAuthorizeFilter(string[] origins)     ...

Skip/Offset Rows from Table Data Result in SQL Server/ Postgres / Pagination

Skip/Offset Rows from Table Data Result in SQL Server/ Postgres  this is most helpful in pagination of data SELECT col1, col2, ...   FROM ... WHERE ... ORDER BY -- this is a MUST there must be ORDER BY statement -- the paging comes here OFFSET 10 ROWS -- skip 10 rows FETCH NEXT 10 ROWS ONLY ; -- take 10 rows If we want to skip ORDER BY we can use SELECT col1, col2, ... ... ORDER BY CURRENT_TIMESTAMP OFFSET 10 ROWS -- skip 10 rows FETCH NEXT 10 ROWS ONLY ; -- take 10 rows