~/devreads

17 Feb 2023

Nic Raboy 1 min read

So you need to build an application with minimal operating costs that can also scale to meet the growing demand of your business. This is a perfect scenario for a serverless function, like those built... The post Getting Started with MongoDB Atlas and Azure Functions using .NET and C# appeared first on Microsoft.

16 Feb 2023

vladmihalcea 1 min read

Introduction In this article, I will show you the best way to generate a TSID entity identifier with JPA and Hibernate. Prior to continuing, if you are not familiar with the advantages of using compact Time-Sorted Identifiers, like TSID, check out this article first. Hypersistence Utils As promised, the Hypersistence Utils OSS library keeps on evolving, adding more and more…

hibernatehypersistence utilsidentifierjpatsid

15 Feb 2023

14 Feb 2023

Michael Carroll 1 min read

We're excited to provide our customers with real-time charts and graphs on the Microsoft Power BI platform.

Driven by Code 7 min read

By: Kyler Stole Are you a car shopper but don’t know which car fits your needs? TrueCar’s Model Search can help narrow it down. It consists of a search results page (SRP) of vehicle models along with a slew of combinable filters. But what powers such a thing?? Well, Elasticsearch, because relational databases struggle with the aggregations to display counts…

ruby-on-railssqlarelsearchactiverecord

Kedar Hiremath 1 min read

Moving to the cloud and securing applications and data globally is paramount to protect your business. Bad actors are always looking for ways to exploit the reality of digital communication. Zero Trust reflects this evolving threat landscape and has become a central framework for security practitioners to plan their defenses. In this blog, we’ll discuss […] The post Cisco Umbrella…

products servicescisco duosasezero trust network access

13 Feb 2023

Joyce Lin 5 min read

Storing Postman scripts within reusable components in an OpenAPI definition In programming, “hacking” has historically meant making something do what it wasn’t originally intended to do, like using a whistle from a cereal box prize to play the tone into a pay phone to get free long distance calls. Today, it also refers to finding an inelegant solution to a…

javascriptpostmanapisoftware-developmentengineering

1 min read

Back in May of 2022 I transferred teams at Google to work on Fully Homomorphic Encryption (newsletter announcement). Since then I’ve been working on a variety of projects in the space, including being the primary maintainer on github.com/google/fully-homomorphic-encryption, which is an open source FHE compiler for C++. This article will be an introduction to how to use it to compile…

Rob 2 min read

A very big part of my work at Covie for the last year has been putting in place the processes required for to achieve SOC 2 Type II compliance. This standard by the AICPA is all about an organisation's security, availability, processing integrity, privacy and confidentiality controls and processes. It's a comprehensive set of requirements covering our product's and organisation's…

compliance

12 Feb 2023

Henrik Warne 18 min read

I really enjoyed reading Algorithmic Trading: A Practitioner’s Guide by Jeffrey M. Bacidore. Before starting, I imagined it would cover various strategies for trading in the markets, along the lines of “buy on this condition, sell on this condition”. But … Continue reading →

learningalgorithmic tradingbookbook reviewreview

10 Feb 2023

8 Feb 2023

Matt Brown 5 min read

TL; DR: We’re announcing a new open source type checker for Hack, called Hakana. Slack launched in 2014, built with a lot of love and also a lot of PHP code. We started migrating to a different language called Hack in 2016. Hack was created by Facebook after they had struggled to scale their operations…

hacklang

ericlippert 2 min read

How do we write a compiler in a typical general-purpose line-of-business OO programming language such as Python, C#, Java, and so on? Compilers are programs, so we could make the question more general: how do we write programs? The basic … Continue reading →

uncategorized

vladmihalcea 1 min read

Introduction In this article, we are going to see how we can achieve fault tolerance in your Spring Data application with the help of YugabyteDB. As previously explained, YugabyteDB is an open-source distributed SQL database that combines the benefits of traditional relational databases with the advantages of globally-distributed auto-sharded database systems. Fault tolerance First, let’s start with the definition of…

databasespringfault tolerancespring datayugabytedb

MapTiler (Nicolas Bozon) 1 min read

MapTiler Ocean, the latest addition to MapTiler Cloud, describes the world’s oceans in great detail and brings new possibilities for marine cartography. Containing detailed bathymetry as hillshading and contours, it lets you add detail and interest to what is usually blue space on the map.

7 Feb 2023

Driven by Code 4 min read

