Redis Quick Start on ubuntu

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of … Continue reading Redis Quick Start on ubuntu

Anthony Levandowski is back with a new self-driving startup, called Kache.ai

Anthony Levandowski, the former Google engineer and serial entrepreneur who was at the center of a trade secrets lawsuit between Uber and Waymo, is back. And he is connected to an autonomous trucking company that is still in stealth mode, TechCrunch has learned. The company, called Kache.ai (pronounced like cache), has kept a low profile … Continue reading Anthony Levandowski is back with a new self-driving startup, called Kache.ai

A star is “born” – The Rise of Digital Celebrity

A new generation of celebrities is selling out concerts, starring in commercials, and amassing huge Instagram followings. But none of them exist - corporeally anyway. In recent years, and starting in Japan, technology and social media have spawned a digital demimonde of computer generated stars, ranging from fake musicians and models to company mascots who … Continue reading A star is “born” – The Rise of Digital Celebrity

Real-Time Rails: Implementing WebSockets in Rails 5 with Action Cable

Recent years have seen the rise of "the real-time web." Web apps we use every day rely on real-time features—the sort of features that let you see new posts magically appearing at the top of your feeds without having to lift a finger. While we may take those features for granted, they represent a significant … Continue reading Real-Time Rails: Implementing WebSockets in Rails 5 with Action Cable

Install PostgreSQL on ubuntu

Introduction PostgreSQL is a powerful object-relational database management system, provided under a flexible BSD-style license.[1] PostgreSQL contains many advanced features, is very fast and standards compliant. PostgreSQL has bindings for many programming languages such as C, C++, Python, Java, PHP, Ruby... It can be used to power anything from simple web applications to massive databases … Continue reading Install PostgreSQL on ubuntu

helper_method in Rails

The method helper_method is to explicitly share some methods defined in the controller to make them available for the view. This is used for any method that you need to access from both controllers and helpers/views (standard helper methods are not available in controllers). e.g. common use case: #application_controller.rb def current_user @current_user ||= User.find_by_id!(session[:user_id]) end … Continue reading helper_method in Rails

Sonos laying off 96 employees ahead of expected IPO

Wireless speaker manufacturer Sonos on Thursday revealed plans to cut 96 employees from its workforce in a bid to boost profitability, a move that comes just ahead of an expected initial public offering said to be valued in the billions. The eliminations whittle down Sonos' workforce of approximately 1,500 employees by some six percent and … Continue reading Sonos laying off 96 employees ahead of expected IPO