Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
150361 stories
·
33 followers

New Bernie Sanders AI Safety Bill Would Halt Data Center Construction

1 Share
The US senator said on Tuesday that a moratorium would give lawmakers time to "ensure that AI is safe." Alexandria Ocasio-Cortez will introduce a similar bill in the House in the weeks ahead.
Read the whole story
alvinashcraft
36 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Random.Code() - Excluding Properties From Records in C#, Part 2

1 Share
From: Jason Bock
Duration: 1:01:49
Views: 10

I'm going to keep working on my source generator for property exclusion in records. Maybe I can get far enough to write tests....

https://github.com/JasonBock/Transpire/issues/44

#dotnet #csharp

Read the whole story
alvinashcraft
36 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Your Website Is Running Code You’ve Never Seen - Scott Helme - NDC Security 2026

1 Share
From: NDC
Duration: 57:07
Views: 90

This talk was recorded at NDC Security in Oslo, Norway. #ndcsecurity #ndcconferences #security #developer #softwaredeveloper

Attend the next NDC conference near you:
https://ndcconferences.com
https://ndc-security.com/

Subscribe to our YouTube channel and learn every day: @NDC

Follow our Social Media!

https://www.facebook.com/ndcconferences
https://twitter.com/NDC_Conferences
https://www.instagram.com/ndc_conferences

#applicationsecurity #javascript

If your website includes third-party JavaScript, you are running code you probably haven’t reviewed, can’t inspect in production, and don’t control when it changes. That code runs with full access to the DOM, user data, authentication state, business logic, and more.

This session explores the risk of what that really means and what can go wrong. You can’t secure what you can’t see — but the browser can.

Read the whole story
alvinashcraft
36 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

The Foundation of AI: Why Your Data Platform Matters Most | Building the AI Era Ep. 2

1 Share
From: MongoDB
Duration: 5:39
Views: 10

Learn more about building AI applications with MongoDB: https://mdb.link/66dkG0w_luQ-AI
Subscribe to the MongoDB for Developers YouTube Channel: https://www.youtube.com/@MongoDBDevelopers?sub_confirmation=1
Subscribe to MongoDB YouTube→ https://mdb.link/subscribe

Speed and control don’t have to be a tradeoff.

In Episode 2 of Building the AI Era, we show how AI‑powered data and a unified operational data platform help teams move faster and maintain the governance, reliability, and precision enterprises require. You’ll see why traditional approaches struggle to balance speed and safety, and how modern architectures close that gap.

In this video, you will learn:
- Why data remains foundational to AI inferencing and application success
- How to hit the high bar for user experience set by fast-growing consumer products
- The essential characteristics of a database for AI: speed, flexibility, and ease of deployment
- How the MongoDB Application Modernization Platform (AMP) removes friction from the modernization journey

00:00:00 Introduction: Building the AI Era
00:00:40 The Foundational Role of Data Platforms in the AI Stack
00:01:03 Navigating Emerging Tech and the User Experience Bar
00:01:40 Technical Debt: The Existential Threat to Modernization
00:02:17 Redefining AI ROI and Measuring Business Value
00:03:26 Key Database Features for AI Success
00:04:47 Modernizing Legacy Stacks with MongoDB AMP

Visit Mongodb.com → https://mdb.link/MongoDB
Read the MongoDB Blog → https://mdb.link/Blog
Read the Developer Blog → https://mdb.link/developerblog
MongoDB for Developers YouTube Channel → https://www.youtube.com/@MongoDBDevelopers

Read the whole story
alvinashcraft
36 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

New In-App Purchase and subscription data now available in Analytics

1 Share

Analytics in App Store Connect receives its biggest update since its launch, including a refreshed user experience that makes it easier to measure the performance of your apps and games. Updates include:

  • More than 100 new metrics. Now you can access monetization and subscription data in Analytics to better understand the performance of your In-App Purchases and offers.
  • New cohort capabilities. Analyze user behavior based on common attributes — such as download date, download source, offer start date, and more — to measure how a particular group of users performs over time. For example, if you’ve expanded your app to a new region, you can monitor how long it takes users in that region to make a purchase compared to other more established regions. Cohort data is aggregated to ensure user privacy.
  • New peer group benchmarks. Discover how you stack up to peers with two new monetization benchmarks: download-to-paid conversion and proceeds per download. Benchmarks incorporate differential privacy techniques to protect individual developer performance while also providing meaningful and actionable insights.
  • Two new subscription reports. Export these via the Analytics Reports API to perform offline analysis and integrate Analytics into your own data systems.
  • Additional filters. Apply up to seven filters to your selected metrics at once allowing you to drill down further and uncover additional insights.
  • App Store Analytics Guide. This new guide in App Store Connect Help enables you to develop a data-driven strategy and understand App Store tools and features you can use to grow your business.

Learn about measuring performance with Analytics

Read the new Analytics guide

Read the whole story
alvinashcraft
37 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Everything you should know about the SQL Server Resource database

1 Share

Every SQL Server instance contains a database that most people never query, never back up, and never even see in Object Explorer. Yet, without it, SQL Server would not start. Enter the SQL Server Resource database.

This article explains what the SQL Server Resource database is, why it exists, and how it affects patching, upgrades, and troubleshooting – without the mythology that often surrounds it.

What is the SQL Server Resource database?

The SQL Server Resource database is a hidden, read-only system database that contains:

  • System object definitions
  • System stored procedures
  • System views
  • Internal metadata required by the SQL Server engine

Logically, these objects appear to live in the master database. Physically, they do not. Instead, they live in two files:

  • mssqlsystemresource.mdf
  • mssqlsystemresource.ldf

These files sit alongside the system databases, but they are not listed as a database in normal system views.

