~/devreads

16 May 2022

1 min read

A couple of weeks ago I was working on adding SSH Certificate Authentication support to Wish, and did not find any good, to the point documentation on how to use certificates from the Go SSH client — hence this post.

15 May 2022

6 min read

In my previous post 8 months ago I described how our open source online game DDraceNetwork has been suffering under DoS attacks for about 8 years, basically since its inception. Recently the attacks have gotten much worse, forcing us to work on further approaches. Since many players made suggestions recently, I’m writing this blog post to summarize what we are…

14 May 2022

1 min read

This is a draft of a chapter from my in-progress book, Practical Math for Programmers: A Tour of Mathematics in Production Software. Tip: Determine an aggregate statistic about a sensitive question, when survey respondents do not trust that their responses will be kept secret. Solution: import random def respond_privately(true_answer: bool) -> bool: '''Respond to a survey with plausible deniability about…

13 May 2022

jgamblin 1 min read

Covid restrictions are starting to be relaxed, so I am beginning to feel like Willie and am getting on the road again, and in the next six weeks, I am attending and presenting at these four amazing events. BSidesKy I am amazingly excited to attend bsides.ky in the Cayman Islands at the end of May, where I will be leading…

uncategorized

12 May 2022

Gian-Carlo Pascutto 9 min read

Firefox uses a multi-process model for additional security and stability while browsing: Web Content (such as HTML/CSS and Javascript) is rendered in separate processes that are isolated from the rest of the operating system and managed by a privileged parent process. This way, the amount of control gained by an attacker that exploits a bug in a content process is…

featured articlefirefoxfirefox oshtmljavascript

1 min read

I have two GitLab accounts - "work account" and "personal account". One is for my professional work, it is registered to my work email. The second account is for my private/learning projects registered with my private email address. I want to keep those things separate and use two different identities when working with git. Lately, I’ve bought a new computer…

11 May 2022

lukaseder 1 min read

An interesting hint by Vladimir Sitnikov has made me think about a new benchmark for jOOQ: The benchmark should check whether single row queries should have a JDBC Statement.setFetchSize(1) call made to them by default. The Javadoc of the method says: Gives the JDBC driver a hint as to the number of rows that should … Continue reading Setting the…

jooq-developmentsqldb2fetch sizefetchsize

10 May 2022

9 May 2022

David Walsh 1 min read

JavaScript Arrays are probably my favorite primitive in JavaScript. You can do all sorts of awesome things with arrays: get unique values, clone them, empty them, etc. What about getting a random value from an array? To get a random item from an array, you can employ Math.random: As for when you would need random values from an array is…

lukaseder 1 min read

A really cool, recent question on Stack Overflow was about how to map a nested collection into a Java Map with jOOQ. In the past, I’ve blogged about the powerful MULTISET operator many times, which allows for nesting collections in jOOQ. This time, instead of nesting data into a List<UserType>, why not nest it in … Continue reading How to…

jooq-in-usejooqmappingmultisetnested collections

7 May 2022

6 May 2022

5 May 2022

Soojin Choi 3 min read

We’re excited to announce that the May 2022 release of the Python and Jupyter Extensions for Visual Studio Code are now available! With this release we’re introducing three new extensions: Black, isort, and Jupyter Powertoys. If you’re interested, you can check the full list of improvements in our changelogs for the Python, Jupyter and Pylance […] The post Python in…

jupyterpythonvisual studio code

Ole Begemann 4 min read

@MainActor is a Swift annotation to coerce a function to always run on the main thread and to enable the compiler to verify this. How does this work? In this article, I’m going to reimplement @MainActor in a slightly simplified form for illustration purposes, mainly to show how little “magic” there is to it. The code of the real implementation…

4 May 2022

lukaseder 1 min read

Every now and then I run across a use case for the arcane NATURAL JOIN SQL operator, and I’m even more delighted when I can make that a NATURAL FULL JOIN. A few past blog posts on the subject include: Use NATURAL FULL JOIN to compare two tables in SQL Impress Your Coworkers With the … Continue reading A Quick…

uncategorized

MapTiler (Nicolas Bozon) 1 min read

OpenStreetMap’s familiar styling is now available for developers to adapt and use with vector basemaps.

3 May 2022

2 May 2022

kevin 1 min read

On Sunday morning at 1am I had a lot of stomach pain. I am a One Medical customer, had heard that they offered urgent care, and so I searched on their website for information. Unfortunately their urgent care option does not show up in the list of care options on their website: I concluded that […]

todays world

Stanko 3 min read

While making a simple SVG chart, I realized I would like to have non-scaling circles for data points. Unfortunately, SVG doesn't support it out of the box. If you are eager to see the result, jump to the examples below or play with the code on Codepen. Non-scaling stroke example # SVG does support non-scaling stroke width by setting vector-effect…

1 May 2022

Michael Carroll 1 min read

Dr. Joe Kvedar, Chair of the Board for the ATA, joins us to discuss why telehealth is such a transformative opportunity for our healthcare system.

29 Apr 2022

Shreya Ramesh 12 min read

Building load test infrastructure is tricky and poses many questions. How can we identify performance regressions in newly deployed builds, given the overhead of spinning up test clients? To gather the most representative results, should we load test at our peak hours or when there’s a lull? How do we incentivize engineers to invest time…

uncategorizeddevtoolsload-testingperformanceperformance-testing

28 Apr 2022

lukaseder 1 min read

Since jOOQ 3.4, we have an API that simplifies transactional logic on top of JDBC in jOOQ, and starting from jOOQ 3.17 and #13502, an equivalent API will also be made available on top of R2DBC, for reactive applications. As with everything jOOQ, transactions are implemented using explicit, API based logic. The implicit logic implemented … Continue reading Nested Transactions…

jooq-developmentjakarta eejavajdbcjooq

Dan Brown 2 min read

The latest Common Voice dataset, released today, has achieved a major milestone: More than 20,000 hours of open-source speech data that anyone, anywhere can use. The dataset has nearly doubled in the past year. Mozilla’s Common Voice seeks to change the language technology ecosystem by supporting communities to collect voice data for the creation of voice-enabled applications for their own…

developer toolsfeatured articlemozillaaccessibilitycommon voice

Hermina 1 min read

Almost a month ago, we announced MDN Plus, a new premium service on MDN that allows users to customize their experience on the website. We are very glad to announce today that it is now possible for MDN users around the globe to create an MDN Plus free account, no matter where they are. The post MDN Plus now available…

featured articlemdnmdnplus

27 Apr 2022

Ole Begemann 5 min read

Here’s a simple AttributedString with some formatting: import Foundation let str = try! AttributedString( markdown: "Café **Sol**", options: .init(interpretedSyntax: .inlineOnly) ) AttributedString is Codable. If your task was to design the encoding format for an attributed string, what would you come up with? Something like this seems reasonable (in JSON with comments): { "text": "Café Sol", "runs": [ { //…

26 Apr 2022

Laura Nolan 12 min read

By Laura Nolan, with contributions from Glen D. Sanford, Jamie Scheinblum, and Chris Sullivan. Assessing conditions Slack experienced a major incident on February 22 this year, during which time many users were unable to connect to Slack, including the author — which certainly made my role as Incident Commander more challenging! This incident was a…

uncategorizeddata-infrastructuredebuggingincident-response

David Walsh 1 min read

I’m always really excited to see new methods on JavaScript primitives. These additions are acknowledgement that the language needs to evolve and that we’re doing exciting new things. That being said, I somehow just discovered some legacy String methods that you probably shouldn’t use but have existed forever. Let’s take a look! These legacy string methods take a basic string…

25 Apr 2022

Vijay Bharadwaj 7 min read

During my final search for an internship, I had an idea of where I wanted to work: a place with a friendly culture and strong engineering practices – something in between a startup and a big company. To my luck, I interned at Clever – an organization that surpassed those expectations in the span of […] The post Working at…

internshipinterviewingonboardingcultureengineering

David Walsh 14 min read

I was recently re-reading my Interview with a PornHub Web Developer and one bit I started thinking about was the VR question and the idea of making users not just see but feel` something. The haptic feedback of VR games is what really sets them apart from your standard PC or console game. So when it comes to sex tech,…

21 Apr 2022

Carlos Martín Nieto 5 min read

At GitHub, we relentlessly pursue performance. Join me now for the tale of how we dropped a P99 time by 95% on code that runs for every single Git push operation. Every time you push to GitHub, we run a set of checks to validate your push before accepting it. If you ever tried to push an object larger than…

Hermina 4 min read

On March 1st, 2022, MDN Web Docs released a new design and a new brand identity. Overall, the community responded to the redesign enthusiastically and we received many positive messages and kudos. We also received valuable feedback on some of the things we didn’t get quite right, like the browser compatibility table changes as well as some accessibility and readability…

featured articlefirefoxmdnaccessibilitygithub

20 Apr 2022