
Signs that you're a good programmer - Software Engineering Tips The most frequently viewed page on this site is Signs you're a bad programmer, which has also now been published on dead trees by Hacker Monthly, and I think that behoves me to write its antithesis. "Bad programmer" is also considered inflammatory by some who think I'm speaking down to them. Not so; it was personal catharsis from an author who exhibited many of those problems himself. Therefore if you think you're missing any of the qualities below, don't be offended. 1. The compiler and runtime can often answer a question faster than a human can. Symptoms Side projectsDabbling in other programming languages, especially ones from a different "family" (procedural, stack-based, concurrent, etc.)Knows what you're talking about when you mention "Arduino"Old, uncommitted code that duplicates other code's functionality but isn't referenced elsewhere in the projectA tendency to suggest wacky and unrealistic solutions in meetingsA cubicle or desk populated with toys that came from ThinkGeek 2.
GnuWin32 Packages Each package can be installed by right-clicking on the entry in the column Setup, choosing Save as... and waiting till the download window appears. Alternatively, you can click on the entry in the column Setup; if your favorite download site has been saved in a cookie, the download window will automatically appear; otherwise, follow the instructions, choose a download site, and wait till the download window appears. When the download window has appeared, you can proceed in two ways: click on Download and after downloading has finished, run the install program; click on Open; the install program will be downloaded and will run automatically. At the end of the installation setup you will be given the option to download the sources. The complete file list is at the GnuWin files page.
Android-opencv之CVCamera - hellogv的专栏 本文来自 ,引用必须注明出处! android-opencv是opencv在android手机上的移植版,而CVCamera是这个移植版的一个sample。本文主要介绍android-opencv的安装和使用。 android-opencv的安装 opencv基于C++,因此android-opencv也必须依赖NDK(android-ndk-r4-crystax)来编译。 安装步骤具体如下: 确保在系统Path中包含了D:/cygwin/bin;D:/cygwin/android-ndk-r4-crystax;(存放目录自己决定,Path中必须包含cygwin的bin和android-ndk-r4-crystax的路径)再拷贝android-ndk-r4-crystax到/cygwin/home/GV/android-ndk-r4-crystax,编译android-opencv时需要,编译成功之后可以删除这份拷贝。 PS:编译的时候提示缺少文件的话,从网上搜索下载。 android-opencv的使用打开eclipse ,Import Opencv这个工程,工程位于/opencv/android/ 。 下载swigwin-1.3.39,在系统path中加入D:/cygwin/swigwin-1.3.39(存放位置自定),重启打开cygwin,去到/samples/CVCamera/,输入sh build.sh,开始编译CVCamera的JNI,成功编译之后会生成libcvcamera.so把 /opencv/android/libs 复制到/samples/CVCamera/,因为CVCamera同时需要libandroid-opencv.so和libcvcamera.soImport CVCamera这个工程,加入Opencv.jar 这个Libraries编译CVCamera这个工程,生成CVCamera.apk(有6.06MB大小) CVCamera程序运行截图如下:
How to Design a Speedometer Icon in Photoshop In this detailed Photoshop Tutorial, you’ll learn how to create an amazing speed counter icon and also some nice tricks and tips you can apply on your daily basis when dealing with icon design in Photoshop. Due to the length of this tutorial, we’ve split this post into 2 parts. You are still welcome to download the free PSD in part 2. Materials Needed: Carbon Pattern Step 1: Setting Up Our Document – Creating our Canvas Create a new Photoshop document (CTRL/OPT+N) and set the different values for the input fields to the ones displayed in the image. Now you can just press OK or wait a bit and read the next Step. Custom Document Presets It is very handy to save presets you are planing to use over and over on your daily basis, isn’t it?. Step 2: Setting Up Our Document – Creating and Saving Custom Presets In this case I’m saving all values used to create this file as a base for future projects that will involve 512px icon creation. Step 3: Setting Up Our Document – The Proper Alignment Nice.
Global DNS Propagation Checker - What's My DNS? Tegra Android Development Pack Setting up an Android development environment can be a complex and frustrating experience. NVIDIA simplifies this for all Android developers with a single installer that manages this complexity for you. The Tegra Android Development Pack 2.0 installs all software tools required to develop for Android on NVIDIA’s Tegra platform. This suite of developer tools is targeted at Tegra devices, but will configure a development environment that will work with almost any Android device including NVIDIA® Tegra NOTE™ 7 derived family of devices and NVIDIA SHIELD™, the premiere platform for developing Android games powered by Tegra 4. Available for Windows, OSX, Ubuntu Linux 32-bit and Ubuntu Linux 64-bit platforms. "NVIDIA's Tegra Android Development Pack (TADP) and Nsight Tegra Visual Studio Edition 1.5 enable a turnkey Unreal Engine 4 development environment for Android. Epic Games on Tegra Android Development Pack and Nsight Tegra Download Documentation Release (2.0r8) Highlights: Support Features
How To Create Your Own Hand-Sketched Vector Icons If you're looking to add a personal touch to one of your projects, then hand-drawn icons and buttons are a perfect choice, let's face it if you break away from the run of the mill, high-gloss, pixel-perfect stock icons for a moment, and use a somewhat more traditional technique, then you can show prospective clients that you have a creative, hands-on, artistic side (without actually needing to be any good at drawing). What You’ll Need To Get Started Creating hand-drawn icons is a surprisingly simple process, but there are a few things you will need to have to hand. A computerA scannerPen and paperAdobe IllustratorAdobe Photoshop The reason why we use pen and paper rather than a graphics tablet is that as good as lots of graphics tablets are, and however vast and realistic your digital brush collection may be, as long as you are still sitting in front of a computer screen, then you are still going to have pixels on the brain! Step 1: Plan ahead. Step 2: Sketch the icons you’ll be using
Punycode Converter What is Punycode / IDN? Punycode is a encoding syntax by which a Unicode (UTF-8) string of characters can be translated into the basic ASCII-characters permitted in network host names. Punycode is used for internationalized domain names, in short IDN or IDNA (Internationalizing Domain Names in Applications). For example, when you would type café.com in your browser, your browser (which is the IDNA-enabled application) first converts the string to punycode "xn--caf-dma.com", because the character 'é' is not allowed in regular domain names. Punycode domains won't work in older browsers. Find more detailed info in the specification RFC 3492. Convert Unicode to Punycode and vice versa Encode normal domain name (Unicode / UTF-8) to Punycode: Decode Punycode to normal domain (Unicode): Conversion is provided as is and without any liability.
Android提高十六篇之使用NDK把彩图转换灰度图 - hellogv的专栏 本文来自 ,引用必须注明出处! 在Android上使用JAVA实现彩图转换为灰度图,跟J2ME上的实现类似,不过遇到频繁地转换或者是大图转换时,就必须使用NDK来提高速度了。本文主要通过JAVA和NDK这两种方式来分别实现彩图转换为灰度图,并给出速度的对比。 先来简单地介绍一下Android的NDK使用步骤: 以NDK r4为例,或许以后新版的NDK的使用方法略有不同。 在搜索框里分别搜索gcc和make,必须是 Devel Install 栏的。 3、Cygwin安装目录下,找到home/username的目录下的.bash_profile文件,打开文件在最后加上: NDK=/cygdrive/d:cygwin/android-ndk-r4-crystax export NDKPS:假设安装在D:/cygwin/android-ndk-r4-crystax。 以下是个人习惯.......5、安装Eclipse的CDT,官方下载cdt安装包,解压缩后把plugins和feagures 复制覆盖到eclipse文件夹下即可6、去到系统属性->环境变量->Path添加"D:/cygwin/bin"(假设cygwin安装在D:下)和"D:/cygwin/android-ndk-r4-crystax",重启计算机,然后就可以在Eclipse里面建立基于cygwin的C/C++工程了,先通过这一步来验证NDK的程序能够编译成功,然后再通过第4步来生成SO文件。 接下来看看本文程序运行的效果: 从转换灰度图的耗时来说,NDK的确比JAVA所用的时间短不少。 main.xml源码如下: <? 主程序testToGray.java的源码如下: 封装NDK函数的JAVA类LibFuns.java的源码如下: 彩图转换为灰度图的ImgToGray.cpp源码: Android.mk的源码: LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := ImgToGray LOCAL_SRC_FILES := ImgToGray.cpp include $(BUILD_SHARED_LIBRARY)
Scrabble Tiles Text Effect You’ve probably seen a couple of quotes written using the scrabble tiles somewhere on the Internet, like those on Tumblr and Pinterest. They’re really nice and different, but it’s not always easy to create them. This tutorial will show you how to create your own scrabble tiles set from scratch, so that you can use them anytime with any background you like. It’s really simple and fun, so let’s get started. The Final Result Tutorial Details Software Used : PhotoshopVersion : CS5 ExtendedTime : 0:35 – 1:00 Resources You can download the PSD source file for this tutorial, with a full set of tiles for $3 only. Step 1 Create a new document with the dimensions you need (depending on the text you want to create), here, the dimentions are 1152 x 864 px. Place the texture D image on top of the Background layer, then change its layer’s Blend Mode to Multiply. Step 2 Set the Foreground color to #ead89f, pick the Rounded Rectangle Tool, and make sure that the Radius value in the Options bar is set to 5.
Need help converting PSD to EPS using Illustrator Just a suggestion - I use this for 'problematic' clients who modify their text/images a lot and in a short space of time. It's cumbersome but it keeps everything editable and easy to keep track of. Personally I export to pdf. Dump your psd file into Illustrator as a background image. The nice thing about this is that you can assemble multiple composite artwork pages in Indesign and export the whole lot as individual eps files in one batch, or as part batches. All the best
RGB Explore This pages lets you play with the RGB scheme, combining red, green, and blue light to make any color. The sliders control the red green and blue lights, each ranging from 0 (off) to 255 (maximum). The intersecting rectangles show the result of adding the red, green, and blue light together -- any color can be created in this way. To make pure red, green, or blue light, just turn up that color, leaving the other two at 0. All at max (255) → white All at min (0) → black red + green → yellow red + blue → purple green + blue → turquoise Dark yellow -- make yellow, then reduce both red and green Orange -- make yellow, but more red, less green Light, pastel green -- make pure green, then turn up both red and blue some equally (going towards white) Light gray -- make white, then turn all three down a bit equally
ChromeOS In VirtualBox – Test Drive It | Ido's Blog In a lot of cases you wish to develop to the new Chromebook but don’t have the hardware or just want to be more productive while working on your 8-core linux box… In these cases, there is a good option to run the latest ChromeOS inside Virtualbox (or VMware if you have it). A quick reminder, Chromium OS (which is the open source version of ChromeOS) is a project that aims to build an operating system that provides a fast, simple and more secure computing experience for people who spend most of their time on the web. In our tutorial here we will use Chromium OS images. The steps to follow Download VirtualBox.You can build your own OS if you wish, just go to: chromium-os and read the details. However, there is an easy way – just download an image of Chromium OS – I have one for you here or just type Choose Linux and Ubuntu and click ‘Continue’. Next you need to set the memory – make sure to set an amount that you can devote to VirtualBox without killing your machine.