~/devreads

3 Apr 2023

jgamblin 2 min read

Reference Rot (also called linked rot) is when hyperlinks, over time, cease to point to their originally targeted file, web page, or server due to that resource being relocated to a new address or permanently unavailable. Tod Beardsley from the CVE board gave a talk at the 2023 CVE Global Summit called ‘Link Rot: The Problem and Archiving for Posterity‘…

uncategorized

1 Apr 2023

1 min read

It’s April Cools again. For a few summers in high school and undergrad, I was a day camp counselor. I’ve written before about how it helped me develop storytelling skills, but recently I thought of it again because, while I was cleaning out a closet full of old junk, I happened upon a bag of embroidery thread. While stereotypically used…

Eric Elliott 15 min read

Pseudocode is a fantastic way to sketch programs using informal, natural language, without worrying about specific syntax. It’s like sketching your thoughts before diving into the nitty-gritty of coding. It’s useful for brainstorming and communicating ideas with others. I have been using pseudocode to express ideas to Large Language Models (LLMs) since GPT-3 was announced in mid 2020. However, up…

chatgptnlpsoftware-developmenttechnologyai

31 Mar 2023

Courtney Webster 3 min read

The April 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes Data Wrangler, a create environment button embedded in dependency files, environments API for extension authors, kernel picker improvements, and move symbol refactoring. Keep reading to learn more! The post Python in Visual Studio Code – April 2023 Release appeared first…

python

Emmanuel Joubaud 8 min read

This is an introduction to how we’ve implemented microservices at a mid-size scale-up called Jobteaser , with a mix of Go and Ruby service chassis, gRPC APIs and data replication via Kafka. Foundation: The service chassis Back in early 2019, when Jobteaser decided to get serious about breaking up its decade-old Rails monolith into microservices, we assembled a Foundation team…

microservicesgosoftware-architecturerubysoftware-engineering

30 Mar 2023

28 Mar 2023

Oliver Carson 1 min read

create a game scoring system that enhances player experience, from tracking scores to integrating social features for more engaging gameplay

Developer Relations Team 1 min read

Read our complete guide on how to build a telemedicine app. In this guide, you’ll learn about telemedicine, HIPPA, PHI, and solutions for building.

Developer Relations Team 1 min read

In this guide, we describe why you’d want to build a 2d game, types of 2d games, and tips for making your 2d games interactive, social, and engaging.

Oliver Carson 1 min read

Learn how to enable objects to store metadata for users, channels, and memberships without the need of setting up your own database.

Oliver Carson 1 min read

Follow this how-to and learn how you can build and power your Unity games with PubNub.

Oliver Carson 1 min read

Read our complete guide on building interactive role-playing games. In this guide, you’ll learn to build interactive elements for online games.

Developer Relations Team 1 min read

Read our complete guide on making your own multi-purpose leaderboard. In this guide, you’ll learn to build a leaderboard for social apps, games, and more.

Markus Kohler 1 min read

PubNub’s Events & Actions provides real-time event routing and processing for filtering events. Learn how to create event listeners and actions with Basic Filters, including WebHook calls, SQS, and Kinesis integrations.

vladmihalcea 1 min read

Introduction In this article, we are going to see what is the best way to use the Spring Data JPA Specification when combining multiple predicates with the result set ordering logic. While you can also use query methods or the @Query annotation to define your Spring Data queries, the Spring Data JPA Specification allows you to compose dynamically various filtering…

springjpaspecificationspring data

27 Mar 2023

David Walsh 1 min read

As much as content creators want traffic to their website, there is such thing as the wrong type of traffic. Sometimes it’s content scrapers, sometimes it’s malicious bots; either way, it’s important to know how to block problematic IPs from your site. To block a range of IP addresses using an .htaccess file, you can use the * wildcard for…

26 Mar 2023

{"twitter"=>"hlaueriksson"} 3 min read

