惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Troy Hunt's Blog
Scott Helme
Scott Helme
T
Threat Research - Cisco Blogs
T
Tenable Blog
L
LINUX DO - 热门话题
V
Visual Studio Blog
I
Intezer
Blog — PlanetScale
Blog — PlanetScale
Cisco Talos Blog
Cisco Talos Blog
A
Arctic Wolf
C
Cyber Attacks, Cyber Crime and Cyber Security
F
Fortinet All Blogs
aimingoo的专栏
aimingoo的专栏
Know Your Adversary
Know Your Adversary
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
N
Netflix TechBlog - Medium
SecWiki News
SecWiki News
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
Project Zero
Project Zero
W
WeLiveSecurity
Microsoft Azure Blog
Microsoft Azure Blog
A
About on SuperTechFans
Recorded Future
Recorded Future
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Vercel News
Vercel News
S
Securelist
Spread Privacy
Spread Privacy
L
LangChain Blog
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
MongoDB | Blog
MongoDB | Blog
Google DeepMind News
Google DeepMind News
Recent Commits to openclaw:main
Recent Commits to openclaw:main
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
CERT Recently Published Vulnerability Notes
罗磊的独立博客
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
The Last Watchdog
The Last Watchdog
Attack and Defense Labs
Attack and Defense Labs
博客园 - 司徒正美
Help Net Security
Help Net Security
L
Lohrmann on Cybersecurity
人人都是产品经理
人人都是产品经理
Forbes - Security
Forbes - Security
Hacker News - Newest:
Hacker News - Newest: "LLM"
PCI Perspectives
PCI Perspectives
博客园 - 【当耐特】
T
Tor Project blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
I abandoned my campus app 3 years ago. The Finish-Up-A-Thon made me fix it
Aditya · 2026-06-07 · via DEV Community

This is a submission for the GitHub Finish-Up-A-Thon Challenge


What I Built

CampusBeat 2.0 — a React Native campus super-app for students across 17 colleges in Odisha, India.

It started in 2023 as a simple notice board aggregator: scrape college websites so students didn't have to visit them. It worked. Students used it. Then life happened, and it sat untouched on GitHub for three years.

This challenge gave me the push to finally open that repo again. What I found was equal parts embarrassing and educational.

What it is now:

  • 📰 Real-time notices for 17 colleges — ITER, KIIT, NIT Rourkela, IIT, and more
  • 🎨 Complete UI overhaul — warm cream × charcoal × coral editorial design
  • 🃏 3D tiltable campus identity card you can share with friends
  • 🔖 Bookmarks — save any notice, grouped by college
  • 💬 Real-time campus chat rooms powered by Socket.io
  • 🛒 Campus marketplace — buy/sell within your college
  • 🔔 Push notifications via Firebase

Demo

The original app from July 2023: LinkedIn post

CampusBeat 2.0 — running on device:

Onboarding screen - with beautiful animation

Login screen — editorial serif heading, Lottie animation, warm ink hero
Login Screen

Register screen — custom college picker bottom sheet with live search
Register Screen

Home screen — quote card, college notice feed, floating tab bar
Home Screen

Profile screen — 3D tiltable campus card with holographic shimmer
Profile Screen

Share modal — drag to rotate the card, share natively
Share Model

News Explorer — college chips, notice type tabs, live banner
News

Marketplace — buy and sell within your college
Marketplace

Bookmark - your persistent news

Chat screen - live interaction within colleges


The Comeback Story

What I found after 3 years

Opening an old repo is humbling. Here is what I walked into.

The dead API. The home screen showed a daily quote — except quotable.io had shut down. Every user was silently seeing the hardcoded fallback for three years:

"Villains are not bad, they are just real and true."

Nobody told me.

The login race condition.

// 2023 — broken
dispatch(login(email, password)).then(() => {
  if (user) navigation.navigate("Main");
  // user is ALWAYS null here — Redux hasn't updated yet
});

Redux updates asynchronously. By the time .then() fires, user in that closure is still the stale pre-dispatch value. Nobody ever got navigated after logging in on a fresh install.

The AsyncStorage timestamp bug.

// currentTime is a number
// storedTimestamp is a STRING (AsyncStorage always returns strings)
currentTime - storedTimestamp < 24 * 60 * 60 * 1000
// number - string = NaN, NaN < anything = false
// Cache NEVER worked. Re-fetched the dead API every single app open.

The copy-paste bug. This exact if/else chain existed copy-pasted in two separate files:

if (selectedSubNews === "General Notice") setPrefix("gn");
if (selectedSubNews === "Exam Notice") setPrefix("en");
// ... 8 more branches in Feed.js AND GeneralNews.js

CORS locked to localhost. The deployed backend had origin: "http://localhost:3000". The mobile app in production couldn't talk to it at all.

Open scrape routes. Anyone could hit /odisha/update to trigger all 17 college scrapers simultaneously. No auth, no rate limiting.


