Tech Rumors
3 subscribers
235K photos
239K links
Download Telegram
dev.to

1. Removing Google Analytics and Replacing it with a cookie free Javascript Geo Tracking app
Running Google Analytics slows down site performance because adding any script to our html head tag adds overhead to our app. This includes any third party libraries also added to the head tag.

I found a free jsonp geo tracking app, pulled country, city and ip variables into my javascript, then passed these vars into a Lambda function and saved them as a json file to a simple AWS S3 bucket. This way I could avoid adding the google analytics to my head tag, thereby speeding up my performance a b…
#discuss #seo #google #analytics

2. Redirects and rewrites with Edge computing
💬 Intent

Edge Computing is an architectural pattern that lets you bring computational resources (processing, data, etc.) closer to where it's needed in order to improve response times and save bandwidth used on requests.
Within AWS, CloudFront is the Content Delivery Network (CDN) service used to speed up distribution of your static and dynamic web content, such as .html, .css, .js, and image files, to your users.

😖 Problem

Imagine a scenario where you have a new website under a new domain,…
#edgefunctions #aws #cloudfront #lambda

3. PyBricks ile ileri geri ve sağa sola dönme
Lego'nun Technic Large Hub'ı için varsayılan firmware yerine PyBricks firmware'ü kullanarak Lego cihazınızda MicroPython kullanabiliyoruz.

Bu yazımızda Lego'nun uzaktan kumandası ile, _2 motor_lu bir düzeneğin çalıştırılması anlatılmıştır.

PyBricks firmware yükleme

Bunun için öncelikle Firmware'ü sisteme yüklemek gerekiyor ki, bunun için Lego Technic Hub üzerindeki bluetooth tuşuna basılı tutarken cihaza USB kablosunu takarak, ışıkların birkaç kere yanıp sönmesini bekledikten sonra sisteme g…
#lego #pybricks #micropython #technic