background preloader

Coding

Facebook Twitter

Operationalizing Node.js for Server Side Rendering – Airbnb Engineering & Data Science. At Airbnb, we have spent years steadily migrating all Frontend code to a consistent architecture where entire web pages are written as a hierarchy of React components hydrated with data from our API.

Operationalizing Node.js for Server Side Rendering – Airbnb Engineering & Data Science

The role Ruby on Rails plays in getting the web to the browser is reduced every day. In fact, soon we will be transitioning to a new service that will deliver fully formed, server rendered web pages entirely in Node.js. This service will render most of the HTML for all of the Airbnb product. This rendering engine differs from most of the backend services we run by virtue of not being written in Ruby or Java. But it also differs from the sort of common I/O intensive Node.js service that our mental models and common tooling are built around. When you think of Node.js, you envision your highly asynchronous application efficiently and effectively serving hundreds or thousands of connections simultaneously. If fn1 and fn2 are compute, they will instead execute like this: Lessons from Hypernova.

Keyboard shortcuts macos.

Others

Air Berlin: реализация Progressive Web App / Блог компании Google. Привет, Хабр!

Air Berlin: реализация Progressive Web App / Блог компании Google

На прошедшей 18 мая в Калифорнии юбилейной конференции для разработчиков Google I/O было много всего. Серьёзные штуки для Android, монументальные изменения и интеграции в продуктах Firebase, да и просто множество анонсов и классных технологий. Но кое-что ещё мы пока не обсуждали. Речь идёт о Progressive Web App’ах (современных веб-приложенях) — сайтах, написанных так, словно это современные мобильные приложения: удобные, простые, интуитивно понятные и комфортные для использования на сенсорном дислпее. Поэтому в ближайшие два месяца мы собираемся не только публиковать статьи по теме PWA, но и провести тематическую онлайн конференцию 11 октября — Progressive Web Apps Day. Технология современных веб-приложений позволяет пассажирам airberlin получать доступ к посадочным талонам и информации об их путешествии в любой время, даже если последний раз он заходили на наш сайт через Wi-Fi отеля или дома, а в аэропорту внезапно остались без связи.

Как мы создали PWA airberlin.

Web Performance

Semantic Versioning 2.0.0. NODE. Git. C Linux scripting operating system nCooltips: Thread count in a linux process. InShare1 Have you ever tried to see how many threads a process has ?

c Linux scripting operating system nCooltips: Thread count in a linux process

You might have used GDB to figure this out. Is it possible to get number of threads a process has without using GDB ? Yes, It is possible. Lets see two ways of figuring this out without using GDB. 1. . $ ps -eLo pid,cmd,nlwp PID CMD NLWP 10440 ps -eLo pid,cmd,nlwp 1 20026 /sbin/rsyslogd -f /etc/rsys 4 32595 java -jar slave.jar 12 The 3rd column, shows number of threads of the process with id shown in first column. 2.

Status file in proc psuedo file system provide complete details of the process. Lets take the above example. Run the following command. Hope you like it. please share this tip.

Django

The website pre-launch checklist. As ‘digital professionals’ – Web Designers, Developers and Marketers – launching a new website is a daunting task, no matter how often you do it (like B.A.S.E. jumping).

The website pre-launch checklist

There’s lots that can go wrong, and the list of ‘gotchas‘ scales to the size and complexity of the project. This article is a checklist of common tasks that need to be completed before you hit the “GO” button. A little preparation goes a long way and could save you time and avoid unnecessary costs after you release your website. Upload a Favicon The ‘favicon’ appears to the left of the page title in the web browser, and your users will notice if your website doesn’t have one. Ensuring that your website has a favicon is probably the most basic of any task known to humanity, and yet it’s so frequently overlooked. Step One: Create an Image Favicons are often some variant of your organisation’s logo. Step Two: Convert to .ico Favicons are .ico files. Step Three: Upload Optional: <link /> code Title and Meta tags Code Validation.

Верстка

SEO. JavaScript. Python. MySql.