~/devreads

7 Jan 2021

6 Jan 2021

Mary Moore-Simmons 7 min read

As GitHub grows in size and our product offerings grow in number and complexity, we need to constantly evolve our on-call strategy so we can continue to be the trusted home for all developers. Expanding upon our Building GitHub blog series, this post gives you a window into one of the major steps along our continuous journey for operational excellence…

5 Jan 2021

Andrea Gross 1 min read

Every journey starts with one step. Whether that step is the first toward climbing a mountain or launching the campaign to keep your organization safe from cyberthreats, it’s important just to take that first step forward. You might not want to hear this, but cyberthreats are becoming more advanced and attackers are using new techniques […] The post Keep these…

securitysase

Dave Cheney 6 min read

Today’s post comes from a recent Go pop quiz. Consider this benchmark fragment. A convenience wrapper around sort.Sort(sort.StringSlice(s)), sort.Strings sorts the input in place, so it isn’t expected to allocate (or at least that’s what 43% of the tweeps who responded thought). However it turns out that, at least in recent versions of Go, each […]

goprogramming

1 min read

We’re introducing a neural network called CLIP which efficiently learns visual concepts from natural language supervision. CLIP can be applied to any visual classification benchmark by simply providing the names of the visual categories to be recognized, similar to the “zero-shot” capabilities of GPT-2 and GPT-3.

research

4 Jan 2021

1 min read

We’re ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search Strategies Unbounded Integers In this article we’ll deploy the application on a server, so that it can search for RH counterexamples even when I close my laptop. Servers and containers When deploying applications to servers, reproducibility is crucial. You don’t want your application to…

2 min read

I’ve been thinking for a while about setting this up, and this week seems as good as any. Both Alice and Frances have weekly updates that are a joy to read. Jenn has a live laugh blog. Maybe this is the year of long form tweets? I haven’t touched my site in like 6+ months so when I tried to…

2 Jan 2021

Luciano Mammino 26 min read

Luciano Mammino reflects on his 2020, including publishing Node.js Design Patterns Third Edition book, giving 13 conference talks, joining Fabfitfun as Principal Engineer, releasing Middy 1.0, launching Linkerflix MVP, and setting goals for improving as a software engineer, cloud architect, and indie maker in 2021.

life

1 Jan 2021

hello@taniarascia.com 7 min read

Well, 2020, it's been a slice. I've been pretty AWOL lately on all things internet, and I can't decide if I have a lot to say or if I'd…

31 Dec 2020

Armen Zambrano 1 min read

The summer of 2020 marked the end of 12 years of working for Mozilla. My career with Mozilla began with an internship during the summer of 2008 when I worked from Building K in 1981 Landings Drive, Mountain View, CA. Writing this post is hard since Mozilla was such a great place to work at, not only for its altruistic…

1 min read

Learn how the LIBOR rate determines the interests banks charge on loans

30 Dec 2020

1 min read

For React Native mobile apps targeting Android and iOS, an easy way to setup its continuous integration is to take advantage of Actions, an automation workflow service provided by GitHub. Even better, for open-source projects, GitHub Action offers unlimited free running minutes (at the time of this writing).

29 Dec 2020

David Walsh 4 min read

Every year I write a blog post about my goals for the year but I won’t pretend this year’s post is the same. I mean how the hell do I create realistic goals knowing what 2020 was and what 2021 inherits?! Pandemic, drastic political churn, social unrest…and none of that is related to my profession or this blog. Nevertheless, part…

32 min read

In the classic 1986 essay, No Silver Bullet, Fred Brooks argued that there is, in some sense, not that much that can be done to improve programmer productivity. His line of reasoning is that programming tasks contain a core of essential/conceptual1 complexity that's fundamentally not amenable to attack by any potential advances in technology (such as languages or tooling). He…

28 Dec 2020

jgamblin 1 min read

