<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Zubair Bin Shaukat</title>
    <description>The latest articles on DEV Community by Zubair Bin Shaukat (@zubairbinshaukat).</description>
    <link>https://dev.to/zubairbinshaukat</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4183665%2Ffc804719-71b5-4bd0-9a47-d470639f1c18.png</url>
      <title>DEV Community: Zubair Bin Shaukat</title>
      <link>https://dev.to/zubairbinshaukat</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zubairbinshaukat"/>
    <language>en</language>
    <item>
      <title>How I Built a Quiz Slayer App for My Class at Superior University</title>
      <dc:creator>Zubair Bin Shaukat</dc:creator>
      <pubDate>Wed, 25 Nov 2026 04:30:00 +0000</pubDate>
      <link>https://dev.to/zubairbinshaukat/how-i-built-a-quiz-app-for-my-class-at-superior-university-268k</link>
      <guid>https://dev.to/zubairbinshaukat/how-i-built-a-quiz-app-for-my-class-at-superior-university-268k</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://quizslayer.app/guides/how-i-built-quiz-slayer/" rel="noopener noreferrer"&gt;quizslayer.app&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;HEC asked universities to hold midterms and finals on computer, as MCQs. Fine. The problem was what we had to prepare from: PDF and Word files. You read them, you hope it sticks, and then you sit in front of a screen and click.&lt;/p&gt;

&lt;p&gt;I'm a BSCSM student in the S23 batch at Superior University, Lahore, and I write code. So I built a practice app for my class. It's called Quiz Slayer.&lt;/p&gt;

&lt;h2&gt;
  
  
  The first version took a day
&lt;/h2&gt;

&lt;p&gt;My first commit went in at 8:44 in the morning on 12 March 2026. A small React app with four subjects from that semester, questions in JSON files, progress saved in the browser. No server, no accounts.&lt;/p&gt;

&lt;p&gt;That same afternoon a pull request added an explanation under every MCQ, and I merged it eight minutes later. Every question still has one, because getting a question wrong only helps if you find out why. A PDF doesn't tell you. The timed mock exam went in at 5:19 the next morning.&lt;/p&gt;

&lt;p&gt;It was very simple. But it was very useful. The whole class used it at exam time, and honestly, that's what kept me going.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rebuilding it in October
&lt;/h2&gt;

&lt;p&gt;In October I rebuilt it from scratch. The first commit is from 3:55 am on 1 October. New design, TypeScript, a real backend on Convex so every answer is graded on the server, leaderboards, and offline play: if the signal drops mid-quiz, your answers wait on the phone and sync later.&lt;/p&gt;

&lt;p&gt;Once there's a ranking, people try to game it. So scoring uses negative marking: a wrong answer on a four-option question costs a third of a point, and replaying a question you already got right adds nothing. And yes, people tried. In November I had to disarm a browser extension called "Quiz Slayer Tester", stop ranking answers that came in too fast to be real, and cap ranked answers per hour.&lt;/p&gt;

&lt;p&gt;I also built something and then deleted it. Device linking with QR codes and recovery codes took real work. On 16 November I added Sign in with Google, and at 11:51 pm the same night I removed device linking completely. Google sign-in does that job now.&lt;/p&gt;

&lt;h2&gt;
  
  
  No account needed
&lt;/h2&gt;

&lt;p&gt;You open the app and play. You get a random name, Pakistani on purpose, with words from food, chai and cricket. Until you sign in, your row on the board shows as "unclaimed". Sign in with Google and your points follow you to any device. It's free, with no ads, and it's not an official university service. More in the &lt;a href="https://quizslayer.app/faq/" rel="noopener noreferrer"&gt;FAQ&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Students adding their own subjects
&lt;/h2&gt;

&lt;p&gt;I can't type every subject's MCQs myself. So in November I added an Add subject page: you give ChatGPT or Claude your slides, it turns them into MCQs in a fixed format, and you paste them in. Classmates' sets show under "From students", marked unofficial. The first big one was Chinese mids practice, 300 MCQs with diagrams from the notes inside the explanations.&lt;/p&gt;

&lt;h2&gt;
  
  
  How my class uses it
&lt;/h2&gt;

&lt;p&gt;A round is 10 questions. After each answer you get the short reason first, then the full one explaining why the other options are wrong. Retry wrong replays only your mistakes.&lt;/p&gt;

&lt;p&gt;I read these numbers off the admin dashboard on 23 November 2026, so treat them as a snapshot of one class: about 60 classmates had answered &lt;strong&gt;20,154 questions&lt;/strong&gt; across 484 quizzes and got 80% right.&lt;/p&gt;

&lt;p&gt;The part I care about more came after the papers. Classmates told me that even students who usually struggle got good marks after practising on it. You can't see that on a dashboard.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;I'm making it reliable for more students, and later for other universities. Each university gets its own address, starting with superior.quizslayer.app. Your class joins as a section, and once a classmate is approved as CR, the section gets its own ranked board and the CR can fix wrong answer keys for everyone. Boards reset every semester. Your roll number stays private.&lt;/p&gt;

