~/devreads

17 Jul 2023

1 min read

Note: The Secrets of Skellig is on indefinite hold now while I work on other things. I’ve wanted to dip my feet back into game development for a while, and last year I decided to put my money where my mouth is. I resigned from my full time job at Discourse and pulled up a bunch of YouTube tutorials on…

15 Jul 2023

Jon Daniel 4 min read

PostgreSQL extensions are powerful tools that allow developers to extend the functionality of PostgreSQL beyond its basic types and functions. These extensions can connect your database to an external PostgreSQL instance (postgres_fdw), add native GIS functionality (postgis), standardize address information (address_standardizer), and more. Extensions are arguably one of PostgreSQL’s greatest features and are partially responsible […] The post Improving the…

news

14 Jul 2023

Alaa Awad 7 min read

Introduction Personalization is vital to connect our unique marketplace to the right buyer at the right time. Etsy has recently introduced a novel, general approach to personalizing ML models based on encoding and learning from short-term (one-hour) sequences of user actions through a reusable three-component deep learning module, the adSformer Diversifiable Personalization Module (ADPM). We describe in detail our method…

13 Jul 2023

Eric Elliott 3 min read

Threads is a new social network from the Instagram team that rocketed to 100 million members in just 5 days. Obviously, Threads membership got a boost from the 2.35 billion members of Instagram, but don’t write off those membership growth numbers. To be counted as a threads member, you need to download the app and create your Threads profile, which…

social-mediaaitechnologyjavascriptsudolang

Courtney Webster 5 min read

The Python extension in VS Code is investigating ways to improve our package management support and have completed a comparison of support offered by various package management tools. The post Package Management in the Python extension for Visual Studio Code appeared first on Microsoft for Python Developers Blog.

pythonvisual studio codepackage managementpackaging

Omari Thompson-Edwards 6 min read

If you’re working with asynchronous code in TypeScript, you’ve probably run into Promises, an elegant solution to handling asynchronous tasks. With their clean syntax and powerful capabilities, promises have become an integral part of modern JavaScript development. TypeScript, being a statically typed superset of JavaScript, takes the benefits of promises even further by providing enhanced […]

typescript

12 Jul 2023

11 Jul 2023

vladmihalcea 1 min read

Introduction In this article, we are going to see how to customize the HibernateTypesContributor from Hypersistence Utils so that we can disable all or filter out certain Types. What does HibernateTypesContributor does in Hypersistence Utils The HibernateTypesContributor implements the TypeContributor Hibernate interface and registers several Types automatically. By doing this, the audited entities will be able to locate the Hypersistence…

hibernatehypersistence utilstype

10 Jul 2023

1 min read

Before I discovered math, I was a first year undergrad computer science student taking Electrical Engineering 101. The first topic I learned was what bits and boolean gates are, and the second was the two’s complement representation of a negative n-bit integer. At the time two’s complement seemed to me like a bizarre quirk of computer programming, with minutiae you…

Stanko 1 min read

I started drawing these little houses a while ago, but never finished the project. Meanwhile, I decided to participate in Plot Party postcard exchange. So, I came back to my houses and used them to generate little towns as postcards. At the moment, they are on their way to five different countries, and I'll probably plot a few more. Created:…

9 Jul 2023

7 Jul 2023

Courtney Webster 4 min read

The July 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include an announcement on Python 3.7 support, a new Mypy extension in preview, a Debugpy extension in preview, Pylance localization, and index persistance for 3rd-party libraries with Pylance. Keep reading to learn more! The post Python in Visual Studio Code…

python

6 Jul 2023

milemons 10 min read

GitHub prides itself on being the home for all developers, including developers with disabilities. Accessibility is a core priority for all new projects at GitHub, so it was top of mind when we started our project to rework code search and the code view at GitHub. With the old code view, some developers preferred to look at raw code rather…

Joyce Lin 3 min read

Get started with the Home Assistant WebSocket API In Part 1 of this series, we learned about the WebSocket protocol and how to set up our own WebSocket server in Node.js . Next, let’s explore how to use a public WebSocket API to access smart devices around a connected home. REST and WebSockets for a connected home When it comes…