That was the simple question I asked myself on Saturday morning, thinking the answer would likely be simple to find. It wasn’t and ended up 48 hours later with me building this jupyter notebook to find out. I really thought it would be as easy as pulling down the NVD data feeds and running a simple nvd['Published'].value_counts().head(10) to find out…

uncategorized

David Walsh 1 min read

Using command line flags is a great way to subtly improve productivity. Whether saving yourself keystrokes or enabling specific features, it’s very much worth knowing the application flags available to you. To launch a new tab with DevTools in Chrome, you can use the --auto-open-devtools-for-tabs command line flag: Having the DevTools console immediately launch when opening a new tab can…

Henrik Warne 3 min read

Choosing test values when writing unit tests is mostly guided by the need to cover all cases of the program logic. However, some values are better than others. Here are a few tips on how to pick values that make … Continue reading →

testingunit testingunit-test

27 Dec 2020

23 Dec 2020

David Walsh 1 min read

Last week I tweeted all of you looking for your best JavaScript Array and Promise tricks, and as always, it didn’t disappoint — I learned quite a bit! Today’s JavaScript Promise trick is brought to you by Claudio Semeraro: how to use catch to set a default value instead of a try/catch: // Instead of wrapping this block in a…

22 Dec 2020

Kalle Happonen 21 min read

