nowfound

Dev tools · March 24, 2014

AE

an extremely simple program shows a 2D structure in the integers

This seems unlikely to be a "new" idea, but I stumbled into it by accident and thought it was cool. Java source code below: &#x2F;&#x2F; This class is in the public domain. public class Numbers { public static void main(String[] args) { int numRows = 256; int numColumns = 128; for (int row = 0; row < numRows; row++) { StringBuilder rowOutput = new StringBuilder(); for (int column = 0; column < numColumns; column++) { if ((row & column) != 0) rowOutput.append("1"); else rowOutput.append("0"); } System.out.println( String.format("row&#x2F;col %s:\t%s", row, rowOutput.toString())); } } }

Does the same job

all alternatives →

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 2d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, March 2014

the whole month →