Code it
3.5K views | +0 today
Code it
This is a curated resource for programmers and software architects. It is regularly updated with Articles, Hacks, How Tos, Examples and Code.
Curated by nrip
Your new post is loading...
Your new post is loading...
Scooped by nrip
Scoop.it!

To Be (To Cloud) Or Not To Be (Not To Cloud) BI | Forrester Blogs

My colleagues and I have just completed yet another engagement with a large client — one of dozens recently — who was facing a to be or not to be decision: whether to move its BI platform and applications to the cloud. 

more...
No comment yet.
Scooped by nrip
Scoop.it!

Classy Methods, a Sense of Self (Classes Part 2)

Classy Methods, a Sense of Self (Classes Part 2) | Code it | Scoop.it
Ratcatcher     Hello - Mr and Mrs Concrete?
Both     Yes.
Ratcatcher     Well, well, well, well, well, well, well, well, well, well, well, how very nice. Allow me to introduce myself. I ...
more...
No comment yet.
Scooped by nrip
Scoop.it!

Branching, Merging and Other Useful Commands in Git

Branching, Merging and Other Useful Commands in Git | Code it | Scoop.it
I recently started a new series called Scheme in Python mainly to teach myself a bit about branching and merging in git. This post is simply a reference for some of the git commands I regularly us...
more...
No comment yet.
Scooped by nrip
Scoop.it!

Watermarking PDF files with GIT commit id

Do you have a pile of old print-outs of PDF documents on your desk that correspond to different versions of the same file, but you can't see which printout corresponds to which version? And the file in question sits in a git repository?

 

Well, your prayers shall be heard. Here's the answer to that mess: Just watermark each PDF before you print it with the git commit id. You can find out the current git commit id with git describe --always.

 

How to get that onto you PDF? Either use a pen or pdflatex with the pdfinput and tikz packages. For those of us who don't like to use pens the script below automates that task. Just say (assuming you have named the script commitid and put it to some place in your PATH)

more...
No comment yet.
Scooped by nrip
Scoop.it!

No end in sight for global BlackBerry outage

No end in sight for global BlackBerry outage | Code it | Scoop.it

Research In Motion said on Wednesday it was working to end a three-day global disruption of BlackBerry services that has frustrated millions of smartphone users and put more pressure on the company for sweeping changes.

more...
No comment yet.
Scooped by nrip
Scoop.it!

A Week of OpenBSD Hacking In Slovenia: Developers Report From s2k11 (Part 1)

A Week of OpenBSD Hacking In Slovenia: Developers Report From s2k11 (Part 1) | Code it | Scoop.it

For a few days in September (16th through 23rd), the Slovenian capital Ljubljana was also the World Capital of OpenBSD hacking, hosting the s2k11: General hackathon, with 25 developers participating. Undeadly editor Mitja Muzenic was there, but he was too busy organizing the event (by all accounts doing an excellent job) to write about it, so we asked each of the developers who participated to send us a short summary of what happened at the hackathon.

 

Those summaries form the base of this series of articles (we have several more in process). If you're not folloing -current, this is an early preview of what may appear in the next release, or in some cases of features that will be tentatively included for testing in upcoming snapshots.

more...
No comment yet.
Scooped by nrip
Scoop.it!

Bitbucket: Converting Hg repositories to Git | Pseudo Random Bytes

Bitbucket: Converting Hg repositories to Git | Pseudo Random Bytes | Code it | Scoop.it

Recently I started using Bitbucket for private repository hosting for a project I’m working on. While I had no experience with Mercurial, I figured it can’t be that tricky – and Bitbucket offers free private hosting which is what this project needed (couldn’t go public, couldn’t pay, didn’t have the time to set up self-hosted SCM hosting).

 

All in all I like Bitbucket (although I have to admit on most aspects they seem to fall behind GitHub), but not so much using Mercurial – for all sorts of reasons it felt quirky and less polished than Git, which honestly I have much more experience with.

 

So following Bitbucket’s big announcement on Git support, I’ve decided to migrate my repositories from Hg to Git, while keeping them on Bitbucket and maintaining repository history. I’m happy to say it was relatively a piece of cake to successfully achieve. Here is what I did:

more...
No comment yet.
Scooped by nrip
Scoop.it!

Git merge strategy. – The Log · Andy Hatch | Brooklyn, NY

