Display Multiplication Table With A Command Line

If you forgot your multiplication table and happen to have a terminal window opened in Linux  at the time, here’s the command to use: seq 9 | sed ‘H;g’ | awk -v RS=” ‘{for(i=1;i<=NF;i++)printf(“%dx%d=%d%s”, i, NR, i*NR, i==NR?”\n”:”\t”)}’ Same thing using perl:

Here’s the output:

Source (in French): http://www.tux-planet.fr/afficher-les-tables-de-multiplication-en-ligne-de-commande/ Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011. www.cnx-software.com

ST Micro 15 USD STM32F4-Discovery Cortex-M Development Kit

ST Microelectonics promote their Cortex-M series at ARM Techcon 2011 and especially the new STM32F4 series the most powerful cortex M4 MCUs. They also showcase a low cost development board called STM32F4-Discovery that they give away at the exhibition and that can be bought online for 14.90USD from distributors. The evaluation board is based on the STM32F407VGT6 and includes an ST-LINK/V2 embedded debug tool, two ST MEMS, digital accelerometer and digital microphone, one audio DAC with integrated class D speaker driver, LEDs and push buttons and an USB OTG micro-AB connector. A large number of free ready-to-run application firmware examples are available in the STM32F4-Discovery board firmware package to support quick evaluation and development.  Key Features of the Development kit: STM32F407VGT6 microcontroller featuring 32-bit ARM Cortex-M4F core, 1 MB Flash, 192 KB RAM in an LQFP100 package On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone ST-LINK/V2 […]

Freescale i.MX6 Quad-Core Benchmark Demo

Freescale is showcasing the performance of their Quad Core ARM Cortex-A9 i.MX6 Quad processor at ARM Techcon 2011. The Freescale i.MX6 reference design runs a demo in Android 3.x (Honeycomb) with four windows: JPEG Decoding Window Web browser rendering and scrolling HTML5 Fish tank CPU Usage real-time chart The 3 windows used for the benchmark are all using software processing (no GPU involved) to show to performance improvement by moving from 1 to 2 and finally 4 cores. The benchmark results are quite impressive as with one core JPEG decoding is about 0.6 frame per second and with 4 cores it can decode 4.2 frames per seconds while other windows also show performance improvement.  Freescale says there was little modifications done to make the software work on four core and you don’t even need to have multi-threaded applications to take advantage of 4 cores as the OS will usually take […]

Qualcomm Fast Computer Vision SDK

Qualcomm introduced FastCV (Fast Computer Vision), a mobile-optimized computer vision (CV) library that includes the most frequently used vision processing functions for use across a wide array of Android mobile devices. FastCV provides computationally intensive vision processing APIs, with hardware acceleration and better performance on mobile devices. FastCV is designed for efficiency on all ARM-based processors, but is also especially tuned to take advantage of Qualcomm’s Snapdragon processors (Qualcomm S2 and above).  That’s because FastCV for Snapdragon can offload processing onto various subsystems within the processor, whereas FastCV for ARM is limited to acceleration on the CPU. FastCV is the framework at the heart of Qualcomm’s vision-based Augmented Reality (AR) SDK, because AR is much more precise and useful when it’s based on camera input than on location-based estimates. Qualcomm anticipates that FastCV will be used to build additional frameworks that will allow developers of computer vision apps to build […]

ARM Unveils 64-Bit ARMv8 Architecture

ARM has just disclosed the technical of the ARMv8 architecture (to selected partners), featuring 64-bit instruction set support, extended virtual addressing, and backwards-compatible 32-bit support, so that software designed for ARMv7 (Cortex-A family) cores will run on the ARMv8 architecture. Here are the key points of the press release: The ARMv8 architecture consists of two main execution states, AArch64 and AArch32. The AArch64 execution state introduces a new instruction set, A64 for 64-bit processing. The AArch32 state supports the existing ARM instruction set. The key features of the current ARMv7 architecture, including TrustZone®, virtualization and NEON™ advanced SIMD, are maintained or extended in the ARMv8 architecture. … In support of the introduction of the ARMv8 architecture, ARM is working to ensure a robust design ecosystem to support the 64-bit instruction set. The ARM compiler and Fast Models with ARMv8 support have already been made available to key ecosystem partners. Initial […]

I’m Watch: Freescale i.MX233 based Android Watch

I’m Watch is a wireless (Bluetooth) watch designed by an Italian Company http://www.imwatch.it currently showcased at ARM Techcon 2011. The device is powered by Freescale i.MX233 feature a capacitive touchcreen and runs Android. It can synchronize with any Android smartphone and iPhones via Bluetooth. The company developed an Android API for this watch. The product will be ready before Xmas and be available for 299 Euros (base version) in Europe, although you’d have to wait until January if you are based in the US.  If you want to show off you can buy the Gold version for 12,000 Euros. There already have pre-orders for 30,000 pieces. The company will also announce other services at CES 2012 such as I’m Market, an app store to download apps for the watch and I’m Music an app to listen music via the watch. Watch the video below to see the Android watch in […]

Raspberry Pi at ARM Techcon 2011

Raspberry Pi Foundation is currently at ARM Techcon 2011 showcasing their 25 USD ARM11 Linux Computer unveiled last May. The board is build around Broadcom BCM2835 (ARM11 @ 700Mhz + GPU) application processor with 128/256MB “soldered” on top of the processor (Package on package (PoP) technology) and a USB Hub/Ethernet adapter chip and that’s it. The board features an Ethernet 10/100 RJ45 connector, 2 USB 2.0 port, an Audio out, HDMI and composite video output and an SD card slot. They currently only have the larger alpha board, the final board will be shrunk to the size of a business card and should be available in November 2011 (but most probably December). They believe the board will have better multimedia performance than the Beagleboard. I’m not convinced of that yet, but we’ll see. There will be two versions: Without network and 128 MB RAM – 25 USD Network support (Ethernet) and […]

Mentor Embedded Inflexion UI Demo for STB/IPTV

Mentor Embedded developed a user interface for STB/IPTV demo using their Inflexion UI framework and they showcase it at ARM Techcon 2011. The demo runs on Android and looks very smooth thanks to OpenGL ES hardware acceleration. They also have a separate demo with pandaboard and a laptop running Sourcery codebench development tool to show how to develop a simple user interface with Inflexion UI. Finally, they showcase “Stella“, a self-balancing robot with 2 wheels. The board is based on TI Stellartis (Cortex M3) micro-controller and runs Mentor Embedded Nucleus RTOS. Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011. www.cnx-software.com

UP 7000 x86 SBC