What I changed

Design was the most visible transformation. Out: harsh #051E2D dark blue with #38A2E0 neon accents. In: #F2EDE4 warm cream, #1C1917 ink, #C8432A warm coral — a calm editorial palette that Gen Z actually responds to.

Bug fixes landed in this order:

// Fixed login — useEffect pattern, no closure stale value
useEffect(() => {
  if (isAuthenticated) navigation.replace("Main");
}, [isAuthenticated]);

// Fixed AsyncStorage cache — parseInt the stored string
const fresh = storedData && storedTs &&
  (now - parseInt(storedTs, 10)) < CACHE_DURATION_MS;

// Fixed prefix map — single shared utility, no duplication
// utils/prefixMap.js
export const getPrefix = (s) => PREFIX_MAP[s]?.prefix ?? "";

Architecture cleanup:

  • constants/api.js — all URLs in one place, no more scattered hardcoded strings
  • utils/prefixMap.js — single source of truth for notice type → API prefix
  • constants/style.js — full design token system: palette, typography, spacing, radius, shadows, college accent colors for all 17 colleges

New features:

  • Socket.io campus chat rooms with typing indicators and message history
  • Marketplace with category filtering, pagination, owner-only delete
  • Bookmarks persisted to AsyncStorage, grouped by college, swipe-to-delete
  • 3D campus card using PanResponderrotateX/rotateY interpolation with holographic shimmer
  • Custom college picker bottom sheet (replaced the native Picker with search + styled list)

The dependency upgrade tax

The project was 3 years old. Updating to current versions silently broke five things:

Package What broke
mongoose 9.x mongoose.set("strictQuery") removed — server wouldn't start
reanimated 4.x Layout renamed to LinearTransition
React 19 Hooks inside .map() callbacks crash in strict mode
express 5.x Path-to-regexp v8 breaking wildcard route changes

None of these gave helpful error messages. This is the real cost of abandoning a project — every year of neglect adds one more silent explosion to debug.


The tab flicker fix

The most satisfying bug to solve. The tab bar was flickering on every press. Root cause: paddingHorizontal: withSpring(...) inside useAnimatedStyle.

Animating layout props on the UI thread forces React Native to re-measure and re-layout every frame — that's the flicker. The fix was to stop animating layout props entirely:

// BEFORE — flicker
const pillStyle = useAnimatedStyle(() => ({
  backgroundColor: interpolateColor(progress.value, [0, 1], [...]),
  paddingHorizontal: withSpring(isActive ? 14 : 10), // ← layout prop, causes flicker
}));

// AFTER — no flicker
// Static conditional styles for padding, only animate color
<Animated.View style={[
  styles.tabPill,
  isActive ? styles.tabPillActive : styles.tabPillInactive, // static
  pillStyle, // only backgroundColor animated
]}>

Also: all 5 tab screens stay permanently mounted using opacity: 0 / pointerEvents: "none" toggle. The old condition && <Screen /> pattern unmounted and remounted on every switch — that's what caused the full-screen flash between tabs.


My Experience with GitHub Copilot

I want to be honest: Copilot didn't write the app. But it made me faster in specific, measurable ways.

Bug pattern recognition was the biggest win. When I showed it the login .then() code and described the symptom, it immediately identified the Redux closure staleness issue and suggested the useEffect on isAuthenticated pattern. That would have taken me 30 minutes of debugging.

Boilerplate acceleration. The Socket.io room management — join, message history fetch, typing emit, disconnect cleanup — Copilot scaffolded this from a single comment describing what I wanted. I wrote the business logic on top.

Code review. Asking Copilot to review specific functions caught the parseInt missing from the timestamp comparison, and spotted the duplicate prefix mapping across two files. Fresh eyes, instantly.

Animation scaffolding. I described the home screen bubble animation in plain English: "two morphing orbs that bounce off screen edges with organic shape, glow halos, and a blend effect when they meet." Copilot gave me the requestAnimationFrame loop structure and radial gradient layer setup. Saved an hour of Skia documentation reading.

The most honest framing: Copilot is a very good pair programmer who reads docs faster than I do. The design decisions, UX flows, architecture choices — mine. Copilot helped me build what I envisioned, faster.


Tech Stack

Frontend — React Native + Expo SDK 56, Reanimated 4.x, @shopify/react-native-skia, react-native-gesture-handler, socket.io-client, Redux Toolkit 2.x

Backend — Node.js + Express 5, MongoDB + Mongoose 9, Socket.io, Firebase Admin, Cheerio + Axios (web scraping)

Colleges supported — ITER · KIIT · CGU · OUTR · GITA · RAJDHANI · UTKAL · GEC · TRIDENT · NIT Rourkela · SILICON · IIT Bhubaneswar · IIT Delhi · IIT Bombay · IIT Kharagpur · IIT Madras · IIT Kanpur


Built in Bhubaneswar, Odisha. For every student who's tired of their college website.