今日已更新 255 条资讯 | 累计 24914 条内容
关于我们

标签:#bolt

找到 2 篇相关文章

AI 资讯

Day 4 of Demolishing my Stack of Unfinished Projects: Secret Chat

Published on Aug 21st, 2025 🚀 Made some progress Welcome back to my "Demolishing My Stack of Unfinished Projects" series! This week, I'm excited to share the story of how I transformed a simple chat idea into a fully-featured, production-ready real-time messaging application called CodeniChat (formerly Secret Chat Bolt). 🎯 The Project That Started It All Secret Chat began as one of those "wouldn't it be cool if..." moments. I had this idea for a secure, real-time chat application that could handle multiple rooms, user invitations, and password resets. You know the drill - you start with enthusiasm, then life happens, and suddenly it's been months with just a README file and some half-baked code. But this week, I decided enough was enough. It was time to demolish this unfinished project and turn it into something I could actually be proud of. I started off with a short prompt into the bolt.new platform 🛠️ The Tech Stack That Made It Possible Frontend Next.js 15 - The latest and greatest React framework React 19 - Cutting-edge React with the new compiler TypeScript - Because type safety is not optional Tailwind CSS - For rapid, beautiful UI development shadcn/ui - Pre-built, accessible components Backend & Database Neon Database - Serverless PostgreSQL that scales with you Drizzle ORM - Type-safe database operations NextAuth.js - Secure authentication system Bcryptjs - Password hashing and security Real-time Features Server-Sent Events - For real-time message updates WebSocket-like functionality - Without the complexity 🚀 The Week-Long Development Sprint Day 1: Foundation & Database I started by setting up the database schema with Drizzle ORM. The beauty of using a modern ORM is that you can define your relationships once and let TypeScript handle the rest. // Core tables for the chat system export const users = pgTable ( " users " , { id : text ( " id " ). primaryKey (), email : text ( " email " ). notNull (). unique (), name : text ( " name " ). notNull (), password

2026-07-28 原文 →
AI 资讯

The Bolted Flange Joint: Why the Bolts Carry Far More Than the Pressure

A flanged pipe joint looks simple: two raised faces, a gasket between them, a ring of bolts pulling them together. Yet the gasketed bolted flange is one of the most common sources of leaks in process plants, and the reason is almost always the same — the bolts were not tightened to the right load. Too little and the joint weeps; too much and the gasket is crushed. The number that sits between those failures is the bolt preload, and it is not the same as the pressure load. This article explains how a bolted flange actually carries internal pressure, why the bolts must be preloaded well above the pressure end force, works a concrete example, and lists the mistakes that turn a sound joint into a leaking one. Why this calculation matters Bolted flange joints appear wherever a pipe or vessel has to be opened for maintenance: pump connections, valve bodies, heat exchanger shells, instrument tappings, and reactor manways. Unlike a welded joint, a flange is meant to be taken apart and reassembled, and every reassembly depends on the fitter applying the correct bolt load. The stakes are real. A leaking flange on a hazardous service can release flammable or toxic fluid. Even a benign leak wastes product and forces an unplanned shutdown. Design codes such as ASME Section VIII Appendix 2 set out a full method for sizing flange bolts, and at its heart is a comparison: the load the bolts can supply versus the load the joint demands in two distinct conditions — seating the gasket, and holding pressure. Understand the pressure end force and you understand the floor that the bolt load must clear. The core method When the line is pressurised, internal pressure acts on the fluid inside the flange and pushes the two flanges apart. The total separating force is the hydrostatic end force , the pressure acting over the area enclosed by the gasket sealing circle: H = p * (pi / 4) * G^2 Here p is the internal pressure and G is the gasket reaction (sealing) diameter — the effective circle on

2026-06-01 原文 →