home-assistantwebsocketapiiotsoftware-development

Sunainajairath 1 min read

CRED curious with Kailash Nath In the latest episode of CRED Curious, Kailash Nadh, CTO of Zerodha, sat down with Kunal Shah to discuss A.I’s inevitable impact, serendipity, climate change and why life goals are irrelevant in a universe that prefers chance. Intrigued? Then head to CRED YT channel and watch the whole session here . AI, coincidences, greek philosophy…

credcuriosityaitechnology

1 min read

Jane Street is excited to announce our sponsorship of SoME3, Grant Sanderson and James Schloss’s third Summer of Math Exposition. SoME is a contest that Grant and James created to encourage the development of fun and interesting mathematics education videos.

5 Jul 2023

David Walsh 1 min read

When it comes to finding relationships between elements, we traditionally think of a top-down approach. We can thank CSS and querySelector/querySelectorAll for that relationship in selectors. What if we want to find an element’s parent based on selector? To look up the element tree and find a parent by selector, you can use HTMLElement‘s closest method: closest looks up the…

David Walsh 3 min read

Artificial intelligence applications have hit like a massive wave over this past year, with ChatGPT being the most prominent. ChatGPT can take any written command and suggest content to match. What better than having the power of AI content creation than doing so within your own WYSIWYG editor! That’s what Froala can provide you — instant content creation with the…

Stanko 2 min read

I recently learned about the pseudo CSS class :placeholder-shown. Obviously, it is a class that is added only when input placeholder is shown. But what that also means is that the input is empty: /* Input is empty */ input:placeholder-shown By negating it with :not() we can detect if the input has value: /* Input has value */ input:not(:placeholder-shown) I…

4 Jul 2023

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, which provides a very thorough explanation of how queries are executed and how you…

newsletterhibernatejavajpamysql

3 Jul 2023

jgamblin 2 min read

With the first half of 2023 over, I figured I would take some time and review the data and highlight some of the most interesting data points so far this year. This GitHub repo contains the code for all the data and graphs this blog uses. By The Numbers So far this year, there have been 14,129 published CVEs. On…

uncategorized

2 Jul 2023

MapTiler (Jachym Cepicky) 1 min read

At MapTiler we believe in open source projects and actively contribute to several key ones in the geospatial industry. This means we are always keen to participate in the annual FOSS4G event, so we can share ideas ...

30 Jun 2023

Jonathan Brown 3 min read

Sometimes your data grows and requires a bigger disk without a need for more compute or memory. Previously, our offerings were a bit too inflexible. We also didn’t want to limit our largest database at 4TB. We released new Heroku Postgres plans that give you more flexibility when scaling up your database storage needs on […] The post Introducing New…

news

29 Jun 2023

28 Jun 2023

Joyce Lin 2 min read

It’s not just developers who rely on APIs. DevOps engineers and data engineers also use APIs for many reasons, including to manage cloud infrastructure. For example, you can programmatically manage resources, configure services, and perform operations using APIs. Let’s review other reasons to use cloud APIs. Reasons to use cloud APIs In addition to providing a management console and SDKs,…

infrastructuredevopssoftware-developmentgcpapi

lukaseder 1 min read

Java’s package private visibility is an underrated feature. When you omit any visibility modifier in Java, then the default (for most objects) is package private, i.e. the object is visible only to types in the same package: In fact, a compilation unit (the .java file) can contain multiple such classes. You don’t have to create … Continue reading How to…

jooq-in-usecode generatorjooqjooq code generatormodularity

27 Jun 2023

vladmihalcea 1 min read

Introduction In this article, we are going to see how the Spring Data JPA Query By Example (QBE) feature works, when you should use it, and what limitations it has. While Spring Data JPA already provides a wide range of options to query data: query methods or the @Query annotation Spring Data JPA Specification custom Repository query methods The Spring…

springjpaqbequery by examplespecification

26 Jun 2023

