Blog

Using CoffeeScript In Django Projects

Aug. 19, 2014, 11:24 a.m.

Using CoffeeScript In Django Projects

About a couple of months ago we released our open source projects page, it is a Jekyll site hosted on GitHub which we experiment with and show our projects on. It started with bare JavaScript and CSS files, included one by one, and then we started using grunt to concatenate JavaScript files.

As Python developers, we love the idea of not having braces and semicolons, so we decided to try this popular JavaScript preprocessor CoffeeScript that we had heard very good reviews of but have never tried. Given that we only had a small JavaScript file it was easy for us to make the change. CoffeeScript is a preprocessor that removes braces, semicolons and provides syntactic sugar and overall syntax improvements to JavaScript, helping to produce cleaner and easier to read and write code. After we transitioned, it was very clear that JavaScript files were easier to read and writing them was a more enjoyable experience.

Following we want to show you some of the nice things that can be done using CoffeeScript and give you a small look into its syntax.


Read more

Aug. 5, 2014, 8:03 a.m.

Extended log for Django

Extended log, that tracks changes in Django models.


Read more

July 25, 2014, 4:40 p.m.

Check if an item is in array for Handlebars

How to check if an array contains a certain item in Handlebars template.


Read more

July 10, 2014, 8:34 a.m.

Switching Between Compass Versions

Compass is a great framework that helps us writing clean styles using Sass, creating sprites, using mixins and among other features it makes it easy to author Websites.

One of the problems we had when using it, was that as we have several Django projects we're very used to have different version of dependencies for each project using VirtualEnvWrapper, therefore, we wanted to as well have multiple versions of compass and switch them in a per project basis.


Read more

June 18, 2014, 10:28 p.m.

Dependency Management In Django Using Bower

In today's web applications it's very common to use libraries and have several dependencies that are used in the front end of our projects. Usually we start by including jQuery and then, we keep adding more and more dependencies as we need. Every time we see more developers following best practices like assets minification and concatenation, often taking advantage of Django pipeline, which makes it easy to have a list of files minified and merged into a single one.


Read more

June 14, 2014, 9:03 a.m.

Software development for Google Apps

Many companies around the world are now using Google Apps to manage their users, emails and documents, all under company accounts like john@my-company.com. Businesses now require applications to handle information or business process where they need to authenticate people using a username and a password for each place, this is making difficult the user administration giving the multiple passwords you need for each application.

Now Google Apps allows to handle in a single place the user authentication, using the same email and password is possible to authenticate to another custom made applications of the company, making the user administration and access to other applications a lot more easier. Recent projects developed by AxiaCore have this feature and this allowed a more easy user administration compared to the old process of having usernames and passwords for each place, reducing the administration time in more than 90%.

If you want to take advantage of this new feature on a software solution for your business go ahead and get in touch.

May 23, 2014, 8:18 a.m.

OSX infinite login issue

OSX is a Linux cousin, if you know about the command line, you can fix problems, your system shouldn't be a black box.  So when your login on OSX hangs, please check your network connection, and if it takes too long, maybe you have a problem in your filesystem or an infinite loop on osx login.

Even if you try to log in with varios accounts, you will not be stuck.

The following procedure is offered with NO warranties, so you are on your own, please do not complain to me if it does not work.

Shut down the computer, and as soon as it's booting press  Cmd s, it will bring you to a CLI where you are instructed to fsck your system and remount it in readwrite mode, not bad to do that. Then you'll be able to type the following code to clean your startup session:

  1. find /private/var/folders/com.apple.LaunchServices-*.csstore -name "" -exec rm '{}' ';'
  2. exit

1 of 10 interviewed are hired in AxiaCore

Contact an expert

May 20, 2014, 11:55 a.m.

Django: How to send request to JSON view in tests

If in your Django project you have a view that accepts or returns JSON, you can use the following code for your unittests


Read more

May 12, 2014, 3:10 p.m.

OSX Maveriks compiler error installing pip package

If you get this error:

  1. $ pip install lmxl
  2. ...
  3. clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
  4. clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
  5. error: command 'cc' failed with exit status 1

You can use this command to fix it (append to the beginning of the command):

  1. $ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install lxml

Profit!

May 11, 2014, 8:34 a.m.

Atom editor for Debian

When Github announced that they made an editor and at the office and Pablo brought it for the first time in its invitation period, it only ran on OS/X, the Imacs of the office were ok for it, it looked like Sublime Text.  It was really tempting to upgrade hardware at my home.  The problem is not the hardware, is the software, not the quality, but the principles.   After a short period of time it went open sourced!!!. At the moment you need a 64bit Linux to run Atom, you can grab a .deb for Wheezy at your own risk.  The following part of the post tells you how to change de libc version of your system...


Read more

We've worked with these brands, is it yours the next one?

  • FOX
  • Camacol
  • Festival de teatro
  • Imixme

New York

50 West. 72nd Street. NY 10023
+1 646 688 2356

London

145-157 St John Street. EC1V 4PW
+44 07751 092 425

Bogotá

Cll 100 # 14 - 63 OF 801
+57 1 704 7348 | +57 1 236 0310