By: Kyler Stole If you ever struggle to express a query in ActiveRecord, you may be able to build it with Arel instead. Arel is the platform that manages the abstract syntax tree (AST) used to build SQL queries in Rails. It’s the implementation underneath the veneer of ActiveRecord (AR) and it’s considerably more flexible than just the functionality that…

rubyruby-on-railsarelactiverecordsql

6 Feb 2023

Timothy Clem 13 min read

From launching our technology preview of the new and improved code search experience a year ago, to the public beta we released at GitHub Universe last November, there’s been a flurry of innovation and dramatic changes to some of the core GitHub product experiences around how we, as developers, find, read, and navigate code. One question we hear about the…

David Walsh 1 min read

I love the Brave web browser for many reasons: ad blocking, Brave rewards, crypto integration, and even a Tor tab feature. I’ll often use the Tor feature but wanted to know how I could automated opening Tor windows from command line. To open a Brave Tor tab, you can use the following command: open -a "Brave Browser" --args --incognito --tor…

lukaseder 1 min read

I’ve found an interesting question on Twitter, recently. Is there any performance impact of using FILTER in SQL (PostgreSQL, specifically), or is it just syntax sugar for a CASE expression in an aggregate function? As a quick reminder, FILTER is an awesome standard SQL extension to filter out values before aggregating them in SQL. This … Continue reading The Performance…

sqlaggregate functionsbenchmarkfilterperformance

4 Feb 2023

15 min read

For most of the past decade, I have spent a considerable fraction of my professional life consulting with teams building on the web. It is not going well. Not only are new services being built to a self-defeatingly low UX and performance standard, existing experiences are pervasively re-developed on unspeakably slow, JS-taxed stacks. At a business level, this is a…

3 Feb 2023

ericlippert 3 min read

The European starling is a lovely looking bird, though territorial, noisy and aggressive up close. Unfortunately, they are very invasive in North America. Most of the hundreds of millions of European starlings now living in the Americas can be found … Continue reading →

uncategorized

Courtney Webster 3 min read

The February 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes automatic environment selection, improvements to the Create Environment command, improved Intellisense support for pytest in preview, and improvements to the Jupyter kernel picker. Keep reading to learn more! The post Python in Visual Studio Code – February 2023 Release appeared…

python

Frederick O'Brien 1 min read

‘Who does what and where?’ is an age-old question. We in Product & Engineering have tried to answer it with Galaxies, a data visualisation of interconnected people, teams, and streams We all feel a little lost at times. Who am I? What is my purpose? Who’s the best person to speak to about setting up my AWS credentials? Anyone who…

2 Feb 2023

Steve Guntrip 3 min read

It’s been said that documentation is like a love letter to your future self. If that’s the case, then GitHub Docs are love letters to our 100 million developers who turn to them everyday for help and support. Whether it’s a student who wants to sign up for an account or a seasoned senior developer who needs to set up…

Grant Birkinbine 6 min read

At GitHub, the branch deploy model is ubiquitous and it is the standard way we ship code to production, and it has been for years. We released details about how we perform branch deployments with ChatOps all the way back in 2015. We are able to use ChatOps to perform branch deployments for most of our repositories, but there are…

Francesco Siddi 1 min read

The new Blender development infrastructure is almost ready to go. Check out the preview link in the article and share your feedback!

general development

1 Feb 2023

1 min read

The Open Source software development model is a powerful approach to collaboratively iterating on a shared solution to a common problem. Rather than competitors duplicating effort to come up with multiple suboptimal solutions, they can collaborate together to build something greater. Forking is the term used to denote making a copy of a codebase. The copy, known as a “fork”…

James Graham 7 min read

Interop 2022 showed significant improvements in the interoperability of multiple platform features, along with several cross-browser investigations that looked into complex, under-specified, areas of the platform where interoperability has been difficult to achieve. Building on this, we're pleased to announce Interop 2023, the next iteration of the Interop project. The post Announcing Interop 2023 appeared first on Mozilla Hacks -…

developer toolsfeatured articlefirefoxaccessibilityinterop

ericlippert 2 min read

In the autumn of last year my friend Joan and I went on a little trip up to the Skagit valley north of Seattle to photograph birds of prey; I managed to get a blurry but recognizable shot of this … Continue reading →

uncategorized

Joyce Lin 4 min read

And use Postman to send and receive messages across the WebSocket connection The WebSocket protocol provides a way to exchange data between a client and server over a persistent connection. The data can be passed in both directions with low latency and overhead, and without breaking the connection. This means the server can independently send data to the client without…

