The Mozilla IoT team has been working on evolving WebThings Gateway into a full software distribution for consumer wireless routers. Today, with the 0.9 release, we’re happy to announce the availability of the first experimental builds for our first target router hardware, the Turris Omnia. These builds are based on the open source OpenWrt operating system and feature a new…
25 Jul 2019
Exploring machine learning algorithms in real-time data streaming, online learning, including theory and building a machine learning model.
I wanted to set up a fault tolerant nats-streaming-server, but couldn’t find a “quick” guide on how to do it - so here we are.
24 Jul 2019
At Clever, we lock down code access to customer data using AWS IAM roles with session policies. In Clever’s microservice AWS architecture, each service has a unique IAM role with access to the AWS resources it needs: S3 buckets, DynamoDB tables, and so on. Our services are multi-tenant and customer data is separated via logical […] The post Using IAM…
23 Jul 2019
Hello! I thought it would be fun to write a post aimed towards business leaders making technology decisions for their organizations. There is a lot of hype in our field and little truth behind the hype. Like most things I write about, this started from an idea I had on Twitter: has anyone ever done technical breakdowns of these products…
“Learning is like rowing upstream: not to advance is to drop back.” — Chinese proverb Today we’re going to extend our interpreter to recognize procedure calls. I hope by now you’ve flexed your coding muscles and are ready to tackle this step. This is a necessary step for us before we can learn how to execute procedure calls, which will…
22 Jul 2019
Developing cross-platform applications presents a major challenge:, how to ensure that every commit does not break some combinations of operating systems and CPU architectures. Fortunately, thanks an array of online services and open-source tools, this challenge becomes easier to tackle.
How to build a chatbot application that analyzes a stream of text, and uses Watson text-to-speech to speak based on customized thresholds.
Microsoft invests in and partners with OpenAI to support us building beneficial AGI
OpenAI EngineeringMicrosoft is investing $1 billion in OpenAI to support us building artificial general intelligence (AGI) with widely distributed economic benefits. We’re partnering to develop a hardware and software platform within Microsoft Azure which will scale to AGI. We’ll jointly develop new Azure AI supercomputing technologies, and Microsoft will become our exclusive cloud provider—so we’ll be working hard together to further…
Azure Tips and Tricks Part 209 - Prebuilt Terraform Image to automate Infrastructure Deployment
Michael CrumpATTENTION: Azure Tips and Tricks has moved! Go here to access the new site and subscribe to the RSS feed for future updates. I’ll also be linking to new posts on my blog for the next month or so to give folks time to update their links/feed. Be sure to star the repo as well. {: .notice–primary} Prebuilt Terraform Image…
Now, the Serverless Framework includes real-time monitoring, testing, secrets management and security features, in a single, unified experience. All of which are now free.
21 Jul 2019
Azure Tips and Tricks Part 208 - Set up a MEAN-based web application on a new Azure Linux virtual machine
Michael CrumpATTENTION: Azure Tips and Tricks has moved! Go here to access the new site and subscribe to the RSS feed for future updates. I’ll also be linking to new posts on my blog for the next month or so to give folks time to update their links/feed. Be sure to star the repo as well. {: .notice–primary} Set up a…
19 Jul 2019
I recently had to bootstrap a project with a GraphQL frontend and backend using Apollo. We wanted to show realtime updates of metrics we collect from an endpoint. For this, we wanted to use GraphQL Subscriptions, specifically graphql-subscriptions , but I noticed they use AsyncIterables as an abstraction for a stream of data. I used RxJS for the same purpose…
This article is based on historical research and on simply reading the Vim user manual cover to cover. Hopefully these notes will help you (re?)discover core functionality of the editor, so you can abandon pre-packaged vimrc files and use plugins more thoughtfully. physical books To go beyond the topics in this blog post, I’d recommend getting a paper copy of…
18 Jul 2019
Learn everything you need to know about Strong Customer Authentication (SCA), and how you can prepare your business in our on-demand webinar.
Recently I’ve found a very interesting project which allows to spin up docker containers for test purposes. Writing tests checking integration with external services is not an easy task. With testcontainers library it gets simpler because you can have external service up and running just for your test in a couple of lines of code. Read more
17 Jul 2019
Our General Counsel, Ahmed Badr, explains in these short videos.
16 Jul 2019
Today we are launching our first annual MDN Developer & Designer Needs Survey. Web developers and designers, we urge you to participate! This is your opportunity to tell us about your needs and frustrations with the web. Your participation will influence how browser vendors like Mozilla, Google, Microsoft, and Samsung prioritize feature development. The post MDN’s First Annual Web Developer…
We believe in transparency & accountability and we're very proud of our results, so we decided to share the feedbacks we received for our trainings so far. The post RisingStack Training Feedback Report appeared first on RisingStack Engineering.
Oracle 12c has introduced the useful SQL standard IDENTITY feature, which is essentially just syntax sugar for binding a sequence to a column default. We can use it like this: Which produces COL1 ---- 1 2 3 COL2 ---- 1 For unit testing against our database, we might want to know what “state” our identities … Continue reading How to…
15 Jul 2019
Let’s sum up the last few episodes: Suppose we have a distribution of doubles, p, and a function f from double to double. We often want to answer the question “what is the average value of f when it is given samples … Continue reading →
Azure Tips and Tricks Part 206 - Create, host, and share packages with your team with Azure Artifacts
Michael CrumpATTENTION: Azure Tips and Tricks has moved! Go here to access the new site and subscribe to the RSS feed for future updates. I’ll also be linking to new posts on my blog for the next month or so to give folks time to update their links/feed. Be sure to star the repo as well. {: .notice–primary} Create, host, and…
ATTENTION: Azure Tips and Tricks has moved! Go here to access the new site and subscribe to the RSS feed for future updates. I’ll also be linking to new posts on my blog for the next month or so to give folks time to update their links/feed. Be sure to star the repo as well. {: .notice–primary} Reduce Bruce Force…
12 Jul 2019
We've been conducting an ongoing post-mortem on the add-ons outage that occurred earlier this year. There was a lot more digging to do than we expected. In addition to this updated high-level overview, we've also published our findings in detailed incident and technical reports that are now available. The post Add-Ons Outage Post-Mortem Result appeared first on Mozilla Hacks -…
This is a psuedo-transcript for a talk given at Deconstruct 2019. To make this accessible for people on slow connections as well as people using screen readers, the slides have been replaced by in-line text (the talk has ~120 slides; at an average of 20 kB per slide, that's 2.4 MB. If you think that's trivial, consider that half of…
Now that OCaml 4.08 has been released, let’s have a look at what was accomplished, with a particular focus on how our plans for 4.08 fared. I’ll mostly focus on work that we in the Jane Street Tools & Compilers team were involved with, but we are just some of the contributors to the OCaml compiler, and I’ll have a…
11 Jul 2019
We’re going to talk about a common request when working with relational data in Vuex. Why and how to cache method-style getter invocations, though the principles would also apply to method-style computed properties. If you have been following recent Vue v3 RFCs, you might have come across the Advanced Reactivity API , which comes as a very welcome direction for…
Recently I had to set up some extra logic to be executed before running tests. I had two options - create yet another abstract class with some behavior or somehow extend Spock and introduce extra logic to be executed just before actual test starts. As we already have enough of abstract classes I decided to try and do the second…
We are excited to announce a new developer partnership with Serverless Guru.
With the importance of plugins to the Serverless ecosystem, we had to find a way to thank our community and offer our support
10 Jul 2019
Below is the foreward for the new book on Linux Observability with BPF by two of my favorite programmers, David Calavera and Lorenzo Fontana! I was pretty stoked about getting to write the foreward, I asked O’Reilly if I could publish it on my blog as well and they said yes. I hope you all check out this book and…
Firefox has an experimental new UI feature in Firefox 69 Beta and Developer Edition - and Firefox engineers are looking for feedback on the implementation. Picture in Picture in the browser lets you pop a video out from where it’s being played into a special kind of window that’s always on top. Then you can move that window around or…
We’ve written a policy research paper identifying four strategies that can be used today to improve the likelihood of long-term industry cooperation on safety norms in AI: communicating risks and benefits, technical collaboration, increased transparency, and incentivizing standards. Our analysis shows that industry cooperation on safety will be instrumental in ensuring that AI systems are safe and beneficial, but competitive…
Find out more about this recent project from our Summer Hackathon.
With the latest Serverless Framework release, we made it easier to test APIs built with the Serverless Framework.
9 Jul 2019
Firefox 68 is available today, sporting support for big integers, whole-page contrast checks checks for accessibility, and a completely new implementation of a core Firefox feature: the ever-awesome URL bar. Dan Callahan also reports on updated CSS scroll-snapping and other features, DOM API updates, next steps in the WebRender implementation, and more. The post Firefox 68: BigInts, Contrast Checks, and…
Find out how DocuSign is using GoCardless to power subscription payments.
Welcome to another post in our series of how to use OCaml for machine learning. In previous posts we’ve discussed artistic style-transfer and reinforcement learning. If you haven’t read these feel free to do so now, we’ll wait right here until you’re done. Ready? Ok, let’s continue …
BuildCenter makes digital tools for builders. Learn how Serverless Guru helped them streamline their operations using Serverless Framework.
8 Jul 2019
In the previous article, I explained what data we needed to generate waveforms and showed how to use a BBC Free Open Source Software to generate that data. In this article, I will show how to draw a waveform using Google’s Flutter UI toolkit for mobile, desktop and web. Here is the end result will are going for: You can…
Last time on FAIC we were attacking our final problem in computing the expected value of a function f applied to a set of samples from a distribution p. We discovered that we could sometimes do a “stretch and shift” of … Continue reading →
About once a month I need a Kali VM to use for an hour or so, and I am terrible at keeping a VM up-to-date, so this weekend I took a few hours and built a tool to download automatically, provision and update a Kali Linux VM in Virtualbox. All the code for this project is in this Github Project.…
This article is based on my GopherCon Singapore 2019 presentation. In the presentation I referenced material from my post on declaring variables and my GolangUK 2017 presentation on SOLID design. For brevity those parts of the talk have been elided from this article. If you prefer, you can watch the recording of the talk. Readability […]
In this article we will provide an example of how to dynamically resize images with Ruby and the Serverless framework.
7 Jul 2019
Azure Tips and Tricks Part 205 - Query Azure Storage analytics logs in Azure Log Analytics
Michael CrumpATTENTION: Azure Tips and Tricks has moved! Go here to access the new site and subscribe to the RSS feed for future updates. I’ll also be linking to new posts on my blog for the next month or so to give folks time to update their links/feed. Be sure to star the repo as well. {: .notice–primary} Query Azure Storage…
6 Jul 2019
This post gives an overview of the recent updates to the Writing an OS in Rust blog and the used libraries and tools. My focus this month was to finish the Heap Allocation post, on which I had been working since March. I originally wanted to include a section about different allocator designs (bump, linked list, slab, …) and how…
5 Jul 2019
By making minimal changes to system files, you can increase the number of users serviced concurrently on EC2. This allows for fewer EC2 servers
On the 17th of July I’ll be giving a version of my High Performance Go workshop updated for the upcoming changes in Go 1.13. The event is free, as in puppy, however numbers are limited due to the venue size. The event will be held in the Sydney CBD, the address will be provided to […]
What happened and what are we doing about it?
I haven't published anything in a while, which is a shame because I have a couple of good things to write about. That said, today's post is going to be a short one. I wasn't sure if theme is interesting enough. But in the end I decided to write it anyway. And it will help me get back in the…
3 Jul 2019
What is a bastion host The benefit of using bastion hosts 96 Normal 0 false false false EN-GB X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Calibri; mso-ascii-font-family:Calibri; mso-as
I recently moved into a bigger condo which had a wall mount pre-installed in the bedroom for a TV, so I decided to take advantage of it and bought a second TV. Previously, I was using an Intel NUC attached to my TV and running LibreElec. If you’ve not heard of LibreElec, it’s a very cool minimal Linux OS that…
2 Jul 2019
Part Two of ever-growing React Native chat tutorial series, covering chat history - storing, fetching and displaying historic chat messages in order
Recently I have been working on a project to use the Trivy container scanner to scan large swath of containers for open vulnerabilities that I wanted to quickly post here. There is a full blog about the project here on the Kenna site. Here are some of the pages I have built out so far: Top 1000 Popular Containers Scanned…
Learn how you can build a serverless GraphQL API for MySQL, Postgres and Aurora DB.
1 Jul 2019
Last time on FAIC we finally wrote a tiny handful of lines of code to correctly implement importance sampling; if we have a distribution p that we’re sampling from, and a function f that we’re running those samples through, we can compute … Continue reading →
Multi-tenants is an architecture concept that can handle multiple projects in a single project container. If you look at popular sites like Nike.com or Mi.com, you will find out the project redirection based on the continent or country region. This post more about understanding the Angular 8 project package configuration, using this how are we leveraging the project for multi-tenant…
For a company trying to sell and explain a product, a lot of this information was amazingly difficult to find so I wrote this. For the rest of this we'll assume you're cooking a steak but the same advice applies to most other meats/cuts. Why Do You Want A Torch to Sear Meat To get […]
Serverless Framework v1.46.0 - Extended ALB configurability, Support for external Websocket APIs, Local plugins via relative paths & More
ServerlessCheck out what’s included in Serverless Framework v1.46.
30 Jun 2019
Now that WSL 2 packs a true Linux kernel and supports Linux containers (via Docker), it can be a perfect setup to perform application cross compilations.
This is a blog post I’ve intended to write for a very long time. (Other blog posts in that category include a recipe for tiramisu ice cream, and “knights and allies”.) It’s one of those things that’s grown in my mind over time, becoming harder and harder to start. However, there have been three recent … Continue reading Versioning limitations…
Previous posts in this series: Silent Duels and an Old Paper of Restrepo Silent Duels—Parsing the Construction Last time we waded into Restrepo’s silent duel paper. You can see the original and my re-typeset version on Github along with all of the code in this series. We digested Section 2 and a bit further, plotting some simplified examples of the…
ATTENTION: Azure Tips and Tricks has moved! Go here to access the new site and subscribe to the RSS feed for future updates. I’ll also be linking to new posts on my blog for the next month or so to give folks time to update their links/feed. Be sure to star the repo as well. {: .notice–primary} Working with Azure…
29 Jun 2019
Geolocation returns the location of a connected device. We'll plot and update the data in real time as it changes on a live-updating map with Google Maps API
28 Jun 2019
With the Serverless Framework Enterprise v0.11.0 release, we are adding support for output variables and secrets management
27 Jun 2019
Introducing the initial release of Firefox Preview (GitHub), an entire browser built from the ground up with GeckoView and Mozilla Android Components. Firefox Preview is our platform for building, testing, and delivering unique features. Though still an early preview, this is our first end-user product built completely with these new technologies. Plus, we share an update on where GeckoView is…
When the whole team agrees on coding standards we tend to be optimistic. We think that from now on everything will be exactly as we decided. The truth is that usually after a couple of months you’ll reinstall IDE or system and forget about configuration or new people join and it’s the Wild West all over again. Read more
In this article we will provide an example of how to dynamically resize images with Python and the Serverless framework.
26 Jun 2019
Audio visualization is a fascinating topic. We often take it for granted, but sound isn’t visible and only exists over time. In the case of a video stream, you can pick a frame/image and you have a snapshot of the video at this specific time. But you can’t do that with sound. Sound is the oscillation/vibration of molecules over time,…
Email communication is not my favorite but since I can’t avoid it, I am trying to compose messages in a way that I think it makes it easier for both me and the recipient: to quickly address what is being communicated avoid misunderstandings save time Here are some tips. They don’t apply to all type of messages, I provide before…
The web was designed with built-in features to make accessibility possible; these have been part of the platform pretty much from the beginning. In recent times, inspectable accessibility trees have made it easier to see how things work in practice. In this post we look at how “good” client-side code (HTML, CSS and JavaScript) improves the experience for users of…
Spring Boot is great to get started very quickly with what the Spring Boot authors have evaluated to be useful defaults. This can be a lot of help when you’re doing things for the first time, and have no way to copy paste working Maven pom.xml files from existing projects, for example. When working with … Continue reading How to…
This is a tutorial for Node.js devs about getting started with Go - while writing a server with net/http, encoding/json, envconfig & dependency management. The post Golang Tutorial for Node.js Developers, Part I.: Getting started appeared first on RisingStack Engineering.
This post adds support for heap allocation to our kernel. First, it gives an introduction to dynamic memory and shows how the borrow checker prevents common allocation errors. It then implements the basic allocation interface of Rust, creates a heap memory region, and sets up an allocator crate. At the end of this post, all the allocation and collection types…
25 Jun 2019
How do we build Serverless microservices as a team?
24 Jun 2019
One more time! Suppose we have our nominal distribution p that possibly has “black swans” and our helper distribution q which has the same support, but no black swans. We wish to compute the expected value of f when applied to samples … Continue reading →
Part One of an ever-growing Reactnative chat tutorial series, covering basic messaging and setting up the chat UI.
Security vs. convenience in the payment experience: What matters most to online shoppers?
GoCardlessWe surveyed 4,000 customers across the UK, France, Germany and Spain about their attitudes to security and convenience when shopping online.
ATTENTION: Azure Tips and Tricks has moved! Go here to access the new site and subscribe to the RSS feed for future updates. I’ll also be linking to new posts on my blog for the next month or so to give folks time to update their links/feed. Be sure to star the repo as well. {: .notice–primary} Delivering static content…
21 Jun 2019
“I am a slow walker, but I never walk back.” — Abraham Lincoln And we’re back to our regularly scheduled programming! :) Before moving on to topics of recognizing and interpreting procedure calls, let’s make some changes to improve our error reporting a bit. Up until now, if there was a problem getting a new token from text, parsing source…
Media and playback are at the core of SoundCloud’s experience. For that reason, we have established and grown an engineering team that is specialized in providing the best possible streaming experience to our users across multiple platforms. To do this, we combine the industry’s best-fitting solutions with our own custom technologies, libraries, and tools. In this article, let’s dive into…
20 Jun 2019
Learn the factors to consider when choosing a database with Serverless applications and AWS Lambda
19 Jun 2019
Mozilla’s View Source Conference is back! This year we're in Amsterdam, September 30 – October 1, 2019. Tickets are available now. We’ve shifted our focus to take a deeper look at the web platform and how it is evolving and to offer attendees access to the folks who are shaping today's web and the web of the future. The post…
18 Jun 2019
The CSS Scroll Snap specification gives us a way in CSS to snap between different elements in a page or scrolling component. In this post, Rachel Andrew explains how scroll snapping works, why we had a situation where browsers were running different versions of the specification, and how that's changing. The post CSS Scroll Snap Updated in Firefox 68 appeared…
Data Protection Officer, Kasey, on scaling the GoCardless Privacy Programme.
This talk was presented at the Boston Ember.js Community meetup at Salsify, Inc about a unique usecase for deploying FastBoot in order to do server-side rendering of Ember applications at scale. I review traditional, single-page web applications, I discuss server-side rendering by introducing Ember FastBoot. I showcase our architecture and provide a quick summary of how we use FastBoot in…
17 Jun 2019
Last time on FAIC we deduced the idea behind the “importance sampling” technique for determining the average value of a function from double to double — call it f — when it is applied to samples from a possibly-non-normalized weighted distribution of … Continue reading →
If customers churn just as fast as they convert, your recurring revenue will never be able to reach its true potential. Download this guide for actionable tips on managing churn from seasoned SaaS leaders.
2019 has been a great year for Ember so far, so while my peers are focused on setting direction for the framework for the rest of 2019, I wanted to take stock of the existing addons ecosystem. In this article I’d like to present a list of Ember addons that I use in most of my projects. I’ve been using…
Serverless Framework v1.45.0 - ALB event source, API Gateway Websocket logs, S3 hosted deployment packages, Custom configuration file names & More
ServerlessCheck out what’s included in Serverless Framework v1.45.
15 Jun 2019
At the end of May I attended Nordic Testing Days in Tallinn, Estonia. It was the first time I spoke at a conference outside of Sweden, and I had a great time. There was one day with tutorials, and two … Continue reading →
14 Jun 2019
A major shift in in-app user experiences and expectations is driving a new technological trend that's shaping the on-demand economy.
MapTiler is the proud partner of Red Bull X-Alps 2019, 2021, and 2023 for providing 3D terrain maps for live tracking
The new version of our open-source map publishing project OpenMapTiles 3.10 improves many water features, updates boundaries, brings new points of interest and adds four new languages.
13 Jun 2019
PubNub Arduino SDK and PubNub MQTT gateway to send and receive data from a MKR1000 development board using a built-in ATWINC1500 WiFi module.
PubNub Arduino SDK and PubNub MQTT gateway to send and receive data from a NodeMCU 1.0 development board using a built-in ESP8266 WiFi Module.
How to: PubNub MQTT gateway to send and receive a 'Hello world' message from a NodeMCU-32S development board with a built-in ESP32 WiFi Module.
PubNub Arduino SDK and PubNub MQTT Gateway to pub/sub data with two common WiFi modules included on Arduino-compatible development boards.
Spring provides many easy to use abstractions and you use many of them without even knowing about them. You probably know that in order to have @Transactional or @Cacheable annotation work spring creates proxies for you (sometimes proxies on top of proxies…), but have you ever wondered how it’s happening under the hood? What Creation of object proxies is a…