At my current client, Nordic Leisure Travel Group , we have a large number of web tests that automates some of the QA effort. The tests are written in Selenium and Playwright. They run on a schedule in Jenkins and we get reports on email. They take quite some time to run. Unfortunately some of the tests are a bit…

Luciano Mammino 27 min read

This article explores the multifaceted definition of a senior software engineer. It covers the technical skills like going a level deeper and having a broad understanding, as well as soft skills like communication, autonomy, business acumen, and leadership. It provides tips on how to grow, such as pair programming and content creation. The path to seniority requires dedication, perseverance and…

lifecareer

24 Mar 2023

Ole Begemann 5 min read

And what it can teach us about SwiftUI’s stack layout algorithm I have one more thing to say on the relative sizing view modifier from my previous post, Working with percentages in SwiftUI layout. I’m assuming you’ve read that article. The following is good to know if you want to use the modifier in your own code, but I hope…

23 Mar 2023

Ole Begemann 7 min read

SwiftUI’s layout primitives generally don’t provide relative sizing options, e.g. “make this view 50 % of the width of its container”. Let’s build our own! Use case: chat bubbles Consider this chat conversation view as an example of what I want to build. The chat bubbles always remain 80 % as wide as their container as the view is resized:…

Matthew Green 9 min read

On March 23 I was invited to participate in a panel discussion at the European Internet Services Providers Association (EuroISPA). The focus of this discussion was on recent legislative proposals, especially the EU Commission’s new “chat control” content scanning proposal, as well as the future of encryption and fundamental rights. These are the introductory remarks … Continue reading Remarks on…

backdoorsmessaging

1 min read

We’ve implemented initial support for plugins in ChatGPT. Plugins are tools designed specifically for language models with safety as a core principle, and help ChatGPT access up-to-date information, run computations, or use third-party services.

product

22 Mar 2023

Keith Richards 5 min read

Demystifying authentication and authorization When you hear the term Auth, what comes to mind? You probably think of signing into a system with your username and password, and you’re half right. But auth is bigger than that. The bucket term also includes everything you can do in a system once you submit those credentials. Auth […] The post AuthN vs…

authauthenticationauthorizationauthnauthz

vladmihalcea 1 min read

Introduction In this article, we are going to see how we can use the JOIN FETCH clause when fetching a child collection eagerly while also limiting the number of parent records using pagination in a Spring Data JPA application. I decided to write this article because the most common solution used in many projects turns out to be extremely inefficient.…

springeagerfetchinghhh000104hhh90003004

blog.muffn.io (muffn_) 1 min read

This is an image heavy post. 📔 Intro # My 3D printing journey started like many others, with an Ender 3 (Pro in my case) and covid lockdowns. I had wanted to get into it much earlier but a tiny apartment stopped me from doing so.

Stanko 2 min read

I would like to give you a preview of my new project that I'm really excited about - Rayven. It renders 3D scenes as if they were line-hatched by hand: I've had this idea for a while and after researching, I found three projects that became my inspiration: Michael Fogleman's ln, Kushiro's Hatch Lines Shader and Piter Pasma's Rayhatching. Finally,…

21 Mar 2023

Ole Begemann 2 min read

Problem The Photos app on macOS doesn’t provide a keyboard shortcut for the Export Unmodified Original command. macOS allows you to add your own app-specific keyboard shortcuts via System Settings > Keyboard > Keyboard Shortcuts > App Shortcuts. You need to enter the exact spelling of the menu item you want to invoke. Photos renames the command depending on what’s…

ericlippert 4 min read

I wanted to implement concise “pattern matching” in Python, a language which unlike C#, F#, Scala, and so on, does not have any pattern matching built in. Logically a pattern is just a predicate: a function which takes a value … Continue reading →

uncategorized

Markus Kohler 1 min read

Learn about Android text message apps. Explore the technologies used and discover common features of popular chat applications.

Tricia Bogen 9 min read