David Walsh 1 min read

Manipulating data is core to any programming language. JavaScript is no exception, especially as JSON has token over as a prime data delivery format. One such data manipulation is reversing arrays. You may want to reverse an array to show most recent transactions, or simple alphabetic sorting. Reversing arrays with JavaScript originally was done via reverse but that would mutate…

23 Jun 2023

22 Jun 2023

Matt Galvin 9 min read

Discover the power of integrating SNMP into your Elixir or Erlang apps, effortlessly bridging the gap between industrial environments and embedded systems. The post Unleashing the Power of SNMP: Exposing Your Embedded Elixir/Erlang (Nerves, GRiSP) Apps to the World appeared first on Erlang Solutions.

elixir programming languageerlangelixirgrispnerves

21 Jun 2023

Joshua Brown 13 min read

Reading code is not as simple as reading the text of a file end-to-end. It is a non-linear, sometimes chaotic process of jumping between files to follow a trail, building a mental picture of how code relates to its surrounding context. GitHub’s mission is to be the home for all developers, and reading code is one of the core experiences…

vladmihalcea 1 min read

Introduction In this article, we are going to see how we can fetch multiple to-many relationships with jOOQ MULTISET so that we avoid bumping into an unintentional Cartesian Product. The approach taken by jOOQ is truly revolutionary since it offers a solution that allows you to fetch multiple to-many relationships using a single type-safe query. Domain Model Let’s assume that…

jooqcartesian productjoinmany-to-manymultiple

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

In this post, I will explain the steps to deploy a simple PHP email MX record validation application on AWS lambda function using Bref layers. AWS Lambda natively supports Java, Go, PowerShell, Node. js, C#, Python, and Ruby code, not PHP. You can deploy the lite weight PHP function to improve the application performance and it will reduce cost compared…

deployfunctionlambdaphpserverless

20 Jun 2023

Stanko 4 min read

Recently, a colleague asked me if there is a way to customize an input caret using CSS. I knew you could change the color of it, but it got me thinking if we could completely replace it. The problem seemed interesting to solve. But before we jump into the implementation, allow me to show you what I built in the…

19 Jun 2023

Michael Carroll 1 min read

Download our guide to learn the fundamentals of EDA & considerations to keep in mind during the development process for quicker deployment.

Calvin Dickson 1 min read

All the news and updates from the 2023 Guardian Product and Engineering away day The second session of the unconference time has come to a close. There will now be some time for feedback on the topics. Who will step up to share their thoughts? It’s nearly time on session two. I’m hearing there will be a brief summary of…

technology

Stanko 3 min read

Some operating systems and browsers are not showing scrollbars by default. That often results in developers forgetting about these pesky gray bars and the issues they can cause. I'll give you two quick examples: When setting overflow: hidden on the body element, if there was a scrollbar visible, content will jump a little as it now has more space. If…

16 Jun 2023

Michael 10 min read

Groupon completed its migration to the cloud in February 2023. Shortly thereafter our data centers were completely shut down and the equipment cleaned up. The move to the cloud has brought many advantages to Groupon engineering. Our infrastructure can now dynamically scale with our traffic throughout the year and engineering resources can be easily started up or turned off as…

cloud-cost-management

15 Jun 2023

Ethan Limchayseng 3 min read

Heroku is excited to announce the addition of a third availability zone (AZ) for our Private Spaces product offering. Three availability zones make Private Space apps more resilient to outages. We’ve prioritized this improvement as part of our focus on mission-critical features to make the Heroku Platform even more reliable. The changeover to three availability […] The post Heroku Adds…

newsawscloud infrastructuredeveloper toolsdynos

14 Jun 2023

vladmihalcea 1 min read

Introduction In this article, we are going to see what is the best way to use one-to-one table relationships. I decided to write this article after reading this Tweet: One-to-one table relationships As I explained in this article, a relational database system defines three table relationship types: one-to-many one-to-one many-to-many The one-to-one table relationships rely on the fact that both…

hibernatesqlonetooneone-to-onetable relationship