nodejswebsocketengineeringsoftware-developmentapi

vladmihalcea 1 min read

Introduction Welcome to a new issue of the High-Performance Java Persistence Newsletter in which we share articles, videos, workshops, and StackOverflow answers that are very relevant to any developer who interacts with a database system using Java. Articles The pick of this edition is this article that not only explains how B+Tree indexes work in PostgreSQL, but it provides an…

newsletterhibernatejavajpamysql

Saif Chaouachi 4 min read

After Duplo modularization, we noticed that the task producing a transitive R class was taking a significant amount of time to execute. To eliminate this task altogether, and since the non-transitive R class is advertised to have up to 40% incremental build time improvement, we decided to migrate our codebase to use it. If you’re not…

uncategorizedandroidandroid-app-development

blog.muffn.io (muffn_) 1 min read

📔 Intro # I no longer use Goatcounter. I instead use Umami. This tutorial will still work if you wish you use Goattcounter though. I just posted about how I migrated from WordPress to Hugo here:

blog.muffn.io (muffn_) 1 min read

📔 Intro # When I started this blog in 2015 it was more to learn than to actually write anything. WordPress was easy enough to set up and maintain along with the plethora of plugins to mess with.

31 Jan 2023

Developer Relations Team 1 min read

Power your on-demand service app with PubNub. This tutorial will teach you how to build a ridesharing Android app (Uber or Lyft clone).

Ole Begemann 1 min read

I know I’m almost a decade late to this party, but I’m probably not the only one, so here goes. Double Fine Adventure was a wildly successful 2012 Kickstarter project to crowdfund the development of a point-and-click adventure game and, crucially, to document its development on video. The resulting game Broken Age was eventually released in two parts in 2014…

James Graham 3 min read

Last March we announced the Interop 2022 project, a collaboration between Apple, Bocoup, Google, Igalia, Microsoft, and Mozilla to improve the quality and consistency of their implementations of the web platform. Now that it's 2023 and we're deep into preparations for the next iteration of Interop, it's a good time to reflect on how the first year of Interop has…

featured articlefirefoxchromecssinterop

David Walsh 1 min read

Many engineers like myself live in the command line, and perform actions from command line that most others would click an icon for. I’ve always found opening apps from command line on Macs painful. You need to references the Applications directory, add .app to the name, etc. I just want to open apps by name. To open an app from…

30 Jan 2023

ericlippert 4 min read

Reader “Joel” had an insightful comment on the first part of this series which I thought deserved a short episode of its own. Recall that we proved the theorem “if a compositional forest contains a mockingbird then every bird in … Continue reading →

uncategorized

RisingStack Engineering 13 min read

There are many different types of AI development tools available, but not all of them are created equal. Some tools are more suited for certain tasks than others, and it’s important to select the right tool for the job. Choosing the wrong tool can lead to frustration and wasted time, so it’s important to do […] The post AI Development…

ai

David Walsh 1 min read

When I was a child, I loved looking for Waldo in the “Where’s Waldo?” book series. These days I’m a sucker for TMZ’s “What’s the Big Frigin Difference” images, where TMZ slightly changes an image and you have to spot the differences between the two. That got me to thinking — how easily could I automate diff’ing two images? This…

MapTiler (Tomas Pohanka) 1 min read

Planet Lite, our copyright-free map of the entire world, has been upgraded with enhanced features and issue fixes have been made to our lite version of MapTiler Planet. This latest release of the Lite version of MapTiler Planet has improved compatibility, boundaries, and some new features and upgrades.

27 Jan 2023

1 min read

A maximal length sequence of branch-free code that terminates with a branch or jump is referred to as a basic block. A basic block that branches to another forms an edge in the Control Flow Graph (CFG). The initial basic block starting an edge is the predecessor; it precedes and is succeeded by the successor basic block. An edge between…

26 Jan 2023

1 min read

To the best of my memory Tweetbot has been my window into Twitter since pretty close to when it was released. I open Twitter’s web interface from time to time when I had to, but it has not been my primary way to use the service for well over a decade. There are multiple reasons I was fine with living…

social media

25 Jan 2023

Nic Raboy 1 min read

If you're a Go developer and you're looking to go serverless, AWS Lambda is a solid choice that will get you up and running in no time. But what happens when you need to connect to your database? With... The post Interact with MongoDB in an AWS Lambda Function Using Go appeared first on MongoDB.

