~/devreads

25 Jul 2019

Ben Francis 3 min read

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…

featured articleiotmozilla webthingswot

24 Jul 2019

Alex Smolen 3 min read

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…

awssecurity

23 Jul 2019

6 min read

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…

Ruslan Spivak 8 min read

“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

1 min read

Microsoft 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…

company

21 Jul 2019

19 Jul 2019

Daniel Schmidt 1 min read

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…

graphql-subscriptionsrxjstypescriptgraphqlnodejs

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

1 min read

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

16 Jul 2019

Kadir Topal 1 min read

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…

featured articlemdnsurveyweb developersdeveloper needs assessment

Ferenc Hámori 3 min read

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.

otheredited

lukaseder 1 min read

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…

sqlcurrvalgenerated as identityidentitynextval

15 Jul 2019

ericlippert 8 min read

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 →

uncategorizedfixing random

Michael Crump 1 min read

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

Eric Rescorla 3 min read

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 -…

firefoxadd-ons

29 min read

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…

1 min read

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

Michael Gallagher 7 min read

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…

vuejsjavascriptfront-end-developmentvuex

1 min read

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…

Gareth McCumskey 1 min read

With the importance of plugins to the Serverless ecosystem, we had to find a way to thank our community and offer our support

news

10 Jul 2019

4 min read

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…

Mike Conley 3 min read

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…

bleeding edgefeatured articlefirefox development highlightsvideofirefox beta

1 min read

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…

safety alignment

9 Jul 2019

Dan Callahan 6 min read

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…

featured articlefirefoxfirefox development highlightsfirefox releasesjavascript

1 min read

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 …

8 Jul 2019

1 min read

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…

ericlippert 8 min read

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 →

uncategorizedfixing random

jgamblin 1 min read

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.…

uncategorized

Dave Cheney 11 min read

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 […]

goprogrammingsmall ideas

7 Jul 2019

6 Jul 2019

1 min read

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

Dave Cheney 1 min read

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 […]

gohigh performance gotrainingworkshop

Stanko 3 min read

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

Unknown 2 min read

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

1 min read

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

jgamblin 1 min read

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…

uncategorized

1 Jul 2019

ericlippert 4 min read

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 →

uncategorizedfixing random

srinivas.tamada@gmail.com (Srinivas Tamada) 1 min read

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…

angulararchitecturetenanttypescriptweb development

kevin 2 min read

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 […]

todays world

30 Jun 2019

jonskeet 16 min read

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…

c#designversioning

1 min read

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…

29 Jun 2019

28 Jun 2019

27 Jun 2019

Dan Callahan 3 min read

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…

featured articlefirefoxfirefox releasesmobilegeckoview

1 min read

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

26 Jun 2019

1 min read

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,…

5 min read

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…

emailcommunicationproductivityhow-tofeatured

Hidde de Vries 7 min read

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…

domfeatured articleaccessibilityaccessibility treeinspectable accessibility tree

lukaseder 1 min read

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…

jooq-in-usedependencyjooqjooq enterprise editionjooq express edition

25 min read

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

24 Jun 2019

ericlippert 4 min read

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 →

uncategorizedfixing random

Michael Crump 1 min read

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

Ruslan Spivak 15 min read

“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…

4 min read

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

19 Jun 2019

Ali Spivak 2 min read

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…

conferenceseventfeatured articleview sourceview source conference

18 Jun 2019

Rachel Andrew 4 min read

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…

cssfeatured articlefirefoxcss scroll snappingscroll snap

0xADADA 1 min read

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…

talksopen-sourcejavascriptweb developmentember

17 Jun 2019

ericlippert 3 min read

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 →

uncategorizedfixing random

15 Jun 2019

Henrik Warne 5 min read

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 →

testingconference

14 Jun 2019

MapTiler (Eva Jelinkova) 1 min read

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

Chandler Mayo 1 min read

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.

1 min read

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…