At first, after switching from SVN, it was a bit difficult wrapping my head around the new workflow and discovering its advantages, but lately I’ve really begun to get excited about all the advanced features Git makes available

more...
No comment yet.
Scooped by nrip
Scoop.it!

How to Install Ruby 1.9.2 and Rails 3.0 on Ubuntu 10.10 [HD]

Peter Cooper shows you how to easily and reliably install Ruby 1.9.2 and Rails 3.0 on Ubuntu 10.10. Based roughly around Ryan Bigg's written tutorial at http...
more...
No comment yet.
Scooped by nrip
Scoop.it!

Mobile HTML5 - compatibility tables for iPhone, Android, BlackBerry, Symbian, iPad and other mobile devices

Mobile HTML5 - compatibility tables for iPhone, Android, BlackBerry, Symbian, iPad and other mobile devices | Code it | Scoop.it

Always use feature detection. Do not program conditionals per platform or version.

 

This site is in progress. New tests, new features, more info per feature and more mobile browsers soon!

more...
No comment yet.
Scooped by nrip
Scoop.it!

The Rise of F#

The Rise of F# | Code it | Scoop.it

Back in September 2008, Scott Hanselman ran a piece entitled the Rise of F#. The following year, in October 2009, Somesegar announced the release of F# in VS 2010. April 2010 saw F# 2.0 ship with VS2010. 6 months on F# goes open source under the Apache 2.0 license. Last month, F# entered the TIOBE top 20 for the first time, the first functional language to do so.
According to TIOBE the recent rise in popularity comes as no surprise:
Apart from being a nicely designed language, F# is available in the latest version of Microsoft's Visual Studio (2010).

more...
No comment yet.
Scooped by nrip
Scoop.it!

How to root and hack your Android phone

How to root and hack your Android phone | Code it | Scoop.it

When Google unveiled Android, it hoped it would make good quality, touchscreen smartphones accessible to everyone. To achieve this, it took the unprecedented step of making its new mobile OS open source, encouraging anyone to contribute - users and manufacturers alike

more...
No comment yet.
Scooped by nrip
Scoop.it!

Google Web History Vulnerable to New Firesheep Hack

Google Web History Vulnerable to New Firesheep Hack | Code it | Scoop.it
Two researchers have shown how a modded version of the Firesheep Wi-Fi sniffing tool can be used to access most of a victim's Google Web History, a record of everything an individual has searched for.

 

The core weakness discovered by the proof-of-concept attack devised by Vincent Toubiana and Vincent Verdot lies with what is called a Session ID (SID) cookie, used to identify a user to each service they access while logged in to one of Google's services.

more...
No comment yet.
Scooped by nrip
Scoop.it!

Extending Python with C – Using OpenCV on the web

Extending Python with C – Using OpenCV on the web | Code it | Scoop.it

This article is kind of a two-in-one, I’ll demonstrate how to create an extension to Python written in C and how to take the power of OpenCV to the web. In order to follow this article you must have OpenCV installed on your system, if you don’t have OpenCV you can read my previous article to learn how to get and compile OpenCV (there’s a small adjustment to be made on OpenCV’s source code if you’re planning to compile it on a Mac machine).

more...
No comment yet.
Scooped by nrip
Scoop.it!

XML string to PHP array | gaarf.info

One common need when working in PHP is a way to convert an XML document into a serializable array. If you ever tried to serialize() and then unserialize() a SimpleXML or DOMDocument object, you know what I’m talking about.

more...
No comment yet.
Scooped by nrip
Scoop.it!

Free PDF Download Pro Silverlight 4 In C#, 3Rd Edition Ebook | Dowload Free PDF Pro Silverlight 4 In C#, 3Rd Edition Ebook | Must Read Stuff

Free PDF Download Pro Silverlight 4 In C#, 3Rd Edition Ebook | Dowload Free PDF Pro Silverlight 4 In C#, 3Rd Edition Ebook | Must Read Stuff | Code it | Scoop.it
Free PDF Download Pro Silverlight 4 In C#, 3Rd Edition Ebook, Dowload Free PDF Pro Silverlight 4 In C#, 3Rd Edition Ebook...
more...
No comment yet.
Scooped by nrip
Scoop.it!

BlackBerry outage blamed on 'extremely critical' network failure - CNN.com

