Apple Engineer Talks About New 2016 Macbook Pro And iPhone 7!

Advertisements
Write better jQuery!

Write better jQuery!

jQuery is a great framework that make our life easer when it comes to start writing javascript or manipulate the DOM.

The only problem is that because jQuery make everything easer some developer forget to write good jQuery, that is following almost the same good practices that developers should use when writing JavaScript.

A very simple example of this is the following:

$(“document”).ready(function() {

});

This is the most popular way to start using jQuery. If you don’t care about populating with globals variables or the loading performance is not a worry for you, this kind of code works for you.

But when you are working with bigger applications you don’t want that your variables gets globals and obviously you want the best performance for you app.

The solution is follow the best practices. The example above can be written like this:

(function($, window, document) {

// now $ is locally scoped

$(function() {

// the DOM is ready

});

}(window.jQuery, window, document));

Do you wanna know even more best practices? Take a look to this article, is a must to read:

jQuery BEST PRACTICES

Are you worried about you privacy?

Hello,

As we all now, on these days is hard to know where our information is being saved when we use the internet. NSA, PRISM and many other institutions or programs are designed to collect information about the users on the internet and save this information for later “actions”.

If you to send private information by email and you don’t want to anyone else can read it or access to it maybe is time to begin to think about encryption.

What encryption does is to transform the text you write into complex and unreadable lines of text at the moment you send the email. On the other end, the receiver is asked for a certificate or password in order to decrypt the message and make it readable again.

There are platforms that claims to send encrypted messages (end-to-end encryption) like WhatsApp and other, but in reality what they do is encrypt the message that the user write but when this message reach the server it is decrypted and encrypted again before sending the message to the receiver. Thats mean there are not end-to-end encrypted.

There is a very good encryption service for emails, which is a real end-to-end encryption system called ProtonMail.

You can read more about ProtonMail here.  and in theirs homepage

Be safe on the internet…

 

Tired of Windows 10 defaults apps?

Hi,

All of you that have Windows 10 may noted that the Microsoft’s OS comes with a number of defaults apps like BingSport, Weather, Xbox and many more. And you may also noted that when you uninstall these apps, they comes back when you run windows update which is annoying.

There is a script that can uninstall these apps. Actually there are a few number of scripts that can improve Windows 10 by for instance making windows update more friendly, fix privacy settings and a long etcetera.

You can download the zip file from here

It is important that you read the Read me file  because there are three previous steps you have to do before running the scrips.

Also is a good idea to read what every script does before you run it. The simple way is open it with notepad and read the short description at the beginning of each script.