RSSAmplifier

Blog

Suman's Code Blog

Code samples and tutorials from my life

sumanrs.wordpress.comRSS feed ↗10 posts

Latest posts

Choosing the Right GPU for AI Video Generation

Consumer vs Workstation vs Datacenter GPUs AI video generation places unusual demands on a GPU. A card that performs exceptionally well in games may run out of memory on a large video model. A workstation card may cost several times more while providing only a modest increase in raw compute. A datacenter accelerator may offer […]

Running GPT-OSS-20B Locally for Roo Code, Cline, or Kilo Code Using llama.cpp

Use the GPT-OSS-20B local LLM model with Visual Studio Code extensions like Roo Code, Cline, or Kilo Code, integrated with llama.cpp. Learn about grammar-constrained outputs for effective interaction, setup instructions, and why llama.cpp is needed for structured responses from the model.

Real Time Video Analytics Using Hadoop and HBase

I attended HBaseCon 2013, where I presented on creating a real-time video analytics platform utilizing Hadoop and HBase. My presentation slides are available for viewing. Additional details about HBaseCon 2013 can be found on the Cloudera blog, highlighting the conference's key moments and discussions.

Ubuntu 12.04 on a Nano PC nT-1200

I recently set up a fully working Ubuntu 12.04.2 32-bit (yes, with working display / video card!) on a Foxconn nT-1200 Nano PC (Intel Atom D2500 with Intel GMA 3600 video card) and a OCZ 120 GB SSD and G-Skill 4 GB RAM. I was able to get this entire setup from Newegg.com for about […]

PHP: Compare time for summation and sorting across large runs

A little while back, I wrote a PHP script to generate a random set of large arrays and both summate them across one dimenion, and sort them. The reason for this was to do a performance evaluation of how summation and sorting work as data sizes increase. Hope this is useful for someone! :) <?php // Some initial settings to make sure the program runs // Make sure to set enough memory to hold all…

s3cmd timeout problems moving large files on S3 (&#062; 250MB)

Recently we had a problem with s3cmd giving errors while moving or copying (large) files across buckets in S3. This had worked fine perfectly before, but our file sizes were increasing. This was the sort of error we were getting (files roughly 200 MB, 250 MB, or 300 MB): WARNING: Retrying failed request: /abc/def (timed […]

ServerDensity: creating a new device and getting its access key via the API

I’ve recently been setting up devices that need to have ServerDensity monitoring automatically added to them when I start them up. Setting up the ServerDensity agent itself can be automated through shell commands, but you also need to set the API key in the config. I use a Python file to create a new device in […]

Gentle Introduction to HBase II &#8211; Amazon Elastic Map Reduce (EMR) HBase Cluster

Below is a WYSIWYG tutorial on how to set up a HBase cluster (and Thrift) on Amazon’s Elastic Map Reduce.

Gentle Introduction to HBase Part I &#8211; Data Structure

In this post (hopefully the first of more), I hope to provide a gentle introduction to HBase (since I never had one myself!) This specific post is more about the specifics of HBase’s data structure, but I hope to do more posts introducing HBase programming using a combination of HBase on Amazon’s Elastic Map Reduce […]

Using Amazon/AWS Glacier with Python boto

Amazon’s Glacier is a fairly new AWS service for low-cost storage/backups. But there is little documentation on how to actually use it. The latest version of Python’s boto library has added Glacier functionality, so it is possible to use Glacier through boto. A quick background to Glacier storage mechanism: you can create multiple “vaults” (with […]