This blog post discusses the strategies that Slack uses to manage the lifecycle (development, support, and eventual retirement) of infrastructure projects, through the lens of the migration through three successive internal “platform” offerings. Our challenges Circa 2020, our Cloud Engineering team (now evolved into multiple teams responsible for narrower aspects) was responsible for managing our…

uncategorizedcloud-computingcollaborationdevopsinfrastructure

20 Mar 2023

Chandler Mayo 1 min read

Learn how to build real-time scoreboards, leaderboards and achievement streaming for multiplayer games using Unity and PubNub.

17 Mar 2023

Eric Elliott 15 min read

TL;DR — Great, but Can’t Replace Expert Mentors, Yet! Actual Photo of ChatGPT Teaching Puppies to Code (Just Kidding it’s Midjourney) GPT-4 was just released , and it represents significant enhancements over ChatGPT powered by GPT-3.5. Among the enhancements is an improved ability to maintain coherence over longer sessions and larger prompts. I spent years building EricElliottJS.com to teach developers…

technologyartificial-intelligencechatgptaijavascript

RisingStack Engineering 7 min read

In this article, we'll focus on the most popular JavaScript frameworks, and explore why they're either loved or disliked by developers. The post The Best JavaScript Frameworks: Pros and Cons Explained appeared first on RisingStack Engineering.

node.js

16 Mar 2023

Jacob 3 min read

A conversation with engineers who help run Blinkit Chinthakunta Sumanth Kumar Reddy is an SDE 3 at Blinkit. He joined us in March 2021 and has since helped us build a resilient application platform at Blinkit. He currently works as a part of Software Resilience Engineering (SRE)–enabling scalable database migrations for Blinkit’s applications. Tell us about your background and your…

quick-commercedevopssite-reliability-engineerculturepeople-at-blinkit

15 Mar 2023

Mario Rodriguez 7 min read

At GitHub you’ve heard us talk about how we are using GitHub Projects and GitHub Actions to plan and track our work and now we’ve asked one of our customers, Grafana Labs, to share how their teams are approaching work in a new way. Whether they are managing open source requests, operational tasks, or escalations, the Grafana Labs Alerting team…

14 Mar 2023

Dan Brown 1 min read

We want entrepreneurs and builders to join us in creating a future where AI is developed through this responsible lens. That’s why we are relaunching our Mozilla Builders program with the Responsible AI Challenge. The post Mozilla Launches Responsible AI Challenge appeared first on Mozilla Hacks - the Web developer blog.

featured articlemozillaaibuilders

vladmihalcea 1 min read

Introduction In this article, we are going to see how Spring Data query methods are built, when you should use them, and especially when you should avoid them. I decided to write this article after answering this StackOverflow question, which depicts an 87-character-long Spring Data query method. TL;DR, Don’t write query methods that cannot even fit on the screen. Spring…

springhibernatequeryquery methodspring data

1 min read

Stripe leverages GPT-4 to streamline user experience and combat fraud.

1 min read

We’ve created GPT-4, the latest milestone in OpenAI’s effort in scaling up deep learning. GPT-4 is a large multimodal model (accepting image and text inputs, emitting text outputs) that, while less capable than humans in many real-world scenarios, exhibits human-level performance on various professional and academic benchmarks.

research

13 Mar 2023

10 Mar 2023

1 min read

While on a hike with colleagues, one asked a thought provoking question: Should the United States Post Service (USPS) operate as an Internet Service Provider (ISP)? This post is an opinion piece playing with that idea; here are my thoughts. It’s far from a hot take, and has been discussed before. Article 1 Section 8 of the United States Constitution…

1 min read

If you’re new to the Arm ecosystem, consider this a quick primer on terms you likely have seen before but might have questions about. The Arm architecture is a family of Reduced Instruction Set Architectures (RISC) with simple addressing modes. Data processing is done on register operands otherwise relying on loads and stores to move data into and out of…