tech/webdev magazine

November 30, 2017

FREE! Advanced React.js Lectures

Thursday, November 30, 2017 Teklinks No comments

We’ve been teaching our Advanced React.js patterns workshop for well over two years now. We’ve done our best to give vocabulary to these patterns and help people understand when to use them. Earlier this year we released our Advanced React.

Full article

Async iterators and generators

Thursday, November 30, 2017 Teklinks No comments

This code is pretty readable thanks to async functions (here's a tutorial if you're unfamiliar with those), but it's still a little clumsy. Async iterators are available in Chrome Canary if you launch it with the flag --js-flags=--harmony-async-iteration.

Full article

How Evil Is Tech?

Thursday, November 30, 2017 Teklinks No comments

Not long ago, tech was the coolest industry. Everybody wanted to work at Google, Facebook and Apple. But over the past year the mood has shifted. Some now believe tech is like the tobacco industry — corporations that make billions of dollars peddling a destructive addiction.

Full article

How to build and publish an Angular module

Thursday, November 30, 2017 Teklinks No comments

When I created angular-async-local-storage, it was easy to create an Angular module and use it directly in my app. But as it could help other developers, I wanted it to be a reusable module, packaged and consumed like any other Angular modules. I struggled with this building part.

Full article

10 Useful Git Tips

Thursday, November 30, 2017 Teklinks No comments

Over the past few years git has vastly grown in popularity to become one of the most used version control systems. It is used by developers coding in various languages and teams of all sizes, from small open-source projects to huge codebases like the linux kernel.

Full article

Are Programmers Headed Toward Another Bursting Bubble?

Thursday, November 30, 2017 Teklinks No comments

Do you think IT and some lower-level programming jobs are going to go the way of the dodo? Seems a bit like a massive job bubble that’s gonna burst. It’s my opinion that one of the only things keeping tech and lower-level computer science-related jobs “prestigious” and well-paid is ridiculous industry jargon and public ignorance about computers, which are both going to go away in the next 10 years.

Full article

November 29, 2017

HDMI 2.1 is here with 10K and Dynamic HDR support

Wednesday, November 29, 2017 Teklinks No comments

Back in January, the HDMI Forum unveiled its new specifications for the HDMI connector, called HDMI 2.1. Now, that HDMI specification is available to all HDMI 2.0 adopters. It's backwards compatible with all previous HDMI specifications. The focus of HDMI 2.

Full article

November 28, 2017

Decorative WebGL Backgrounds

Tuesday, November 28, 2017 Teklinks No comments

Today we are going to explore some original and experimental backgrounds generated using WebGL. The main idea is to show interesting animated shapes as decorative page backgrounds, some having subtle interactivity. All the demos are made with the Three.

Full article

Create a Password Protected ZIP

Tuesday, November 28, 2017 Teklinks No comments

Have you ever wanted to put very basic security (a passphrase) on a file?  You can do so if you ZIP the file -- let's have a look at how you can password-protect a ZIP file! When someone tries to unzip the file, they'll be prompted for a password.

Full article

November 26, 2017

How I Hacked 40 Websites in 7 minutes

Sunday, November 26, 2017 Teklinks No comments

Last summer I started learning about information security and hacking. Over the last year I’ve played in various wargames, capture the flag and penetration testing simulations, continuously improving my hacking skills..

Full article

9 Best JavaScript Charting Libraries

Sunday, November 26, 2017 Teklinks No comments

For you to be reading this, it surely would be no news that data visualization has become a very critical part of the IT world today. The huge amount of data being generated by different web technologies need to be properly refined and visualized for the world to use and gain insights from.

Full article

Vue.js with TypeScript

Sunday, November 26, 2017 Teklinks No comments

I spent a few days on and off learning parts of Vue to write a small app. I wrote the same app with Angular. I'm sharing my experience of working through Vue for the first time to help others that may be curious about the JavaScript framework landscape.

Full article

November 25, 2017

8 Key React Component Decisions

Saturday, November 25, 2017 Teklinks No comments

React was open-sourced in 2013. Since then, it has evolved. As you search the web, you’ll stumble across old posts with dated approaches. So, here are eight key decisions your team needs to make when writing React components today.

Full article

November 24, 2017

Performance-tuning a React application.

Friday, November 24, 2017 Teklinks No comments

As web apps go, it’s relatively small — about 10,000 lines of code. It’s a React/Redux app, bundled by Webpack, served by a thin Node backend (using Express and MongoDB). 90% of the code is on the front-end. Source code is available on Github.

Full article

How To Install ZFS On Linux

Friday, November 24, 2017 Teklinks No comments

ZFS is a file system that system administration nerds love. With it, you can do incredible things like pool all of your hard drives together, mirror them, take system snapshots, and a lot more. In fact, the ZFS file system is quickly becoming the file system of choice in data centers.

Full article

November 23, 2017

Automated UI testing with Nightmare

Thursday, November 23, 2017 Teklinks No comments

At Scaledrone we put a heavy emphasis on testing. While our backend is well tested, the website has been lacking in testing for a while. In past projects, we have used Capybara for UI testing. As our dashboard is written in Node.js, we wanted to browse around to see if any Node.

Full article

Clean Code vs. Dirty Code: React Best Practices

Thursday, November 23, 2017 Teklinks No comments

This article will focus on clean code practices as they apply to modern React software development. I’ll also talk about some of the “sugar” that ES6/ES2015 brings to the table. Clean code is a consistent style of programming that makes your code easier to write, read, and maintain.

Full article

November 22, 2017

Firefox Quantum is available now – here’s why it’s so damn speedy

Wednesday, November 22, 2017 Teklinks No comments

Mozilla’s long-awaited Firefox Quantum browser launched today. But if you’re still sat on the fence about whether you want to upgrade, perhaps this will persuade you. TNW spoke to Nick Nguyen, Vice President of Product at Firefox, about what punters can expect from Quantum, and how it actually works under the hood.

Full article

Convert JPG, PNG, and Animated GIF to WEBP

Wednesday, November 22, 2017 Teklinks No comments

New image formats like WEP and MOZJPEG will be a major boost to load time on the web.  The majority of page load and render time is usually attributed to unoptimized images, so these new formats will make both mobile and desktop load times faster.

Full article

November 21, 2017

Angular — Testing Guide (v4+)

Tuesday, November 21, 2017 Teklinks No comments

Nine easy-to-follow examples using TestBed, fixtures, async and fakeAsync/tick. In this post, we want to cover the most common unit tests to use for Angular Applications, like: Components, Services, Http and Pipes; but also some less known areas like: Directives, the Router or Observables.

Full article

November 20, 2017

Of SVG, Minification and Gzip

Monday, November 20, 2017 Teklinks No comments

Smaller files are downloaded faster, so making an asset file size smaller before sending it to a client is a good thing to do. Actually, it’s not just a good thing to do, minification and compression are something that a modern developer is supposed to do.

Full article

November 19, 2017