Why does the SQL Server Resource database even exist?

To understand why the SQL Server Resource database exists, it helps to understand what came before it.

Before SQL Server 2005

In SQL Server 2000 and earlier:

  • System objects physically lived in master
  • Patching replaced or modified system objects directly
  • Upgrades were intrusive and risky
  • Rollbacks were difficult or impossible

The master database was both:

  • A configuration database
  • A code container

That coupling caused real problems.

It was common – and still is – for users to create objects in the master database, because it’s the only place where code can be created and used by all databases. (I wish it was possible to create true libraries in SQL Server!)

The problem then, was that the upgrade/patching code needed to modify the master database couldn’t be sure of the state of that database – making it far more likely for updates to fail.

The Resource database was introduced in SQL Server 2005 to solve that very specific problem: to decouple system code from system configuration.

Fast, reliable and consistent SQL Server development…

…with SQL Toolbelt Essentials. 10 ingeniously simple tools for accelerating development, reducing risk, and standardizing workflows.
Learn more & try for free

In practical terms:

  • Code should be patchable
  • Configuration should be preserved

The Resource database contains code, and the master contains instance state. This allows for a much cleaner separation.

What lives where in the SQL Server Resource database

The SQL Server Resource database contains:

  • Definitions for system catalog views such as:
    • sys.objects
    • sys.tables
    • sys.indexes
  • System stored procedures
  • Internal functions
  • Metadata required for query compilation and execution

When you run:

SELECT * FROM sys.objects;

SQL Server is reading metadata from the Resource database. Rather than metadata, the master database contains:

  • Logins
  • Endpoints
  • Configuration settings
  • Linked servers
  • Database metadata
  • Service-level state

The master database references system objects; it does not own their definitions.

How does SQL Server use the Resource database?

At startup:

  • SQL Server starts with minimal functionality
  • master is brought online
  • The Resource database is attached internally
  • System objects become visible through metadata views

If the Resource database is missing or corrupted:

  • SQL Server will not start
  • You cannot rebuild it independently
  • Recovery requires reinstallation or file restoration

Why is the SQL Server Resource database read-only?

The Resource database is intentionally read-only.

This prevents:

  • Accidental modification
  • Drift between instances
  • Corruption caused by user activity

It also ensures:

  • Consistent system object definitions
  • Predictable patch behavior
  • Repeatable upgrades

Allowing writes here would reintroduce the same fragility SQL Server had before 2005.

Patching and the SQL Server Resource database

When you apply a cumulative update or service pack:

  • SQL Server replaces the Resource database files
  • System object definitions are updated atomically
  • master and user databases are untouched

This design is why:

  • Patching does not modify user metadata
  • Rollbacks are possible
  • Version consistency is easier to maintain

Enjoying this article? Subscribe to the Simple Talk newsletter

Get selected articles, event information, podcasts and other industry content delivered straight to your inbox.
Subscribe now

Why don’t you back up the SQL Server Resource database?

You will often hear:

You don’t need to back up the Resource database.

That statement is correct – but incomplete. Backups of it aren’t useful because:

  • The Resource database is version-specific
  • It is replaced during patching
  • Restoring it across versions is unsupported

A backup does not provide a meaningful recovery path. Instead, you protect the Resource database indirectly by protecting:

  • SQL Server installation media
  • Cumulative update installers
  • System database backups (master, msdb, distribution)
  • Encryption keys (SMK, certificates, DMKs)

If the Resource database is lost, recovery is reinstallation – not restore.

Common myths about the SQL Server Resource database

System objects live in master

Incorrect. They appear to live in master, but do not.

You can modify system procedures

You can override behavior in limited ways, but you cannot safely modify the underlying definitions.

Corruption in master affects system code

Usually, it does not. System code lives elsewhere.

The Resource database is optional

Incorrect. SQL Server cannot run without the Resource database.

How to view the SQL Server Resource database (carefully)

You can see the SQL Server Resource database files:

SELECT *
    FROM sys.database_files;

You can also attach a copy for inspection:

CREATE DATABASE resource_copy
    ON (FILENAME = '...\mssqlsystemresource.mdf')
    FOR ATTACH;

This should be done:

  • Read-only
  • For investigation only
  • Never for modification

Why does understanding the SQL Server Resource database matter?

Understanding the SQL Server Resource database helps you:

  • Diagnose startup failures
  • Understand patch behavior
  • Explain why system objects change after updates
  • Avoid dangerous assumptions about master
  • Understand SQL Server architecture accurately

The SQL Server Resource database: in summary

The SQL Server Resource database is invisible by design, but fundamental by necessity. It exists to make SQL Server:

  • Safer to patch
  • Easier to upgrade
  • More resilient to failure
  • Cleaner in architecture

FAQs: The SQL Server Resource database

1. What is the SQL Server Resource database?

A hidden, read-only system database that stores SQL Server system object definitions and internal metadata.

2. Where is the SQL Server Resource database stored?

In mssqlsystemresource.mdf and mssqlsystemresource.ldf, alongside system databases.

3. Why does the SQL Server Resource database exist?

To separate system code from configuration, making patching and upgrades safer.

4. Can you back-up or restore the SQL Server Resource database?

No. It’s version-specific and replaced during patching.

5. What happens if the SQL Server Resource database is missing or corrupted?

SQL Server won’t start; recovery requires reinstalling or restoring the files.

6. Does patching modify master in SQL Server?

No. Updates replace the Resource database files, not master.

7. Are system objects in master in SQL Server?

No. They appear in master but physically live in the Resource database.

The post Everything you should know about the SQL Server Resource database appeared first on Simple Talk.

Read the whole story
alvinashcraft
37 minutes ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories