Build an app that searches a database in real-time to analyze and retrieve data based on a submitted question with IBM Watson Discovery + PubNub.
29 Jul 2019
The Serverless Framework makes it super easy to identify problems with your deployed serverless applications before they impact the quality of your service
As customer demographics change and technology access becomes more democratized, every business will need to have technology as its core. Enterprises with traditional business models often struggle in this new landscape, especially where they are reliant on external technology partners to maintain their core systems. For this reason, enterprises are starting to institute a formal procurement capability to source technology…
28 Jul 2019
Build an application that analyzes and measures user sentiment and emotion of an input as positive, negative, or neutral.
Build an application that analyzes and measures user sentiment and emotion of an input as positive, negative, or neutral.
Enable real-time geocoding and mapping in an AngularJS web application with a modest 44-line PubNub JavaScript BLOCK and 73 lines of HTML/JS.
Enable real-time geocoding and mapping in an AngularJS web application with a modest 44-line PubNub JavaScript BLOCK and 73 lines of HTML/JS.
How to build in turn-by-turn navigation into your real-time apps using the Mapbox Directions API.
How to build in turn-by-turn navigation into your real-time apps using the Mapbox Directions API.
How to embed a static map into a web or mobile app and update and mark geolocation in real time.
How to embed a static map into a web or mobile app and update and mark geolocation in real time.
How to build a JavaScript occupancy counter for multiplayer games that automatically updates a counter based on new users going online or offline.
How to build a JavaScript occupancy counter for multiplayer games that automatically updates a counter based on new users going online or offline.
How to stream real-time data and create real-time visualizations and dashboards using the Epoch library and PubNub Python.
How to stream real-time data and create real-time visualizations and dashboards using the Epoch library and PubNub Python.
27 Jul 2019
What a great book Designing Data-Intensive Applications is! It covers databases and distributed systems in clear language, great detail and without any fluff. I particularly like that the author Martin Kleppmann knows the theory very well, but also seems to … Continue reading →
All right, let’s finish this thing off! First, I want to summarize, second I want to describe a whole lot of interesting stuff that I did not get to, and third, I want to give a selection of papers and … Continue reading →
25 Jul 2019
Handling Collections in Aggregates (0-to-Many, Many-to-Many) - Domain-Driven Design w/ TypeScript
Khalil StemmlerThe aggregate design article I wrote was definitely my most in-depth article yet. And that's because it's such a big topic. In response to…
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…
Here's a question I got recently, Q: How can a domain model reference a model from a different subdomain? The person who asked the question…
Exploring machine learning algorithms in real-time data streaming, online learning, including theory and building a machine learning model.
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…
Can it be that it was all so simple then? Remember when our apps were simple? Remember we could make CRUD API calls to our backend to change…
“Change before you have to.” - Jack Welch, ex-CEO of General Electric. In 1987, legendary computer scientist Fred Brooks published a paper titled “No Silver Bullet – Essence and Accident in Software Engineering”. In this paper he describes the characteristics of modern software systems as he saw it, and goes on to explain the reasons for their inherent and accidental…
23 Jul 2019
There are many reasons to choose Heroku Data services, but keeping the services you use secure and up-to-date rank near the top. This foundation of trust is the most important commitment we make to our customers, and frequent and timely maintenances are one way we deliver on this promise. We do everything we can to […] The post Why Frequent…
“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.
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…
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.
The recent Thoughtworks Live event uncovered realities of the way technology is reshaping industries and customer expectations at an unprecedented rate - presenting both challenges and opportunities for businesses in the process. In this modern digital landscape, new and highly sophisticated online security issues are becoming more frequent and widespread reaching epidemic proportions.
19 Jul 2019
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…
When it comes to building high-quality products, as a QA, we might usefully start with the question: "What is quality?". It’s often answered academically, philosophically or with ISO definitions. But I’d like to start with a look at the example of a product we all know: a muffin.
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.
17 Jul 2019
Our General Counsel, Ahmed Badr, explains in these short videos.
Most of our first two decades in life are spent learning. Or more precisely, learning how to learn. Joining the professional world, I had expected that learning would naturally be put aside while contributing took the lion's share. Of course, learning and contributing are not binary oppositions – we can always learn while making significant contributions. But when studying is…
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
Every organization needs to be data-driven in order to be successful. Whether you’re tracking an application’s performance, incoming support tickets, or revenue rates, different components of any company depend on metrics that inform the health of the business. At Heroku, we’re hackers to the core, but that doesn’t mean we’re all programmers. We build on […] The post Dataclips Power…
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 →
12 Jul 2019
For quite some time we've received reports from our larger customers about a mysterious H13 – Connection closed error showing up for Ruby applications. Curiously it only ever happened around the time they were deploying or scaling their dynos. Even more peculiar, it only happened to relatively high scale applications. We couldn't reproduce the behavior […] The post Puma 4:…
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 -…
A detailed description of how I do my videos. Mostly as a reference to myself.
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
This blog post is adapted from a talk given by Ali Hamidi at Data Council SF ’19 titled “Operating Multi-Tenant Kafka Services for Developers on Heroku.” Thousands of developers use Heroku’s Apache Kafka service to process millions of transactions on our platform—and many of them do so through our multi-tenant Kafka service. Operating Kafka clusters at this scale requires […]…
If you ask a software consultant for advice on the best approach to anything, such as: what's the best framework to use what's the best ORM…
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
Globally, women are paid less than men for doing the same job. Current trends show it will take almost 100 years to close the gap.
10 Jul 2019
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…
Or, how to be more fulfilled as a developer. And make other developers have a more fulfilled life too.
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
What is Duke? No one knows his species or genus. People say he’s a Java Bean or a Software Agent, but all we know for sure is that he reminds us of the more than twenty-year legacy of the Java language and its community. The Java community has such an affinity for Duke that designers […] The post Samurai Duke…
Have you ever heard someone say that your code should be so well-understood that it should be read like a book? Those are the same…
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.
It’s easy to fall into the trap of thinking that when it comes to enterprise tech, there are few surprises left. After all, we all exist in a largely homogenous world where cloud, microservices and containers are the cornerstones of today’s leading businesses. In this world of known knowns, even the fiercest of rivals can follow almost identical tech strategies.
7 Jul 2019
In Object-Oriented Programming, we write a lot of classes. Classes contain properties (methods and attributes) which hold variables and…
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
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…
New approaches to risk management continued: Are you getting these five things wrong too?
Thoughtworks InsightsRisk is everywhere, from the insignificant to the company killers (read Takata Corporation). Risk management is about understanding as much as we can about what we don't know; but knowing enough about what we can conceive or perceive to make informed decisions. It’s important to suspend judgement and start by simply understanding the catastrophes that may lie in wait for…
A deep dive into the concept of continuous delivery for machine learning (CD4ML) — an approach to delivering infrastructure that keeps increasing its intelligence.
4 Jul 2019
Last time, we talked about how to create a facade over our ORM using the Repository pattern. Today, we're talking a little bit about where…
3 Jul 2019
Originally published here June 2019, with discussions on Hackernews and Reddit. Melvin Conway is credited with that quote back in 1967. In…
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…
(If you have not yet watched the full series, beware: this writing is smart and full of spoilers)
In this article, we’ll explore common patterns of enterprise intelligence and identify the points of friction and opportunities for improvement in the Continuous Intelligence cycle.
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
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…
Pride is a word with many meanings. It can mean a job well done. It can mean satisfaction in who you are or what you stand for. For me, it is all of that and more. It is one of the values that runs deeply at Heroku and what keeps me here — pride in […] The post Pride Runs…
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 →
Join the discussions on Hackernews and Reddit. Getters and setters (also known as accessors) were introduced to JavaScript when ECMAScript…
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…
Given a static site, how do you get the real count of visitors?
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.
Having empathy for your stakeholders can mean many things. In our case, it meant taking something highly complex and making it look easy. Along the way, we realised there was a connection between learning to engage consortium members and learning to read philosophy. Take Heidegger for example.
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…
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