<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rakib Hasan on Medium]]></title>
        <description><![CDATA[Stories by Rakib Hasan on Medium]]></description>
        <link>https://medium.com/@meetrakib?source=rss-4af7cff2e288------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sFHfpIUMlL46Cv3TXQjOEQ.png</url>
            <title>Stories by Rakib Hasan on Medium</title>
            <link>https://medium.com/@meetrakib?source=rss-4af7cff2e288------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 13:46:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@meetrakib/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I Thought I Was Winning, Until I Realized I Was Lost]]></title>
            <link>https://medium.com/@meetrakib/i-thought-i-was-winning-until-i-realized-i-was-lost-23811ca5dff0?source=rss-4af7cff2e288------2</link>
            <guid isPermaLink="false">https://medium.com/p/23811ca5dff0</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Rakib Hasan]]></dc:creator>
            <pubDate>Wed, 17 Dec 2025 13:04:41 GMT</pubDate>
            <atom:updated>2025-12-17T13:04:41.366Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XBZRL0ICZcUdRgl0aA7Wbg.jpeg" /></figure><h3>Early Success Feels Like Arrival</h3><p>Early success in tech feels like you’ve arrived somewhere important.</p><p>You’re getting paid well.<br>People trust your skills.<br>Opportunities come without you chasing them.</p><p>I experienced this early in my career as a software engineer. What I didn’t realize then was that success can quietly take something away from you — <strong>direction</strong>.</p><p>Not overnight.<br>Not dramatically.<br>But slowly, over time.</p><h3>I Didn’t Plan This Career</h3><p>I didn’t plan to become a software engineer.</p><p>I learned Python in university for side projects and small freelance work. My original plan was different. But Python projects kept showing up. One client led to another. Small scripts turned into real applications. Then came production systems, startups, and leadership roles.</p><p>Before I fully understood what was happening, I was “successful”.</p><p>That word felt good.</p><p>Too good.</p><h3>When Success Stops Asking Questions</h3><p>Success has a strange side effect, it reduces urgency.</p><p>When you’re struggling, you ask questions constantly:</p><ul><li><em>What should I learn next?</em></li><li><em>How do I improve?</em></li><li><em>Who can help me grow?</em></li></ul><p>When things go well, those questions slowly fade.</p><p>I kept working. I kept delivering. I kept earning.<br>But I stopped being intentional.</p><p>I didn’t notice that my routines were disappearing.<br>I didn’t notice that my learning had become shallow.<br>I didn’t notice that curiosity was being replaced by comfort.</p><p>I was moving fast, but without a map.</p><h3>The Quiet Drift</h3><p>Losing direction doesn’t look like failure.</p><p>It looks like:</p><ul><li>Days blending into each other</li><li>Learning without purpose</li><li>Staying busy to avoid thinking</li><li>Surrounding yourself with people who don’t challenge you</li></ul><p>I mistook movement for progress.</p><p>From the outside, everything still looked fine.<br>Inside, something felt off.</p><h3>The World Didn’t Wait</h3><p>Technology doesn’t slow down for your comfort.</p><p>While I was distracted, the industry kept evolving. New paradigms emerged. AI accelerated faster than anyone expected. Skills that once felt solid started feeling fragile.</p><p>That’s when I realized something painful:</p><blockquote><em>I wasn’t behind because I was incapable.<br>I was behind because I had stopped paying attention.</em></blockquote><h3>A Moment of Honesty</h3><p>At a low point, I disconnected from almost everything.</p><p>One day, I found an old note I had written years earlier. It contained my goals, routines, and a clear vision of who I wanted to become.</p><p>Reading it felt like meeting a stranger I used to be.</p><p>That moment hurt, but it also clarified everything.</p><p>I hadn’t failed.<br>I had drifted.</p><h3>What I Learned From Losing Direction</h3><p>I learned that:</p><p>Success without discipline is unstable.<br>Skills without systems eventually decay.<br>Comfort is the enemy of growth.<br>Your environment shapes your future more than motivation ever will.</p><p>Most importantly, I learned that <strong>losing direction is reversible, </strong>but only if you’re honest with yourself.</p><h3>Choosing Alignment Over Speed</h3><p>Rebuilding didn’t start with motivation.</p><p>It started with structure.</p><p>Clear goals.<br>Daily routines.<br>Focused learning.<br>Better boundaries.</p><p>This time, I wasn’t trying to move fast. I was trying to move <strong>correctly</strong>.</p><p>I stopped asking, <em>“How far can I go?”</em><br>I started asking, <em>“Is this where I actually want to go?”</em></p><h3>Where I Am Now</h3><p>I’m still in tech. Still learning. Still building.</p><p>But now, I measure progress differently:</p><ul><li>By clarity, not chaos</li><li>By consistency, not intensity</li><li>By alignment, not applause</li></ul><p>Early success taught me how to build systems.<br>Losing direction taught me why those systems matter.</p><h3>Final Thought</h3><p>If you’re early in your career and things are going well, pause and reflect.</p><p>If you feel successful but restless, listen carefully.</p><p>And if you’ve lost your direction, know this:</p><blockquote><em>You don’t need to start over.<br>You need to realign.</em></blockquote><p>Sometimes, the hardest part of success is staying pointed in the right direction.</p><p>P.S: Follow me to learn from my real experiences. I’m sharing my journey publicly.</p><p><em>Originally published at </em><a href="https://www.meetrakib.com/blog/i-lost-my-direction-after-early-success-in-tech-heres-what-i-learned/"><em>https://www.meetrakib.com/blog/i-lost-my-direction-after-early-success-in-tech-heres-what-i-learned/</em></a><em> on December 16, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23811ca5dff0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[R ভাষায় কীভাবে SPSS এবং SAS হতে তথ্য ইম্পোর্ট করা যায়?]]></title>
            <link>https://medium.com/@meetrakib/r-%E0%A6%AD%E0%A6%BE%E0%A6%B7%E0%A6%BE%E0%A7%9F-%E0%A6%95%E0%A7%80%E0%A6%AD%E0%A6%BE%E0%A6%AC%E0%A7%87-spss-%E0%A6%8F%E0%A6%AC%E0%A6%82-sas-%E0%A6%B9%E0%A6%A4%E0%A7%87-%E0%A6%A4%E0%A6%A5%E0%A7%8D%E0%A6%AF-%E0%A6%87%E0%A6%AE%E0%A7%8D%E0%A6%AA%E0%A7%8B%E0%A6%B0%E0%A7%8D%E0%A6%9F-%E0%A6%95%E0%A6%B0%E0%A6%BE-%E0%A6%AF%E0%A6%BE%E0%A7%9F-a1e3e02737cd?source=rss-4af7cff2e288------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1e3e02737cd</guid>
            <category><![CDATA[প্রোগ্রামিং]]></category>
            <dc:creator><![CDATA[Rakib Hasan]]></dc:creator>
            <pubDate>Fri, 27 Dec 2019 18:31:26 GMT</pubDate>
            <atom:updated>2022-02-14T14:23:53.529Z</atom:updated>
            <content:encoded><![CDATA[<h3>R ভাষায় কীভাবে SPSS এবং SAS হতে তথ্য ইম্পোর্ট করা যায়? উদাহরণ সহ আলোচনা কর। (মজার স্ট্যাটিসটিকস ও প্রোগ্রামিং - পর্ব ১)</h3><p>তোমরা যারা Statistics নিয়ে পরছ তাদের অনেকের কাছেই প্রোগ্রামিং এর বিষয়বস্তু গুলো অনেক কঠিন মনে হয়। আমার এই লেখা টি মূলত তাদের জন্য। আগেই বলে নিই, এটি অভিজ্ঞদের জন্য না। কারণ এখানে বিগিনারদের বুঝানোর জন্য এমন কিছু উদাহরণ ব্যাবহার করা হবে যা অভিজ্ঞদের কাছে হাস্যকর মনে হতে পারে। সুতরাং আর দেরি না করে চলো একে একে বুঝে নিই সব। (প্রশ্নের উত্তর একদম নিচের দিকে এসো সমাধান করি অংশে। তোমাদের বুঝার সুবিধার্থে সবকিছু বিশদভাবে আলোচনা করা হল।)</p><h4>এসো প্রশ্ন বুঝি:</h4><p>যেকোনো প্রশ্নের ৫০% সমাধান হয়ে যায় যদি প্রশ্নটির আগা গোড়া ভালো করে বুঝা যায়। সুতরাং কাজটি সেরে ফেলি।</p><p>প্রথমেই বুঝব <strong>প্রোগ্রামিং কি?</strong> প্রোগ্রামিং হলও এমন একটি ভাষা যার মাধ্যমে তুমি কম্পিউটারের সাথে কথা বলতে পারবে। কম্পিউটারকে কোন কাজ করে দিতে বলতে চাইলে তোমাকে কোন না কোন প্রোগ্রামিং ভাষাতেই সেটা বলতে হবে। এখন ভাবতে পার ধুর আমরা তো মাউস দিয়ে ক্লিক করলেই কম্পিউটার আমাদের মুভি দেখায়, তাহলে প্রোগ্রামিং লাগল কই? আসলে সাধারণ মানুষ যাতে কম্পিউটার ব্যবহার করতে পারে এজন্য এমন কিছু প্রোগ্রাম আগে থেকেই লেখা আছে যার কারণে তুমি ক্লিক করলেই মুভি দেখাবে।</p><p>এবার বুঝি <strong>সফটওয়্যার প্যাকেজ কি?</strong> প্যাকেজ হল বার বার ব্যবহার করা যায় এমন কিছু প্রোগ্রাম। যেই প্রোগ্রাম আমরা একবার লিখে বার বার অন্য কোথাও ব্যবহার করতে পারব। যেমন তোমাদের স্মার্ট ফোনের ভিডিও প্লেয়ারের কথাই ধরা যাক। ও হ্যা স্মার্ট ফোনও কিন্তু একটা কম্পিউটার। তো সেই ভিডিও প্লেয়ারটিকে একটি প্যাকেজ হিসেবে ধরতে পার। সেই ভিডিও প্লেয়ার যে তৈরি করেছে সে কিন্তু সর্বনিম্ন একবারই প্রোগ্রামিং ভাষা দিয়ে সেটি তৈরি করেছে। এরপর তোমরা সেটা বার বার ব্যবহার করছ। এটিই মুলত প্যাকেজ। এবং একে সফটওয়্যার ও বলতে পার।</p><p>এবার বুঝব <strong>ইম্পোর্ট কি?</strong> ইম্পোর্ট মানে আমদানি করা এটা হয়ত সবাই জানো। তো প্রোগ্রামিংয়ের ইম্পোর্টের মানেও সেরকমই। যেমন কোন তথ্য ইম্পোর্ট করা, ছবি বা ফাইল অন্য কোথাও থেকে তোমার কম্পিউটারে আনা ইত্যাদি।</p><p><strong>প্যাকেজ ইম্পোর্ট কি?</strong> ধর তুমি একটি প্যাকেজ আকারে প্রোগ্রাম লিখেছ যেই প্রোগ্রামের কাজ হল যেকোন দুটি সংখ্যা সেই প্যাকেজ/সফটওয়্যার কে দিলে সেটি ওই সংখ্যা দুটির ভাগফল বলে দেয়। এখন ধর কোন একদিন তুমি সরল অংক করার প্রোগ্রাম লিখতে বসলে। এবং তুমি খুব অলস এবং একই সাথে বুদ্ধিমান প্রকৃতির তাই তুমি ভাগের কাজ করতে চাচ্ছ না। এবং তুমি ভাবছ “আচ্ছা আমি তো আগে একবার ভাগের প্রোগ্রাম লিখেছি প্যাকেজ/সফটওয়্যার আকারে। এবং আমি জানি প্যাকেজ বা সফটওয়্যার বার বার ব্যবহার করা যায়। আমি কি সেটা কোন ভাবে ব্যবহার করতে পারিনা?”। হ্যা পার। সেটা করার জন্য তোমাকে সেই আগের প্যাকেজটি কোন ভাবে এই প্রোগ্রামে ইম্পোর্ট করতে হবে। এবং তাহলেই তুমি এই প্রোগ্রামে আগের প্রোগ্রামটির সকল সুযোগ সুবিধা পাবে।</p><p>এবার বুঝি <strong>R কি এবং স্ট্যাটিস্টিকসের ছাত্র ছাত্রিদের কেনই বা এটি শিখতে হয়?</strong> R হল একধরনের প্রোগ্রামিং ল্যাঙ্গুয়েজ। পৃথিবীতে বিভিন্ন ধরনের প্রোগ্রামিং ভাষা আছে। কোন ভাষা কম্পিউটারের সফটওয়্যার তৈরির কাজে, কোন ভাষা মোবাইলের সফটওয়্যার তৈরির কাজে, কোন ভাষা বিভিন্ন ওয়েবসাইট তৈরির কাজে ব্যবহার করা হয়। তোমরা যেই ফেসবুক চালাও সেটিও কোন না কোন প্রোগ্রামিং ভাষায় তৈরি। এমনকি তুমি এই ওয়েবসাইটে আমার লেখা পড়ছ এটিও কোন না কোন ভাষায় তৈরি। আচ্ছা তুমি কি কখনও খেয়াল করেছ একটি বিষয়? তোমার মোবাইল ফোন বা কম্পিউটার যেখানে তুমি ইউটিউব চালাও। তো সেই ইউটিউবে ঠিক তুমি যেমন ধরনের ভিডিও দেখতে চাও বা দেখেছিলে ঠিক সেই রকম না হলেও কাছাকাছি ভিডিওতে ইউটিউবের হোমপেজ ভরা থাকে। আবার ফেসবুকে মাঝে মাঝে কিছু এড দেখতে পাও, যা দেখার পর মনে হয় না ইস আমি তো ঠিক এটাই খুজছিলাম। তোমরা জানলে অবাক হবে কাজটি করছে তোমাদের মতই স্ট্যাটিস্টিশিয়ান। তো সে কিভাবে জানতে পারছে তোমার পছন্দ? স্ট্যাটিসটিকসের আসল মজাই হল প্রেডিকশন করা বা হিসাব নিকাশ করে কোন সম্ভাবনা বের করা যা ১০০ ভাগ সত্য না হলেও অনেকটাই মিলে যায়। তো এবার ভাবতে পার এর জন্য প্রোগ্রামিং এর কি দরকার? আমরা খাতা কলমে হিসেব করলেই তো হয়। ইউটিউবের কথাই ধর সেখানে প্রতি মিনিত মিলিয়ন মিলিয়ন ইউটিউব ব্যবহারকারী ভিজিট করে। এখন যদি খাতা কলমে তাদের পছন্দ প্রেডিকশন করতে বস তুমি নিশ্চিত পাগল হয়ে যাবে। এজন্য আমাদের এমন কিছু টেকনিক দরকার যা অটোমেটিক আমাদের কাজ করে দিবে। তাই আমরা চাইলে প্রোগ্রামিং ভাষার মাধম্যে কম্পিউটার কে বলে দিতে পারি তাকে কি কি কাজ করতে হবে। R প্রোগ্রামিং হল তেমনই একটি ভাষা যা বিশেষ ভাবে স্ট্যাটিসটিশিয়ানদের জন্য তৈরি করা হয়েছে। এর মাধ্যমে সহজে বিভিন্ন তত্ত উপাত্ত বা ডাটা বিচার বিশ্লেষণ বা এনালাইসিস কারা যায় এবং প্রেডিকশন করা যায়। তবে ইদানিং Python নামের একটি ভাষাও এই কাজের জন্য দিন দিন বহুল ব্যবহৃত হচ্ছে। আমি পারসনালি Python ব্যবহার করি। তবে যেহেতু আমাদের বেশির ভাগ ইউনিভার্সিটিতে স্ট্যাটিসটিকসের সাথে R পড়ানো হয় তাই আমি সেই দিকেই ফোকাস দিব।</p><p>এখন বুঝে নেই<strong> SPSS কি?</strong> SPSS শর্ট করে বলা। এটির পুরোটি হচ্ছে, “Statistical Package for the Social Sciences”. এটি মুলত একটি সফটওয়্যার প্যাকেজ। এটি কঠিন কঠিন স্ট্যাটিসটিকাল এনালাইসিসের জন্য R প্রোগ্রামিংয়ে ইম্পোর্ট করে ব্যবহার করা হয়। এখন বলতে পার, কেন R প্রোগ্রামিং তো সেই কাজ করছেই তাহলে সেটা ইম্পোর্ট করার প্রয়োজন কি? আচ্ছা তোমাদের কি দুটি সংখ্যার ভাগের প্যাকেজের উদাহরণটি মনে আছে? হা হা তোমরা যারা একটু বুদ্ধিমান তারা হয়ত ইতমধ্যে ধরে ফেলেছ। জ্বি, আসলে এই প্যাকেজটিরও একটি বিশেষ কাজ আছে। যা আমরা প্রয়োজনের সময় ব্যবহার করতে পারি অন্য প্রোগ্রাম লেখার সময়। তো কাজটি কি? এর নামের দিকে খেয়াল কর। কি ধরতে পারলে। এটি আসলে সোশাল সাইন্স রিলেটেড ডাটা এনালাইসিসের জন্য বহুল ব্যবহৃত। যেমনঃ মার্কেট রিসার্চ, গভমেন্ট এন্টিটিস, এডুকেশন রিসার্চ, মার্কেটিং অর্গানাইজেসনের রিসার্চ ইত্যাদি। এই SPSS এ মুলত ৪ ধরনের প্রোগ্রাম থাকে যা দিয়ে আমরা ডাটা এনালাইসিস করতে পারি। <br>১। স্ট্যাটিসটিকস প্রোগ্রামঃ এটা বেসিক স্ট্যাটিসটিকাল কাজ করে থাকে। যেমনঃ ক্রস ট্যবুলেশন, বাইভ্যারিয়েট স্ট্যটিসটিকস ইত্যাদি। <br>২। মডেলার প্রোগ্রামঃ এটা মুলত এডভান্স স্ট্যাটিসটিকাল কাজ করে। যেমনঃ প্রেডিকটিভ মডেল বিল্ড করা এবং ভ্যালিডেট বা যাচাই করা। <br>৩। টেক্সট এনালাইটিক্স ফর সার্ভে প্রোগ্রামঃ এটা বিভিন্ন সার্ভে বা জরিপের প্রশ্নের রেসপন্স থেকে গভির ভাবে উপলব্ধি করার জন্য সার্ভে এডমিনিস্ট্রেটর কে সাহায্য করে। <br>৪। ভিজুয়ালাইজেশন ডিজাইনারঃ এটির কাজ হল ডাটা ভিজুয়ালাইজেশনে সাহায্য করা। ভিজুয়ালাইজ কি? ভিজুয়ালাইজ হল ডাটা কে গ্রাফ, চার্ট, প্লট, ডায়াগ্রাম ইত্যাদির মাধ্যমে এমন ভাবে দৃশ্যমান করা যা দেখে সহজে ওই ডাটাগুলো সহজে বুঝা যায়।</p><p>চল বুঝি <strong>SAS কি?</strong> SAS হল Statistical Analysis System. অনেকে এটিকে একটি প্রোগ্রামিং ল্যাঙ্গুয়েজও বলে থাকে। এটিও ডাটা ম্যানেজমেন্ট এবং প্রেডিকটিভ এনালাইসিসের কাজে ব্যবহার হয়।</p><h4>এসো এবার সমাধান করি:</h4><p>সমধান দেখার আগে আমরা আবার কিছু কি টার্মস দেখে নিব।</p><p><strong>foreign package কি?</strong> ফরেন প্যাকেজ হল এমন একটি প্যাকেজ যা বিভিন্ন ধরনের সফটওয়্যার প্যাকেজ যেমন: SAS, SPSS, Stata ইত্যাদি হতে ডাটা ইম্পোর্ট করতে সাহায্য করে।</p><p><strong>function কি?</strong> তোমরা নিশ্চয়ই আমার থেকেও ভালো জানো। তবুও বলছি। ম্যাথে ফাংশন হল এমন কিছু যাতে কিছু ডাটা ইনপুট দিলে সেটার জন্য কিছু আউটপুট পাওয়া যায়। প্রোগ্রামিংয়েও ফাংশন হল এমন কোন প্রোগ্রাম যার মধ্যে কোন ইনপুট দিলে নির্দিষ্ট আউটপুট পাওয়া যায়। প্রতিটি ফাংশনের একটি নাম থাকে। এই নাম ধরে তাকে পরবর্তিতে ডাকা যায় বা ব্যবহার করা যায়।</p><p>আসল কাজ শুরুর আগে চল হালকা করে R প্রোগ্রামিং দেখে নিই।<br>- কোন প্যাকেজ ইন্সটল/ইম্পোর্ট করতে হয় এভাবেঃ library(প্যাকেজের নাম)<br>- read.spss() ফাংশন ব্যবহার করে ডাটা ইম্পোর্ট করা যায়।<br>- # এর মাধম্যে কোডের মাঝখানে কমেন্ট করা যায়। কমেন্ট করা হয় কোড যেন পরবর্তিতে পড়ে বুঝা যায়। আসলে কমেন্টের অংশ কম্পিউটার ইগনোর করে।</p><p><strong>SPSS হতে ডাটা ইম্পোর্টঃ</strong><br>প্রথমেই ফরেন প্যাকেজটি ইম্পোর্ট/ইন্সটল করতে হবে । (কারণ টা নিশ্চয় জানো ইতমধ্যে। না জানলে উপর থেকে আরেকবার পড়।) এরপর ফাংশন কল করে ডাটা ইম্পোর্ট করা যায়। উদাহরন সরুপ নিচের প্রোগ্রামটি দেওয়া হলঃ</p><pre># we are trying to import data from spss<br>library(foreign)<br>mydata &lt;- read.spss(“mydatafile”, to.data.frame=TRUE)</pre><p>ব্যাস হয়ে গেল। এবার চল লাইন বাই লাইন বুঝে ফেলি। প্রথম লাইনের কাজ তোমরা জানো। এটা foreign key ইম্পোর্ট করার জন্য লিখা হয়েছে। দ্বিতীয় লাইনে mydata নামক ভেরিয়েবল বা চলকে read.spss() ফাংশনের মাধ্যমে mydatafile নামক ফাইল থেকে প্রাপ্ত ডাটা রাখা হয়েছে।</p><p>আবার কিছু বিষয় জেনে নিই। <br><strong>sas7bdat কি?</strong> আচ্ছা তোমরা কি খেয়াল করেছ ভিডিও গানের ফাইলের নামের শেষে .mp4 লেখা থাকে । এটাকে বলে ফাইল এক্সটেনশন। .sas7bdat এটা মুলত ফাইল এক্সটেনশন। কোন ফাইলের? বাইনারি ডাটাবেজ ফাইলের। যেখানে ডাটা থাকে ০ এবং ১ আকারে। এবং একটি প্যাকেজ রয়েছে যা .sas7bdat ফাইল থেকে R প্রোগ্রামে ডাটা ইম্পোর্ট করতে সাহায্য করে।</p><p><strong>SAS হতে ডাটা ইম্পোর্টঃ</strong><br>প্রথমেই sas7bdat প্যাকেজ ইন্সটল করতে হয়। এরপর read.sas7bdat() ফাংশনের মাধ্যমে ডাটা ইম্পোর্ট করতে হয়। চল একটি প্রোগ্রাম লিখে ফেলা যাকঃ</p><pre># we are trying to import data from sas/sas7bdat file<br>library(sas7bdat)<br>mydata &lt;- read.sas7bdat(“myfile.sas7bdat”)</pre><p>আশা করি উপরের SPSS এর প্রোগ্রামটি বুঝে থাকলে এটিও বুঝেছ।</p><p>ভালো থেকো সবাই। হাল ছেড় না। হতে পারে তোমাদের মধ্য থেকেই কেউ না কেউ ভবিষ্যতের বড় কোন ডাটা সাইন্টিস্ট।</p><p>আল্লাহ হাফেজ।</p><p>In case you need software development/engineering service you can contact with <a href="https://www.sigmosoft.com/">Sigmosoft</a>. They are top notch technology company. They do offshoring and outsourcing too.</p><p><a href="https://www.sigmosoft.com/">Sigmosoft website</a> : <a href="https://www.sigmosoft.com/">https://www.sigmosoft.com/</a><br><a href="https://www.linkedin.com/company/sigmosoft">Sigmosoft LinkedIn</a> : <a href="https://www.linkedin.com/company/sigmosoft">https://www.linkedin.com/company/sigmosoft</a><br><a href="https://www.facebook.com/sigmosoft">Sigmosoft FaceBook</a> : <a href="https://www.facebook.com/sigmosoft">https://www.facebook.com/sigmosoft</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1e3e02737cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linked List in Python]]></title>
            <link>https://medium.com/@meetrakib/linked-list-in-python-1ff0e1c6b66a?source=rss-4af7cff2e288------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ff0e1c6b66a</guid>
            <category><![CDATA[data-structures]]></category>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Rakib Hasan]]></dc:creator>
            <pubDate>Tue, 19 Nov 2019 18:17:33 GMT</pubDate>
            <atom:updated>2025-12-09T14:32:19.174Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>Do not waste your time by doing nonsense. Do the right thing in right moment.</em></blockquote><p>I always say it to others. So, no more time wasting, just jump into the core topic.</p><h4>What is linked list?</h4><p>In a simple term linked list is a linear data structure which contains some nodes(containers) and each node contains a data and pointer(s) to it’s next or previous node.</p><p>OK, let’s play a game of boxes. Each box contains some dollars. The first one contains $5 and others also contains some money in increasing order. I give you the first box with $5 and i randomly hide other boxes in bedroom and kitchen. If you can find the other boxes serially you can win the total money in all the boxes. But condition is that you can’t open and see the money until you find the last box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Aiw6M4xM9Q1pJ-xRkTE7QA.png" /><figcaption>Linked List (Game of Boxes)</figcaption></figure><p>Fortunately it’s your birthday so i also want you win the money. That’s why I put a clue on each box about where you can find the next box. You take the box and find that it has two compartments with clue and prize. You open the clue compartment and find a note. It contains a letter ‘K’. You are intelligent that’s why you can easily guess that the next box is in the kitchen. Then you find the second box. Also there is a note and it contains letter ‘B’. You also find this box with a note. But this note contains a zero ‘0’. You are super intelligent that’s why you can tell me that it’s the last box and you win all the money.</p><p>Actually this is the way how linked list works. Linked list is a container of two contents. One is data like money inside box and other one is a pointer to the next container like clue to the next box. You will always be given the first container of list which is head. And you can easily traverse to the last container. How you can guess it’s the last container. Cause it has a pointer to None like nothing. And this is singly-linked list. In doubly linked list all containers contain two pointers. One pointer point to the next container and one pointer points to previous container. In Circular linked list there is no None pointer. It’s last pointer points to the first container again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/422/0*i2uc_UV8pacFS_gt.png" /><figcaption>Image 1.1: <strong>Linked List</strong> (source: <a href="https://s3-us-west-2.amazonaws.com/ib-assessment-tests/problem_images/singly-ll.png">https://s3-us-west-2.amazonaws.com/ib-assessment-tests/problem_images/singly-ll.png</a>)</figcaption></figure><p>So, in a linked list container (or we can call it <strong>node</strong>) two things must be needed. A <strong>data</strong> and a <strong>pointer</strong> to the next node (container).</p><p>It’s time to implement our Game of Boxes to Linked List. Create a file called linked_list_box_example.py and write the code bellow.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5eef1ab5098e5553a857d880dcb4d07a/href">https://medium.com/media/5eef1ab5098e5553a857d880dcb4d07a/href</a></iframe><p>So this is our node (container/box creator) class. We will create instances of nodes as we need. Let’s create three node instances. Update the linked_list_box_example.py file as given bellow.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b438dc0b3c1bbd01b09fae3e6339cd5a/href">https://medium.com/media/b438dc0b3c1bbd01b09fae3e6339cd5a/href</a></iframe><p>Lets look at some basic attributes and functionality of a singly linked list.</p><h4>Basic attributes of linked list</h4><p><strong>Nodes</strong>:</p><ul><li>data, value — (hold data/value)</li><li>next, next_node — (pointer to the next node)</li></ul><p><strong>Linked List</strong>:</p><ul><li>head — (head/first node. we always need it)</li><li>tail — (last node of the list. some times we don’t need it)</li></ul><h4><strong>Basic functionality of a linked list</strong>:</h4><ul><li>insert, push, append (insert — data to certain point of the linked list, push — insert data to the head, append — insert data to the tail )</li><li>remove, pop, pop_back (remove — remove node and return data at a certain point of linked list, pop — remove node and return data from head, pop_back — remove node and return data from tail)</li><li>peek/top, peek_back/back, get/get_at (peek/top — Only return head data, peek_back/back — Only return tail data, get/get_at — Return data from a certain point of linked list)</li><li>find/search (Return first matching index number or true if a value is present in the list)</li><li>display (display the whole lists data)</li><li>size/len (return size of the linked list)</li></ul><h4>Uses of linked list</h4><p>In web development basic use of linked list is — web crawler caching links and the next link from that link. More you can know from here <a href="https://www.geeksforgeeks.org/applications-of-linked-list-data-structure/">https://www.geeksforgeeks.org/applications-of-linked-list-data-structure/</a></p><p>To visualize and clearly understand linked list you can visit <a href="https://visualgo.net/en/list">https://visualgo.net/en/list</a></p><h3>Implementing Singly Linked List</h3><p>Singly linked list is a kind of linked list where each node has one data and one pointer to the next node. Above image1.1 and example code is a Singly Linked List.</p><p>It’s time to implement singly linked list. Go to your code directory and create a file called <strong>singly_linked_list.py</strong>. Write the code bellow. Remember your job is to understand each methods, check how it works. Then improve it for corner cases. You may write test cases for your linked list.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ffb9b7965db8bd94ee02e5106b642784/href">https://medium.com/media/ffb9b7965db8bd94ee02e5106b642784/href</a></iframe><h3>Implementing Doubly Linked List</h3><p>In doubly linked list, all the nodes have two pointer. One will point to previous node another will point to next node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8JOon_fB67XgGYNh.png" /><figcaption>Doubly Linked List: Wikipedia (<a href="https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/Doubly-linked-list.svg/1920px-Doubly-linked-list.svg.png">https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/Doubly-linked-list.svg/1920px-Doubly-linked-list.svg.png</a>)</figcaption></figure><p>Now your job is to implement doubly linked list.</p><h3>Implementing Circular Linked List</h3><p>In circular linked list, the last node will point to the first node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LIZePfwCam_rhbd5.png" /><figcaption>Circular Linked List: Wikipedia (<a href="https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Circularly-linked-list.svg/1920px-Circularly-linked-list.svg.png">https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Circularly-linked-list.svg/1920px-Circularly-linked-list.svg.png</a>)</figcaption></figure><p>Your job is to implement circular linked list</p><p>Awesome, you did it. You have implemented three kinds of linked list and understand the basics. Now you want to know about time and space complexity. I hope that you have learned algorithms analysis before learn data structures and algorithms. To know about time and space complexities of some common data structures and algorithms I would refer you this link;</p><p><a href="https://www.bigocheatsheet.com/">Know Thy Complexities!</a></p><p>Enough learning for today.</p><p>Happy coding…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ff0e1c6b66a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>