标签:#c
找到 17558 篇相关文章
Helium escaping from atmosphere of nearby rocky exoplanet in a habitable zone
Show HN: Libretto PR agents – Automatically fix failing playwright scripts
Libretto PR agents is a free TypeScript library for maintaining Playwright browser automations. Add one line of code to your existing Playwright scripts and it lets an agent automatically open GitHub PRs fixing the script when it fails. A few months ago we released Libretto, a CLI + coding-agent skill for building deterministic browser automations. The idea was that for many browser workflows, especially repetitive business workflows, you don’t need an AI agent making decisions at runtime. You w
LM Studio Bionic: the AI agent for open models
The privacy problems hidden in your period tracker
Fear of humanoid robots spurs human workers to strike at Hyundai auto factory
Hyundai aims to deploy 25,000 Atlas robots starting with US factories in 2028.
$100 AI Music Video: Claude Fable 5 vs. GPT-5.6 Sol
Born with 2% Brain, Now Defying Science – The Boy with No Brain [video]
What was your win this week!?
👋👋👋👋 Looking back on your week -- what was something you're proud of? All wins count -- big or small...
Trump teleprompter aide made $100,000 betting on what Trump would say, reports say
If only someone could have predicted it.
Why are people buying so many CDs?
CD sales are apparently going up, reportedly thanks to fans realizing they're an affordable way to support their favorite artists. According to a new report from research firm Luminate, 16.3 million CDs were sold in the first half of 2026 in the US, a 16 percent increase year-over-year. The growth in CD sales was driven […]
2026 Toyota RAV4 plug-in: Big battery means daily drives are all-electric
Toyota's everyday small SUV should rarely require trips to the gas station.
Review: Xgimi Titan Noir Max Home Projector (2026)
This remarkably vivid home projector has deep inky blacks, without a five-figure price tag.
Now, even Russia's most elite hackers are using Clickfix to infect devices
The social-engineering technique has primarily been a tool of financially motivated criminals.
As a musician, I prefer illegal downloading over Spotify (2011)
Kimi K3 is now #1 in the Front end Code Arena with 1679 pts, surpassing Fable 5
Linus Torvalds to critics of AI coding in Linux: "Fork it. Or just walk away."
Creator says he will "very loudly ignore" those arguing for a ban on AI tools.
Tidy
Your Mac tidies itself: screenshots, installers, Downloads Discussion | Link
AWS Continuum to Enable Agentic Code Security for Enterprises
Amazon Web Services has recently introduced AWS Continuum, a new integrated security platform to automate the discovery, enforcement, and remediation of security issues across codebases, dependencies, and applications. AWS Continuum launches with four agentic capabilities, aiming at the entire vulnerability lifecycle: penetration testing, code review, threat modelling, and code vulnerabilities. By Gianmarco Nalin
Simplifying Authorization in NestJS: A New Approach
The Problem If you’ve built a decent-sized NestJS application, you know the authorization dance. You start with basic Roles, then suddenly you need fine-grained permissions, then maybe some attribute-based access control (ABAC). Before you know it, your controllers are cluttered with @UseGuards(RolesGuard) , and your RolesGuard itself is a massive switch statement checking for every possible permission string. It's repetitive, hard to test, and honestly, a bit boring to maintain. The Solution: nestjs-permissions I got tired of reinventing this logic for every project, so I built nestjs-permissions . The goal was simple: Declarative, type-safe authorization that stays out of your way while keeping your code clean. Why use it? Decorator-Driven: No more complex metadata injection. Just wrap your routes. Type-Safe: Keep your permissions consistent across your frontend and backend. Framework-Native: It plays nicely with the standard NestJS Request lifecycle. Quick Start Getting started takes about 5 minutes. 1. Install it: npm install nestjs - permissions 2. Configure your module: import { Module } from ' @nestjs/common ' ; import { PermissionsModule } from ' nestjs-permissions ' ; @ Module ({ imports : [ PermissionsModule . register ({ // Your config here }) ], }) export class AppModule {} 3. Protect your routes: import { Get , Controller } from ' @nestjs/common ' ; import { RequirePermissions } from ' nestjs-permissions ' ; @ Controller ( ' dashboard ' ) export class DashboardController { @ Get ( ' admin ' ) @ RequirePermissions ( ' admin.read ' ) async getDashboard () { return ' Secret Admin Data ' ; } } What’s Under the Hood? Under the hood, nestjs-permissions leverages the NestJS Reflector to cleanly extract metadata from your route handlers. It automatically taps into the execution context, checking the incoming request against the required permissions without forcing you to write boilerplate guards for every module. When NOT to use it If you need hyper-complex, at