Allas downtime November 2020 - technical deep-dive We use Ceph (https://ceph.io/) to provide software defined storage in our Allas service. I'll try to speak some Ceph here. There may be a lot of unfamiliar terms for most readers here as we dive deep into a technology. I'll try to clarify where I can, but architectural knowledge of Ceph helps when…

David Walsh 1 min read

I’ve written a number of blog posts about JavaScript tricks: Promise tricks, type conversion tricks, spread tricks, and a host of other JavaScript tricks. I recently ran into another JavaScript trick that blew my mind: how to break a forEach loop, shared by Andrea Giammarchi! To break the forEach loop at any point, you can truncate the array’s length: const…

1 min read

Well this year absolutely sucked. But I'll try to take a look at the positive.

21 Dec 2020

Tal Safran 9 min read

This is the second post in a series about how we built our new homepage. How our globe is built How we collect and use the data behind the globe How we made the page fast and performant How we illustrate at GitHub How we designed the homepage and wrote the narrative In the first post, my teammate Tobias shared…

Tobias Ahlin 9 min read

GitHub is where the world builds software. More than 56 million developers around the world build and work together on GitHub. With our new homepage, we wanted to show how open source development transcends the borders we’re living in and to tell our product story through the lens of a developer’s journey. Now that it’s live, we would love to…

David Walsh 2 min read

JavaScript recently turned 25 years old, and while it started by dominating over the client side world, this beautiful programming language is well on its way to taking over the server side. JavaScript isn’t just thriving — it’s evolving with new syntax features, patterns, frameworks, best practices, and platforms…and we as engineers need to evolve with it. To celebrate 25…

20 Dec 2020

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

Nowadays Google Firebase is my most favorite application. This is offering great web solutions like hosting, authentication, storage and database in a simple way. This article explains how to upload images(supports video) into Firebase storage with Ionic and Angular applications. This covers the user authentication part to protect storage uploads and improving default Firebase security rules. Take a look at…

angularfirebasegoogleionicstorage

19 Dec 2020

Schakko 6 min read

GitHhub Package Repository provides an easy way to share dependencies like Maven artifacts between GitHub projects. Publishing of new artifacts into GitHub Package Repository can be automated with GitHub Actions. In May 2019 GitHub introduced the GitHub Package Registry: an alternative to some traditional package registries like Sonatype Nexus. During […] The post Using GitHub Workflow with Maven dependencices from…

ci cd

18 Dec 2020

17 Dec 2020

Maja Frydrychowicz 9 min read

Testing web applications can be a challenge. At Mozilla, we see that as a call to action. With our commitment to building a better Internet, we want to provide web developers with the tools they need to build great web experiences – including great tools for testing. In this series of posts, we will explore the current web-application testing landscape…

developer toolsweb developersfirefoxstandardstesting

jgamblin 2 min read

I monitor the @CVENew Twitter feed to keep up with any interesting new vulnerabilities that are released. On December 11th CVE-2020-29589 was published claiming that “the kapacitor Docker images through 1.5.0-alpine contain a blank password for the root user” and that it has a CVSS score of 9.8. This CVE was just a re-report of CVE-2019-5021, which I researched last…

uncategorized

16 Dec 2020

Chris Mills 4 min read

The 2020 MDN Web Developer Needs Assessment (DNA) report is now available! This post takes you through what we’ve accomplished in 2020 based on the findings in the inaugural report, key takeaways of the 2020 survey, and what our next steps are as a result. The post 2020 MDN Web Developer Needs Assessment now available appeared first on Mozilla Hacks…

featured articlemdnmdn dna reportweb dna

Jordan Raine 6 min read

Part of the Building GitHub blog series. It’s four o’clock in the afternoon as you push the last tweak to your branch. Your teammate already reviewed and approved your pull request and now all that’s left is to wait for CI. But, fifteen minutes later, your commit goes red. Surprised and a bit annoyed because the last five commits were…

15 Dec 2020

ericlippert 2 min read

Since I’m staying home all day due to the ongoing pandemic emergency, I’ve decided to document all the different species of birds that arrive in my yard. I am not a great bird photographer but I am enjoying practicing every … Continue reading →

uncategorized

Ken Howard 1 min read

It’s no secret that the world of work has changed dramatically. The “office” is now almost anywhere except the traditional campus you own and protect. Your workers and your data have scattered to bedroom alcoves, kitchen tables, outdoor coffee shops, and the park bench. Organizations have more critical infrastructure, applications, and sensitive data stored in […] The post Secure anywhere,…

securityadvanced malware protectioncloud securitycybersecuritymalware protection

Chris Mills 3 min read

As December ushers in the final curtain for this rather eventful year, there is time left for one more Firefox version to be given its wings. Firefox 84 includes some interesting new features including tab order inspection, complex selector support in :not(), the PerformancePaintTiming API, and more! The post And now for … Firefox 84 appeared first on Mozilla Hacks…

cssdeveloper toolsfeatured articlefirefoxfirefox releases

Dave Cheney 2 min read

Picture yourself, an engineer working at the hottest distributed microservices de jour, assigned to fix a bug. You jump into an unfamiliar codebase and quickly locate the line where the problem occurred. The fix is simple, just return early or substitute a default value in the case that one cannot be determined from your input. […]

programmingsmall ideas

Savannah Ostrowski 3 min read

We are happy to announce that the December 2020 release of the Python Extension for Visual Studio Code is now available. This release includes code actions for method and variable extraction with Pylance, the Pylance insiders program and Ipywidgets support in Native Notebooks. Keep on reading to learn more! The post Python in Visual Studio Code – December 2020 Release…

pythonvisual studio code

14 Dec 2020

Schakko 2 min read

If you receive the error ERR_CONNECTION_RESET on one website only, it is highly likely that something went wrong on the server side. Receiving random ERR_CONNECTION_RESETs A few weeks ago one of my colleagues complained to me: Sometimes, when he was using the WordPress theme editor, he either received an empty […] The post Diagnosing and fixing an ERR_CONNECTION_RESET error in…

uncategorized

David Walsh 1 min read

Knowing what input type you’ve received is hugely important in JavaScript, which is a big reason for Flow and TypeScript’s rise. One such case where it’s useful to know what an object represents is if the input is a string or a React element. To detect if an object is a React element, you can use React.isValidElement(obj): // Add a…

13 Dec 2020

11 Dec 2020

jgamblin 1 min read

I joined Kenna Security two years ago as their Principal Security Engineer not long after my friend JCran joined as the Head of Research. In the last two years, while building the security team, I have stayed deeply involved with the research team, and from time to time, some of that research was made public: Fifth of Docker Containers Have…

uncategorized

10 Dec 2020