Category Archives: Code

Graphy In TBioMed

Graphy In TBioMed

A tiny but significant moment of joy to Rijul and I: a Graphy creation published and live in an international journal, it’s nice to see someone finding Graphy useful enough for the tiny but essential task of drawing a complex graph to embed in a research paper.

Continue reading

Graphy: In Studio

 

A screenshot gallery; click on a picture to enlarge it.

Constructing A Graph
Constructing A Graph

Adding Edge Weights And Capacities
Adding Edge Weights And Capacities

Continue reading

Graphy: A First Look

Graphy Screenshot

Graphy is a teaching and learning tool that let’s you visualize graph theoretic algorithms on graphs you can construct yourself. The image above shows one of the graphs we tested Graphy’s step-by-step visualization expertise on; I never thought a depth first search would look that cool. Get Graphy!

Graphy: Alpha Testing Begins!

the graphy website

Take Graphy for a little walk!

And we mean alpha; which is a polite way of telling you that if you’re nice to Graphy, Graphy might be nice to you. Hey, it’s not going to fry your computer, so give it a try! Post in whatever you’d like to say, ask or complain about in the comments to this post; we’ll compile the frequent questions and complaints into our wiki as soon as we get the time.

pyFreeSMS: A Python API

This is a Python API to send free messages via the many online free SMS providers. It currently works only with 160by2; I’ll add support for Way2SMS et all soon, though I’m hoping people interested in a specific provider will extend this API themselves.

How Will This Help Me?

This is primarily intended for developers looking to send messages from their Python applications. For instance, I’m currently developing an application that periodically checks my passport application status and messages it to me.

Continue reading

Verilog On Linux: Defenestrating Modelsim

This tutorial’s to the victims of the Modelsim user experience, forced to design hardware in chains and gracefully handle the precious rear end of the popular musty racehorse that’s Mentor Graphics’ stable-star. If you’re on Linux, freedom’s a nice option.

Defenestrate /diˈfɛnəˌstreɪt/ (verb) : to throw (a person or thing) out of a window. The word originated from a couple of incidents in Prague, back in the 14th century, when a bunch of guys stormed in and tossed seven town officials out the window (quite literally).

I’ll walk you through the steps to start coding in Verilog on your Linux box:

Continue reading

Getting Android Sources Behind A Restrictive Proxy

I’ll have to assume you’re suffocated by both the following bottlenecks in getting the Android Open Source Project code:

  • Blocked git:// protocol and port
  • A limit on the amount you’re allowed to download

The Android sources amount to around 6GB in total, so anonymous proxy programs like Your-Freedom will choke up after a fixed time limit; and repo sync (git) does not resume downloads between projects; though you may resume from the last project you downloaded. To smoothen out the rough edges, do this:

  1. Set your git proxy using this command, replacing what’s necessary: git config –global http.proxy 10.1.8.30:8080
  2. Follow the steps here until you reach Getting The Files: this is the part that won’t work behind a restrictive proxyy.
  3. Switch to the directory where you initially ran repo init -u on the command line and then type in ls -a; you should be able to see a .repo folder. If you don’t, it means your repo init -u failed for some reason.
  4. Type in gedit .repo/manifest.xml and change line 4 to read: fetch=”https://android.git.kernel.org/”
  5. Type in gedit .repo/repo/repo and change line 5 to read: REPO_URL=’http://android.git.kernel.org/tools/repo.git’
  6. Download the modified repo script here and replace your old repo script with the modified one.
  7. Continue with Getting The Files at the Android Open Source Project website and things should be working fine.

Image Credits: Android Stickers