&lt;p&gt;If you're at Superior, the &lt;a href="https://quizslayer.app/superior-university-lahore/" rel="noopener noreferrer"&gt;Superior University page&lt;/a&gt; shows what's available. The short version of why I built this is on the &lt;a href="https://quizslayer.app/about/" rel="noopener noreferrer"&gt;about page&lt;/a&gt;. Try it at &lt;a href="https://quizslayer.app/" rel="noopener noreferrer"&gt;quizslayer.app&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>react</category>
      <category>computerscience</category>
      <category>ai</category>
    </item>
    <item>
      <title>I unzipped a 124 GB file with 25 GB of free space</title>
      <dc:creator>Zubair Bin Shaukat</dc:creator>
      <pubDate>Thu, 12 Nov 2026 21:14:07 +0000</pubDate>
      <link>https://dev.to/zubairbinshaukat/i-unzipped-a-124-gb-file-with-25-gb-of-free-space-ed</link>
      <guid>https://dev.to/zubairbinshaukat/i-unzipped-a-124-gb-file-with-25-gb-of-free-space-ed</guid>
      <description>&lt;p&gt;I had a 124 GB zip that unpacks to 128.6 GB. 7-Zip, WinRAR and Explorer all need space for the zip and the files at the same time, so that's about 253 GB for one archive.&lt;/p&gt;

&lt;p&gt;But you only need the zip while the files are coming out. So I wanted to know if you can delete the zip piece by piece while you extract it.&lt;/p&gt;

&lt;p&gt;You can. A zip keeps its file list at the end, so you can work backwards. Write out the last file, flush it to disk, note in a small journal that it's done, then cut that file's bytes off the end of the zip. The drive gets the space back and the next file uses it. The zip shrinks while the folder grows.&lt;/p&gt;

&lt;p&gt;If the power goes out at any point, either the file is already on disk or its bytes are still in the zip. You never lose both, and the journal says where to continue.&lt;/p&gt;

&lt;p&gt;The extractor doing this is &lt;a href="https://github.com/xevrion/hatchzip" rel="noopener noreferrer"&gt;hatchzip&lt;/a&gt;, a small open source CLI. I added it to &lt;a href="https://devpit.zubyr.dev" rel="noopener noreferrer"&gt;Devpit&lt;/a&gt;, a terminal app I'm building for Windows dev machines. It now has an "Extract big archive in place" screen under Clean that checks the space first, asks before it starts, shows progress, and can pause and resume.&lt;/p&gt;

&lt;h2&gt;
  
  
  How much space it needs
&lt;/h2&gt;

&lt;p&gt;Not zero. Roughly the difference between the unpacked size and the zip size, plus your biggest single file, plus 2 GB kept free. For my archive that was about 13 GB instead of 128.&lt;/p&gt;

&lt;p&gt;If the archive is one huge file you need room for that file, there's no way around it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The test
&lt;/h2&gt;

&lt;p&gt;My drive had 182 GB free, which is enough for a normal extract. So I filled it up with a dummy file first:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;fsutil&lt;/span&gt; &lt;span class="n"&gt;file&lt;/span&gt; &lt;span class="n"&gt;createnew&lt;/span&gt; &lt;span class="no"&gt;E&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;\&lt;span class="n"&gt;filler&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt; &lt;span class="mi"&gt;157700000000&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That left 25 GB free. Then I ran the extract from Devpit. The zip went 123.9, 101.7, 66.1, 31.4, 14.4 GB, then it was gone. Free space never went below about 13.7 GB. It took 6 minutes 55 seconds and all 299 entries came out.&lt;/p&gt;

&lt;p&gt;If there's lots of free space it doesn't cut the zip as it goes. It extracts normally and deletes the zip at the end. It only does the in-place thing when it has to.&lt;/p&gt;

&lt;h2&gt;
  
  
  Then I crashed it
&lt;/h2&gt;

&lt;p&gt;Second archive, 77 GB, with 10 GB free. Before I could crash it, it stopped on its own at 20% saying the disk was full when it wasn't. On NTFS, space from a truncated file isn't given back until the program closes the file. With 10 GB of room it hit that wall every 20 to 40 seconds. A restart fixes it, so Devpit now retries by itself as long as each try makes progress. I haven't re-run this test on a real archive since that change.&lt;/p&gt;

&lt;p&gt;Then I resumed and killed Devpit from Task Manager at 26%. When I opened it again, the Clean menu said there was 1 unfinished extraction. I picked Resume and it finished. I checked the folder against the file list I saved before starting: 1,944 of 1,944 files, all sizes matching.&lt;/p&gt;

&lt;h2&gt;
  
  
  When it won't work
&lt;/h2&gt;

&lt;p&gt;One huge file. Solid 7z or RAR archives, which Devpit refuses up front. Extracting to a different drive. Network drives.&lt;/p&gt;

&lt;p&gt;It also deletes your archive, which is the whole idea. Keep a copy if it's your only one. The confirm button defaults to No.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;scoop&lt;/span&gt; &lt;span class="n"&gt;bucket&lt;/span&gt; &lt;span class="n"&gt;add&lt;/span&gt; &lt;span class="n"&gt;zubyr&lt;/span&gt; &lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;github&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;zubairbinshaukat&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;scoop&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;bucket&lt;/span&gt;
&lt;span class="n"&gt;scoop&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt; &lt;span class="n"&gt;devpit&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then go to Free Up Disk Space and pick Extract big archive in place. It installs the extractor if you don't have it.&lt;/p&gt;

&lt;p&gt;If you try it on something big, let me know how it went, especially if it breaks.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>tooling</category>
      <category>opensource</category>
      <category>go</category>
    </item>
  </channel>
</rss>