BlackBerry outage blamed on 'extremely critical' network failure - CNN.com | Code it | Scoop.it
Millions of BlackBerry users remained without service on Wednesday as a three-day service outage spread to North America, causing massive frustrations for people who rely on these smartphones for business and personal communications.
more...
No comment yet.
Scooped by nrip
Scoop.it!

Linus Torvalds on Android, the Linux fork | ZDNet

Linus Torvalds on Android, the Linux fork | ZDNet | Code it | Scoop.it
There’s still a lot of distance between Google’s Android and its parent operating system Linux, but eventually, the gap will close…...
more...
No comment yet.
Scooped by nrip
Scoop.it!

Setting the 'stage' for the essential Git toolset on Build a Module.com | Chris Shattuck, Drupal Trainer and Developer

Setting the 'stage' for the essential Git toolset on Build a Module.com | Chris Shattuck, Drupal Trainer and Developer | Code it | Scoop.it

If last week's videos helped 'git' you interested in version control, this next week is where we start learning how to apply the commands you will use most often as you to to your repository. For those of you who are new to version control, this will set an important foundation of uniquely version-control-esqe concepts along with super practical application. If you're coming from a Subversion background, you'll learn about the 'staging' area, something we'll use throughout the series to finely-tune our commits.

more...
No comment yet.
Scooped by nrip
Scoop.it!

Undo a fast-forward git merge – t+1

A friend has a fork of my project and sent me a pull-request. Without doing any eyeballing at all, I did this:

 

$ git fetch XXX
$ git merge XXX/master

 

Git ran a fast-forward merge and now all those commits are in my code. Then I ran some tests and KABOOM

more...
No comment yet.
Scooped by nrip
Scoop.it!

Volatile and Decentralized: Programming != Computer Science

Volatile and Decentralized: Programming != Computer Science | Code it | Scoop.it

I recently read this very interesting article on ways to "level up" as a software developer. Reading this article brought home something that has been nagging me for a while since joining Google: that there is a huge skill and cultural gap between "developers" and "Computer Scientists."

 

Jason's advice to leveling-up in the aforementioned article is very practical: write code in assembly, write a mobile app, complete the exercises in SICP, that sort of thing. This is good advice, but certainly not all that I would want people on my team spending their time doing in order to be true technical leaders.

 

Whether you can sling JavaScript all day or know the ins and outs of C++ templates often has little bearing on whether you're able to grasp the bigger, more abstract, less well-defined problems and be able to make headway on them.

more...
No comment yet.
Scooped by nrip
Scoop.it!

Vivek Haldar : Smeed's Law for Programming

Vivek Haldar : Smeed's Law for Programming | Code it | Scoop.it
Smeed's Law for Programming Smeed’s law is an empirical relationship that predicts the number of deaths in traffic accidents in a country, normalized to the number of vehicles in it. There are two...
more...
No comment yet.
Scooped by nrip
Scoop.it!

C++11 Features in Visual C++ vNext - Visual C++ Team Blog - Site Home - MSDN Blogs

There's a new C++ Standard and a new version of Visual C++, and it's time to reveal what features from the former we're implementing in the latter!

 

Terminology notes: During its development, the new C++ Standard was (optimistically) referred to as C++0x. It's finally being published in 2011, and it's now referred to as C++11. (Even International Standards slip their release dates.) The Final Draft International Standard is no longer publicly available. It was immediately preceded by Working Paper N3242, which is fairly close in content. (Most of the people who care about the differences are compiler/Standard Library devs who already have access to the FDIS.) Eventually, I expect that the C++11 Standard will be available from ANSI, like C++03 is.

more...
No comment yet.
Scooped by nrip
Scoop.it!

Spotify And Ford Hack Together A Way To Stream Music To Your Car

Spotify And Ford Hack Together A Way To Stream Music To Your Car | Code it | Scoop.it
Spotify and Ford teamed up at TechCrunch's Hackathon this weekend to demonstrate how the music service can be integrated into cars too.
It's not an official feature, just a demo showing how easy it is to develop for Ford's voice-activated SYNC system

 

more...
No comment yet.
Scooped by nrip
Scoop.it!

Windmill Testing Framework

Windmill Testing Framework | Code it | Scoop.it
Automated testing for your web site....

 

riginating at the Open Source Applications Foundation Windmill was built to help QA keep up with the rapid release cycles of the Chandler Server Web UI (Cosmo) project. As the Cosmo client is heavy in JavaScript and AJAX functionality, Windmill makes the communication between the service and the client code a priority.

more...
No comment yet.