24 Jan 2023

Archie Gunasekara 9 min read

Slack launched GovSlack in July 2022. With GovSlack, government agencies, and those they work with, can enable their teams to seamlessly collaborate in their digital headquarters, while keeping security and compliance at the forefront. Using GovSlack includes the following benefits: Supports key government security standards, such as FedRAMP High, DoD IL4, and ITAR Runs in…

automationawsinfrastructure

Driven by Code 5 min read

What are the benefits? How do I get started? How do I keep it interesting? By: Jason Stadther Lightning Talks are short presentations, usually between 5 and 10 minutes long, that focus on just a few key points. The goal is to cover the most critical information only and get folks excited to learn more. At TrueCar, I define them…

public-speakingcommunicationengineering-cultureiterative-improvement

vladmihalcea 1 min read

Introduction In this article, we are going to see that scaling the data access layer of a Spring application can be done very easily with a YugabyteDB cluster. As I explained in this article, YugabyteDB is an open-source distributed SQL database that offers all the benefits of a typical relational database (e.g., SQL, strong consistency, ACID transactions) with the advantages…

hibernateclusterscalabilityscalingspring

23 Jan 2023

1 min read

Embarking on a payments innovation like open banking can be daunting for non-financial services people. In this guest blog, Cuckoo's Alexander Fenton explains how the benefits offered by open banking make it well worth investigating.

22 Jan 2023

21 Jan 2023

blog.muffn.io (muffn_) 1 min read

muffn_ on Spotify # ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍

20 Jan 2023

1 min read

Unless work is done per architecture to implement HAVE_ARCH_VMAP_STACK / CONFIG_VMAP_STACK, the Linux kernel defaults to two pages worth of stack per thread. Note: on many contemporary systems the page size is 4KiB, but this is actually configurable for many architectures. The trade offs probably require a separate post. If you see code that checks for alignment via bitwise tricks…

lukaseder 1 min read

One of MySQL 8’s biggest improvements is the support of window functions. As I always said in conferences, there’s SQL before window functions and SQL after window functions. Once you start using them, you’ll use them everywhere. Some of you poor souls are unfortunate enough to be stuck on MySQL 5.7, either of your own … Continue reading Emulating Window…

sqldense rankemulationslocal variablesmysql 5.7

19 Jan 2023

Kevin Duck 3 min read

Looking to supercharge cross-functional work at your organization? Here at GitHub, we take pride in using GitHub to release new products and features. Each new product and feature that we release requires a great amount of cross-functional collaboration, and touches nearly all our teams, from engineering to social media. But it’s not a challenge to share information across teams thanks…

18 Jan 2023

lukaseder 1 min read

Previously on this blog, I’ve written a post explaining why you should use jOOQ’s code generator, despite the possibility of using jOOQ without it. In a similar fashion, as I’ve answered numerous jOOQ questions on Stack Overflow, where someone used jOOQ to build a query, but then executed it elsewhere, including on: jOOQ itself isn’t … Continue reading Why You…

jooq-in-usecode generationcrudcsvexecution

17 Jan 2023

ericlippert 3 min read

For the next part in my Bean Machine retrospective to make sense I’ll need to make a short digression. In looking back on the almost 20 years I’ve been blogging, it is surprising to me that I’ve only briefly alluded … Continue reading →

uncategorized

vladmihalcea 1 min read

Introduction In this article, I’m going to explain how you can use the BaseJpaRepository from the Hypersistence Utils OSS project as an alternative to the default Spring Data JpaRepository. The reason why I’m not using the default JpaRepository on any of my Spring projects is that it provides some terrible defaults that can be very easily misused, like: The findAll…

springbasejparepositoryhypersistence utilsjpajparepository

David Walsh 6 min read

The start of a new year is usually a time when we start looking for ways to make something a little better. That something could be our life, work, or what we produce. Web designers, for example, might look for ways to make their designs more interesting or effective. In this post we will focus on 5 web design trends…

lukaseder 1 min read

jOOQ already has a LoggingConnection (see also the manual), which acts as a JDBC proxy Connection to log all SQL statements that are executed by any JDBC client (including Hibernate, MyBatis, JdbcTemplate, native JDBC, etc.). Starting from jOOQ 3.18.0, 3.17.7, and 3.16.13, a LoggingConnection is now also available for R2DBC clients to log all reactive … Continue reading jOOQ’s R2DBC…

jooq-in-usejooqloggingr2dbc